Elementary Algebra 2e — Original English

Add and Subtract Rational Expressions with Unlike Denominators

Find the Least Common Denominator of Rational Expressions

When we add or subtract rational expressions with unlike denominators we will need to get common denominators. If we review the procedure we used with numerical fractions, we will know what to do with rational expressions.

Let’s look at the example 712+518 from Foundations. Since the denominators are not the same, the first step was to find the least common denominator (LCD). Remember, the LCD is the least common multiple of the denominators. It is the smallest number we can use as a common denominator.

To find the LCD of 12 and 18, we factored each number into primes, lining up any common primes in columns. Then we “brought down” one prime from each column. Finally, we multiplied the factors to find the LCD.

12=2·2·318=2·3·3LCD=2·2·3·3LCD=36

We do the same thing for rational expressions. However, we leave the LCD in factored form.

Find the LCD for 8x22x3,3xx2+4x+3.

Solution

Solution

Steps to find the Least Common Denominator (LCD) for given rational expressions by factoring their denominators.
Find the LCD for8x22x3,3xx2+4x+3.
Factor each expression completely, lining
up common factors.
Bring down the columns.
x22x3=(x+1)(x3)x2+4x+3=(x+1)(x+3)LCD=(x+1)(x3)(x+3)
Multiply the factors. The LCD is(x+1)(x3)(x+3).

Find Equivalent Rational Expressions

When we add numerical fractions, once we find the LCD, we rewrite each fraction as an equivalent fraction with the LCD.

The above image shows how to find the LCD (least common denominator) when adding numerical fractions in the example seven-twelfths plus five-eighteenths. The image shows 7 times 3 divided by 12 times 3 plus 5 times 2 plus 18 times 2. Below this is 21 divided by 36 plus 10 divided by 36. The image next to this shows that 12 equals 2 times 2 times 3. Below this shows 18 equals 2 times 3 times 3. A line is drawn. Below it is LCD equals 2 times 2 times 3 times 3. The line below this shows that the LCD equals 36.

We will do the same thing for rational expressions.

Rewrite as equivalent rational expressions with denominator (x+1)(x3)(x+3): 8x22x3,3xx2+4x+3.

Solution

Solution

Two algebraic fractions are shown: 8 over (x^2 - 2x - 3) and 3x over (x^2 + 4x + 3).
Factor each denominator. Two algebraic fractions are shown: 8 over (x+1)(x-3) and 3x over (x+1)(x+3).
Find the LCD.  Quadratic expressions x^2-2x-3 and x^2+4x+3 are factored, leading to the calculation of their Least Common Denominator (LCD) as (x+1)(x-3)(x+3).
Multiply each denominator by the 'missing' factor and multiply each numerator by the same factor. Two rational expressions are shown: 8(x+3)/((x+1)(x-3)(x+3)) and 3x(x-3)/((x+1)(x+3)(x-3)). Key terms are highlighted in red.
Simplify the numerators. Two algebraic fractions displayed. The first is 8x+24 over (x+1)(x-3)(x+3), and the second is 3x^2-9x over (x+1)(x+3)(x-3). Both fractions have common denominators.

Add Rational Expressions with Different Denominators

Now we have all the steps we need to add rational expressions with different denominators. As we have done previously, we will do one example of adding numerical fractions first.

Add: 712+518.

Solution

Solution

The image shows the fraction addition problem '7 over 12 plus 5 over 18'.
Find the LCD of 12 and 18.  This image illustrates the calculation of the Least Common Denominator (LCD) for the numbers 12 and 18. It shows their prime factorizations as 12 = 2x2x3 and 18 = 2x3x3, leading to an LCD of 2x2x3x3, which equals 36.
Rewrite each fraction as an equivalent fraction with the LCD. A math problem displaying the sum of two fractions: (7 * 3) / (12 * 3) + (5 * 2) / (18 * 2). The numbers 3 and 2 are highlighted in red, suggesting multiplication to achieve common denominators.
Add the fractions. A mathematical expression showing the sum of two fractions with a common denominator: 21/36 + 10/36.
The fraction cannot be simplified. A fraction is displayed with 31 as the numerator, a horizontal line, and 36 as the denominator.

Now we will add rational expressions whose denominators are monomials.

Add: 512x2y+421xy2.

