Solving Rational Equations and Inequalities

Algebra 2Module 9: Rational FunctionsAdvanced Math

Learn solving rational equations and inequalities step by step with worked examples you can follow. Then practise with 37 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.

Clear fractions with the LCD to solve rational equations, test every result against the excluded values, and use sign analysis on a number line to solve rational inequalities.

Core Concepts

1. What is a rational equation?

A rational equation is just an equation that has a variable sitting in a denominator somewhere. Because division by zero is undefined, the variable is not allowed to take every value — and that single fact drives everything else in this lesson.

Rational equation — an equation that contains at least one rational expression. Example: 7/12 + 9/(x − 4) = 55/48.
Rational inequality — an inequality that contains at least one rational expression. Example: x/2 − 5/(x + 1) > (x − 4)/3.
Excluded value — any value of the variable that makes a denominator equal 0. It can never be a solution, no matter what the algebra says.
Extraneous solution — a value produced by correct algebra that does not satisfy the original equation. In this lesson they are exactly the excluded values.
Study Tip: Write the excluded values down first, before you solve anything. If you find them at the start, checking at the end takes two seconds instead of two minutes.

2. The LCD method for rational equations

Fractions are the hard part, so we get rid of them. Multiplying every term on both sides by the least common denominator (LCD) cancels every denominator and leaves an ordinary linear or quadratic equation.

Factor every denominator and state the excluded values (set each factor equal to 0).
Find the LCD — the product of every distinct factor, each raised to the highest power it appears with.
Multiply every term on both sides by the LCD and divide out common factors. No fractions should remain.
Solve the resulting linear or quadratic equation.
Check each result against the excluded values from Step 1, then substitute into the original equation. Discard extraneous results.
If  A/D1 + B/D2 = C/D3  and LCD = L, then
L·(A/D1) + L·(B/D2) = L·(C/D3)   →   a polynomial equation

3. Why extraneous solutions appear — and how to kill them

Multiplying both sides of an equation by a number is a reversible move only when that number is not zero. The LCD contains the variable, so for certain values the LCD is zero — and at those values you have multiplied by 0, which turns a false statement into the true statement 0 = 0. The polynomial equation therefore has solutions the original equation never had.

Key Concept · Extraneous Solutions
When solving a rational equation, any possible solution that results in a zero in a denominator must be excluded from the list of solutions. Check each solution by substituting into the original equation.
!
An answer to a rational equation is not final until you have compared it to the excluded values. "Solve" always means "solve and check."
Watch Out! Extraneous does not mean you made a mistake. The algebra can be flawless and still produce an extraneous value — the LCD step manufactured it. Never "fix" your work when a result turns out extraneous; just cross it out. If every result is extraneous, the correct answer is no solution.
Talk About It: You can spot an extraneous solution without substituting: just compare each result to the excluded values you listed in Step 1. If a result equals an excluded value, it is extraneous.

4. Rational inequalities — the sign-analysis method

You cannot solve a rational inequality by multiplying by the LCD, because you do not know whether the LCD is positive or negative — and multiplying an inequality by a negative number flips the sign. Instead you find every place where the expression could change sign, split the number line there, and test each piece.

Key Concept · Solving Rational Inequalities
Step 1 State the excluded values. These are the values for which the denominator is 0.
Step 2 Solve the related equation.
Step 3 Use the values determined from the previous steps to divide a number line into intervals.
Step 4 Test a value in each interval to determine which intervals contain values that satisfy the inequality.
✓
Critical values come from BOTH places. Set the numerator equal to zero (these are the solutions of the related equation) and set the denominator equal to zero (these are the excluded values). Together they are the only points where the expression can switch from positive to negative.
Critical values = { solutions of the related equation } ∪ { excluded values }
Number line → split at every critical value → test one point per interval

Here is the interval test for x/2 − 5/(x + 1) > (x − 4)/3, whose critical values turn out to be −11, −1 and 2:

Interval x < −11

Test x = −13
LHS = −13/2 − 5/(−12) ≈ −6.08
RHS = −17/3 ≈ −5.67
−6.08 > −5.67 is FALSE

