## Section12.8Rational Equations

A rational equation is an equation that contains one or more rational expression. Similar to the addition or subtraction of rational expressions, when solving a rational equation we first identify the least common denominator of all of the fractions present in the equation. After that, however, the process is very different. Because we are working with equations, we do not need to establish common denominators amongst the expressions. Quite the contrary—we actually eliminate all of the fractions by multiplying both sides of the equation by the LCD. When doing so, we need to be careful to distribute the LCD to every term, whether they are fractions or not.

While the clearing of fractions leads to a much simplified equation, the new equation sometimes leads to false solutions, Once we determine the solution(s), we need to make sure that no solution creates a value of $0$ in any of the denominators of the original equation. If any such solution exists, we reject it due to the fact that division by $0$ is never defined.

###### Example12.8.1.

Determine the solution set to the following equation.

\begin{equation*} \frac{2}{x-5}=\frac{x}{x+4}\text{.} \end{equation*}
Solution

We begin by making the observation that the LCD of the fractions in the equation is $(x-5)(x+4)\text{.}$ We need to multiply both sides of the equation by that LCD, simplify each term and solve the resultant equation

\begin{align*} \frac{2}{x-5}\amp=\frac{x}{x+4}\\ \multiplyleft{\frac{(x-5)(x+4)}{1}}\frac{2}{x-5}\amp=\multiplyleft{\frac{(x-5)(x+4)}{1}}\frac{x}{x+4}\\ \frac{2(x-5)(x+4)}{x-5}\amp=\frac{x \cdot (x-5)(x+4)}{x+4}\\ 2(x+4)\amp=x \cdot (x-5)\\ 2x+8\amp=x^2-5x\\ 2x+8\subtractright{2x}\subtractright{8}\amp=x^2-5x\subtractright{2x}\subtractright{8}\\ 0\amp=x^2-7x-8\\ 0\amp=(x-8)(x+1) \end{align*}

Neither $8$ nor $-1$ create any zeros in the denominators of the original equation, so we accept both solutions. The solution set to the given equation is $\{8,-1\}\text{.}$

###### Example12.8.2.

Determine the solution set to the following equation.

\begin{equation*} \frac{5}{x+2}+\frac{2x}{x^2-4}=\frac{3}{x-2}\text{.} \end{equation*}
Solution

We begin by making sure that all of the denominators are fully factored.

\begin{align*} \frac{5}{x+2}+\frac{2x}{x^2-4}\amp=\frac{3}{x-2}\\ \frac{5}{x+2}+\frac{2x}{(x+2)(x-2)}\amp=\frac{3}{x-2} \end{align*}

We now multiply both sides of the equation by the LCD, $(x+2)(x-2)\text{.}$ We then distribute, simplify each term, and solve the resultant equation.

\begin{align*} \multiplyleft{\frac{(x+2)(x-2)}{1}}\left(\frac{5}{x+2}+\frac{2x}{(x+2)(x-2)}\right)\amp=\multiplyleft{\frac{(x+2)(x-2)}{1}}\frac{3}{x-2}\\ \frac{5(x+2)(x-2)}{x+2}+\frac{2x \cdot (x+2)(x-2)}{(x+2)(x-2)}\amp=\frac{3(x+2)(x-2)}{x-2}\\ 5(x-2)+2x\amp=3(x+2)\\ 5x-10+2x\amp=3x+6\\ 7x-10\amp=3x+6\\ 7x-10\subtractright{3x}\addright{10}\amp=3x+6\subtractright{3x}\addright{10}\\ 4x\amp=16\\ \divideunder{4x}{4}\amp=\divideunder{16}{4}\\ x\amp=4 \end{align*}

The solution, $4$ creates no zeros in any of the denominators of the original equation, so we accept it as a solution. The solution set to the given equation is $\{4\}\text{.}$

###### Example12.8.3.

Determine the solution set to the following equation.

