# 7.2 Add and Subtract Rational Expressions

Topics covered in this section are:

## 7.2.1 Add and Subtract 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 have a common denominator, 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 AND SUBTRACTION

If $p$, $q$, and $r$ are polynomials where $r≠0$, then

$\frac{p}{r}+\frac{q}{r}=\frac{p+q}{r}$ and $\frac{p}{r}-\frac{q}{r}=\frac{p-q}{r}$

To add or subtract rational expressions with a common denominator, add or subtract the numerators and place the result 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.

Remember, too, we do not allow values that would make the denominator zero. What value of $x$ should be excluded in the next example?

#### Example 1

Add: $\frac{11x+28}{x+4}+\frac{x^{2}}{x+4}$.

Solution

Since the denominator is $x+4$, we must exclude the value $x=-4$.

 $\frac{11x+28}{x+4} + \frac{x^{2}}{x+4}$, $x≠-4$ The fractions have a common denominator, so add the numerators and place the sum over the common denominator. $\frac{11x+28+x^{2}}{x+4}$ Write the degrees in descending order. $\frac{x^{2}+11x+28}{x+4}$ Factor the numerator. $\frac{(x+7)(x+4)}{x+4}$ Simplify by removing common factors. $\frac{(x+7)\cancel{(x+4)}} {\cancel{x+4}}$ Simplify. $x+7$

The expression simplifies to $x+7$ but the original expression had a denominator of $x+4$ so $x≠-4$.

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. Be careful of the signs when you subtract a binomial or trinomial.

#### Example 2

Subtract: $\frac{5x^{2}-7x+3}{x^{2}-3x-18}-\frac{4x^{2}+x-9}{x^{2}-3x-18}$.

Solution

 $\frac{5x^{2}-7x+3}{x^{2}-3x-18} – \frac{4x^{2}+x-9}{x^{2}-3x-18}$ Subtract the numerators and place the difference over the common denominator. $\frac{5x^{2}-7x+3-(4x^{2}+x-9)}{x^{2}-3x-18}$ Distribute the sign in the numerator. $\frac{5x^{2}-7x+3-4x^{2}-x+9}{x^{2}-3x-18}$ Combine like terms. $\frac{x^{2}-8x+12}{x^{2}-3x-18}$ Factor the numerator and the denominator. $\frac{(x-2)(x-6)}{(x+3)(x-6)}$ Simplify by removing common factors. $\frac{(x-2)\cancel{(x-6)}}{(x+3)\cancel{(x-6)}}$ $\frac{(x-2)}{(x+3)}$

## 7.2.2 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 $\frac{-1}{-1}$. Let’s see how this works.

 $\frac{7}{d}+\frac{5}{-d}$ Multiply the second fraction by $\frac{-1}{-1}$. $\frac{7}{d}+\frac{\textcolor{red}{(-1)}5}{\textcolor{red}{(-1)}(-d)}$ Now, the denominators are the same. $\frac{7}{d}+\frac{-5}{d}$ Simplify. $\frac{2}{d}$

Be careful with the signs as you work with the opposites when the fractions are being subtracted.

#### Example 3

Subtract: $\frac{m^{2}-6m}{m^{2}-1}-\frac{3m+2}{1-m^{2}}$.

Solution

 $\frac{m^{2}-6m}{m^{2}-1}-\frac{3m+2}{1-m^{2}}$ The denominators are opposites, so multiple the second fraction by $\frac{-1}{-1}$. $\frac{m^{2}-6m}{m^{2}-1}-\frac{\textcolor{red}{-1}(3m+2)}{\textcolor{red}{-1}(1-m^{2})}$ Simplify the second fraction. $\frac{m^{2}-6m}{m^{2}-1}-\frac{-3m-2}{m^{2}-1}$ The denominators are the same. Subtract the numerators. $\frac{m^{2}-6m-(-3m-2)}{m^{2}-1}$ Distribute. $\frac{m^{2}-6m+3m+2}{m^{2}-1}$ Combine like terms. $\frac{m^{2}-3m+2}{m^{2}-1}$ Factor the numerator and denominator. $\frac{(m-1)(m-2)}{(m-1)(m+1)}$ Simplify by removing common factors. $\frac{\cancel{(m-1)}(m-2)}{\cancel{(m-1)}(m+1)}$ Simplify. $\frac{m-2}{m+1}$

