Adding and Subtracting Rational Expressions

Algebra 2Module 9: Rational FunctionsAdvanced Math

Learn adding and subtracting rational expressions step by step with worked examples you can follow. Then practise with 38 instant-feedback questions. Free Algebra 2 lesson from Mr Ahmed Hamouda.

Add and subtract rational expressions by building a least common denominator, and simplify complex fractions.

Core Concepts

1. The whole lesson in one sentence

You already know that 1/2 + 1/3 is not 2/5 — you have to rewrite both fractions over 6 first. Rational expressions work exactly the same way. The only new part is that the denominators are polynomials, so “finding the common denominator” means factoring instead of listing multiples.

1/2 + 1/3 = 3/6 + 2/6 = 5/6
1/x + 1/y = y/(xy) + x/(xy) = (y + x)/(xy)

Same move, different alphabet.

2. Key Concept · Adding Rational Expressions

Key Concept · Adding Rational Expressions

Words: To add rational expressions, find the least common denominator. Rewrite each expression with the LCD. Then add.

Symbols: For all rational expressions a/b and c/d with b ≠ 0 and d ≠ 0,

a/b + c/d = ad/(bd) + bc/(bd) = (ad + bc)/(bd)
Key Concept · Subtracting Rational Expressions

Words: To subtract rational expressions, find the least common denominator. Rewrite each expression with the LCD. Then subtract.

Symbols: For all rational expressions a/b and c/d with b ≠ 0 and d ≠ 0,

a/b − c/d = ad/(bd) − bc/(bd) = (ad − bc)/(bd)
Study Tip: The formula (ad ± bc)/(bd) always works, but bd is often bigger than it needs to be. Using the least common denominator keeps the numbers small and usually leaves the answer already in lowest terms.

3. Vocabulary

Least common multiple (LCM) — the smallest expression that every given expression divides into evenly. To find it, factor each expression; the LCM contains each factor the greatest number of times it appears in any one of them.
Least common denominator (LCD) — the LCM of the denominators. This is the denominator you rewrite every term over before you add or subtract.
Missing factor — what one denominator is lacking compared with the LCD. You multiply that fraction’s numerator and denominator by the missing factor, which is the same as multiplying by 1.
Complex fraction — a fraction whose numerator, denominator, or both contain a fraction, such as (x/y + 1) / (y/x − 1/y).

4. The LCD procedure

Follow these five steps every single time. Skipping step 1 is the number one reason students get stuck.

Factor every denominator completely. Pull out GCFs, factor trinomials, factor differences of squares. Example: x² + 2x − 15 = (x − 3)(x + 5) and 5x − 15 = 5(x − 3).
Build the LCD. Take every distinct factor that appears anywhere, each raised to the highest power it reaches in any one denominator. From the pair above the LCD is 5(x − 3)(x + 5).
Find each missing factor and multiply that fraction’s numerator and denominator by it. The first fraction is missing 5; the second is missing (x + 5).
Add or subtract the numerators over the single common denominator. Distribute carefully — especially the subtraction sign.
Simplify. Combine like terms, factor the new numerator, and cancel any factor it shares with the denominator. Then state the excluded values.

5. Rewriting the two fractions side by side

Steps 2 and 3 are easiest to see when you write the two fractions in parallel columns. Here is (2x + 1)/(x² + 2x − 15) − 7/(5x − 15):

First fraction

(2x + 1)/(x² + 2x − 15)
= (2x + 1)/[(x − 3)(x + 5)]
LCD needs one more factor of 5
→ 5(2x + 1)/[5(x − 3)(x + 5)]

Second fraction

7/(5x − 15)
= 7/[5(x − 3)]
LCD needs one more factor of (x + 5)
→ 7(x + 5)/[5(x − 3)(x + 5)]

Both fractions now sit over 5(x − 3)(x + 5), so the numerators can finally be combined.

6. Opposite factors: (a − b) and (b − a)

These two look like different factors, but they differ only by a sign:

a − b = −(b − a)    ∴   1/(a − b) = −1/(b − a)

