Section 8.6 Solving Rational Equations
Subsection 8.6.1 Solving Rational Equations
Recall from Section 3.3 that we learned the best way to solve equations with fractions is to first clear the fractions by multiplying every term on both sides of the equation by the LCD of all the fractions. Since a rational equation is also an equation with fractions, although with more complicated fractions than those we saw in that earlier section, with variables in the denominators, we can solve rational equations the same way: by first clearing the fractions. You may wish to review the technique of clearing the fractions by eliminating the denominators discussed in Subsection 3.3.2. We will use this same technique to clear the fractions from rational equations.
Example 8.6.1. Solving a Rational Equation by First Clearing the Fractions.
Use the technique of clearing the fractions to solve the rational equation \(\frac{2}{x}+\frac{1}{4}=\frac{5}{2x}\text{.}\)
To clear the fractions from an equation, we must first find the LCD of all the fractions in the equation. Recall that to find the LCD, we should first factor each denominator completely and then take factors from each denominator, one by one, only taking factors that we haven't already taken from a previous denominator, and then multiply them all together.
Here is the equation again with the denominators factored completely:
Now, to build the LCD, we need to take the factor of \(x\) from the first denominator and both factors of \(2\) from the second denominator. However, when we look at the third denominator, we notice that we already have both of those factors, so we don't need to take any factors from the third denominator. Thus, the LCD is \(x\cdot2\cdot2=4x\text{.}\)
Now, what we do with the LCD is multiply both sides of the equation by the LCD and this will clear the fractions. To show how this works, we'll keep the \(4x\) and the denominators in factored form. Then, you can see how all of the factors in all of the denominators will end up canceling out.
As you can see, once the fractions are cleared, we end up with a much simpler equation to solve. This is why it is recommended that you clear the fractions first, whenever solving a rational equation.
Remark 8.6.2.
Because of the step where factors were canceled, it's possible that the solutions obtained through the solving process may not actually be solutions to the original equation. They each might be what is called an extraneous solution. An extraneous solution is a number that would appear to be a solution based on the solving process, but actually does not make the original equation true. This would be the case, for example, if a proposed solution would cause division by zero in the original equation. Because of this, it is important that these proposed solutions always be checked. Note that we're not checking to see if we made a calculation error, but are instead checking to see if the proposed solutions actually solve the original equation or may instead be extraneous.
Let's look at a few more examples of solving rational equations, by first clearing the fractions.
Example 8.6.3.
Solve for \(y\) in \(\frac{2}{y+1}=\frac{3}{y}\text{.}\)
The common denominator is \(y(y+1)\text{.}\) We will multiply both sides of the equation by \(y(y+1)\text{:}\)
Does the possible solution \(y=-3\) check as an actual solution?
It checks, so \(-3\) is a solution. We write the solution set as \(\{-3\}\text{.}\)
Example 8.6.4.
Solve for \(z\) in \(z+\frac{1}{z-4}=\frac{z-3}{z-4}\text{.}\)
The common denominator is \(z-4\text{.}\) We will multiply both sides of the equation by \(z-4\text{:}\)
Do the possible solutions \(z=1\) and \(z=4\) check as actual solutions?
The possible solution \(z=4\) does not actually work, since it leads to division by \(0\) in the original equation. It is an extraneous solution. However, \(z=1\) is a valid solution. The only solution to the equation is \(1\text{,}\) and thus we can write the solution set as \(\{1\}\text{.}\)
Example 8.6.5.
Solve for \(p\) in \(\frac{3}{p-2}+\frac{5}{p+2}=\frac{12}{p^2-4}\text{.}\)
To find the common denominator, we need to factor all denominators first, if possible:
Now we can see the common denominator is \((p+2)(p-2)\text{.}\) We will multiply both sides of the equation by \((p+2)(p-2)\text{:}\)
Does the possible solution \(p=2\) check as an actual solution?
The possible solution \(p=2\) does not actually work, since it leads to division by \(0\) in original the equation. So this is an extraneous solution and, since there are no other proposed solutions, the equation actually has no solution. We could say that its solution set is the empty set, \(\emptyset\text{.}\)
Subsection 8.6.2 Application Problems
To start this section, we will revisit a scenario we have seen before in Example 8.4.1:
Example 8.6.6. A Uniform Motion Example.
Julia is taking her family on a boat trip \(12\) miles down the river and back. The river flows at a speed of \(2\) miles per hour and she wants to drive the boat at a constant speed, \(b\) miles per hour downstream and back upstream. Due to the current of the river, the actual speed of travel is \(b+2\) miles per hour going downstream, and \(b-2\) miles per hour going upstream. If Julia plans to spend \(8\) hours for the whole trip, how fast should she drive the boat?
As explained in Example 8.4.1, the time it takes Julia to drive the boat downstream can be represented by \(\frac{12}{b+2}\) hours, and upstream can be represented by \(\frac{12}{b-2}\) hours. The function to model the whole trip's time is
where the function name, \(t\text{,}\) stands for time in hours. The trip will take a total of \(8\) hours, so we substitute \(t(b)\) with \(8\text{,}\) and we have:
We will solve this equation algebraically, by first clearing the fractions. To remove the fractions in this equation, we will multiply both sides of the equation by the least common denominator \((b-2)(b+2)\text{,}\) and we have:
We check these values.
Algebraically, both values do check out to be solutions. However, in the context of this scenario, the boat's speed can't be negative, so we only take the positive solution \(4\text{.}\) If Julia drives the boat at \(4\) miles per hour, the whole trip would take \(8\) hours.
Let's look at a couple more uniform motion examples.
Example 8.6.7. Traveling in the Same Amount of Time.
A bus travels \(119\) miles on a freeway in the same time as it takes a car to travel \(153\) miles. The bus is traveling \(10\) mph slower than the car. Find the speed of both the bus and the car.
Let \(c\) represent the speed of the car, in miles per hour. Then, since the bus is traveling \(10\) mph slower than the car, the expression \(c-10\) will represent the speed of the bus, also measured in miles per hour. We can use a table, plus the formula \(d=rt\text{,}\) to organize our information, similar to Example 5.4.16.
Vehicle Type |
Distance Traveled (in miles) |
\(=\) | Rate of Travel (in mi/hr) |
\(\cdot\) | Time Traveled (in hr) |
bus | \(119\) | \(c-10\) | \(t\) | ||
car | \(153\) | \(c\) | \(t\) |
Notice that in the problem it says that these distances were traveled by these vehicles in the same time. Thus, if we use the \(t=\frac{d}{r}\) form of the formula for uniform motion (\(d=rt\)), we can obtain an expression for the time traveled for each vehicle and then set those expressions equal to each other. This will give us a rational equation to solve, which will help us answer the question.
Thus, the car was going \(45\) mph and the bus, which was going \(10\) mph slower than the car, was going \(35\) mph.
Try a similar exercise.
Checkpoint 8.6.9.
Example 8.6.10. Traveling for a Total Amount of Time.
Jazmine trained for 3 hours on Saturday. She ran \(8\) miles and then biked \(24\) miles. Her biking speed is \(4\) mph faster than her running speed. What is her running speed?
Note that this is also a uniform motion problem, similar to Example 8.6.7. However, it differs in the fact that instead of the times for each part of her workout being the same, we are given the total amount of time. Thus, we can use a similar approach, but instead of setting the expressions representing each time equal to each other, we will add them together and set them equal to the total time.
We will use a table, similar to Table 8.6.8 to organize our information, except we will use expressions to represent each time, since they are not equal and thus shouldn't be represented by the same variable. Let \(r\) represent Jazmine's running speed. Then, \(r+4\) must represent her biking speed.
Part of Workout |
Distance Traveled (in miles) |
\(=\) | Rate of Travel (in mi/hr) |
\(\cdot\) | Time Traveled (in hr) |
running | \(8\) | \(r\) | \(\frac{8}{r}\) | ||
biking | \(24\) | \(r+4\) | \(\frac{24}{r+4}\) |
We know that the total time she spent training is \(3\) hours, so we'll add the expressions representing each time together and set them equal to \(3\text{,}\) and finally solve the equation to answer the equation:
Therefore, Jazmine's running speed is \(8\) mph.
Try a similar exercise.
Checkpoint 8.6.12.
Another type of application problem we will look at is what is known as a shared-work problem. This is a situation where two (or more) people (or machines or pipes, etc.) are completing a task. There are times at which each person can complete the task alone and then there is a time at which they can complete the task if they work together. Any or all of these times may be unknown. What is known is the relationship between those times. Here is a formula that describes this relationship, which you may use to set up these shared-work problems:
Here, \(a\) represents how long it takes one person (or machine or pipe, etc.) to complete a task alone, \(b\) represents how long it takes a second person (or machine or pipe, etc.) to complete the same task alone, and \(c\) represents how long it takes for both people (or machines or pipes, etc.) to complete the same task if they work together.
You can think of it this way: If it takes \(a\) hours for a person to complete a task, then after an hour, this person will have completed \(\frac{1}{a}\) of the task. Likewise, if it takes \(b\) hours for a second person to complete the same task, then after an hour, this second person will have completed \(\frac{1}{b}\) of the task, and so when the two work together, after one hour they will have completed \(\frac{1}{a}+\frac{1}{b}\) of the task. But if it takes them \(c\) hours to complete the task together, then after an hour, they will have completed \(\frac{1}{c}\) of the task. Thus, setting these two last expressions equal gives us our formula \(\frac{1}{a}+\frac{1}{b}=\frac{1}{c}\text{.}\)
Variables, expressions, or known values may be substituted for \(a\text{,}\) \(b\text{,}\) and \(c\text{,}\) depending on the given situation, and this will give you a rational equation which can be solved to answer the question.
Let's look at a couple shared-work examples.
Example 8.6.13. A Shared-Work Example.
It takes Ku \(3\) hours to paint a room and it takes Jacob \(6\) hours to paint the same room. If they work together, how long would it take them to paint the room?
Since it takes Ku \(3\) hours to paint the room, we can let \(a=3\text{.}\) Similarly, Jacob paints the room in \(6\) hours so we can let \(b=6\text{.}\)
Assume it takes \(x\) hours to paint the room if Ku and Jacob work together. Then, we will substitute \(x\) for \(c\text{.}\) Now we can write this equation:
To clear the fractions, we multiply both sides of the equation by the common denominator of \(3\text{,}\) \(6\) and \(x\text{,}\) which is \(6x\text{:}\)
Does the possible solution \(x=2\) check as an actual solution?
It does, so it is a solution. If Ku and Jacob work together, it would take them \(2\) hours to paint the room.
Example 8.6.14.
Pipe A can fill a pool in \(3\) hours less time than Pipe B can fill a pool. If both pipes are turned on at the same time, then the pool will be filled in \(2\) hours. How long will it take for each pipe to fill the pool alone?
Let \(x\) represent the time it takes Pipe B to fill the pool alone. Then, since Pipe A can fill a pool in \(3\) hours less time than Pipe B can fill a pool, the expression \(x-3\) will represent the time it takes Pipe A to fill the pool alone. Using the shared-work formula, this gives us the following rational equation:
\(\frac{1}{x-3}+\frac{1}{x}=\frac{1}{2}\)
To solve this equation, we will first clear the fractions by multiplying both sides by the LCD, which is \(2x(x-3)\text{,}\) and then solve the resulting equation.
This is a quadratic equation, so we will solve this equation by factoring:
Since \(x\) represents how long it takes Pipe B to fill the pool and Pipe A takes \(3\) hours less the Pipe B to fill the pool, clearly \(1\) cannot be a solution. So, it will take Pipe B \(6\) hours to fill the pool alone and Pipe A \(3\) hours to fill the pool alone.
Try a similar exercise.
Checkpoint 8.6.15.
Subsection 8.6.3 Solving Rational Equations for a Specific Variable
Rational equations can contain many variables and constants and we can solve for any one of them. The process for solving still involves multiplying each side of the equation by the LCD. Instead of having a numerical answer though, our final result will contain other variables and constants.
Example 8.6.16.
In physics, when two resistances, \(R_1\) and \(R_2\text{,}\) are connected in a parallel circuit, the combined resistance, \(R\text{,}\) can be calculated by the formula
Solve for \(R\) in this formula.
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{:}\)
Example 8.6.17.
Here is the slope formula
Solve for \(x_1\) in this formula.
The common denominator is \(x_2-x_1\text{.}\) We will multiply both sides of the equation by \(x_2-x_1\text{:}\)
Example 8.6.18.
Solve the rational equation \(x=\frac{4y-1}{2y-3}\) for \(y\text{.}\)
Our first step will be to multiply each side by the LCD, which is simply \(2y-3\text{.}\) After that, we'll isolate all terms containing \(y\text{,}\) factor out \(y\text{,}\) and then finish solving for that variable.
Exercises 8.6.4 Exercises
Review and Warmup
1.
Solve the equation.
\({8x+6} = {x+76}\)
2.
Solve the equation.
\({6y+10} = {y+50}\)
3.
Solve the equation.
\(\displaystyle{ {19}={9-5\!\left(t-1\right)} }\)
4.
Solve the equation.
\(\displaystyle{ {69}={5-8\!\left(a-1\right)} }\)
5.
Solve the equation.
\(\displaystyle{ {2\!\left(c+2\right)-10\!\left(c-7\right)}={154} }\)
6.
Solve the equation.
\(\displaystyle{ {5\!\left(B+6\right)-8\!\left(B-2\right)}={76} }\)
7.
Solve the equation.
\((x+5)(x - 2) = 0\)
8.
Solve the equation.
\((x+7)(x - 11) = 0\)
9.
Solve the equation.
\({x^{2}+18x} = {-80}\)
10.
Solve the equation.
\({x^{2}+5x} = {-4}\)
11.
Solve the equation.
\({9x^{2}}={-6x-1}\)
12.
Solve the equation.
\({49x^{2}}={-56x-16}\)
13.
Solve the equation.
\({3x^{2}}={-23x-30}\)
14.
Solve the equation.
\({5x^{2}}={-23x-12}\)
Solving Rational Equations
15.
Solve the equation.
\(\displaystyle{ {\frac{-9}{r}} = {3} }\)
16.
Solve the equation.
\(\displaystyle{ {\frac{-24}{r}} = {-4} }\)
17.
Solve the equation.
\(\displaystyle{ {\frac{t}{t+5}} = {6} }\)
18.
Solve the equation.
\(\displaystyle{ {\frac{t}{t+3}} = {4} }\)
19.
Solve the equation.
\(\displaystyle{ {\frac{x-10}{5x+7}} = \frac{5}{6} }\)
20.
Solve the equation.
\(\displaystyle{ {\frac{x+3}{2x-9}} = \frac{2}{9} }\)
21.
Solve the equation.
\(\displaystyle{ {\frac{-x-4}{x+8}} = {-\frac{x}{x+6}} }\)
22.
Solve the equation.
\(\displaystyle{ {\frac{y-4}{y-9}} = {\frac{y}{y+5}} }\)
23.
Solve the equation.
\(\displaystyle{ {\frac{8}{y}} = {6-\frac{22}{y}} }\)
24.
Solve the equation.
\(\displaystyle{ {\frac{8}{r}} = {-4+\frac{12}{r}} }\)
25.
Solve the equation.
\(\displaystyle{ {\frac{1}{4C}-\frac{2}{5C}}={1} }\)
26.
Solve the equation.
\(\displaystyle{ {\frac{5}{6n}-\frac{6}{5n}}={-6} }\)
27.
Solve the equation.
\(\displaystyle{ {\frac{t}{6t+30}-\frac{5}{t+5}}={1} }\)
28.
Solve the equation.
\(\displaystyle{ {\frac{x}{4x-12}-\frac{3}{x-3}}={-2} }\)
29.
Solve the equation.
\(\displaystyle{ {\frac{6}{x}-\frac{7}{x-4}} = -1 }\)
30.
Solve the equation.
\(\displaystyle{ {\frac{3}{x}+\frac{7}{x-8}} = -1 }\)
31.
Solve the equation.
\(\displaystyle{ {\frac{1}{y-8}-\frac{8}{y^{2}-8y}} = -\frac{1}{2} }\)
32.
Solve the equation.
\(\displaystyle{ {\frac{1}{y+4}+\frac{4}{y^{2}+4y}} = \frac{1}{5} }\)
33.
Solve the equation.
\(\displaystyle{ {\frac{1}{r-6}+\frac{2}{r^{2}-6r}} = {{\frac{1}{7}}} }\)
34.
Solve the equation.
\(\displaystyle{ {\frac{1}{r-9}+\frac{6}{r^{2}-9r}} = {{\frac{1}{2}}} }\)
35.
Solve the equation.
\(\displaystyle{ {\frac{t-9}{t-1}-\frac{4}{t+7}} = 2 }\)
36.
Solve the equation.
\(\displaystyle{ {\frac{t-8}{t-2}-\frac{6}{t-5}} = 4 }\)
37.
Solve the equation.
\(\displaystyle{ {\frac{1}{x+6}}={\frac{6}{x^{2}-36}-\frac{5}{x-6}} }\)
38.
Solve the equation.
\(\displaystyle{ {\frac{2}{x+6}}={\frac{3}{x-6}+\frac{1}{x^{2}-36}} }\)
39.
Solve the equation.
\(\displaystyle{ {\frac{3}{x-3}-\frac{1}{x+2}}={\frac{1}{x^{2}-x-6}} }\)
40.
Solve the equation.
\(\displaystyle{ {\frac{9}{y+5}-\frac{6}{y+2}}={-\frac{9}{y^{2}+7y+10}} }\)
41.
Solve the equation.
\(\displaystyle{ {\frac{2}{y-5}+\frac{2y}{y-1}}={\frac{8}{y^{2}-6y+5}} }\)
42.
Solve the equation.
\(\displaystyle{ {-\frac{3}{r-2}+\frac{3r}{r+1}}={-\frac{9}{r^{2}-r-2}} }\)
43.
Solve the equation.
\(\displaystyle{ {\frac{2}{r-7}+\frac{2r}{r+6}}={\frac{2}{r^{2}-r-42}} }\)
44.
Solve the equation.
\(\displaystyle{ {\frac{2}{t-3}+\frac{4t}{t+3}}={\frac{2}{t^{2}-9}} }\)
Solving Rational Equations for a Specific Variable
45.
Solve this equation for \(n\text{:}\)
\(\displaystyle{ p = \frac{r}{n} }\)
46.
Solve this equation for \(t\text{:}\)
\(\displaystyle{ x = \frac{p}{t} }\)
47.
Solve this equation for \(A\text{:}\)
\(\displaystyle{ y = \frac{A}{C} }\)
48.
Solve this equation for \(r\text{:}\)
\(\displaystyle{ t = \frac{r}{y} }\)
49.
Solve this equation for \(a\text{:}\)
\(\displaystyle{ \frac{1}{5a} = \frac{1}{n} }\)
50.
Solve this equation for \(c\text{:}\)
\(\displaystyle{ \frac{1}{3c} = \frac{1}{q} }\)
51.
Solve this equation for \(y\text{:}\)
\(\displaystyle{ \frac{1}{A} = \frac{6}{y+3} }\)
52.
Solve this equation for \(m\text{:}\)
\(\displaystyle{ \frac{1}{C} = \frac{2}{m+4} }\)
Application Problems
53.
Akim can sail his boat \(12\) miles into a \(3\) mph headwind in the same amount of time he can sail \(20\) miles with a \(7\) mph tailwind. What is the speed of Akim’s boat without a wind?
The speed of Akim’s boat without a wind is mph.
54.
Jacoba can ride her bike \(5\) miles into a \(7\) mph headwind in the same amount of time she can ride \(30\) miles with a \(3\) mph tailwind. What is Jacoba’s biking speed?
Jacoba’s biking speed is mph.
55.
The speed of a bicyclist is \(13\) mph faster than the speed of a jogger. If the bicyclist travels \(40\) miles in the same amount of time that the jogger travels \(14\) miles, find the speed of the bicyclist.
Answer: mph
56.
An amateur cyclist is training for a road race. He rode the first 16-mile portion of his workout at a constant rate. He then reduced his speed by 2 mph for the remaining 12-mile cool-down portion of the workout. Each portion of the workout took equal time. Find the cyclist's rate during the first portion and his rate during the cool-down portion.
First Portion: mph
Cool-Down: mph
57.
Tony drove \(4\) hours to his home, driving \(208\) miles on the interstate and \(40\) miles on the country roads. If he drove \(15\) miles per hour faster on the interstate than on the country roads, what was his speed on the country roads?
His speed on the country roads was miles per hour.
58.
Gustav and Martha are working together to paint a room. If Gustav paints the room alone, it would take him \(9\) hours to complete the job. If Martha paints the room alone, it would take her \(6\) hours to complete the job. Answer the following question:
If they work together, it would take them hours to complete the job. Use a decimal in your answer if needed.
59.
There are three pipes at a tank. To fill the tank, it would take Pipe A \(15\) hours, Pipe B \(10\) hours, and Pipe C \(12\) hours. Answer the following question:
If all three pipes are turned on, it would take hours to fill the tank.
60.
Wendy and Kimball are working together to paint a room. Wendy works \(2.5\) times as fast as Kimball does. If they work together, it took them \(20\) hours to complete the job. Answer the following questions:
If Wendy paints the room alone, it would take her hours to complete the job.
If Kimball paints the room alone, it would take him hours to complete the job.
61.
Two pipes are being used to fill a tank. Pipe A can fill the tank \(3.5\) times as fast as Pipe B does. When both pipes are turned on, it takes \(7\) hours to fill the tank. Answer the following questions:
If only Pipe A is turned on, it would take hours to fill the tank.
If only Pipe B is turned on, it would take hours to fill the tank.
62.
Fabrienne and Barbara worked together to paint a room, and it took them \(3\) hours to complete the job. If they work alone, it would take Barbara \(8\) more hours than Fabrienne to complete the job. Answer the following questions:
If Fabrienne paints the room alone, it would take her hours to complete the job.
If Barbara paints the room alone, it would take her hours to complete the job.
63.
If both Pipe A and Pipe B are turned on, it would take \(3\) hours to fill a tank. If each pipe is turned on alone, it takes Pipe B \(8\) fewer hours than Pipe A to fill the tank. Answer the following questions:
If only Pipe A is turned on, it would take hours to fill the tank.
If only Pipe B is turned on, it would take hours to fill the tank.
64.
Suppose that a large pump can empty a swimming pool in \(50\ {\rm hr}\) and that a small pump can empty the same pool in \(66\ {\rm hr}\text{.}\) If both pumps are used at the same time, how long will it take to empty the pool?
If both pumps are used at the same time, it will take to empty the pool.
Some of Subsection 8.6.2 is adapted from Solve Uniform Motion and Work Applications 1 by Wendy Lightheart, OpenStax CNX, which is licensed under CC BY 4.0 2