Skip to content
Add and Subtract Rational Expressions with a Common Denominator

Add and Subtract Rational Expressions with a Common Denominator

By the end of this section, you will be able to: add rational expressions with a common denominator, subtract rational expressions with a common denominator, and add and subtract rational expressions whose denominators are opposites.

Add rational expressions with a common denominator

What is the first step you take when you add numerical fractions? You check if they have a common denominator. If they do, you add the numerators and place the sum over the common denominator. If they do not, you find one before you add.

It is the same with rational expressions. To add rational expressions, they must have a common denominator. When the denominators are the same, you add the numerators and place the sum over the common denominator.

Rational Expression Addition. If pp, qq, and rr are polynomials where r0r \neq 0, then

pr+qr=p+qr\frac{p}{r} + \frac{q}{r} = \frac{p + q}{r}

To add rational expressions with a common denominator, add the numerators and place the sum over the common denominator.

We will add two numerical fractions first, to remind us of how this is done.

Example. Add 518+718\tfrac{5}{18} + \tfrac{7}{18}.

The fractions have a common denominator, so add the numerators and place the sum over the common denominator. Then factor and remove common factors to simplify:

518+718=5+718=1218=6263=23 \frac{5}{18} + \frac{7}{18} = \frac{5 + 7}{18} = \frac{12}{18} = \frac{6 \cdot 2}{6 \cdot 3} = \frac{2}{3}

Now we’ll add rational expressions the same way.

Example. Add 3y4y3+74y3\tfrac{3y}{4y - 3} + \tfrac{7}{4y - 3}.

The fractions have a common denominator, so add the numerators and place the sum over the common denominator:

3y4y3+74y3=3y+74y3\frac{3y}{4y - 3} + \frac{7}{4y - 3} = \frac{3y + 7}{4y - 3}

The numerator and denominator cannot be factored, so the fraction is simplified.

Remember, we do not allow values that would make the denominator zero. What value of yy should be excluded here? The value y=34y = \tfrac{3}{4}, because it makes 4y34y - 3 equal to zero.

Add: 5x2x+3+22x+3\tfrac{5x}{2x + 3} + \tfrac{2}{2x + 3}.

When we add rational expressions, the sum often factors, letting us simplify.

Example. Add 7x+12x+3+x2x+3\tfrac{7x + 12}{x + 3} + \tfrac{x^2}{x + 3}.

The fractions have a common denominator, so add the numerators and place the sum over the common denominator. Write the numerator in descending order, factor it, then remove the common factor:

7x+12x+3+x2x+3=7x+12+x2x+3=x2+7x+12x+3=(x+3)(x+4)x+3=x+4 \begin{array}{rcl} \tfrac{7x + 12}{x + 3} + \tfrac{x^2}{x + 3} &=& \tfrac{7x + 12 + x^2}{x + 3} \\[6pt] &=& \tfrac{x^2 + 7x + 12}{x + 3} \\[6pt] &=& \tfrac{(x + 3)(x + 4)}{x + 3} \\[6pt] &=& x + 4 \end{array}

Subtract rational expressions with a common denominator

To subtract rational expressions, they must also have a common denominator. When the denominators are the same, you subtract the numerators and place the difference over the common denominator.

Rational Expression Subtraction. If pp, qq, and rr are polynomials where r0r \neq 0, then

prqr=pqr\frac{p}{r} - \frac{q}{r} = \frac{p - q}{r}

To subtract rational expressions, subtract the numerators and place the difference over the common denominator.

We always simplify rational expressions. Be sure to factor, if possible, after you subtract the numerators so you can identify any common factors.

Example. Subtract n2n10100n10\tfrac{n^2}{n - 10} - \tfrac{100}{n - 10}.

The fractions have a common denominator, so subtract the numerators and place the difference over the common denominator. Factor the numerator, then remove the common factor:

n2n10100n10=n2100n10=(n10)(n+10)n10=n+10 \begin{array}{rcl} \tfrac{n^2}{n - 10} - \tfrac{100}{n - 10} &=& \tfrac{n^2 - 100}{n - 10} \\[6pt] &=& \tfrac{(n - 10)(n + 10)}{n - 10} \\[6pt] &=& n + 10 \end{array}

Be careful of the signs when you subtract a binomial!

Example. Subtract y2y62y+24y6\tfrac{y^2}{y - 6} - \tfrac{2y + 24}{y - 6}.

Subtract the numerators over the common denominator. Because we are subtracting a binomial, distribute the sign so both terms change. Then combine like terms, factor, and remove the common factor:

y2y62y+24y6=y2(2y+24)y6=y22y24y6=(y6)(y+4)y6=y+4 \begin{array}{rcl} \tfrac{y^2}{y - 6} - \tfrac{2y + 24}{y - 6} &=& \tfrac{y^2 - (2y + 24)}{y - 6} \\[6pt] &=& \tfrac{y^2 - 2y - 24}{y - 6} \\[6pt] &=& \tfrac{(y - 6)(y + 4)}{y - 6} \\[6pt] &=& y + 4 \end{array}

Notice how distributing the sign changed (2y+24)-(2y + 24) into 2y24-2y - 24. Missing that step is the most common mistake when subtracting rational expressions.

Subtract: n2n4n+12n4\tfrac{n^2}{n - 4} - \tfrac{n + 12}{n - 4}.

The numerators can be larger polynomials, but the process is the same: subtract, distribute the sign, combine like terms, then factor and simplify.

Example. Subtract 5x27x+3x23x184x2+x9x23x18\tfrac{5x^2 - 7x + 3}{x^2 - 3x - 18} - \tfrac{4x^2 + x - 9}{x^2 - 3x - 18}.

