$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

# 8.1: Simplify Rational Expressions

$$\newcommand{\vecs}{\overset { \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}{\| #1 \|}$$ $$\newcommand{\inner}{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$

##### Learning Objectives

By the end of this section, you will be able to:

• Determine the values for which a rational expression is undefined
• Evaluate rational expressions
• Simplify rational expressions
• Simplify rational expressions with opposite factors
##### Note

Before you get started, take this readiness quiz.

If you miss a problem, go back to the section listed and review the material.

1. Simplify: $$\dfrac{90y}{15y^2}$$.
If you missed this problem, review Exercise 6.5.22.
2. Factor: $$6x^2−7x+2$$.
If you missed this problem, review Exercise 7.3.16.
3. Factor: $$n^3+8$$.
If you missed this problem, review Exercise 7.4.36.

In Chapter 1, we reviewed the properties of fractions and their operations. We introduced rational numbers, which are just fractions where the numerators and denominators are integers, and the denominator is not zero.

In this chapter, we will work with fractions whose numerators and denominators are polynomials. We call these rational expressions.

##### Definition: RATIONAL EXPRESSION

A rational expression is an expression of the form $$\dfrac{p(x)}{q(x)}$$, where $$p$$ and $$q$$ are polynomials and $$q \ne 0$$.

Remember, division by $$0$$ is undefined.

Here are some examples of rational expressions:

$\begin{array}{cccc} {−\dfrac{13}{42}}&{\dfrac{7y}{8z}}&{\dfrac{5x+2}{x^2−7}}&{\dfrac{4x^2+3x−1}{2x−8}}\\ \nonumber \end{array}$

Notice that the first rational expression listed above, $$−\dfrac{13}{42}$$, is just a fraction. Since a constant is a polynomial with degree zero, the ratio of two constants is a rational expression, provided the denominator is not zero.

We will perform same operations with rational expressions that we do with fractions. We will simplify, add, subtract, multiply, divide, and use them in applications.

## Determine the Values for Which a Rational Expression is Undefined

When we work with a numerical fraction, it is easy to avoid dividing by zero, because we can see the number in the denominator. In order to avoid dividing by zero in a rational expression, we must not allow values of the variable that will make the denominator be zero.

If the denominator is zero, the rational expression is undefined. The numerator of a rational expression may be $$0$$—but not the denominator.

So before we begin any operation with a rational expression, we examine it first to find the values that would make the denominator zero. That way, when we solve a rational equation for example, we will know whether the algebraic solutions we find are allowed or not.

##### Definition: DETERMINE THE VALUES FOR WHICH A RATIONAL EXPRESSION IS UNDEFINED.
1. Set the denominator equal to zero.
2. Solve the equation in the set of reals, if possible.
##### Example $$\PageIndex{1}$$

Determine the values for which the rational expression is undefined:

1. $$\dfrac{9y}{x}$$
2. $$\dfrac{4b−3}{2b+5}$$
3. $$\dfrac{x+4}{x^2+5x+6}$$

The expression will be undefined when the denominator is zero.

 1. $$\dfrac{9y}{x}$$ Set the denominator equal to zero. Solve for the variable. $$x=0$$ $$\dfrac{9y}{x}$$ is undefined for $$x=0$$. 2. $$\dfrac{4b−3}{2b+5}$$ Set the denominator equal to zero. Solve for the variable. $$2b+5=0$$ $$2b=−5$$ $$b=−\dfrac{5}{2}$$ $$\dfrac{4b−3}{2b+5}$$ is undefined for $$b=−\dfrac{5}{2}$$. 3. $$\dfrac{x+4}{x^2+5x+6}$$ Set the denominator equal to zero. Solve for the variable. $$x^2+5x+6=0$$ $$(x+2)(x+3)=0$$ $$x+2=0$$ or $$x+3=0$$ $$x=−2$$ or $$x=−3$$ $$\dfrac{x+4}{x^2+5x+6}$$ is undefined for $$x=−2$$ or $$x=−3$$.

Saying that the rational expression $$\dfrac{x+4}{x^2+5x+6}$$ is undefined for $$x=−2$$ or $$x=−3$$ is similar to writing the phrase “void where prohibited” in contest rules.

##### Example $$\PageIndex{2}$$

Determine the values for which the rational expression is undefined:

1. $$\dfrac{3y}{x}$$
2. $$\dfrac{8n−5}{3n+1}$$
3. $$\dfrac{a+10}{a^2+4a+3}$$
1. $$x=0$$
2. $$n=−\dfrac{1}{3}$$
3. $$a=−1$$, $$a=−3$$
##### Example $$\PageIndex{3}$$

Determine the values for which the rational expression is undefined:

1. $$\dfrac{4p}{5q}$$
2. $$\dfrac{y−1}{3y+2}$$
3. $$\dfrac{m−5}{m^2+m−6}$$
1. $$q=0$$
2. $$y=−\dfrac{2}{3}$$
3. $$m=2, \,m=−3$$

## Evaluate Rational Expressions

To evaluate a rational expression, we substitute values of the variables into the expression and simplify, just as we have for many other expressions in this book.

##### Example $$\PageIndex{4}$$

Evaluate $$\dfrac{2x+3}{3x−5}$$ for each value:

1. $$x=0$$
2. $$x=2$$
3. $$x=−3$$
 1.   Simplify. 2.   Simplify.   3.   Simplify.   ##### Example $$\PageIndex{5}$$

Evaluate $$\dfrac{y+1}{2y−3}$$ for each value:

1. $$y=1$$
2. $$y=−3$$
3. $$y=0$$
1. $$−2$$
2. $$\dfrac{2}{9}$$
3. $$−\dfrac{1}{3}$$
##### Example $$\PageIndex{6}$$

Evaluate $$\dfrac{5x−1}{2x+1}$$ for each value:

1. $$x=1$$
2. $$x=−1$$
3. $$x=0$$
1. $$\dfrac{4}{3}$$
2. $$6$$
3. $$−1$$
##### Example $$\PageIndex{7}$$

Evaluate $$\dfrac{x^2+8x+7}{x^2−4}$$ for each value:

1. $$x=0$$
2. $$x=2$$
3. $$x=−1$$
 1.   Simplify.  2.   Simplify.  This rational expression is undefined for x = 2. 3.   Simplify.    ##### Example $$\PageIndex{8}$$

Evaluate $$\dfrac{x^2+1}{x^2−3x+2}$$ for each value:

1. $$x=0$$
2. $$x=−1$$
3. $$x=3$$
1. $$\dfrac{1}{2}$$
2. $$\dfrac{1}{3}$$
3. $$2$$
##### Example $$\PageIndex{9}$$

Evaluate $$\dfrac{x^2+x−6}{x^2−9}$$ for each value.

1. $$x=0$$
2. $$x=−2$$
3. $$x=1$$
1. $$\dfrac{2}{3}$$
2. $$\dfrac{4}{5}$$
3. $$\dfrac{1}{2}$$

Remember that a fraction is simplified when it has no common factors, other than 1, in its numerator and denominator. When we evaluate a rational expression, we make sure to simplify the resulting fraction.

##### Example $$\PageIndex{10}$$

Evaluate $$\dfrac{a^2+2ab+b^2}{3ab^2}$$ for each value.

1. $$a=1, \,b=2$$
2. $$a=−2,\, b=−1$$
3. $$a=\dfrac{1}{3}$$, $$b=0$$
 1. $$\dfrac{a^2+2ab+b^2}{3ab^2}$$ when $$a=1, \,b=2$$  Simplify.   2. $$\dfrac{a^2+2ab+b^2}{3ab^2}$$ when $$a=−2, \,b=−1$$  Simplify.   3. $$\dfrac{a^2+2ab+b^2}{3ab^2}$$ when $$a=\dfrac{1}{3}$$, $$b=0$$  Simplify.  ##### Example $$\PageIndex{11}$$

Evaluate $$\dfrac{2a^{3}b}{a^2+2ab+b^2}$$ for each value.

1. $$a=−1, \,b=2$$
2. $$a=0, \,b=−1$$
3. $$a=1$$, $$b=\dfrac{1}{2}$$
1. $$−4$$
2. $$0$$
3. $$\dfrac{4}{9}$$
##### Example $$\PageIndex{12}$$

Evaluate $$\dfrac{a^2−b^2}{8ab^3}$$ for each value:

1. $$a=1, \,b=−1$$
2. $$a=\dfrac{1}{2}$$, $$b=−1$$
3. $$a=−2, \,b=1$$
1. $$0$$
2. $$\dfrac{3}{16}$$
3. $$\dfrac{3}{16}$$

## Simplify Rational Expressions

Just like a fraction is considered simplified if there are no common factors, other than $$1$$, in its numerator and denominator, a rational expression is simplified if it has no common factors, other than $$1$$, in its numerator and denominator.

##### Definition: SIMPLIFIED RATIONAL EXPRESSION

A rational expression is considered simplified if there are no common factors in its numerator and denominator.

For example:

• $$\dfrac{2}{3}$$ is simplified because there are no common factors of $$2$$ and $$3$$.
• $$\dfrac{2x}{3x}$$ is not simplified because $$x$$ is a common factor of $$2x$$ and $$3x$$.

We use the Equivalent Fractions Property to simplify numerical fractions. We restate it here as we will also use it to simplify rational expressions.

##### Definition: EQUIVALENT FRACTIONS PROPERTY

If $$a$$, $$b$$, and $$c$$ are numbers where $$b \ne 0$$, $$c\ne 0$$, then $\dfrac{a}{b}=\dfrac{a·c}{b·c}\quad\text{and}\quad\dfrac{a·c}{b·c}=\dfrac{a}{b}$

Notice that in the Equivalent Fractions Property, the values that would make the denominators zero are specifically disallowed. We see $$b \ne 0$$, $$c\ne 0$$ clearly stated. Every time we write a rational expression, we should make a similar statement disallowing values that would make a denominator zero. However, to let us focus on the work at hand, we will omit writing it in the examples.

Let’s start by reviewing how we simplify numerical fractions.

##### Example $$\PageIndex{13}$$

Simplify: $$−\dfrac{36}{63}$$. Rewrite the numerator and denominator showing the common factors. Simplify using the Equivalent Fractions Property. Notice that the fraction $$−\dfrac{4}{7}$$ is simplified because there are no more common factors.

##### ExAMPLe $$\PageIndex{14}$$

Simplify: $$−\dfrac{45}{81}$$.

$$−\dfrac{5}{9}$$

##### Example $$\PageIndex{15}$$

Simplify: $$−\dfrac{42}{54}$$.

$$−\dfrac{7}{9}$$

Throughout this chapter, we will assume that all numerical values that would make the denominator be zero are excluded. We will not write the restrictions for each rational expression, but keep in mind that the denominator can never be zero. So in this next example, $$x \ne 0$$ and $$y \ne 0$$.

##### Example $$\PageIndex{16}$$

Simplify: $$\dfrac{3xy}{18x^{2}y^{2}}$$. Rewrite the numerator and denominator showing the common factors. Simplify using the Equivalent Fractions Property. Did you notice that these are the same steps we took when we divided monomials in Polynomials?

##### Example $$\PageIndex{17}$$

Simplify: $$\dfrac{4x^{2}y}{12xy^2}$$.

$$\dfrac{x}{3y}$$

##### Example $$\PageIndex{18}$$

Simplify: $$\dfrac{16x^{2}y}{2xy^2}$$.

$$\dfrac{8x}{y}$$

To simplify rational expressions we first write the numerator and denominator in factored form. Then we remove the common factors using the Equivalent Fractions Property.

Be very careful as you remove common factors. Factors are multiplied to make a product. You can remove a factor from a product. You cannot remove a term from a sum. Note that removing the x’s from $$\dfrac{x+5}{x}$$ would be like cancelling the 2’s in the fraction $$\dfrac{2+5}{2}$$!

How to Simplify Rational Binomials

##### Example $$\PageIndex{19}$$

Simplify: $$\dfrac{2x+8}{5x+20}$$.  ##### Example $$\PageIndex{20}$$

Simplify: $$\dfrac{3x−6}{2x−4}$$.

$$\dfrac{3}{2}$$

##### Example $$\PageIndex{21}$$

Simplify: $$\dfrac{7y+35}{5y+25}$$.

$$\dfrac{7}{5}$$

We now summarize the steps you should follow to simplify rational expressions.

##### Definition: SIMPLIFY A RATIONAL EXPRESSION.
1. Factor the numerator and denominator completely.
2. Simplify by dividing out common factors.
Usually, we leave the simplified rational expression in factored form. This way it is easy to check that we have removed all the common factors!

We’ll use the methods we covered in Factoring to factor the polynomials in the numerators and denominators in the following examples.

##### Example $$\PageIndex{22}$$

Simplify: $$\dfrac{x^2+5x+6}{x^2+8x+12}$$.

 $$\dfrac{x^2+5x+6}{x^2+8x+12}$$ Factor the numerator and denominator. $$\dfrac{(x+2)(x+3)}{(x+2)(x+6)}$$ Remove the common factor $$x+2$$ from the numerator and the denominator. $$\dfrac{x+3}{x+6}$$

Can you tell which values of $$x$$ must be excluded in this example?

##### Example $$\PageIndex{23}$$

Simplify: $$\dfrac{x^2−x−2}{x^2−3x+2}$$.

$$\dfrac{x+1}{x−1}$$

##### Example $$\PageIndex{24}$$

Simplify: $$\dfrac{x^2−3x−10}{x^2+x−2}$$.

$$\dfrac{x−5}{x−1}$$

##### Example $$\PageIndex{25}$$

Simplify: $$\dfrac{y^2+y−42}{y^2−36}$$.

 $$\dfrac{y^2+y−42}{y^2−36}$$. Factor the numerator and denominator. $$\dfrac{(y+7)(y−6)}{(y+6)(y−6)}$$ Remove the common factor $$y−6$$ from the numerator and the denominator. $$\dfrac{y+7}{y+6}$$
##### Example $$\PageIndex{26}$$

Simplify: $$\dfrac{x^2+x−6}{x^2−4}$$.

$$\dfrac{x+3}{x+2}$$

##### Example $$\PageIndex{27}$$

Simplify: $$\dfrac{x^2+8x+7}{x^2−49}$$.

$$\dfrac{x+1}{x−7}$$

##### Example $$\PageIndex{28}$$

Simplify: $$\dfrac{p^3−2p^2+2p−4}{p^2−7p+10}$$.

 $$\dfrac{p^3−2p^2+2p−4}{p^2−7p+10}$$ Factor the numerator and denominator, using grouping to factor the numerator. $$\dfrac{p^2(p−2)+2(p−2)}{(p−5)(p−2)}$$ $$\dfrac{(p^2+2)(p−2)}{(p−5)(p−2)}$$ Remove the common factor $$p−2$$ from the numerator and the denominator. $$\dfrac{p^2+2}{p−5}$$
##### Example $$\PageIndex{29}$$

Simplify: $$\dfrac{y^3−3y^2+y−3}{y^2−y−6}$$.

$$\dfrac{y^2+1}{y+2}$$

##### Example $$\PageIndex{30}$$

Simplify: $$\dfrac{p^3−p^2+2p−2}{p^2+4p−5}$$.

$$\dfrac{p^2+2}{p+5}$$

##### Example $$\PageIndex{31}$$

Simplify: $$\dfrac{2n^2−14n}{4n^2−16n−48}$$.

 $$\dfrac{2n^2−14n}{4n^2−16n−48}$$ Factor the numerator and denominator, first factoring out the GCF. $$\dfrac{2n(n−7)}{4(n^2−4n−12)}$$ $$\dfrac{2n(n−7)}{4(n−6)(n+2)}$$ Remove the common factor, $$2$$. $$\dfrac{n(n−7)}{2(n−6)(n+2)}$$
##### Example $$\PageIndex{32}$$

Simplify: $$\dfrac{2n^2−10n}{4n^2−16n−20}$$.

$$\dfrac{n}{2(n+1)}$$

##### Example $$\PageIndex{33}$$

Simplify: $$\dfrac{4x^2−16x}{8x^2−16x−64}$$.

$$\dfrac{x}{2(x+2)}$$

##### Example $$\PageIndex{34}$$

Simplify: $$\dfrac{3b^2−12b+12}{6b^2−24}$$.

 $$\dfrac{3b^2−12b+12}{6b^2−24}$$ Factor the numerator and denominator, first factoring out the GCF. $$\dfrac{3(b^2−4b+4)}{6(b^2−4)}$$ $$\dfrac{3(b−2)(b−2)}{6(b−2)(b+2)}$$ Remove the common factors of $$b−2$$ and $$3$$. $$\dfrac{3(b−2)}{2(b+2)}$$
##### Example $$\PageIndex{35}$$

Simplify: $$\dfrac{2x^2−12x+18}{3x^2−27}$$.

$$\dfrac{2(x−3)}{3(x+3)}$$

##### Example $$\PageIndex{36}$$

Simplify: $$\dfrac{5y^2−30y+25}{2y^2−50}$$.

$$\dfrac{5(x−1)}{2(x+5)}$$

##### Example $$\PageIndex{37}$$

Simplify: $$\dfrac{m^3+8}{m^2−4}$$.

 $$\dfrac{m^3+8}{m^2−4}$$ Factor the numerator and denominator, using the formulas for sum of cubes and difference of squares. $$\dfrac{(m+2)(m^2−2m+4)}{(m+2)(m−2)}$$ Remove the common factors of $$m+2$$. $$\dfrac{m^2−2m+4}{m−2}$$
##### Example $$\PageIndex{38}$$

Simplify: $$\dfrac{p^3−64}{p^2−16}$$.

$$\dfrac{p^2+4p+16}{p+4}$$

##### Example $$\PageIndex{39}$$

Simplify: $$\dfrac{x^3+8}{x^2−4}$$.

$$\dfrac{x^2−2x+4}{x−2}$$

## Simplify Rational Expressions with Opposite Factors

Now we will see how to simplify a rational expression whose numerator and denominator have opposite factors. Let’s start with a numerical fraction, say $$\dfrac{7}{−7}$$.

We know this fraction simplifies to $$−1$$. We also recognize that the numerator and denominator are opposites.

In Foundations, we introduced opposite notation: the opposite of a is $$−a$$. We remember, too, that $$−a=−1·a$$

We simplify the fraction $$\dfrac{a}{−a}$$

$\begin{array}{ll} {}&{\dfrac{a}{−a}}\\ {\text{We could rewrite this.}}&{\dfrac{1·a}{−1·a}}\\ {\text{Remove the common factors.}}&{\dfrac{1}{−1}}\\ {\text{Simplify.}}&{−1}\\ \nonumber \end{array}$

So, in the same way, we can simplify the fraction $$\dfrac{x−3}{−(x−3)}$$

$\begin{array}{ll} {}&{\dfrac{x−3}{−(x−3)}}\\ {\text{We could rewrite this.}}&{\dfrac{1·(x−3)}{−1·(x−3)}}\\ {\text{Remove the common factors.}}&{\dfrac{1}{−1}}\\ {\text{Simplify.}}&{−1}\\ \nonumber \end{array}$

But the opposite of $$x−3$$ could be written differently:

$\begin{array}{ll} {}&{−(x−3)}\\ {\text{Distribute.}}&{−x+3}\\ {\text{Rewrite.}}&{3−x}\\ \nonumber \end{array}$

This means the fraction $$\dfrac{x−3}{3−x}$$ simplifies to $$−1$$.

In general, we could write the opposite of $$a−b$$ as $$b−a$$. So the rational expression $$\dfrac{a−b}{b−a}$$ simplifies to $$−1$$.

##### Definition: OPPOSITES IN A RATIONAL EXPRESSION

The opposite $$a−b$$ is $$b−a$$

$$\dfrac{a−b}{b−a}=−1$$, $$a \ne b$$

An expression and its opposite divide to $$−1$$

We will use this property to simplify rational expressions that contain opposites in their numerators and denominators.

##### Example $$\PageIndex{40}$$

Simplify: $$\dfrac{x−8}{8−x}$$.

 $$\dfrac{x−8}{8−x}$$. Recognize that $$x−8$$ and $$8−x$$ are opposites −1
##### Example $$\PageIndex{41}$$

Simplify: $$\dfrac{y−2}{2−y}$$.

$$−1$$

##### Example $$\PageIndex{42}$$

Simplify: $$\dfrac{n−9}{9−n}$$.

$$−1$$

Remember, the first step in simplifying a rational expression is to factor the numerator and denominator completely.

##### Example $$\PageIndex{43}$$

Simplify: $$\dfrac{14−2x}{x^2−49}$$. Factor the numerator and denominator. Recognize $$7−x$$ and $$x−7$$ are opposites. Simplify. ##### Example $$\PageIndex{44}$$

Simplify: $$\dfrac{10−2y}{y^2−25}$$.

$$−\dfrac{2}{y+5}$$

##### Example $$\PageIndex{45}$$

Simplify: $$\dfrac{3y−27}{81−y^2}$$.

$$−\dfrac{3}{9+y}$$

##### Example $$\PageIndex{46}$$

Simplify: $$\dfrac{x^2−4x−32}{64−x^2}$$. Factor the numerator and denominator. Recognize the factors that are opposites. Simplify. ##### Example $$\PageIndex{47}$$

Simplify: $$\dfrac{x^2−4x−5}{25−x^2}$$.

$$−\dfrac{x+1}{x+5}$$

##### Example $$\PageIndex{48}$$

Simplify: $$\dfrac{x^2+x−2}{1−x^2}$$.

$$−\dfrac{x+2}{x+1}$$

## Key Concepts

• Determine the Values for Which a Rational Expression is Undefined
1. Set the denominator equal to zero.
2. Solve the equation, if possible.
• Simplified Rational Expression
• A rational expression is considered simplified if there are no common factors in its numerator and denominator.
• Simplify a Rational Expression
1. Factor the numerator and denominator completely.
2. Simplify by dividing out common factors.
• Opposites in a Rational Expression
• The opposite of $$a−b$$ is $$b−a$$.
$$\dfrac{a−b}{b−a}=−1$$ $$a \ne b$$, $$b \ne 0$$, $$a \ne b$$

## Glossary

rational expression
A rational expression is an expression of the form $$\dfrac{p}{q}$$, where $$p$$ and $$q$$ are polynomials and $$q \ne 0$$.