Solution

Solution

An algebraic expression showing the sum of two fractions: 5 over 12x squared y, plus 4 over 21xy squared.
Find the LCD of 12x2y and 21xy2.  Step-by-step calculation of the Least Common Denominator (LCD) for 12x²y and 21xy². Prime factorization leads to an LCD of 84x²y².
A mathematical expression showing the sum of two algebraic fractions: 5/(12x^2y) + 4/(21xy^2).
Rewrite each rational expression as an equivalent fraction with the LCD. An algebraic expression displaying the addition of two rational terms: (5 * 7y) / (12x^2y * 7y) and (4 * 4x) / (21xy^2 * 4x), illustrating a step in finding a common denominator for two fractions.
Simplify. A mathematical expression showing the sum of two fractions: 35y over 84x^2y^2 plus 16x over 84x^2y^2. Both fractions share a common denominator.
Add the rational expressions. A fraction with the numerator 16x + 35y and the denominator 84x^2y^2 is displayed on a white background, representing a mathematical algebraic expression.
There are no factors common to the numerator and denominator. The fraction cannot be simplified.

Now we are ready to tackle polynomial denominators.

How to Add Rational Expressions with Different Denominators

Add: 3x3+2x2.

Solution

Solution

The above image shows the steps to add fractions whose denominators are monomials for the example 5 divided by 12 x squared y plus 4 divided by 21 x y squared. Find the LCD of 12 x squared y and 21 x y squared. To the right of this expression is 12 x squared y equals 2 times 2 times 3 times x times x times y. Below that is 21 x y squared equals 3 times 7 times x times y times y. A line is drawn. Below that is LCD equals 2 times 2 times 3 times 7 times x times x times y times y. Below that is LCD equals 84 x squared y squared. Rewrite each rational expression as an equivalent fraction with the LCD. The original equation is shown. Below that is 5 times 7 y divided by 12 x squared y times 7 y plus 4 times 4 x divided by 21 x y squared times 4 x. Simplify to get 35 y divided by 84 x squared y squared plus 16 x divided by x squared y squared. Add the rational expressions 16 x plus 35 y divided by 84 x squared y squared. There are no factors common to the numeration and denominator. The fraction cannot be simplified. Step 2 is to add the rational expression. Then, add the numerators and place the sum over the common denominator to get 3 x minus 6 plus 2 x minus 6 divided by x minus 3 times x minus 2. Step 3 is to simplify, if possible. Because 5 x minus 12 cannot be factored, the answer is simplified to 5 x minus 12 divided by x minus 3 times x minus 2.

The steps to use to add rational expressions are summarized in the following procedure box.

Add: 2a2ab+b2+3a4a2b2.

Solution

Solution

A mathematical expression showing the sum of two fractions: 2a divided by (2ab + b^2) plus 3a divided by (4a^2 - b^2).
Do the expressions have a common denominator? No.
Rewrite each expression with the LCD.
Find the LCD.  Algebraic factorization of `2ab + b^2` and `4a^2 - b^2`, demonstrating how to find the Least Common Denominator (LCD) of these expressions, which is `b(2a + b)(2a - b)`.
Rewrite each rational expression as an equivalent rational expression with the LCD. An algebraic expression displaying the sum of two fractions with a common denominator, prior to simplification. Numerators are 2a(2a-b) and 3ab, while the common denominator is b(2a+b)(2a-b).
Simplify the numerators. An algebraic expression showing the sum of two fractions with a common denominator of b(2a+b)(2a-b). The first numerator is 4a^2-2ab, and the second numerator is 3ab.
Add the rational expressions. A mathematical expression showing a fraction with 4a^2 - 2ab + 3ab in the numerator and b(2a + b)(2a - b) in the denominator.
Simplify the numerator. A mathematical fraction is shown, with the numerator as 4a^2 + ab and the denominator as b(2a + b)(2a - b).
Factor the numerator. A mathematical fraction with the numerator a(4a + b) and the denominator b(2a + b)(2a - b).
There are no factors common to the numerator and denominator. The fraction cannot be simplified.

Avoid the temptation to simplify too soon! In the example above, we must leave the first rational expression as 2a(2ab)b(2a+b)(2ab) to be able to add it to 3a·b(2a+b)(2ab)·b. Simplify only after you have combined the numerators.

