# 2.6 Solving Rational Equations

The techniques for solving rational equations are extensions of techniques you already know.  Recall that when there are fractions in an equation you can multiply through by the denominator to clear the fraction.  The same technique helps turn rational expressions into polynomials that you already know how to solve.  When you multiply by a constant there is no problem, but when you multiply through by a value that varies and could possibly be zero interesting things happen.

Since every equation is trivially true when both sides are multiplied by zero, how do you account for this when solving rational equations?

### Finding Solutions to Rational Equations

The first step in solving rational equations is to transform the equation into a polynomial equation.  This is accomplished by clearing the fraction which means multiplying the entire equation by the common denominator of all the rational expressions.  Then you should solve using what you already know.  The last thing to check once you have the solutions is that they do not make the denominators of any part of the equation equal to zero when substituted back into the original equation.  If so, that solution is called extraneous and is a “fake” solution that was introduced when both sides of the equation were multiplied by a number that happened to be zero.

Take the following rational equation:

$$x-\frac{5}{x+3}=12$$

To find the solutions of the equation, first multiply all parts of the equation by $$(x+3),$$ the common denominator, and then simplify.

\begin{aligned} x(x+3)-5 &=12(x+3) \\ x^{2}+3 x-5-12 x-36 &=0 \\ x^{2}-9 x-41 &=0 \\ x &=\frac{-(-9) \pm \sqrt{(-9)^{2}-4 \cdot 1 \cdot(-41)}}{2 \cdot 1} \\ x &=\frac{9 \pm 7 \sqrt{5}}{2} \end{aligned}

The only potential extraneous solution would have been -3 since that is the number that makes the denominator of the original equation zero. Therefore, both answers are possible.

### Examples

Example 1

Earlier, you were asked to account for the extra solutions introduced when both sides of an equation are multiplied by a variable. In order to deal with the possible extra solutions, you must check each solution to see if it makes the denominator of any fraction in the original equation zero.  If it does, it is called an extraneous solution.

Example 2

Solve the following rational equation

$$\frac{3 x}{x+4}-\frac{1}{x+2}=-\frac{2}{x^{2}+6 x+8}$$

Multiply each part of the equation by the common denominator of $$x^{2}+6 x+8=(x+2)(x+4)$$

\begin{aligned}(x+2)(x+4)\left[\frac{3 x}{x+4}-\frac{1}{x+2}\right] &=\left[\frac{-2}{(x+2)(x+4)}\right](x+2)(x+4) \\ 3 x(x+2)-(x+4) &=-2 \\ 3 x^{2}+6 x-x-2 &=0 \\ 3 x^{2}+5 x-2 &=0 \\(3 x-1)(x+2) &=0 \\ x &=\frac{1}{3},-2 \end{aligned}

Note that -2 is an extraneous solution. The only actual solution is $$x=\frac{1}{3}$$.

Example 3

Solve the following rational equation for $$y$$.

$$x=2+\frac{1}{2+\frac{1}{y+1}}$$

This question can be done multiple ways.  You can use the clearing fractions technique twice.

\begin{aligned}\left(2+\frac{1}{y+1}\right) x &=\left[2+\frac{1}{2+\frac{1}{y+1}}\right]\left(2+\frac{1}{y+1}\right) \\ 2 x+\frac{x}{y+1} &=2\left(2+\frac{1}{y+1}\right)+1 \\ 2 x+\frac{x}{y+1} &=4+\frac{2}{y+1}+1 \\(y+1)\left[2 x+\frac{x}{y+1}\right] &=\left[5+\frac{2}{y+1}\right](y+1) \\ 2 x(y+1)+x &=5(y+1)+2 \\ 2 x y+2 x+x &=5 y+5+2 \end{aligned}

Now just get the $$y$$ variable to one side of the equation and everything else to the other side.

\begin{aligned} 2 x y-5 y &=-3 x+7 \\ y(2 x-5) &=-3 x+7 \\ y &=\frac{-3 x+7}{2 x-5} \end{aligned}

Example 4

Solve the following rational equation.

$$\frac{3 x}{x-5}+4=x$$

$$\frac{3 x}{x-5}+4=x$$

\begin{aligned} 3 x+4 x-20 &=x^{2}-5 x \\ 0 &=x^{2}-12 x+20 \\ 0 &=(x-2)(x-10) \\ x &=2,10 \end{aligned}

Neither solution is extraneous.

Example 5

In electrical circuits, resistance can be solved for using rational expressions. This is an electric circuit diagram with three resistors. The first resistor $$R_{1}$$ is run in series to the other two resistors $$R_{2}$$ and $$R_{3}$$ which are run in parallel. If the total resistance $$R$$ is 100 ohms and $$R_{1}$$ and $$R_{3}$$ are each 22 ohms, what is the resistance of $$R_{2}$$ ?

The equation of value is:

$$R=R_{1}+\frac{R_{2} R_{3}}{R_{2}+R_{3}}$$

$$R=R_{1}+\frac{R_{2} R_{3}}{R_{2}+R_{3}}$$

\begin{aligned} 100 &=22+\frac{x \cdot 22}{x+22} \\ 78(x+22) &=22 x \\ 78 x+1716 &=22 x \\ 56 x &=-1716 \\ x &=-30.65 \end{aligned}

A follow up question would be to ask whether or not ohms can be negative which is beyond the scope of this text.

Review

Solve the following rational equations.  Identify any extraneous solutions.

1. $$\frac{2 x-4}{x}=\frac{16}{x}$$

2. $$\frac{4}{x+1}-\frac{x}{x+1}=2$$

3. $$\frac{5}{x+3}+\frac{2}{x-3}=1$$

4. $$\frac{3}{x-4}-\frac{5}{x+4}=6$$

5. $$\frac{x}{x+1}-\frac{6}{x+2}=4$$

6. $$\frac{x}{x-4}-\frac{4}{x-4}=8$$

7. $$\frac{4 x}{x-2}+3=1$$

8. $$\frac{-2 x}{x+1}+6=-x$$

9. $$\frac{1}{x+2}+1=-2 x$$

10. $$\frac{-6 x-3}{x+1}-3=-4 x$$

11. $$\frac{x+3}{x}-\frac{3}{x+3}=\frac{6}{x^{2}+3 x}$$

12. $$\frac{x-4}{x}-\frac{2}{x-4}=\frac{8}{x^{2}-4 x}$$

13. $$\frac{x+6}{x}-\frac{2}{x+6}=\frac{12}{x^{2}+6 x}$$

14. $$\frac{x+5}{x}-\frac{3}{x+5}=\frac{15}{x^{2}+5 x}$$

15. Explain what it means for a solution to be extraneous.