**rational expression**is a ratio between two expressions.

### Working with Rational Expressions

When simplifying or operating on rational expressions, it is vital that each polynomial be fully factored. Once all expressions are factored, identical factors in the numerator and denominator may be canceled. The reason they can be “canceled” is that any expression divided by itself is equal to 1. An identical expression in the numerator and denominator is just an expression being divided by itself, and so equals 1.

#### Adding and Subtracting Rational Expressions

To add or subtract rational expressions, it is essential to first find a common denominator. While any common denominator will work, using the least common denominator is a means of keeping the number of additional factors under control. Look at each rational expression you are working with and identify your desired common denominator. Multiply each expression by an appropriate form of 1, such as \begin{align*}\frac{x-2}{x-2}\end{align*}

#### Multiplying and Dividing Rational Expressions

To multiply rational expressions, you should write the product of all the numerator factors over the product of all the denominator factors and then cancel identical factors.To divide rational expressions, you should rewrite the division problem as a multiplication problem. Multiply the first rational expression by the reciprocal of the second rational expression. Follow the steps above for multiplying. In both multiplication and division problems answers are most commonly left entirely factored to demonstrate everything has been reduced appropriately.

### Examples

#### Example 1

Earlier, you were asked if the rules for simplifying and operating on rational expressions are the same as the rules for simplifying and operating on fractions. Rational expressions are an extension of fractions and the operations of simplifying, adding, subtracting, multiplying and dividing work in exactly the same way.

#### Example 2

Simplify the following expression.

\begin{align*}\frac{\frac{1}{x+1}-\frac{1}{x+2}}{\frac{1}{x-2}-\frac{1}{x+1}}\end{align*}

The expression itself does not look like a rational expression, but it can be rewritten so it is more recognizable. Also working with fractions within fractions is an important skill.

\begin{align*}= \left(\frac{1}{x+1}-\frac{1}{x+2}\right) \div \left(\frac{1}{x-2}-\frac{1}{x+1}\right)\\
= \left[\frac{(x+2)}{(x+1)(x+2)}-\frac{(x+1)}{(x+1)(x+2)}\right] \div \left[\frac{(x+1)}{(x+1)(x-2)}-\frac{(x-2)}{(x+1)(x-2)}\right]\\
= \left[\frac{1}{(x+1)(x+2)}\right] \div \left[\frac{3}{(x+1)(x-2)}\right]\\
= \frac{1}{(x+1)(x+2)} \cdot \frac{(x+1)(x-2)}{3}\\
= \frac{(x-2)}{3(x+2)}\end{align*}

#### Example 3

Subtract the following rational expressions.

\begin{align*}\frac{x-2}{x+3}-\frac{x^3-3x^2+8x-24}{2(x+2)(x^2-9)}\end{align*}

Being able to factor effectively is of paramount importance.

\begin{align}&= \frac{x-2}{x+3} -\frac{x^3-3x^2+8x-24}{2(x+2)(x^2-9)}\\ &= \frac{(x-2)}{(x+3)}-\frac{x^2(x-3)+8(x-3)}{2(x+2)(x^2-9)}\\ &= \frac{(x-2)}{(x+3)}-\frac{(x-3)(x^2+8)}{2(x+2)(x+3)(x-3)} \end{align}

Before subtracting, simplify where possible so you don’t contribute to unnecessarily complicated denominators.

\begin{align*}=\frac{(x-2)}{(x+3)}-\frac{x^2+8}{2(x+2)(x+3)}\end{align*}

The left expression lacks \begin{align*}2(x+2)\end{align*}, so multiply both its numerator and denominator by \begin{align*}2(x+2)\end{align*}.

#### \begin{align}&= \frac{2(x+2)(x-2)}{2(x+2)(x+3)}-\frac{(x^2+8)}{2(x+2)(x+3)}\\ &= \frac{2(x^2-4)-x^2-8}{2(x+2)(x+3)}\\ &= \frac{x^2-16}{2(x+2)(x+3)} \end{align} Example 4

Simplify the following rational expression.

\begin{align*}\frac{x^2+7x+12}{x^2+4x+3} \cdot \frac{x^2+9x+8}{2x^2-128} \div \frac{x+4}{x-8} \cdot \frac{14}{1}\end{align*}

First factor everything. Second, turn division into multiplication (only one term). Third, cancel appropriately which will leave the answer.

\begin{align}&= \frac{(x+3)(x+4)}{(x+3)(x+1)} \cdot \frac{(x+8)(x+1)}{2(x+8)(x-8)} \cdot \frac{(x-8)}{(x+4)} \cdot \frac{14}{1}\\ &= \frac{\cancel{(x+3)(x+4)}}{\cancel{(x+3)(x+1)}} \cdot \frac{\cancel{(x+8)(x+1)}}{2\cancel{(x+8)(x-8)}} \cdot \frac{\cancel{(x-8)}}{\cancel{(x+4)}} \cdot \frac{14}{1}\\ &= \frac{14}{2}\\ &= 7 \end{align}

In this example, the strike through is shown. You should use this technique to match up factors in the numerator and the denominator when simplifying.

#### Example 5

Combine the following rational expressions.

\begin{align*}\frac{1}{x^2+5x+6}-\frac{1}{x^2-4}+\frac{(x-7)(x+5)+5}{(x+2)(x-2)(x+3)(x-4)}\end{align*}

First factor everything and decide on a common denominator. While the numerators do not really need to be factored, it is sometimes helpful in simplifying individual expressions before combining them. Note that the numerator of the expression on the right hand seems factored but it really is not. Since the 5 is not connected to the rest of the numerator through multiplication, that part of the expression needs to be multiplied out and like terms need to be combined.