Add: 8x22x3+3xx2+4x+3.

Solution

Solution

An algebraic expression featuring the sum of two rational fractions: 8/(x^2 - 2x - 3) + 3x/(x^2 + 4x + 3).
Do the expressions have a common denominator? No.
Rewrite each expression with the LCD.
Find the LCD.  Factoring quadratic expressions x^2 - 2x - 3 and x^2 + 4x + 3 to determine their Least Common Denominator (LCD), which is (x+1)(x-3)(x+3).
Rewrite each rational expression as an equivalent fraction with the LCD. An algebraic expression showing the sum of two rational fractions, where common factors in the numerators and denominators are highlighted in red, indicating potential simplification steps.
Simplify the numerators. An algebraic expression demonstrating the sum of two rational functions with a common denominator. The numerators are (8x + 24) and (3x^2 - 9x).
Add the rational expressions. A mathematical fraction displaying the expression (3x^2 - x + 24) divided by (x + 1)(x - 3)(x + 3).
Simplify the numerator. A mathematical fraction displaying the expression (3x^2 - x + 24) divided by (x + 1)(x - 3)(x + 3).
The numerator is prime, so there are no common factors.

Subtract Rational Expressions with Different Denominators

The process we use to subtract rational expressions with different denominators is the same as for addition. We just have to be very careful of the signs when subtracting the numerators.

How to Subtract Rational Expressions with Different Denominators

Subtract: xx3x2x+3.

Solution

Solution

The above image has 3 columns. It shows the steps on how to subtract rational expressions with different denominators for x divided by x minus three minus x plus x minus 3. Step 1 is to Determine if the expressions have a common denominator. Yes – go to step 2. No – Rewrite each rational expression with the LCD. Find the LCD. Rewrite each rational expression as an equivalent rational expression with the LCD. In the above expression, the answer is no. Find the LCD of x minus 3, x plus 3. To the right of this is x – 3: x – 3. Below that is x – 2: x – 2. A line is drawn. Below that is written the LCD is x – 3 times x plus 3. Rewrite as x times x plus 3 divided by x minus 3 times x plus 3 minus x minus 2 times x minus 3 divided by x plus 3 times x minus 3. Keep the denominators factored! Factor to get x squared plus 3 x divided by x minus 3 times x plus 3 minus x squared minus 5 x plus 6 divided by x minus 3 times x plus 3. Step 2 is to subtract the rational expressions. Subtract the numerators and place the difference over the common denominator to get x 2 plus 3 x minus x squared minus 5 x plus 6 divided by x minus 3 times x plus 3. Then to x squared plus 3 x minus x squared plus 5 x minus 6 divided by x minus 3 times x plus 3. Be careful with the signs! Then to 8 x minus 6 divided by x minus 3 times x plus 3. Step 3 is to simplify, if possible. The numerator and denominator have no factors in common. The answer is simplified to 2 times 4 x minus 3 divided by x minus 3 times x plus 3.

The steps to take to subtract rational expressions are listed below.

Subtract: 8yy2164y4.

Solution

Solution

A mathematical expression showing the subtraction of two algebraic fractions: 8y divided by the quantity y squared minus 16, minus 4 divided by the quantity y minus 4.
Do the expressions have a common denominator? No.
Rewrite each expression with the LCD.
Find the LCD.  Factoring y^2 - 16 into (y-4)(y+4) and identifying y-4, then calculating the Least Common Denominator (LCD) as (y-4)(y+4).
Rewrite each rational expression as an equivalent rational expression with the LCD. A mathematical expression showing the subtraction of two fractions with a common denominator of (y-4)(y+4). The numerators are 8y and 4(y+4), with parts of the second fraction highlighted in red.
Simplify the numerators. An algebraic expression showing the subtraction of two fractions with a common denominator of (y-4)(y+4). The numerators are 8y and 4y+16.
Subtract the rational expressions. An algebraic expression shown as a fraction with 8y - 4y - 16 in the numerator and (y - 4)(y + 4) in the denominator.
Simplify the numerators. A mathematical expression showing the fraction (4y - 16) / ((y - 4)(y + 4)).
Factor the numerator to look for common factors. A mathematical expression showing the fraction 4(y-4) over (y-4)(y+4).
Remove common factors. A mathematical expression showing the fraction 4(y-4) over (y-4)(y+4), with the common factor (y-4) in both the numerator and denominator crossed out, indicating cancellation.
Simplify. A mathematical expression shows the fraction 4 over (y + 4).