So k/(k − n) and k/(n − k) already share a denominator once you factor −1 out of one of them. Never build a giant LCD of (k − n)(n − k) — that is doing four times the work for the same answer.

Watch Out! Only binomials flip like this. (x + 3) and (3 + x) are identical (addition commutes), not opposites. The sign trick applies to subtraction only.

7. Complex fractions

A complex fraction is just a division problem in disguise. Two reliable methods:

Method A · different LCDs

1. Combine the numerator into one fraction.
2. Combine the denominator into one fraction.
3. Rewrite as a division.
4. Multiply by the reciprocal of the divisor.
5. Cancel common factors.

Method B · one shared LCD

1. Find the LCD of all the little denominators.
2. Multiply the whole complex fraction (top and bottom) by that LCD.
3. Distribute — every small denominator cancels at once.
4. Simplify the result.
(a/b) / (c/d) = (a/b) · (d/c) = ad/(bc)   (b, c, d ≠ 0)

Method B is usually faster when there are three or more small denominators.

8. Must-memorise facts

1
Excluded values come from the ORIGINAL denominators, not the final one. Any value that makes any denominator zero — at any stage of the work — is excluded, even if the factor cancels later. For 3/(w − 3) − 2/(w² − 9) you must write w ≠ 3 and w ≠ −3.
2
Never add denominators. a/b + c/d ≠ (a + c)/(b + d). Denominators are matched, not combined.
3
Factor first, always. You cannot see the LCD of x² − 6x − 16 and x² − 3x − 40 until you see (x − 8)(x + 2) and (x − 8)(x + 5).
4
Cancel factors, never terms. In (3x − 30)/[5(x − 3)(x + 5)] you may factor the top as 3(x − 10), but (x − 10) matches nothing below, so nothing cancels.
5
The set of rational expressions is closed under addition, subtraction and multiplication — the sum, difference, or product of two rational expressions is always another rational expression.

9. The two classic traps

Trap 1 — the subtraction sign only hits the first term. When you subtract, the minus sign applies to the entire second numerator, so put it in parentheses before you distribute.
WRONG:  10x + 5 − 7x + 35
RIGHT:   10x + 5 − (7x + 35) = 10x + 5 − 7x − 35 = 3x − 30
A dropped sign here changes 3x − 30 into 3x + 40 — a completely different answer.
Trap 2 — missing that (a − b) and (b − a) are opposites. Students see 3t/(2 − x) and 5/(x − 2) and multiply the denominators together. Instead factor out −1:
3t/(2 − x) = 3t/[−(x − 2)] = −3t/(x − 2)
Now both terms sit over (x − 2) with no extra work at all.

Key Figures

Figure 1 — the LCD is a union of factors, not a product
denominators:  x² − 9 = (x − 3)(x + 3)  and  x² + 6x + 9 = (x + 3)² first second x − 3 x + 3 (shared) x + 3 take every factor, to the highest power it appears anywhere LCD = (x − 3)(x + 3)² not the product of the two denominators — that would repeat (x + 3) three times
List the factors of each denominator, then build the LCD by taking every factor that appears, each to the highest power it reaches in any one denominator. Here (x + 3) appears once on the left and squared on the right, so the LCD carries (x + 3)² — squared, not cubed. Multiplying the two denominators together would also give a common denominator, but a needlessly large one that you would then have to simplify back down.
Figure 2 — you already know this procedure
with numbers with algebra the problem 1/6 + 1/4 the same problem 1/(x−1) + 1/(x+1) factor the denominators 6 = 2·3, 4 = 2² factor the denominators (x−1), (x+1) build the LCD 2²·3 = 12 build the LCD (x−1)(x+1) rewrite each fraction 2/12 + 3/12 rewrite each fraction (x+1)/LCD + (x−1)/LCD add the numerators 5/12 add the numerators 2x/((x−1)(x+1))
Nothing in this lesson is new. Adding 1/6 + 1/4 and adding 1/(x − 1) + 1/(x + 1) are the same five steps, and the only thing that changes is that the factors are now expressions instead of primes. If you get stuck on an algebraic one, do the matching numerical one first and copy your own moves.