\begin{align} &= \frac{1}{(x+2)(x+3)}-\frac{1}{(x+2)(x-2)}+\frac{x^2-2x-35+5}{(x+2)(x-2)(x+3)(x-4)}\\ &= \frac{1}{(x+2)(x+3)}-\frac{1}{(x+2)(x-2)}+\frac{x^2-2x-30}{(x+2)(x-2)(x+3)(x-4)} \end{align}

Note that the right expression has 4 factors in the denominator while each of the left expressions have two that match and two that are missing from those four factors. This tells you what you need to multiply each expression by in order to have the denominators match up.

\begin{align*}=\frac{(x-2)(x-4)}{(x+2)(x-2)(x+3)(x-4)}-\frac{(x+3)(x-4)}{(x+2)(x-2)(x+3)(x-4)}+\frac{x^2-2x-30}{(x+2)(x-2)(x+3)(x-4)}\end{align*}

Now since the rational expressions have a common denominator, the numerators may be multiplied out and combined. Sometimes instead of rewriting an expression repeatedly in mathematics you can use an abbreviation. In this case, you can replace the denominator with the letter \begin{align*}D\end{align*} and then replace it at the end.

\begin{align} &= \frac{(x-2)(x-4)-(x+3)(x-4)+x^2-2x-30}{D}\\ &= \frac{x^2-6x+8-[x^2-x-12]+x^2-2x-30}{D} \end{align}

Notice how it is extremely important to use brackets to indicate that the subtraction applies to all the terms of the middle expression not just \begin{align*}x^2\end{align*}. This is one of the most common mistakes.

\begin{align*}= \frac{x^2-6x+8-x^2+x+12+x^2-2x-30}{D}\\ = \frac{x^2-7x-10}{D}\end{align*}

After the numerator has been entirely simplified try to factor the remaining expression and see if anything cancels with the denominator which you now need to replace.

\begin{align} &= \frac{\cancel{(x+2)}(x-5)}{\cancel{(x+2)}(x-2)(x+3)(x-4)}\\ &= \frac{(x-5)}{(x-2)(x+3)(x-4)} \end{align}

#### Bonus Example

Simplify the following expression which has an infinite number of fractions nested within other fractions.

\begin{align*}\frac{-1}{2+ {\frac{-1}{2+\frac{-1}{2+\frac{-1}{2+\frac{-1}{2+\frac{-1}{2+\ldots}}}}}}}\end{align*}

It would be an exercise in futility to attempt to try to compute this expression directly. Instead, notice that the repeating nature of the expression lends itself to an extremely nice substitution.

Let \begin{align*}\frac{-1}{2+\color{red}{{\frac{-1}{2+\frac{-1}{2+\frac{-1}{2+\frac{-1}{2+\frac{-1}{2+\ldots}}}}}}}}=x\end{align*}

Notice that the red portion of the fraction is exactly the same as the rest of the fraction and so \begin{align*}x\end{align*} may be substituted there and solved.

\begin{align}\frac{-1}{2+x} &= x\\ -1 &= x(2+x)\\ -1 &= x^2+2x\\ 0 &= x^2+2x+1\\ 0 &= (x+1)^2\\ x &= -1 \end{align}

The reason why this expression is included in this concept is because it highlights one problem solving aspect of simplifying expressions that distinguishes PreCalculus from Algebra 1 and Algebra 2.

### Review

Perform the indicated operation and simplify as much as possible.

- \begin{align*}\frac{x^2+5x+4}{x^2+4x+3} \cdot \frac{5x^2+15x}{x+4}\end{align*}
- \begin{align*}\frac{x^2-4}{x^2+4x+4} \cdot \frac{7}{x-2}\end{align*}
- \begin{align*}\frac{4x^2-12x}{5x+10} \cdot \frac{x+2}{x} \div \frac{x-3}{1}\end{align*}
- \begin{align*}\frac{4x^3-4x}{x} \div \frac{2x-2}{x-4}\end{align*}
- \begin{align*}\frac{2x^3+8x}{x+1} \div \frac{x}{2x^2-2}\end{align*}
- \begin{align*}\frac{3x-1}{x^2+2x-15}-\frac{2}{x+5}\end{align*}
- \begin{align*}\frac{x^2-8x+7}{x^2-4x-21} \cdot \frac{x^2-9}{1-x^2}\end{align*}
- \begin{align*}\frac{2}{x+7}+\frac{1}{x-7}\end{align*}
- \begin{align*}\frac{6}{x-7}-\frac{6}{x+7}\end{align*}
- \begin{align*}\frac{3x+35}{x^2-25}+\frac{2}{x+5}\end{align*}
- \begin{align*}\frac{2x+20}{x^2-4x-12}+\frac{2}{x+2}\end{align*}
- \begin{align*}\frac{2}{x+6}-\frac{x-9}{x^2-3x-18}\end{align*}
- \begin{align*}-\frac{5x+30}{x^2+11x+30}+\frac{2}{x+5}\end{align*}
- \begin{align*}\frac{x+3}{x+2}+\frac{x^3+4x^2+5x+20}{2x^4+2x^2-40}\end{align*}
- \begin{align*}\frac{-4}{2+\frac{-4}{2+\frac{-4}{2+\frac{-4}{2+\frac{-4}{2+\frac{-4}{2+\ldots}}}}}}\end{align*}

### Review (Answers)

To see the Review answers, open this PDF file and look for section 2.4.