## 7.2.3 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 this example: $\frac{7}{12}+\frac{5}{18}$. Since the denominators are not the same, the first step was to find the least common denominator (LCD).

To find the LCD of the fractions, we factored $12$ and $18$ 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.

When we add numerical fractions, once we found the LCD, we rewrote each fraction as an equivalent fraction with the LCD by multiplying the numerator and denominator by the same number. We are now ready to add.

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

### HOW TO: Find the least common denominator of rational expressions.

1. Factor each denominator completely.
2. List the factors of each denominator. Match factors vertically when possible.
3. Bring down the columns by including all factors, but do not include common factors twice.
4. Write the LCD as the product of the factors.

Remember, we always exclude values that would make the denominator zero. What values of $x$ should we exclude in this next example?

#### Example 4

a) Find the LCD for the expressions $\frac{8}{x^{2}-2x-3}$, $\frac{3x}{x^{2}+4x+3}$, and b) rewrite them as equivalent rational expressions with the lowest common denominator.

Solution

a)

 Find the LCD for $\frac{8}{x^{2}-2x-3}$, $\frac{3x}{x^{2}+4x+3}$ Factor each denominator completely, lining up common factors. Bring down the columns. Write the LCD as the product of the factors. The LCD is $(x+1)(x-3)(x+3)$.

b)

 $\frac{8}{x^{2}-2x-3}$, $\frac{3x}{x^{2}+4x+3}$ Factor each denominator. $\frac{8}{(x+1)(x+3)}$, $\frac{3x}{(x+1)(x+3)}$ Multiply each denominator by the ‘missing’ LCD factor and multiply each numerator by the same factor. $\frac{8\textcolor{red}{(x+3)}}{(x+1)(x+3)\textcolor{red}{(x+3)}}$, $\frac{3x\textcolor{red}{(x-3)}}{(x+1)(x+3)\textcolor{red}{(x-3)}}$ Simplify the numerators. $\frac{8x+24}{(x+1)(x+3)(x+3)}$, $\frac{3x^{2}-9x}{(x+1)(x+3)(x-3)}$

## 7.2.4 Add and Subtract Rational Expressions with Unlike Denominators

Now we have all the steps we need to add or subtract rational expressions with unlike denominators.

#### Example 5

Add: $\frac{3}{x-3} + \frac{2}{x-2}$.

Solution

The steps used to add rational expressions are summarized here.

### HOW TO: 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.

Avoid the temptation to simplify too soon. In the example above, we must leave the first rational expression as $\frac{3x-6}{(x-3)(x-2)}$ to be able to add it to $\frac{2x-6}{(x-2)(x-3)}$. Simplify only after you have combined the numerators.

#### Example 6

Add: $\frac{8}{x^{2}-2x-3} + \frac{3x}{x^{2}+4x+3}$.