Move It Yourself

Worked Examples

Simplify  7a/(4b) + 4c²/10
14b = 2² · b  and  10 = 2 · 5factor the denominators
2LCD = 2² · 5 · b = 20bhighest power of each factor
37a/(4b) · 5/5 + 4c²/10 · (2b)/(2b)multiply by the missing factors
4= 35a/(20b) + 8bc²/(20b)multiply
5= (35a + 8bc²)/(20b)add the numerators
(35a + 8bc²)/(20b),  b ≠ 0
Check: the numerator 35a + 8bc² has no common factor with 20b (the terms share nothing), so the expression is already in simplest form.
Simplify  2x/(9y) − 7y/(6z)
19y = 3² · y  and  6z = 2 · 3 · zfactor the denominators
2LCD = 2 · 3² · y · z = 18yzeach factor, highest power
32x/(9y) · (2z)/(2z) − 7y/(6z) · (3y)/(3y)multiply by the missing factors
4= 4xz/(18yz) − 21y²/(18yz)multiply
5= (4xz − 21y²)/(18yz)subtract
(4xz − 21y²)/(18yz),  y ≠ 0, z ≠ 0
Think About It: if you had used 9y · 6z = 54yz instead of the LCD, you would get (12xz − 63y²)/(54yz) — still correct, but every term carries a hidden factor of 3 that you must cancel at the end. The LCD just saves you that step.
Simplify  (2x + 1)/(x² + 2x − 15) − 7/(5x − 15)
1= (2x + 1)/[(x − 3)(x + 5)] − 7/[5(x − 3)]factor the denominators
2LCD = 5(x − 3)(x + 5)every distinct factor once
3= 5(2x + 1)/[5(x − 3)(x + 5)] − 7(x + 5)/[5(x − 3)(x + 5)]multiply by the missing factors
4= [10x + 5 − (7x + 35)]/[5(x − 3)(x + 5)]Distributive Property
5= (10x + 5 − 7x − 35)/[5(x − 3)(x + 5)]distribute the minus sign
6= (3x − 30)/[5(x − 3)(x + 5)]subtract
(3x − 30)/[5(x − 3)(x + 5)],  x ≠ 3, x ≠ −5
Watch Out! The numerator factors as 3(x − 10). It is tempting to cancel that (x − 10) against something below — but the denominator only contains (x − 3) and (x + 5). Nothing cancels. Also note the two fractions are not both multiplied by (x − 3)/(x − 3): that factor is already present in both denominators, so multiplying by it again would overshoot the LCD.
Check with x = 1: original gives 3/(1 + 2 − 15) − 7/(5 − 15) = 3/(−12) + 7/10 = −0.25 + 0.7 = 0.45. Answer gives (3 − 30)/[5(−2)(6)] = −27/(−60) = 0.45 ✓
Simplify  20/x + 200x/(3x² + 20)
1x and (3x² + 20) share no factor3x² + 20 will not factor
2LCD = x(3x² + 20)product of the two denominators
3= 20(3x² + 20)/[x(3x² + 20)] + 200x(x)/[(3x² + 20)(x)]multiply by the missing factors
4= (60x² + 400 + 200x²)/(3x³ + 20x)Distributive Property
5= (260x² + 400)/(3x³ + 20x)add like terms
(260x² + 400)/(3x³ + 20x),  x ≠ 0
Study Tip: when the denominators are relatively prime (no common factor), the LCD really is just their product — there is nothing smaller available.
Simplify  (x/y + 1) / (y/x − 1/y)

Step 1 — Determine the LCDs.

Numerator

x/y + 1
denominators: y and 1
LCD of the numerator = y

Denominator

y/x − 1/y
denominators: x and y
LCD of the denominator = xy

Step 2 — Simplify.