Interval −11 < x < −1

Test x = −4
LHS = −2 + 5/3 ≈ −0.33
RHS = −8/3 ≈ −2.67
−0.33 > −2.67 is TRUE ✓

Interval −1 < x < 2

Test x = 0
LHS = 0 − 5 = −5
RHS = −4/3 ≈ −1.33
−5 > −1.33 is FALSE

Interval x > 2

Test x = 3
LHS = 3/2 − 5/4 = 0.25
RHS = −1/3 ≈ −0.33
0.25 > −0.33 is TRUE ✓
Watch Out! An excluded value is always an open circle, even when the inequality uses ≤ or ≥. Only critical values that came from the numerator can be filled in for ≤ and ≥. And never cancel a variable factor from both sides of an inequality — that is the same illegal move as multiplying by an unknown sign.

Key Figures

Sign analysis for x/2 − 5/(x + 1) > (x − 4)/3
−14 −12 −10 −8 −6 −4 −2 0 2 4 6 −11 2 −1 excluded value
Critical values −11 and 2 come from the related equation; −1 comes from the denominator x + 1. All three circles are open because the inequality is strict. Solution: −11 < x < −1 or x > 2.
Open vs. filled: (x − 3)/(x + 2) ≥ 0
−8 −6 −4 −2 0 2 4 6 8 −2 denominator = 0 → open 3 numerator = 0 → filled
The numerator zero x = 3 makes the fraction equal 0, which satisfies ≥ 0, so it is filled. The denominator zero x = −2 makes the fraction undefined, so it is always open. Solution: x < −2 or x ≥ 3.

Move It Yourself

Worked Examples

Solve  7/12 + 9/(x − 4) = 55/48
1Denominators: 12, x − 4, 48  →  x ≠ 4state excluded value
2LCD = 48(x − 4)48 = lcm(12, 48)
348(x − 4)(7/12) + 48(x − 4)·9/(x − 4) = 48(x − 4)(55/48)multiply each term by the LCD
44(x − 4)(7) + 48(9) = (x − 4)(55)divide out common factors
528x − 112 + 432 = 55x − 220Distributive Property
628x + 320 = 55x − 220simplify
7540 = 27xsubtract 28x, add 220
820 = xdivide each side by 27
x = 20
Check against the restriction: the only excluded value is x = 4, and 20 ≠ 4, so x = 20 survives.
Check in the original: 7/12 + 9/(20 − 4) = 7/12 + 9/16 = 28/48 + 27/48 = 55/48 ✓
Solve  2m/(m − 4) − (m² + 7m + 4)/(3m² − 18m + 24) = 4m/(3m − 6)
13m² − 18m + 24 = 3(m − 4)(m − 2);  3m − 6 = 3(m − 2)factor every denominator
2Excluded values: m ≠ 4, m ≠ 2set each factor equal to 0
3LCD = (m − 4)(3m − 6) = 3(m − 4)(m − 2)all distinct factors
4(3m − 6)(2m) − (m² + 7m + 4) = (m − 4)(4m)multiply by LCD, divide out
56m² − 12m − m² − 7m − 4 = 4m² − 16mDistributive Property
65m² − 19m − 4 = 4m² − 16mcombine like terms
7m² − 3m − 4 = 0write in standard form
8(m − 4)(m + 1) = 0factor
9m = 4  or  m = −1Zero Product Property
Watch Out! Both results came from perfectly correct algebra, but m = 4 is on the excluded list — it makes m − 4 = 0. Step 4 secretly multiplied both sides by zero when m = 4, which is what invented this answer. It is extraneous and must be thrown out.
m = −1  (m = 4 is extraneous)
Check against the restrictions: excluded values are 4 and 2. m = 4 is excluded → reject. m = −1 is allowed → keep.
Check m = −1 in the original: left side = 2(−1)/(−5) − (1 − 7 + 4)/(3 + 18 + 24) = 2/5 − (−2)/45 = 18/45 + 2/45 = 20/45 = 4/9. Right side = 4(−1)/(−3 − 6) = −4/−9 = 4/9.  4/9 = 4/9 ✓
Rubbing alcohol typically contains 70% isopropyl alcohol. You add a 50% isopropyl alcohol liquid to 200 mL of a liquid that is 91% isopropyl alcohol. How much 50% liquid creates a 70% mixture?

