Skip to main content
\(\require{cancel}\newcommand{\abs}[1]{\left\lvert#1\right\rvert} \newcommand{\point}[2]{\left(#1,#2\right)} \newcommand{\highlight}[1]{{\color{blue}{{#1}}}} \newcommand{\lowlight}[1]{{\color{lightgray}{#1}}} \newcommand{\attention}[1]{\mathord{\overset{\downarrow}{#1}}} \newcommand{\substitute}[1]{\highlight{#1}} \newcommand{\addright}[1]{\highlight{{}+#1}} \newcommand{\addleft}[1]{\highlight{#1+{}}} \newcommand{\subtractright}[1]{\highlight{{}-#1}} \newcommand{\multiplyright}[2][\cdot]{\highlight{{}#1#2}} \newcommand{\multiplyleft}[2][\cdot]{\highlight{#2#1{}}} \newcommand{\divideunder}[2]{\frac{#1}{\highlight{#2}}} \newcommand{\divideright}[1]{\highlight{{}\div#1}} \newcommand{\apple}{\text{🍎}} \newcommand{\banana}{\text{🍌}} \newcommand{\pear}{\text{🍐}} \newcommand{\cat}{\text{🐱}} \newcommand{\dog}{\text{🐶}} \newcommand{\lt}{<} \newcommand{\gt}{>} \newcommand{\amp}{&} \)

Section13.5Solving Rational Equations

Figure13.5.1Alternative Video Lesson

Subsection13.5.1Solving Rational Equations

To start this section, we will use a scenario we have seen before in Example 13.1.4:

Scenario: Two towns are connected by a \(12\)-mile-long river, which flows from Town A to Town B at the velocity of \(2\) miles per hour. A boat will travel at a constant velocity, \(v\) miles per hour, from Town A to Town B, and then back to Town A. Due to the river's flow, the boat's actual speed is \(v+2\) miles per hour from Town A to Town B, and \(v-2\) miles per hour from Town B back to Town A. If the boat driver plans to spend \(8\) hours for the whole trip, how fast should he/she drive the boat?

The time it takes the boat to travel from Town A to Town B is \(\frac{12}{v+2}\text{,}\) and \(\frac{12}{v-2}\) from Town B to Town A. The function to model the whole trip's time is

\begin{equation*} t(v)=\frac{12}{v-2}+\frac{12}{v+2} \end{equation*}

where \(t\) stands for time in hours. The trip will take \(8\) hours, so we substitute \(t(v)\) with \(8\text{,}\) and we have:

\begin{equation*} \frac{12}{v-2}+\frac{12}{v+2}=8 \end{equation*}

Instead of using the function's graph, we will directly solve this equation. Please review the skill of Fraction Buster we learned in <<Unresolved xref, reference "subsection-fraction-buster"; check spelling or use "provisional" attribute>>. The same skill applies to rational functions. To remove fractions in this equation, we will multiply both sides of the equation by the common denominator \((v-2)(v+2)\text{,}\) and we have:

\begin{align*} \frac{12}{v-2}+\frac{12}{v+2}\amp=8\\ \multiplyleft{(v+2)(v-2)}(\frac{12}{v-2}+\frac{12}{v+2})\amp=\multiplyleft{(v+2)(v-2)}8\\ (v+2)(v-2)\cdot\frac{12}{v-2}+(v+2)(v-2)\cdot\frac{12}{v+2}\amp=(v+2)(v-2)\cdot8\\ 12(v+2)+12(v-2)\amp=8(v^2-4)\\ 12v+24+12v-24\amp=8v^2-32\\ 24v\amp=8v^2-32\\ 0\amp=8v^2-24v-32\\ 0\amp=8(v^2-3v-4)\\ 0\amp=8(v-4)(v+1)\\ v-4=0\amp\text{ or }v+1=0\\ v=4\amp\text{ or }v=-1 \end{align*}

We could lose domain conditions when we remove fractional rational expressions, and thus we must check. In the original equation, we can see the domain conditions are \(v\ne2\) and \(v\ne-2\text{,}\) because those two values would cause a fraction to be undefined. Our solutions \(v=4\) and \(v=-1\) do not violate the domain conditions, so they are solutions to the equation.

In this context, the boat's speed shouldn't be negative, so we only take the solution \(v=4\text{.}\)

Solution: If the boat drives at \(4\) miles per hour, the whole trip would take \(8\) hours. This result matches the solution in Example 13.1.4.

Let's look at another application problems.

Example13.5.2

It takes Henry \(3\) hours to paint a room, and it takes Dennis \(6\) hours to paint the same room. If they work together, how long will it take them to paint the room?

Solution

It takes Henry \(3\) hours to paint the room. This implies Henry paints \(\frac{1}{3}\) of the room each hour. Similarly, Dennis paints \(\frac{1}{6}\) of the room each hour. If they work together, they paint \(\frac{1}{3}+\frac{1}{6}\) of the room.

Assume it takes \(x\) hours to paint the room if Henry and Dennis work together. This implies they paint \(\frac{1}{x}\) of the room when working together. Now we can write this equation:

\begin{equation*} \frac{1}{3}+\frac{1}{6}=\frac{1}{x} \end{equation*}

In this equation, the domain conditions is \(x\ne0\text{.}\)

To remove all fractions, we multiply both sides of the equation by the common denominator of \(3\text{,}\) \(6\) and \(x\text{,}\) which is \(6x\text{:}\)

\begin{align*} \frac{1}{3}+\frac{1}{6}\amp=\frac{1}{x}\\ \multiplyleft{6x}(\frac{1}{3}+\frac{1}{6})\amp=\multiplyleft{6x}\frac{1}{x}\\ 6x\cdot\frac{1}{3}+6x\cdot\frac{1}{6}\amp=6x\cdot\frac{1}{x}\\ 2x+x\amp=6\\ 3x\amp=6\\ x\amp=2 \end{align*}

The solution \(x=2\) doesn't violate the domain condition \(x\ne0\text{,}\) so it is a solution.

Solution: If Henry and Dennis work together, it takes them \(2\) hours to paint the room.

Let's look at a few more examples on solving rational equations.

Example13.5.3

Solve for \(x\) in \(\frac{2}{y+1}=\frac{3}{y}\)

Solution

In this equation, we can see \(y\ne-1\) and \(y\ne0\text{.}\) The common denominator is \(y(y+1)\text{.}\) We will multiply both sides of the equation by \(y(y+1)\text{:}\)

\begin{align*} \frac{2}{y+1}\amp=\frac{3}{y}\\ \multiplyleft{y(y+1)}\frac{2}{y+1}\amp=\multiplyleft{y(y+1)}\frac{3}{y}\\ 2y\amp=3(y+1)\\ 2y\amp=3y+3\\ -y\amp=3\\ y\amp=-3 \end{align*}

Since \(y=-3\) doesn't violate the domain conditions, it is the equation's solution.

We could have solved this equation by the skill of "cross multiplication":

\begin{align*} \frac{2}{y+1}\amp=\frac{3}{y}\\ 2y\amp=3(y+1)\\ \ldots \end{align*}
Example13.5.4

Solve for \(z\) in \(z+\frac{1}{z-4}=\frac{z-3}{z-4}\)

Solution

In this equation, we can see \(z\ne4\text{.}\) The common denominator is \(z-4\text{.}\) We will multiply both sides of the equation by \(z-4\text{:}\)

\begin{align*} z+\frac{1}{z-4}\amp=\frac{z-3}{z-4}\\ \multiplyleft{(z-4)}(z+\frac{1}{z-4})\amp=\multiplyleft{(z-4)}\frac{z-3}{z-4}\\ (z-4)\cdot z+(z-4)\cdot\frac{1}{z-4}\amp=z-3\\ z^2-4z+1\amp=z-3\\ z^2-5z+4\amp=0\\ (z-1)(z-4)\amp=0\\ z-1=0\amp\text{ or }z-4=0\\ z=1\amp\text{ or }z=4 \end{align*}

Since \(z=4\) violates the domain condition \(z\ne4\text{,}\) \(z=4\) is not a solution. The only solution of the equation is \(z=1\text{.}\)

Example13.5.5

Solve for \(p\) in \(\frac{3}{p-2}+\frac{5}{p+2}=\frac{12}{p^2-4}\)

Solution

To find the common denominator, we need to factor all denominators if possible:

\begin{equation*} \frac{3}{p-2}+\frac{5}{p+2}=\frac{12}{(p+2)(p-2)} \end{equation*}

Now we can see the common denominator is \((p+2)(p-2)\text{,}\) and the domain conditions are \(p\ne2\) and \(p\ne-2\text{.}\) We will multiply both sides of the equation by \((p+2)(p-2)\text{:}\)

\begin{align*} \frac{3}{p-2}+\frac{5}{p+2}\amp=\frac{12}{p^2-4}\\ \frac{3}{p-2}+\frac{5}{p+2}\amp=\frac{12}{(p+2)(p-2)}\\ \multiplyleft{(p+2)(p-2)}(\frac{3}{p-2}+\frac{5}{p+2})\amp=\multiplyleft{(p+2)(p-2)}\frac{12}{(p+2)(p-2)}\\ (p+2)(p-2)\cdot\frac{3}{p-2}+(p+2)(p-2)\cdot\frac{5}{p+2}\amp=(p+2)(p-2)\cdot\frac{12}{(p+2)(p-2)}\\ 3(p+2)+5(p-2)\amp=12\\ 3p+6+5p-10\amp=12\\ 8p-4\amp=12\\ 8p\amp=16\\ p\amp=2 \end{align*}

Since \(p=2\) violates the domain condition \(p\ne2\text{,}\) this equation has no solution.

Example13.5.6

In physics, when two resistances, \(R_1\) and \(R_2\text{,}\) are connected in a parallel way, the combined resistance, \(R\text{,}\) can be calculated by the formula

\begin{equation*} \frac{1}{R}=\frac{1}{R_1}+\frac{1}{R_2} \end{equation*}

Solve for \(R\) in this formula.

Solution

In this equation, the domain condition is \(R\ne0\text{.}\) The common denominator is \(R R_1 R_2\text{.}\) We will multiply both sides of the equation by \(R R_1 R_2\text{:}\)

\begin{align*} \frac{1}{R}\amp=\frac{1}{R_1}+\frac{1}{R_2}\\ \multiplyleft{R R_1 R_2}\frac{1}{R}\amp=\multiplyleft{R R_1 R_2}(\frac{1}{R_1}+\frac{1}{R_2})\\ R_1 R_2\amp=R R_1 R_2\cdot\frac{1}{R_1}+R R_1 R_2\cdot\frac{1}{R_2}\\ R_1 R_2\amp=R R_2 + R R_1\\ R_1 R_2\amp=R(R_2+R_1)\\ \frac{R_1 R_2}{R_2+R_1}\amp=R\\ R\amp=\frac{R_1 R_2}{R_1+R_2} \end{align*}

The solution doesn't violte the domain condition.

Example13.5.7

We learned the slope formula

\begin{equation*} m=\frac{y_2-y_1}{x_2-x_1} \end{equation*}

Solve for \(x_1\) in this formula.

Solution

The common denominator is \(x_2-x_1\text{.}\) We will multiply both sides of the equation by \(x_2-x_1\text{:}\)

\begin{align*} m=\frac{y_2-y_1}{x_2-x_1}\\ \multiplyleft{(x_2-x_1)}m=\multiplyleft{(x_2-x_1)}\frac{y_2-y_1}{x_2-x_1}\\ m x_2-m x_1\amp=y_2-y_1\\ m x_2-m x_1\subtractright{m x_2}\amp=y_2-y_1\subtractright{m x_2}\\ -m x_1\amp=y_2-y_1-m x_2\\ \frac{-m x_1}{-m}\amp=\frac{y_2-y_1-m x_2}{-m}\\ x_1\amp=-\frac{y_2-y_1-m x_2}{m} \end{align*}

In this equation, we don't check the domain conditions because there are too many variables.

In real life, we often use technology to solve equations. Let's look at the next example.

Example13.5.8

Solve the equation \(\frac{2}{x+1}=\frac{3}{x}\) with technology.

Solution

We define \(f(x)=\frac{2}{x+1}\) and \(g(x)={3}{x}\text{,}\) and then look for these two functions' intersection:

<<SVG image is unavailable, or your browser cannot render it>>

Figure13.5.9Graph of \(f(x)=\frac{2}{x+1}\) and \(g(x)={3}{x}\)

Since those two functions intersect at \((-3,-1)\text{,}\) the solution to \(\frac{2}{x+1}=\frac{3}{x}\) is \(x=-3\text{.}\)

For this example, it's difficult to see intersection. We can convert the equation and make one side to be \(0\text{:}\)

\begin{align*} \frac{2}{x+1}\amp=\frac{3}{x}\\ \frac{2}{x+1}-\frac{3}{x}\amp=0 \end{align*}

and then look for the \(x\)-intercept of the new function \(h(x)=\frac{2}{x+1}-\frac{3}{x}\text{:}\)

<<SVG image is unavailable, or your browser cannot render it>>

Figure13.5.10Graph of \(h(x)=\frac{2}{x+1}-{3}{x}\)

After the conversion, it's easier to see the solution \(x=-3\text{.}\)

Subsection13.5.2Exercises

Solving Rational Equations

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

Solving Rational Equations with Variables

19
20
21
22
23
24
25
26

Solving Rational Equations by Technology

27

Application Problems

28
29
30
31
32
33
34
35
36
37
38