Module 4: Rational Expressions, Functions, and Equations
4.5 Solving Rational Equations
Learning Outcomes
Solve rational equations.
Solve rational equations resulting from setting functions equal to each other.
Solve rational equations with extraneous solutions.
Equations that contain rational expressions with a variable in at least one denominator are called rational equations. For example, [latex]\dfrac{4}{2x+1}=\dfrac{2x}{3}[/latex] is a rational equation. Rational equations can be useful for representing real-life situations and for finding answers to real problems. In particular, they are quite good for describing a variety of proportional relationships. Equations involving rational expressions with only numeric denominators, like $$\dfrac{x-2}{3}=\dfrac{1}{2}$$, which is equivalent to $$\dfrac{1}{3}x-\dfrac{2}{3}=\dfrac{1}{2}$$, a linear equation, aren’t considered rational equations, although the methods of solving these are very similar to the ones used for solving rational equations.
One of the most straightforward ways to solve a rational equation is to transform it into a polynomial (possibly linear) equation by multiplying both sides of the equation by the LCD of all denominators and simplifying. This step in general is not completely mathematically legitimate since only multiplication of both sides of an equation by a nonzero expression results in an equivalent equation. Since the LCD of a rational equation will always have a variable, it’s possible that for certain values of that variable, the LCD might be equal to zero. Fortunately, as long as we identify the restricted values of the variable, we will be okay. Moreover, we will never lose any valid solutions. Once we identify the restricted values of the variable, multiply both sides of the equation by the LCD of all denominators and simplify, we solve the resulting equation accordingly. No restricted value can be a solution to the equation. This is the reason we have developed the habit of creating the list of restricted values this entire chapter.
ExAMPLE
Solve.
[latex]\dfrac{4}{2x+1}=\dfrac{2x}{3}[/latex]
Show Solution
Let’s first determine the restricted values of the variable in the equation. Only one rational expression in the equation has a variable in the denominator. Since $$2x+1=0$$ only if $$x=-\dfrac{1}{2}$$, the only restricted value of $$x$$ is $$-\dfrac{1}{2}$$.
We next determine the LCD by finding the LCM of all denominators. Since $$2x+1$$ is a prime polynomial and $$3$$ is a prime number, $$LCM(2x+1, 3)=3\cdot (2x+1)$$. We will next multiply both sides of the equation by the LCD.
[latex]\require{color} \begin{align} \frac{4}{2x+1}{\color{red}{} \cdot 3\cdot (2x+1)} &= \frac{2x}{3}{\color{red}{} \cdot 3\cdot (2x+1)} && {\color{blue}\textsf{multiply by the LCD}}\\[5pt] \frac{4}{{\color{red}\cancel{\color{black}{(2x+1)}}}\cdot 1} \cdot \frac{3\cdot {\color{red}\cancel{\color{black}{(2x+1)}}}}{1} &= \frac{2x}{{\color{red}\cancel{\color{black}{3}}}\cdot 1} \cdot \frac{{\color{red}\cancel{\color{black}{3}}}\cdot (2x+1)}{1} && {\color{blue}\textsf{divide out common factors}}\\[5pt] 12 &= 2x\cdot (2x+1) && {\color{blue}\textsf{simplify}}\\[5pt] \end{align}[/latex]
The resulting equation is quadratic. We solve it by factoring and using the Zero-Product Property.
[latex]\begin{align} {\color{red}{\dfrac{{\color{black}{{\color{red}\cancel{\color{black}{2}}} \cdot 6}}}{\cancel{2}}}} &= {\color{red}{\dfrac{{\color{black}{{\color{red}\cancel{\color{black}{2}}} \cdot x \cdot (2x+1)}}}{\cancel{2}}}} && {\color{blue}\textsf{divide by $2$ and divide out common factors}}\\[5pt] \underset{\large{\color{red}{-6}}}{6} &= 2x^2+x+\underset{\large{\color{red}{-6}}}{0} && {\color{blue}\textsf{distribute $x$ and subtract $6$}}\\[5pt] 0 &= 2x^2+x-6 && {\color{blue}\textsf{simplify}}\\[5pt] 0 &= (2x-3)(x+2) && {\color{blue}\textsf{factor}}\\[5pt] 2x-\underset{\large{\color{red}{+3}}}{3} &= \underset{\large{\color{red}{+3}}}{0}\ \ \textsf{or}\ \ x+\underset{\large{\color{red}{-2}}}{2} = \underset{\large{\color{red}{-2}}}{0} && \color{blue}{\textsf{Zero-Product Property}}\\[5pt] {\color{red}{\dfrac{{\color{black}{{\color{red}\cancel{\color{black}{2}}} \cdot x}}}{\cancel{2}}}} &= {\color{red}{\dfrac{{\color{black}{3}}}{2}}} \ \ \textsf{or}\ \ x = -2 \\[5pt] x &= \dfrac{3}{2} \ \ \textsf{or}\ \ x = -2 \end{align}[/latex]
We must check the obtained solutions against the list of restricted values of the variable!
We determined earlier that the only restricted value of $$x$$ is $$-\dfrac{1}{2}$$. Hence both, $$x = \dfrac{3}{2}$$ and $$x = -2$$ are valid solutions.
It’s always a good idea to verify the solutions.
Substituting $$x={\color{Green}{\dfrac{3}{2}}}$$ in the left hand side (LHS), $$\dfrac{4}{2{\color{Green}{x}}+1}$$, results in
Since $$-\dfrac{4}{3}=-\dfrac{4}{3}$$, LHS $$=$$ RHS. $$\large\checkmark$$
Since the equation resulting from multiplying both sides of the original equation by the LCD might result in an inequivalent equation, we will refer to the solutions of the resulting polynomial equation as proposed solutions. They must be checked against the list of restricted values of the variable in the original equation or verified by substituting into the original equation. Each proposed solution must be checked and everything can happen. For example, even if there are say three proposed solutions, none, one, two, or even all three can be restricted values. So, it might for example turn out that none of the proposed solutions works since the original equation didn’t have any solutions. If a proposed solution is not a valid solution of the original equation, we will refer to it as an extraneous solution.
Another thing worth mentioning for solving rational equations having just a single rational expression on each side is what is often referred to as “cross multiplication” and mathematically as the Means-Extremes Property:
MEANS-EXTREMES PROPERTY
If $$b\ne 0$$ and $$d\ne 0$$, the equation $$\dfrac{a}{b} = \dfrac{c}{d}$$ is equivalent to the equation $$a\cdot d = b\cdot c$$.
The means and extremes terminology comes from the theory of ratios and proportions.
In the example above, the equation $$\dfrac{\;\fcolorbox{Green}{SpringGreen}{$4$}\;}{\;\fcolorbox{Blue}{SkyBlue}{$2x+1$}\;} = \dfrac{\;\fcolorbox{Blue}{SkyBlue}{$2x$}\;}{\;\fcolorbox{Green}{SpringGreen}{$3$}\;}$$ was equivalent to the equation $$\fcolorbox{Green}{SpringGreen}{$4$} \cdot \fcolorbox{Green}{SpringGreen}{$3$} = \fcolorbox{Blue}{SkyBlue}{$(2x+1)$} \cdot \fcolorbox{Blue}{SkyBlue}{$2x$}$$. We will say that the former equation has been cross multiplied to obtain the latter equation.
CAUTION!
DO NOT cross multiply when either side of the equation has more than one term!
The following examples will include more than just two rational expressions.
ExAMPLE
Solve.
[latex]\dfrac{x}{x-2}-1 = \dfrac{1}{x+3}[/latex]
Show Solution
Let’s start with the restricted values of the variable in the equation. There are two rational expression in the equation with a variable in the denominator. Since $$x-2=0$$ only if $$x=2$$, and $$x+3=0$$ only if $$x=-3$$, the restricted values of $$x$$ are $$-3$$ and $$2$$.
The LCD (the LCM of all denominators) is $$(x-2)(x+3)$$ since both $$x-2$$ and $$x+3$$ are prime polynomials. We’re ready to multiply both sides of the equation by the LCD.
Recall that $$x=-8$$ is so far a proposed solution and must be checked against the list of restricted values of the variable. Since the restricted values of $$x$$ are $$-3$$ and $$2$$, $$x=-8$$ is a valid solution.
We leave it to you to substitute $$x=-8$$ into the original equation to verify that it results in a true statement.
Let’s start with the restricted values of the variable in the equation. There are three rational expression in the equation with a variable in the denominator. Since $$x-1=0$$ only if $$x=1$$, and $$x+1=0$$ only if $$x=-1$$, $$x=-1$$ and $$x=1$$ are restricted. Since $$x^2-1 = (x+1)(x-1)$$, $$x^2-1 = 0$$ only if $$x=-1$$ or $$x=1$$ by the Zero-Product Property. Hence all restricted values of $$x$$ are $$-1$$ and $$1$$.
Since $$x^2-1 = (x+1)(x-1)$$, The LCD is $$(x-1)(x+1)$$. We’re ready to multiply both sides of the equation by the LCD.
Of course, $$x=2$$ and $$x=-1$$ are so far proposed solutions and each must be checked against the list of restricted values of the variable. Since the restricted values of $$x$$ are $$-1$$ and $$1$$, $$x=2$$ is a valid solution while $$x=-1$$ is not. In particular, $$x=-1$$ is an extraneous solution.
We leave it to you to substitute $$x=2$$ into the original equation to verify that it results in a true statement. Also note what happens when you substitute the extraneous solution.
Rational Equations and Function Notation
Since rational expressions can be used to define rational functions, if $$f(x)$$ and $$g(x)$$ are rational functions, an equation of the form $$f(x)=g(x)$$ will be a rational equation.
ExAMPLE
Let $$f(x)=\dfrac{16}{x+4}$$ and $$g(x)=\dfrac{x^2}{x+4}$$. Determine all values of $$x$$ for which $$f(x)=g(x)$$.
Show Solution
Notice that once we substitute the rational expressions defining $$f(x)$$ and $$g(x)$$ into the equation $$f(x)=g(x)$$, we obtain the rational equation
[latex]\dfrac{16}{x+4} = \dfrac{x^2}{x+4}[/latex]
For the restricted values of $$x$$, since $$x+4=0$$ only if $$x=-4$$, the only restricted values of $$x$$ is $$-4$$.
Although it’s tempting to cross multiply, since the denominators of the rational expressions on both sides are the same, it will be more convenient to multiply both sides by that common denominator and simplify.
Since $$-4$$ is a restricted value of $$x$$, $$x = 4$$ is the only valid solution and the only value of $$x$$ for which $$f(x)=g(x)$$.
Other Methods of Solving Rational Equations
In the example above, we had equality of rational expressions with like denominators. Notice that in general, two rational expressions with like denominators are equal only if their numerators are equal. We still have to identify the restricted values of the variable, so we could have acknowledged that as long as $$x\ne -4$$, the equation [latex]\dfrac{16}{x+4} = \dfrac{x^2}{x+4}[/latex] is equivalent to $$16 = x^2$$. This general observation leads to another method of solving rational equations. We can present each side of a rational equation as a single rational expression by combing the rational expressions and rewriting each side in an equivalent form as a rational expression with a common denominator of both sides. Then, after identifying the restricted values of the variable, we equate the numerators of both sides and solve that equation to obtain the proposed solutions. Let’s revisit an earlier example.
ExAMPLE
Solve.
[latex]\dfrac{x}{x-2}-1 = \dfrac{1}{x+3}[/latex]
Show Solution
The restricted values of $$x$$ are $$-3$$ and $$2$$.
Thus the original equation is so far equivalent to
[latex]\dfrac{2}{x-2} = \dfrac{1}{x+3}[/latex]
The LCD of both sides is $$(x-2)(x+3)$$. Now, [latex]\dfrac{2{\color{red}{} \cdot (x+3)}}{(x-2){\color{red}{} \cdot (x+3)}} = \dfrac{2x+6}{(x-2)(x+3)}[/latex], and [latex]\dfrac{1{\color{red}{} \cdot (x-2)}}{(x+3){\color{red}{} \cdot (x-2)}} = \dfrac{x-2}{(x-2)(x+3)}[/latex], so the original equation is equivalent to
We solve accordingly to obtain $$x=-8$$. Since it’s not a restricted value, it’s a valid solution of the original equation.
Another fact is that a fraction is equal to $$0$$ only if its numerator is equal to $$0$$. It generalizes to rational expressions as long as we identify the restricted values of the variable. This fact leads to yet another method of solving rational equations. After identifying the restricted values of the variable, we can isolate $$0$$ on one side of the equation and present the other side as a single rational expression. Then we solve the equation [latex]\mathsf{“The\ Numerator”} = 0[/latex] to obtain the proposed solutions. Let’s revisit another earlier example.
Refer to the Example further up the page how to identify the restricted values of $$x$$: $$-1$$ and $$1$$.
To isolate $$0$$ on the RHS, we start by subtracting $$\dfrac{1}{x+1}$$ from both sides of the equation and proceed to rewrite the LHS as a simplified single rational expression.
We now solve $$x-2=0$$ resulting in $$x=2$$. It’s not a restricted value of $$x$$, so its a valid (only) solution of the original equation.
CAUTION!
DO NOT get a generally wrong impression that the method above eliminates extraneous solutions and hence there is no necessity to identify the restricted values of the variable. Consider the equation [latex]\dfrac{2x^2-1}{x^2-x}=1 + \dfrac{1}{x}[/latex]. Since $$x^2-x=x(x-1)$$, the restricted values of $$x$$ are $$0$$ and $$1$$. After isolating $$0$$ on the RHS and rewriting the LHS as a single rational expression, we obtain the equation $$\dfrac{x^2}{x\cdot(x-1)}=0$$. We can divide out $$x$$ on the LHS to obtain the simplified form of the equation, $$\dfrac{x}{x-1}=0$$. Equating the numerator, $$x$$, and $$0$$, we get $$x=0$$. It’s a restricted value of $$x$$ though, so it’s not a valid solution of the original equation. Since it’s the only proposed solution, the original equation doesn’t actually have a solution.
The following videos show additional examples of solving rational equations.
Summary
You can solve rational equations by finding a common denominator. You can multiply both sides of the equation by the least common denominator of all rational expressions so that all terms become polynomials instead of rational expressions. Or, you can rewrite the equation so that all terms have the common denominator, and solve for the variable using just the numerators.
An important step in solving rational equations is to reject any extraneous solutions from the final answer. Extraneous solutions are solutions that do not satisfy the original form of the equation because they produce untrue statements or are excluded values that cause a denominator to equal [latex]0[/latex].
Candela Citations
CC licensed content, Original
Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
Unit 15: Rational Expressions, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education. License: CC BY: Attribution
Unit 15: Rational Expressions, from Developmental Math: An Open Program. Provided by: Monterey Institute of Technology and Education. License: CC BY: Attribution