1= (x/y + y/y) / (y²/(xy) − x/(xy))rewrite each part over its own LCD
2= [(x + y)/y] / [(y² − x)/(xy)]simplify top and bottom
3= (x + y)/y ÷ (y² − x)/(xy)write as a division expression
4= (x + y)/y · xy/(y² − x)multiply by the reciprocal of the divisor
5= (x + y) · x/(y² − x)eliminate the common factor y
6= x(x + y)/(y² − x)multiply
7= (x² + xy)/(y² − x)Distributive Property
(x² + xy)/(y² − x),  x ≠ 0, y ≠ 0, y² ≠ x
Watch Out! The big fraction bar means divide. You cannot cancel the y in x/y against the y in y/x while they are still on separate levels — only after you have flipped the divisor and are looking at one single multiplication.
Simplify  (x/y + 2/x) / (x/2 − y/x)

Step 1 — Determine the LCD. The denominators of the terms in the numerator and denominator are 2, x, and y. So the LCM of all of the denominators is 2xy.

Step 2 — Simplify. Multiply the whole complex fraction, top and bottom, by 2xy.

1= [(x/y + 2/x) · 2xy] / [(x/2 − y/x) · 2xy]the LCD is 2xy
2= [(x/y)(2xy) + (2/x)(2xy)] / [(x/2)(2xy) − (y/x)(2xy)]Distributive Property
3= (2x² + 4y)/(x²y − 2y²)multiply; every small denominator cancels
(2x² + 4y)/(x²y − 2y²),  x ≠ 0, y ≠ 0
Check with x = 2, y = 1: original is (2/1 + 2/2)/(2/2 − 1/2) = 3/0.5 = 6. Answer is (8 + 4)/(4 − 2) = 12/2 = 6 ✓
Which method? Example 4 combined each level separately (two small LCDs, then divide). Example 5 multiplied everything by one big LCD. Both are always valid — the one-LCD method (this one) is usually faster when there are three or more small denominators.
Simplify  k/(k − n) − k/(n − k)
1n − k = −(k − n)the denominators are opposites
2= k/(k − n) − k/[−(k − n)]substitute
3= k/(k − n) + k/(k − n)minus a negative is plus
4= 2k/(k − n)add; denominators already match
2k/(k − n),  k ≠ n
Watch Out! Two sign changes happen at once here: the −1 pulled out of the denominator, and the subtraction already in the problem. They combine into addition. Students who only apply one of the two get 0 — a very common wrong answer.

Try It Yourself

Practice 1 · Monomial denominators

Simplify  2/(a + 2) − 3/(2a)
1LCD = 2a(a + 2)no shared factors
2= 2(2a)/[2a(a + 2)] − 3(a + 2)/[2a(a + 2)]missing factors
3= [4a − (3a + 6)]/[2a(a + 2)]Distributive Property
4= (4a − 3a − 6)/[2a(a + 2)]distribute the minus sign
(a − 6)/[2a(a + 2)],  a ≠ 0, a ≠ −2

Practice 2 · Two-variable monomials

Simplify  5/(3b + d) − 2/(3bd)
1LCD = 3bd(3b + d)(3b + d) is prime; no overlap
2= 5(3bd)/[3bd(3b + d)] − 2(3b + d)/[3bd(3b + d)]missing factors
3= (15bd − 6b − 2d)/[3bd(3b + d)]distribute and subtract
(15bd − 6b − 2d)/[3bd(3b + d)],  b ≠ 0, d ≠ 0, 3b + d ≠ 0

Practice 3 · Higher-power monomials

Simplify  4b/(15x³y²) − 3b/(35x²y⁴z)
115 = 3 · 5,  35 = 5 · 7 → numeric LCM = 105factor the coefficients
2variables: x³, y⁴, z (highest power of each)LCD = 105x³y⁴z
3= 4b(7y²z)/(105x³y⁴z) − 3b(3x)/(105x³y⁴z)missing factors 7y²z and 3x
(28by²z − 9bx)/(105x³y⁴z)  =  b(28y²z − 9x)/(105x³y⁴z)

Practice 4 · Factor first