There are lots of negative signs in the next example. Be extra careful!

Subtract: −3n9n2+n6n+32n.

Solution

Solution

An algebraic expression showing the subtraction of two rational expressions: (-3n - 9) / (n^2 + n - 6) - (n + 3) / (2 - n).
Factor the denominator. A mathematical expression featuring the subtraction of two rational expressions: (-3n - 9)/((n-2)(n+3)) - (n+3)/(2-n).
Since n2 and 2n are opposites, we will mutliply the second rational expression by−1−1. Subtraction of two rational expressions: (-3n-9)/((n-2)(n+3)) - ((-1)(n+3))/((-1)(2-n)).
Simplify. An algebraic expression showing the sum of two rational functions: ((-3n - 9) / ((n - 2)(n + 3))) + ((n + 3) / (n - 2)).
Do the expressions have a common denominator? No.
Find the LCD.  A mathematical solution showing how to find the Least Common Denominator (LCD) of two algebraic expressions. It factors n^2 + n - 6 into (n - 2)(n + 3) and uses n - 2 to determine the LCD is (n - 2)(n + 3).
Rewrite each rational expression as an equivalent rational expression with the LCD. An algebraic expression showing the sum of two fractions with a common denominator of (n-2)(n+3). The numerators are (-3n - 9) and (n+3)(n+3), with an (n+3) term highlighted in red.
Simplify the numerators. A mathematical expression showing the addition of two rational algebraic expressions. Both fractions have a common denominator of (n-2)(n+3). The numerators are -3n-9 and n^2+6n+9 respectively.
Simplify the rational expressions. A mathematical fraction. The numerator is -3n - 9 + n^2 + 6n + 9, and the denominator is the product of (n-2) and (n+3).
Simplify the numerator. A mathematical expression showing a fraction with n squared plus 3n in the numerator and the product of (n minus 2) and (n plus 3) in the denominator.
Factor the numerator to look for common factors. A mathematical expression showing the fraction n(p+3) / ((n-2)(p+3)), where the (p+3) terms in both the numerator and denominator are crossed out, indicating they are being canceled.
Simplify. A mathematical expression displaying the fraction n over (n-2).

When one expression is not in fraction form, we can write it as a fraction with denominator 1.

Subtract: 5c+4c23.

Solution

Solution

A mathematical expression displays a fraction '5c + 4' over 'c - 2', followed by a subtraction of 3. The expression is (5c + 4)/(c - 2) - 3.
Write 3 as 31 to have 2 rational expressions. A mathematical expression showing the subtraction of two fractions: (5c + 4) / (c - 2) - 3/1.
Do the rational expressions have a common denominator? No.
Find the LCD of c2 and 1. LCD = c2.
Rewrite 31 as an equivalent rational expression with the LCD. A mathematical expression displaying the subtraction of two algebraic fractions. The first term is (5c+4)/(c-2), and the second term is 3(c-2) over 1(c-2), with factors in red.
Simplify. A mathematical expression showing the subtraction of two fractions with a common denominator (c-2): (5c+4)/(c-2) - (3c-6)/(c-2).
Subtract the rational expressions. A mathematical expression showing the fraction (5c + 4 - (3c - 6)) divided by (c - 2).
Simplify. A fraction with a numerator of 2c + 10 and a denominator of c - 2 is shown on a white background.
Factor to check for common factors. A fraction with 2(c + 5) in the numerator and c - 2 in the denominator.
There are no common factors; the rational expression is simplified.

We follow the same steps as before to find the LCD when we have more than two rational expressions. In the next example we will start by factoring all three denominators to find their LCD.

Simplify: 2uu1+1u2u1u2u.

Solution

Solution