\begin{equation*} \frac{3}{x-3}=\frac{5x}{x^2-x-6}-\frac{5}{x+2}\text{.} \end{equation*}
Solution

We begin by making sure that all of the denominators are fully factored.

\begin{align*} \frac{3}{x-3}\amp=\frac{5x}{x^2-x-6}-\frac{5}{x+2}\\ \frac{3}{x-3}\amp=\frac{5x}{(x-3)(x+2)}-\frac{5}{x+2} \end{align*}

We now multiply both sides of the equation by the LCD, $(x-3)(x+2)\text{.}$ We then distribute, simplify each term, and solve the resultant equation.

\begin{align*} \multiplyleft{\frac{(x-3)(x+2)}{1}} \frac{3}{x-3}\amp=\multiplyleft{\frac{(x-3)(x+2)}{1}} \left(\frac{5x}{(x-3)(x+2)}-\frac{5}{x+2}\right)\\ \frac{3(x-3)(x+2)}{x-3}\amp=\frac{5x \cdot (x-3)(x+2)}{(x-3)(x+2)}-\frac{5(x-3)(x+2)}{x+2}\\ 3(x+2)\amp=5x-5(x-3)\\ 3x+6\amp=5x-5x+15\\ 3x+6\amp=15\\ 3x+6\subtractright{6}\amp=15\subtractright{6}\\ 3x\amp=9\\ \divideunder{3x}{3}\amp=\divideunder{9}{3}\\ x\amp=3 \end{align*}

The value of $3$ creates a a value of $0$ in at least one of the denominators of the original equation, so we reject $3$ as a solution. The solution set to the given equation is $\emptyset\text{.}$

###### Example12.8.4.

Determine the solution set to the following equation.

\begin{equation*} \frac{24}{x}-x=5 \end{equation*}
Solution

We begin by multiplying both sides of the equation by the only denominator in the equation, $x\text{.}$ We then distribute, simplify each term, and solve the resultant equation.

\begin{align*} \frac{24}{x}-x\amp=5\\ \multiplyleft{\frac{x}{1}} \left(\frac{24}{x}-\frac{x}{1}\right)\amp=\multiplyleft{\frac{x}{1}} 5\\ \frac{24x}{x}-\frac{x^2}{1}\amp=\frac{5x}{1}\\ 24-x^2\amp=5x\\ 24-x^2\subtractright{24}\addright{x^2} \amp=5x\subtractright{24}\addright{x^2} \\ 0\amp=x^2+5x-24\\ 0\amp=(x+8)(x-3) \end{align*}

Neither solution creates any zero-denominators in the original equation, so we accept both solutions. The solution set to the given equation is $\{-8,3\}\text{.}$

You can use Figure 12.8.5 to generate several more examples/practice problems. You'll need to write the steps down, because only one step is shown at a tie.

### ExercisesExercises

Determine the solution set to each of the following equations.

###### 1.

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

Solution
\begin{align*} \frac{3}{x+4}-1\amp=\frac{2}{5x+20}\\ \frac{3}{x+4}-1\amp=\frac{2}{5(x+4)}\\ \multiplyleft{\frac{5(x+4)}{1}}\left(\frac{3}{x+4}-\frac{1}{1}\right)\amp=\multiplyleft{\frac{5(x+4)}{1}}\frac{2}{5(x+4)}\\ \frac{15(x+4)}{x+4}-\frac{5(x+4)}{1}\amp=\frac{10(x+4)}{5(x+4)}\\ 15-5(x+4)\amp=2\\ 15-5x-20\amp=2\\ -5x-5\amp=2\\ -5x-5\addright{5}\amp=2\addright{5}\\ -5x\amp=7\\ \divideunder{-5x}{-5}\amp=\divideunder{7}{-5}\\ x\amp=-\frac{7}{5} \end{align*}

The solution set is $\{-\frac{7}{5}\}\text{.}$

###### 2.

$\frac{x}{x+1}=\frac{2}{x^2-1}$