Simplify  12/(3y² − 10y − 8) − 3/(y² − 6y + 8)
13y² − 10y − 8 = (3y + 2)(y − 4)factor
2y² − 6y + 8 = (y − 2)(y − 4)factor
3LCD = (3y + 2)(y − 4)(y − 2)(y − 4) is shared — use it once
4= [12(y − 2) − 3(3y + 2)]/[(3y + 2)(y − 4)(y − 2)]missing factors
5= (12y − 24 − 9y − 6)/[(3y + 2)(y − 4)(y − 2)]distribute both signs
(3y − 30)/[(3y + 2)(y − 4)(y − 2)]  =  3(y − 10)/[(3y + 2)(y − 4)(y − 2)]

Practice 5 · Repeated factor in the LCD

Simplify  1/(x² + 2x + 1) + x/(x + 1)
1x² + 2x + 1 = (x + 1)²perfect square trinomial
2LCD = (x + 1)²highest power of (x + 1) is 2
3= 1/(x + 1)² + x(x + 1)/(x + 1)²missing factor (x + 1)
4= (1 + x² + x)/(x + 1)²add the numerators
(x² + x + 1)/(x + 1)²,  x ≠ −1
Careful: the LCD is (x + 1)², not (x + 1)³. You take the highest power that appears in any one denominator, not the sum of the powers.

Practice 6 · Complex fraction

Simplify  [2/(a − 1) + 3/(a − 4)] / [6/(a² − 5a + 4)]
1a² − 5a + 4 = (a − 1)(a − 4)factor
2LCD of all small denominators = (a − 1)(a − 4)use the one-LCD method
3numerator · LCD = 2(a − 4) + 3(a − 1)distribute
4= 2a − 8 + 3a − 3 = 5a − 11combine like terms
5denominator · LCD = 6the factored denominator cancels entirely
(5a − 11)/6,  a ≠ 1, a ≠ 4

Summary

SituationWhat to doResult
Denominators already identical Add or subtract the numerators; keep the denominator 3/x + 5/x = 8/x
Monomial denominators LCM of coefficients × each variable to its highest power 4b, 10 → LCD 20b
Polynomial denominators Factor each, then take every distinct factor to its highest power (x − 3)(x + 5), 5(x − 3) → 5(x − 3)(x + 5)
Denominators are opposites Factor −1 out of one: b − a = −(a − b) k/(k − n) − k/(n − k) = 2k/(k − n)
Denominators share no factor LCD is simply their product x, 3x² + 20 → x(3x² + 20)
Repeated factor, e.g. (x + 1) and (x + 1)² Use the highest power only LCD = (x + 1)²
Complex fraction, few denominators Combine top, combine bottom, then multiply by the reciprocal (x/y + 1)/(y/x − 1/y) = (x² + xy)/(y² − x)
Complex fraction, many denominators Multiply top and bottom by the LCD of all of them (x/y + 2/x)/(x/2 − y/x) = (2x² + 4y)/(x²y − 2y²)
Stating the domain Exclude every value that zeroes any original denominator 3/(w − 3) − 2/(w² − 9): w ≠ ±3

Every rule from this lesson

a/b + c/d = (ad + bc)/(bd) a/b − c/d = (ad − bc)/(bd) LCD = LCM of the denominators a − b = −(b − a) (a/b) / (c/d) = ad/(bc) c/d · k/k = ck/(dk) b ≠ 0, d ≠ 0 always
Common mistakes to avoid:
  • Adding the denominators: a/b + c/d ≠ (a + c)/(b + d).
  • Distributing the subtraction to only the first term of the second numerator. Bracket it: −(7x + 35) = −7x − 35.
  • Failing to see that (a − b) and (b − a) are opposites, and building a needlessly huge LCD.
  • Multiplying a fraction by a factor its denominator already contains — that overshoots the LCD and forces extra cancelling later.
  • Cancelling terms instead of factors: in (3x − 30)/[5(x − 3)] you may not cancel the 3s or the xs.
  • Forgetting excluded values that vanish when a factor cancels — they still count.
  • Cancelling across the levels of a complex fraction before rewriting it as a single multiplication.
  • Leaving the answer unfactored, so you miss a common factor that would simplify it.

Practice Quiz

15 questions · click an answer to check it instantly

0/15

๐Ÿ“ Test your understanding