Solution

 $\frac{8}{x^{2}-2x-3} + \frac{3x}{x^{2}+4x+3}$ Do the expressions have a common denominator? No. Find the LCD. $x^{2}-2x-3=(x+1)(x-3)$$\underline{x^{2}+4x+3=(x+1)(x+3)}LCD=(x+1)(x-3)(x+3) Rewrite each expressions as an equivalent rational expression with the LCD. \frac{8\textcolor{red}{(x+3)}}{(x+1)(x-3)\textcolor{red}{(x+3)}} + \frac{3x\textcolor{red}{(x-3)}}{(x+1)(x+3)\textcolor{red}{(x-3)}} Simplify the numerators. \frac{8x+24}{(x+1)(x-3)(x+3)} + \frac{3x^{2}-9x}{(x+1)(x+3)(x-3)} Add the rational expressions. \frac{8x+24+3x^{2}-9x}{(x+1)(x-3)(x+3)} Simplify the numerator. \frac{3x^{2}-x+24}{(x+1)(x-3)(x+3)} The numerator is prime, so there are no common factors. 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. #### Example 7 Subtract: \frac{8y}{y^{2}-16}-\frac{4}{y-4}. Solution  \frac{8y}{y^{2}-16} – \frac{4}{y-4} Do the expressions have a common denominator? No. Find the LCD. y^{2}-16=(y-4)(y+4)$$\underline{y-4=y-4}$LCD$=(y-4)(y+4)$ Rewrite each expressions as an equivalent rational expression with the LCD. $\frac{8y}{(y-4)(y+4)} – \frac{4\textcolor{red}{(y+4)}}{(y-4)\textcolor{red}{(y+4)}}$ Simplify the numerators. $\frac{8y}{(y-4)(y+4)} – \frac{4y+16}{(y-4)(y+4)}$ Subtract the rational expressions. $\frac{8y-(4y+16)}{(y-4)(y+4)}$ Simplify the numerator. $\frac{4y-16}{(y-4)(y+4)}$ Factor the numerator to look for common factors. $\frac{4(y-4)}{(y-4)(y+4)}$ Remove common factors. $\frac{4\cancel{(y-4)}}{\cancel{(y-4)}(y+4)}$ Simplify. $\frac{4}{(y+4)}$

There are a lot of negative signs in the next example. Be extra careful.

#### Example 8

Subtract: $\frac{-3n-9}{n^{2}+n-6}-\frac{n+3}{2-n}$.