Step 1 — Estimate. Since (0.5 + 0.91) ÷ 2 = 0.705, roughly equal amounts are needed, so about 200 mL.

Step 2 — Model it. Let x = mL of 50% liquid added.

OriginalAddedNew
Isopropyl alcohol (mL)0.91(200)0.5(x)0.91(200) + 0.5x
Total liquid (mL)200x200 + x
percent of isopropyl alcohol = (amount of isopropyl alcohol) / (total amount of liquid)
70/100 = (0.91(200) + 0.5x) / (200 + x)
1Excluded value: 200 + x ≠ 0 → x ≠ −200denominator not 0
270/100 = (182 + 0.5x)/(200 + x)simplify the numerator
3100(200 + x)(70/100) = 100(200 + x)(182 + 0.5x)/(200 + x)multiply by LCD 100(200 + x)
4(200 + x)70 = 100(182 + 0.5x)divide out common factors
514,000 + 70x = 18,200 + 50xDistributive Property
620x = 4200 → x = 210solve
x = 210 mL of the 50% liquid
Check against the restriction: 210 ≠ −200 ✓
Check in the original: (182 + 0.5·210)/(200 + 210) = 287/410 = 0.70 = 70/100 ✓ and 210 mL is close to the 200 mL estimate, so the answer is reasonable.
A bat flies at 25 mi/h in still air and takes 5 hours to fly 121.8 miles round trip. Find the speed w of the wind.

Each leg is 121.8 ÷ 2 = 60.9 miles. Using t = d/r, with the wind the speed is 25 + w and against it 25 − w.

160.9/(25 + w) + 60.9/(25 − w) = 5total time = 5 h
2Excluded values: w ≠ 25 and w ≠ −25denominators not 0
360.9(25 − w) + 60.9(25 + w) = 5(25 + w)(25 − w)LCD = (25 + w)(25 − w)
41522.5 − 60.9w + 1522.5 + 60.9w = 5(625 − w²)Distributive Property
53045 = 3125 − 5w²simplify
65w² = 80 → w² = 16isolate w²
7w = 4  or  w = −4take the square root
w = 4 mi/h
Check against the restrictions: neither 4 nor −4 equals ±25, so neither is extraneous — but a wind speed cannot be negative, so −4 is rejected for context, not for algebra.
Check in the original: 60.9/29 + 60.9/21 = 2.1 + 2.9 = 5 ✓
Study Tip — Assumptions: a bat's speed varies in flight; assuming a constant rate is what makes this model workable. We also assume the bat flies directly with or against the wind.
A 24-row planter takes 10 hours to plant a field; with a 16-row planter helping it takes 6 hours. How long would the 16-row planter take alone?
11/10 + 1/p = 1/6rates add; p = time for 16-row planter
2Excluded value: p ≠ 0denominator not 0
330p(1/10) + 30p(1/p) = 30p(1/6)multiply by the LCD, 30p
43p + 30 = 5pdivide out common factors
530 = 2psubtract 3p from each side
615 = pdivide each side by 2
p = 15 hours
Check against the restriction: 15 ≠ 0 ✓
Check in the original: 1/10 + 1/15 = 3/30 + 2/30 = 5/30 = 1/6 ✓
Solve  x/2 − 5/(x + 1) > (x − 4)/3

Step 1 — Find the excluded values. When x = −1 the denominator x + 1 is 0, so the excluded value is x = −1.

Step 2 — Solve the related equation (replace > with =).

1x/2 − 5/(x + 1) = (x − 4)/3related equation
26(x + 1)(x/2) − 6(x + 1)·5/(x + 1) = 6(x + 1)(x − 4)/3multiply by LCD 6(x + 1)
33x(x + 1) − 30 = 2(x + 1)(x − 4)divide out common factors
43x² + 3x − 30 = 2x² − 6x − 8Distributive Property
5x² + 9x − 22 = 0standard form
6(x + 11)(x − 2) = 0factor
7x = −11  or  x = 2Zero Product Property