A mathematical expression featuring three rational terms being added and subtracted: (2u / (u-1)) + (1/u) - ((2u-1) / (u^2-u)).
Do the rational expressions have a common denominator? No.
Find the LCD.  A mathematical derivation showing algebraic steps: u-1=u-1, followed by u=u. Then, u^2-u is shown equal to u(u-1), concluding that the Least Common Denominator (LCD) is u(u-1).
Rewrite each rational expression as an equivalent rational expression with the LCD. A multi-term mathematical expression involving fractions with the variable 'u'. It shows three rational terms being added and subtracted, all sharing a common denominator of u(u-1) or (u-1)u.
An algebraic expression showing the sum and difference of three rational terms with a common denominator, written as 2u^2/((u-1)u) + (u-1)/(u*(u-1)) - (2u-1)/(u(u-1)).
Write as one rational expression. A mathematical expression displaying a fraction. The numerator is 2u^2 + u - 1 - 2u + 1, and the denominator is u(u - 1).
Simplify. A mathematical expression displaying the fraction 2u squared minus u over u multiplied by the quantity u minus 1, all in black font against a white background.
Factor the numerator, and remove common factors. A mathematical fraction with mu(2u-1) in the numerator and mu(u-1) in the denominator.
Simplify. A mathematical expression displaying the fraction (2u-1) divided by (u-1).

Key Concepts

  • Find the Least Common Denominator of Rational Expressions
    1. Factor each expression completely.
    2. List the factors of each expression. Match factors vertically when possible.
    3. Bring down the columns.
    4. Multiply the factors.
  • Add or Subtract Rational Expressions
    1. Determine if the expressions have a common denominator.
      Yes – go to step 2.
      No – Rewrite each rational expression with the LCD.
      • Find the LCD.
      • Rewrite each rational expression as an equivalent rational expression with the LCD.
    2. Add or subtract the rational expressions.
    3. Simplify, if possible.

Practice Makes Perfect

In the following exercises, find the LCD.

5x22x8,2xx2x12

Solution

(x4)(x+2)(x+3)

8y2+12y+35,3yy2+y42

9z2+2z8,4zz24

Solution

(z2)(z+4)(z+2)

6a2+14a+45,5aa281

4b2+6b+9,2bb22b15

Solution

(b+3)(b+3)(b5)

5c24c+4,3cc210c+16

23d2+14d5,5d3d219d+6

Solution

(3d1)(d+5)(d6)

35m23m2,6m5m2+17m+6

In the following exercises, write as equivalent rational expressions with the given LCD.

5x22x8,2xx2x12
LCD (x4)(x+2)(x+3)

Solution

5x+15(x4)(x+2)(x+3),
2x2+4x(x4)(x+2)(x+3)

8y2+12y+35,3yy2+y42
LCD (y+7)(y+5)(y6)

9z2+2z8,4zz24
LCD (z2)(z+4)(z+2)

Solution

9z+18(z2)(z+4)(z+2),
4z2+16z(z2)(z+4)(z+2)

6a2+14a+45,5aa281
LCD (a+9)(a+5)(a9)

4b2+6b+9,2bb22b15
LCD (b+3)(b+3)(b5)

Solution

4b20(b+3)(b+3)(b5),
2b2+6b(b+3)(b+3)(b5)

5c24c+4,3cc210c+16
LCD (c2)(c2)(c8)

23d2+14d5,5d3d219d+6
LCD (3d1)(d+5)(d6)

Solution

2d12(3d1)(d+5)(d6),
5d2+25d(3d1)(d+5)(d6)

35m23m2,6m5m2+17m+6
LCD (5m+2)(m1)(m+3)

In the following exercises, add.

524+1136

Solution

3772

730+1345

920+1130

Solution

4960

827+718

710x2y+415xy2

Solution

21y+8x30x2y2

112a3b2+59a2b3

12m+78m2n

Solution

4mn+78m2n

56p2q+14p

3r+4+2r5

Solution

5r7(r+4)(r5)

4s7+5s+3

8t+5+6t5

Solution

14t10(t+5)(t5)

7v+5+9v5

53w2+2w+1

Solution

11w+1(3w2)(w+1)

42x+5+2x1

2yy+3+3y1

Solution

2y2+y+9(y+3)(y1)

3zz2+1z+5

5ba2b2a2+2bb24

Solution

b(5b+10+2a2)a2(b2)(b+2)

4cd+3c+1d29

2m3m3+5mm2+3m4

Solution

2m2+23m3(m1)(m+4)

34n+4+6n2n2

3n2+3n18+4nn2+8n+12

Solution