Subtract the numerators over the common denominator, distribute the sign, combine like terms, then factor and remove the common factor:

5x27x+3x23x184x2+x9x23x18=5x27x+3(4x2+x9)x23x18=5x27x+34x2x+9x23x18=x28x+12x23x18=(x2)(x6)(x+3)(x6)=x2x+3 \begin{array}{rcl} \tfrac{5x^2 - 7x + 3}{x^2 - 3x - 18} - \tfrac{4x^2 + x - 9}{x^2 - 3x - 18} &=& \tfrac{5x^2 - 7x + 3 - (4x^2 + x - 9)}{x^2 - 3x - 18} \\[6pt] &=& \tfrac{5x^2 - 7x + 3 - 4x^2 - x + 9}{x^2 - 3x - 18} \\[6pt] &=& \tfrac{x^2 - 8x + 12}{x^2 - 3x - 18} \\[6pt] &=& \tfrac{(x - 2)(x - 6)}{(x + 3)(x - 6)} \\[6pt] &=& \tfrac{x - 2}{x + 3} \end{array}

Add and subtract rational expressions whose denominators are opposites

When the denominators of two rational expressions are opposites, it is easy to get a common denominator. We just have to multiply one of the fractions by 11\tfrac{-1}{-1}.

Let’s see how this works with the numerical-looking example 7d+5d\tfrac{7}{d} + \tfrac{5}{-d}. Multiply the second fraction by 11\tfrac{-1}{-1} so both denominators become dd, then add:

7d+5d=7d+(1)5(1)(d)=7d+5d=2d \frac{7}{d} + \frac{5}{-d} = \frac{7}{d} + \frac{(-1)5}{(-1)(-d)} = \frac{7}{d} + \frac{-5}{d} = \frac{2}{d}

Example. Add 4u13u1+u13u\tfrac{4u - 1}{3u - 1} + \tfrac{u}{1 - 3u}.

The denominators 3u13u - 1 and 13u1 - 3u are opposites, so multiply the second fraction by 11\tfrac{-1}{-1}. That turns its denominator into 3u13u - 1; now the denominators match, so add the numerators and simplify:

4u13u1+u13u=4u13u1+(1)u(1)(13u)=4u13u1+u3u1=4u1u3u1=3u13u1=1 \begin{array}{rcl} \tfrac{4u - 1}{3u - 1} + \tfrac{u}{1 - 3u} &=& \tfrac{4u - 1}{3u - 1} + \tfrac{(-1)u}{(-1)(1 - 3u)} \\[6pt] &=& \tfrac{4u - 1}{3u - 1} + \tfrac{-u}{3u - 1} \\[6pt] &=& \tfrac{4u - 1 - u}{3u - 1} \\[6pt] &=& \tfrac{3u - 1}{3u - 1} \\[6pt] &=& 1 \end{array}

The same idea works for subtraction. Multiply the fraction with the opposite denominator by 11\tfrac{-1}{-1} first, and then subtract as usual — watching the signs.

Example. Subtract m26mm213m+21m2\tfrac{m^2 - 6m}{m^2 - 1} - \tfrac{3m + 2}{1 - m^2}.

The denominators m21m^2 - 1 and 1m21 - m^2 are opposites, so multiply the second fraction by 11\tfrac{-1}{-1}. Then the denominators match; subtract the numerators, distribute the sign, combine like terms, factor, and simplify:

m26mm213m+21m2=m26mm21(3m+2)m21=m26mm213m2m21=m26m(3m2)m21=m26m+3m+2m21=m23m+2m21=(m1)(m2)(m1)(m+1)=m2m+1 \begin{array}{rcl} \tfrac{m^2 - 6m}{m^2 - 1} - \tfrac{3m + 2}{1 - m^2} &=& \tfrac{m^2 - 6m}{m^2 - 1} - \tfrac{-(3m + 2)}{m^2 - 1} \\[6pt] &=& \tfrac{m^2 - 6m}{m^2 - 1} - \tfrac{-3m - 2}{m^2 - 1} \\[6pt] &=& \tfrac{m^2 - 6m - (-3m - 2)}{m^2 - 1} \\[6pt] &=& \tfrac{m^2 - 6m + 3m + 2}{m^2 - 1} \\[6pt] &=& \tfrac{m^2 - 3m + 2}{m^2 - 1} \\[6pt] &=& \tfrac{(m - 1)(m - 2)}{(m - 1)(m + 1)} \\[6pt] &=& \tfrac{m - 2}{m + 1} \end{array}

Subtract: y25yy246y64y2\tfrac{y^2 - 5y}{y^2 - 4} - \tfrac{6y - 6}{4 - y^2}.

Key terms

common denominator — a single denominator shared by two or more rational expressions, allowing their numerators to be added or subtracted directly. opposite denominators — denominators that are negatives of each other (such as 3u13u - 1 and 13u1 - 3u); multiplying one fraction by 11\tfrac{-1}{-1} turns them into a common denominator.


This section is adapted from Elementary Algebra 2e, Section 8.3: Add and Subtract Rational Expressions with a Common Denominator by Lynn Marecek, MaryAnne Anthony-Smith, and Andrea Honeycutt Mathis, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recast the worked examples as prose with display equality chains, condensed the numerical warm-up into the addition rule, and folded the excluded-value discussion into the addition example; omitted the Be Prepared quiz, Self Check checklist, media links, and end-of-section exercises; and converted the practice problems (“Try Its”) into interactive exercises with instant feedback.