Steps 3 and 4 — Divide a number line into intervals and test each one. Draw vertical lines at the excluded value −1 and at the solution points −11 and 2. That makes four intervals.

x < −11  (test x = −13)

−13/2 − 5/(−12) ≈ −6.08
(−13 − 4)/3 ≈ −5.67
false

−11 < x < −1  (test x = −4)

−4/2 − 5/(−3) ≈ −0.33
(−4 − 4)/3 ≈ −2.67
true ✓

−1 < x < 2  (test x = 0)

0/2 − 5/1 = −5
(0 − 4)/3 ≈ −1.33
false

x > 2  (test x = 3)

3/2 − 5/4 = 0.25
(3 − 4)/3 ≈ −0.33
true ✓
−11 < x < −1  or  x > 2
Check against the restriction: x = −1 is excluded, so it is left out of the solution set — that is exactly why the middle piece stops at −1 with an open circle. The endpoints −11 and 2 are also open because the inequality is strict (>, not ≥).
Spot check x = −10: −5 − 5/(−9) ≈ −4.44 and (−10 − 4)/3 ≈ −4.67; −4.44 > −4.67 ✓
Watch Out! Do not just multiply the original inequality by 6(x + 1). For x < −1 that factor is negative, which reverses > to <. The related-equation-plus-testing method sidesteps that trap entirely.

Try It Yourself

Practice 1

Solve  13/(y + 3) − 12/(y + 4) = 18/(y² + 7y + 12)
1y² + 7y + 12 = (y + 3)(y + 4) → y ≠ −3, y ≠ −4factor, list excluded values
213(y + 4) − 12(y + 3) = 18multiply by LCD (y + 3)(y + 4)
313y + 52 − 12y − 36 = 18Distributive Property
4y + 16 = 18 → y = 2solve
y = 2
Check: 2 is not −3 or −4, so it is not extraneous. In the original: 13/5 − 12/6 = 2.6 − 2 = 0.6 and 18/(4 + 14 + 12) = 18/30 = 0.6 ✓

Practice 2 — a solution gets thrown out

Solve  3x/(x − 4) − (x² − 7x − 4)/(x² − 16) = 5/(x + 4)
1x² − 16 = (x − 4)(x + 4) → x ≠ 4, x ≠ −4excluded values
23x(x + 4) − (x² − 7x − 4) = 5(x − 4)multiply by LCD (x − 4)(x + 4)
33x² + 12x − x² + 7x + 4 = 5x − 20Distributive Property
42x² + 19x + 4 = 5x − 20combine like terms
52x² + 14x + 24 = 0 → x² + 7x + 12 = 0standard form, divide by 2
6(x + 3)(x + 4) = 0 → x = −3 or x = −4factor
x = −3  (x = −4 is extraneous)
Check against the restrictions: x = −4 is an excluded value → discard it. x = −3 is allowed.
Check x = −3 in the original: −9/(−7) − (9 + 21 − 4)/(9 − 16) = 9/7 − 26/(−7) = 9/7 + 26/7 = 35/7 = 5, and 5/(−3 + 4) = 5.  5 = 5 ✓
Watch Out! Notice that the LCD factor (x + 4) is exactly what the extraneous answer zeroed out. Extraneous answers are almost always a factor of the LCD staring back at you.

Practice 3 — a quadratic with two good answers

Solve  5/6 − 2/(4x + 1) = x/3
14x + 1 = 0 → x ≠ −1/4excluded value
25(4x + 1) − 12 = 2x(4x + 1)multiply by LCD 6(4x + 1)
320x + 5 − 12 = 8x² + 2xDistributive Property
48x² − 18x + 7 = 0standard form
5(2x − 1)(4x − 7) = 0factor
6x = 1/2  or  x = 7/4Zero Product Property
x = 1/2  or  x = 7/4
Check against the restriction: neither 1/2 nor 7/4 equals −1/4, so both are genuine.
x = 1/2: 5/6 − 2/3 = 1/6 and (1/2)/3 = 1/6 ✓   x = 7/4: 5/6 − 2/8 = 5/6 − 1/4 = 7/12 and (7/4)/3 = 7/12 ✓