4n29n+6(n3)(n+6)(n+2)

6q23q10+5qq28q+15

3rr2+7r+6+9r2+4r+3

Solution

3(r2+6r+18)(r+1)(r+6)(r+3)

2ss2+2s8+4s2+3s10

In the following exercises, subtract.

tt6t2t+6

Solution

2(7t6)(t6)(t+6)

vv3v6v+1

w+2w+4ww2

Solution

−4(1+w)(w+4)(w2)

x3x+6xx+3

y4y+11y+7

Solution

y2+2y29(y+1)(y+7)

z+8z3zz2

5aa+3a+2a+6

Solution

4a2+25a6(a+3)(a+6)

3bb2b6b8

6cc2253c+5

Solution

3c5

4dd2812d+9

6m+612mm236

Solution

−6m6

4n+48nn216

−9p17p24p21p+17p

Solution

p+2p+3

13q8q2+2q24q+24q

−2r16r2+6r1652r

Solution

3r2

2t30t2+6t2723t

5v2v+34

Solution

v14v+3

6w+5w1+2

2x+710x1+3

Solution

4(8x+1)10x1

8y45y+26

In the following exercises, add and subtract.

5aa2+9a2a+18a22a

Solution

5a2+7a36a(a2)

2bb5+32b2b152b210b

cc+2+5c210cc24

Solution

c5c+2

6dd5+1d+47d5d2d20

In the following exercises, simplify.

6a3ab+b2+3a9a2b2

Solution

3a(6ab)b(3a+b)(3ab)

2c2c+10+7cc2+9c+20

6dd2643d8

Solution

3d+8

5n+710nn249

4mm2+6m7+2m2+10m+21

Solution

2(2m2+7m1)(m+7)(m1)(m+3)

3pp2+4p12+1p2+p30

−5n5n2+n6+n+12n

Solution

n+1n+8n+3n2

−4b24b2+b30+b+75b

715p+518pq

Solution

42q+2590pq

320a2+1112ab2

4x2+3x+5

Solution

7(x+2)(x2)(x+5)

6m+4+9m8

2q+7q+42

Solution

1q+4

3y1y+42

z+2z5zz+1

Solution

24z+1(z5)(z+1)

tt5t1t+5

3dd+2+4dd+8d2+2d

Solution

3(d+1)d+2

2qq+5+3q313q+15q2+2q15

Everyday Math

Decorating cupcakes Victoria can decorate an order of cupcakes for a wedding in t hours, so in 1 hour she can decorate 1t of the cupcakes. It would take her sister 3 hours longer to decorate the same order of cupcakes, so in 1 hour she can decorate 1t+3 of the cupcakes.

  1. Find the fraction of the decorating job that Victoria and her sister, working together, would complete in one hour by adding the rational expressions 1t+1t+3.
  2. Evaluate your answer to part (a) when t=5.
Solution

2t+3t(t+3) 1340

Kayaking When Trina kayaks upriver, it takes her 53c hours to go 5 miles, where c is the speed of the river current. It takes her 53+c hours to kayak 5 miles down the river.

  1. Find an expression for the number of hours it would take Trina to kayak 5 miles up the river and then return by adding 53c+53+c.
  2. Evaluate your answer to part (a) when c=1 to find the number of hours it would take Trina if the speed of the river current is 1 mile per hour.

Writing Exercises

Felipe thinks 1x+1y is 2x+y.

  1. Choose numerical values for x and y and evaluate 1x+1y.
  2. Evaluate 2x+y for the same values of x and y you used in part (a).
  3. Explain why Felipe is wrong.
  4. Find the correct expression for 1x+1y.
Solution

Answers may vary.

Simplify the expression 4n2+6n+91n29 and explain all your steps.

Self Check

After completing the exercises, use this checklist to evaluate your mastery of the objectives of this section.

This is a table that has five rows and four columns. In the first row, which is a header row, the cells read from left to right “I can…,” “Confidently,” “With some help,” and “No-I don’t get it!” The first column below “I can…” reads “find the least common denominator of rational expressions,” “find equivalent rational expressions,” “add rational expressions with different denominators,” and “subtract rational expressions with different denominators.” The rest of the cells are blank.

On a scale of 1-10, how would you rate your mastery of this section in light of your responses on the checklist? How can you improve this?