Solution

 $\frac{-3n-9}{n^{2}+n-6}-\frac{n+3}{2-n}$ Factor the denominator. $\frac{-3n-9}{(n-2)(n+3)}-\frac{n+3}{2-n}$ Since $n-2$ and $2-n$ are opposites, we will multiply the second rational expression by $\frac{-1}{-1}$. $\frac{-3n-9}{(n-2)(n+3)}-\frac{\textcolor{red}{(-1)}(n+3)}{\textcolor{red}{(-1)}(2-n)}$ Write $\textcolor{red}{(-1)}(2-n)$ as $n-2$. $\frac{-3n-9}{(n-2)(n+3)}-\frac{\textcolor{red}{(-1)}(n+3)}{(n-2)}$ Simplify. Remember, $a-(-b)=a+b$. $\frac{-3n-9}{(n-2)(n+3)}+\frac{(n+3)}{(n-2)}$ Do the rational expressions have a common denominator? No. Find the LCD. $n^{2}+n-6=(n-2)(n+3)$$n-2=n-2LCD = (n-2)(n+3) Rewrite each rational expression as an equivalent rational expression with the LCD. \frac{-3n-9}{(n-2)(n+3)}+\frac{(n+3)\textcolor{red}{(n+3)}}{(n-2)\textcolor{red}{(n+3)}} Simplify the numerators. \frac{-3n-9}{(n-2)(n+3)}+\frac{(n^{2}+6n+9}{(n-2)(n+3)} Add the rational expressions. \frac{-3n-9+n^{2}+6n+9}{(n-2)(n+3)} Simplify the numerator. \frac{n^{2}+3n}{(n-2)(n+3)} Factor the numerator to look for common factors. \frac{n(n+3)}{(n-2)(n+3)} Remove common factors. \frac{n\cancel{(n+3)}}{(n-2)\cancel{(n+3)}} Simplify. \frac{n}{(n-2)} Things can get very messy when both fractions must by multiplied by a binomial to get the common denominator. #### Example 9 Subtract: \frac{4}{a^{2}+6a+5}-\frac{3}{a^{2}+7a+10}. Solution  \frac{4}{a^{2}+6a+5}-\frac{3}{a^{2}+7a+10} Factor the denominators. \frac{4}{(a+1)(a+5)}-\frac{3}{(a+2)(a+5)} Do the rational expressions have a common denominator? No. Find the LCD. a^{2}+6a+5=(a+1)(a+5)$$a^{2}+7a+10= \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ (a+5)(a+2)$LCD$= (a+1)(a+5)(a+2)$ Rewrite each rational expression as an equivalent rational expression with the LCD. $\frac{4\textcolor{red}{(a+2)}}{(a+1)(a+5)\textcolor{red}{(a+2)}}-\frac{3\textcolor{red}{(a+1)}}{(a+2)(a+5)\textcolor{red}{(a+1)}}$ Simplify the numerators. $\frac{4a+8}{(a+1)(a+5)(a+2)}-\frac{3a+3}{(a+2)(a+5)(a+1)}$ Subtract the rational expressions. $\frac{4a+8-(3a+3)}{(a+1)(a+5)(a+2)}$ Simplify the numerator. $\frac{a+5}{(a+1)(a+5)(a+2)}$ Look for common factors. $\frac{\cancel{(a+5)}}{(a+1)\cancel{(a+5)}(a+2)}$ Simplify. $\frac{1}{(a+1)(a+2)}$

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.

#### Example 10

Simplify: $\frac{2u}{u-1}+\frac{1}{u}-\frac{2u-1}{u^{2}-u}$.

Solution
 $\frac{2u}{u-1}+\frac{1}{u}-\frac{2u-1}{u^{2}-u}$ Do the expressions have a common denominator? No. Find the LCD. $u-1=(u-1)$$u \ \ \ \ = u$$\underline{u^{2}-u=u(u-1)}$LCD$=u(u-1)$ Rewrite each expressions as an equivalent rational expression with the LCD. $\frac{2u \cdot \textcolor{red}{u}}{(u-1)\textcolor{red}{u}} + \frac{1 \cdot \textcolor{red}{(u-1)}}{u \cdot \textcolor{red}{(u-1)}} – \frac{2u-1}{u(u-1)}$ Simplify the numerators. $\frac{2u^{2}}{u(u-1)} + \frac{u-1}{u(u-1)} – \frac{2u-1}{u(u-1)}$ Write as one expression. $\frac{2u^{2}+u-1-(2u-1)}{u(u-1)}$ Simplify the numerator. $\frac{2u^{2}-u}{u(u-1)}$ Factor the numerator, and remove common factors. $\frac{\cancel{u}(2u-1)}{\cancel{u}(u-1)}$ Simplify. $\frac{2u-1}{u-1}$

## 7.2.5 Add and Subtract Rational Functions

To add or subtract rational functions, we use the same techniques we used to add or subtract polynomial functions.

#### Example 11

Find $R(x)=f(x)-g(x)$ where $f(x)=\frac{x+5}{x-2}$ and $g(x)=\frac{5x+18}{x^{2}-4}$.

Solution

 $R(x)=f(x)-g(x)$ Substitute the functions $f(x)$, $g(x)$. $R(x)=\frac{x+5}{x-2}-\frac{5x+18}{x^{2}-4}$ Factor the denominators. $R(x)=\frac{x+5}{x-2}-\frac{5x+18}{(x-2)(x+2)}$ Do the expressions have a common denominator? No. Find the LCD. $x-2=(x-2)$$\underline{x^{2}-4=(x-2)(x+2)}$LCD$=(x-2)(x+2)$ Rewrite each expressions as an equivalent rational expression with the LCD. $R(x)=\frac{(x+5) \textcolor{red}{(x+2)}}{(x-1)\textcolor{red}{(x+2)}} – \frac{5x+18}{(x-2)(x+2)}$ Write as one expression. $R(x)=\frac{(x+5)(x+2)-(5x+18)}{(x-2)(x+2)}$ Simplify. $R(x)=\frac{x^{2}+7x+10-5x-18}{(x-2)(x+2)}$ $R(x)=\frac{x^{2}+2x-8}{(x-2)(x+2)}$ Factor the numerator, and remove common factors. $R(x)=\frac{(x+4)\cancel{(x-2)}}{\cancel{(x-2}(x+2)}$ Simplify. $R(x)=\frac{(x+4)}{(x+2)}$