Solution
\begin{align*} \frac{x}{x+1}\amp=\frac{2}{x^2-1}\\ \frac{x}{x+1}\amp=\frac{2}{(x+1)(x-1)}\\ \multiplyleft{\frac{(x+1)(x-1)}{1}} \frac{x}{x+1}\amp=\multiplyleft{\frac{(x+1)(x-1)}{1}} \frac{2}{(x+1)(x-1)}\\ \frac{x \cdot (x+1)(x-1)}{x+1}\amp=\frac{2(x+1)(x-1)}{(x+1)(x-1)}\\ x \cdot (x-1)\amp=2\\ x^2-x\amp=2\\ x^2-x\subtractright{2}\amp=0\subtractright{2}\\ x^2-x-2\amp=0\\ (x-2)(x+1)\amp=0 \end{align*}

We reject the solution of $-1$ because it creates a value of $0$ in at least one denominator of the original equation. The solution set is $\{2\}\text{.}$

###### 3.

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

Solution
\begin{align*} \frac{4}{x^2+2x}-\frac{3}{x}\amp=\frac{x}{x+2}\\ \frac{4}{x \cdot (x+2)}-\frac{3}{x}\amp=\frac{x}{x+2}\\ \multiplyleft{\frac{x \cdot (x+2)}{1}} \left(\frac{4}{x \cdot (x+2)}-\frac{3}{x}\right)\amp=\multiplyleft{\frac{x \cdot (x+2)}{1}} \frac{x}{x+2}\\ \frac{4x \cdot (x+2)}{x \cdot (x+2)}-\frac{3x \cdot (x+2)}{x}\amp=\frac{x^2(x+2)}{x+2}\\ 4-3(x+2)\amp=x^2\\ 4-3x-6\amp=x^2\\ -3x-2\amp=x^2\\ -3x-2\addright{3x+2}\amp=x^2\addright{3x+2}\\ 0\amp=x^2+3x+2\\ 0\amp=(x+2)(x+1) \end{align*}
\begin{align*} x+2\amp=0 \amp\amp\text{or}\amp x+1\amp=0\\ x+2\subtractright{2}\amp=0\subtractright{2} \amp\amp\text{or}\amp x+1\subtractright{1}\amp=0\subtractright{1}\\ x\amp=-2 \amp\amp\text{or}\amp x\amp=-1 \end{align*}

We reject the solution of $-2$ because it creates a value of $0$ in at least one denominator of the original equation. The solution set is $\{-1\}\text{.}$

###### 4.

$\frac{6}{x^2-6x+9}-\frac{x}{x-3}+\frac{2x-4}{3x-9}=0$

Solution
\begin{align*} \frac{6}{x^2-6x+9}-\frac{x}{x-3}+\frac{2x-4}{3x-9}\amp=0\\ \frac{6}{(x-3)^{2}}-\frac{x}{x-3}+\frac{2x-4}{3(x-3)}\amp=0\\ \multiplyleft{\frac{3(x-3)^{2}}{1}}\left(\frac{6}{(x-3)^{2}}-\frac{x}{x-3}+\frac{2x-4}{3(x-3)}\right)\amp=\multiplyleft{\frac{3(x-3)^{2}}{1}}0\\ \frac{18(x-3)^2}{(x-3)^2}-\frac{3x \cdot (x-3)^2}{x-3}+\frac{3(x-3)^2(2x-4)}{3(x-3)}\amp=0\\ 18-3x \cdot (x-3)+(x-3)(2x-4)\amp=0\\ 18-3x^2+9x+2x^2-4x-6x+12\amp=0\\ -x^2-x+30\amp=0\\ \multiplyleft{-1}(-x^2-x+30)\amp=\multiplyleft{-1}0\\ x^2+x-30\amp=0\\ (x+6)(x-5)\amp=0 \end{align*}
The solution set is $\{-6,5\}\text{.}$