Practice 4 — inequality

Solve  6/(m + 5) > 2
1m + 5 = 0 → excluded value m = −5Step 1
26/(m + 5) = 2 → 6 = 2m + 10 → m = −2Step 2: related equation
3Critical values −5 and −2 give intervals m < −5, −5 < m < −2, m > −2Step 3

m < −5 (test −6)

6/(−1) = −6
−6 > 2 false

−5 < m < −2 (test −3)

6/2 = 3
3 > 2 true ✓

m > −2 (test 0)

6/5 = 1.2
1.2 > 2 false

Endpoints

m = −5 excluded (open)
m = −2 gives 2 > 2, false (open)
−5 < m < −2
Check: m = −4 gives 6/1 = 6 > 2 ✓. m = −5 is excluded, so it can never be in the solution set no matter what the inequality symbol is.

Practice 5 — inequality with a quadratic related equation

Solve  −6/x − (x − 2)/4 > (3 − x)/3
1Excluded value: x ≠ 0Step 1
2−72 − 3x(x − 2) = 4x(3 − x)Step 2: multiply related equation by LCD 12x
3−72 − 3x² + 6x = 12x − 4x²Distributive Property
4x² − 6x − 72 = 0 → (x − 12)(x + 6) = 0standard form, factor
5x = 12  or  x = −6solution points
6Critical values: −6, 0, 12Step 3: numerator zeros + excluded value

x < −6 (test −10)

0.6 + 3 = 3.6
13/3 ≈ 4.33
false

−6 < x < 0 (test −1)

6 + 0.75 = 6.75
4/3 ≈ 1.33
true ✓

0 < x < 12 (test 1)

−6 + 0.25 = −5.75
2/3 ≈ 0.67
false

x > 12 (test 20)

−0.3 − 4.5 = −4.8
−17/3 ≈ −5.67
true ✓
−6 < x < 0  or  x > 12
Check against the restriction: x = 0 is excluded, which is why the first piece stops there with an open circle rather than running through zero. Endpoints −6 and 12 are open because the inequality is strict.

Summary

SituationWhat to doResult
Equation with variables in denominatorsFactor denominators, list excluded values, multiply every term by the LCDA polynomial equation
After solving, a result equals an excluded valueDiscard itextraneous solution
Every result is extraneousReport the empty setno solution
Rational expression equals 0Set the numerator equal to 0, then remove any excluded valueszeros of the function
Rational inequalityExcluded values + solve the related equation → split the number line → test each intervalunion of intervals
Endpoint came from the denominatorAlways exclude itopen circle ○
Endpoint came from the numerator, symbol is ≤ or ≥Include itfilled circle ●
LCD · every distinct factor denominator = 0 → excluded check → original equation extraneous = excluded value t = d/r 1/a + 1/b = 1/t (work) percent = part / total (mixture) critical values = numerator zeros ∪ denominator zeros test one point per interval
Common mistakes to avoid:
  • Forgetting to check — an unchecked answer to a rational equation is not an answer.
  • Multiplying only some terms by the LCD. Every term on both sides, no exceptions.
  • Multiplying a rational inequality by the LCD. The LCD's sign is unknown, so the inequality symbol may flip. Use sign analysis instead.
  • Using only the numerator's zeros as critical values. The denominator's zeros split the line too, even though they are never solutions.
  • Filling in an endpoint that came from the denominator because the symbol was ≥. Excluded values are always open.
  • Assuming an extraneous result means you made an arithmetic error. It usually means the algebra worked exactly as expected.
  • Failing to factor a denominator such as x² − 16 first, and then guessing the wrong LCD.

Practice Quiz

15 questions · click an answer to check it instantly

0/15

๐Ÿ“ Test your understanding