This is “Simplifying Rational Expressions”, section 7.1 from the book Beginning Algebra (v. 1.0).

For more information on the source of this book, or why it is available for free, please see the project's home page. You can browse or download additional books there. You may also download a PDF copy of this book (81 MB) or just this chapter (8 MB), suitable for printing or most e-readers, or a .zip file containing this book's HTML files (for use in a web browser offline).

Has this book helped you? Consider passing it on:

Creative Commons supports free culture from music to education. Their licenses helped make this book available to you.

DonorsChoose.org helps people like you help teachers fund their classroom projects, from art supplies to books to calculators.

- Determine the restrictions to the domain of a rational expression.
- Simplify rational expressions.
- Simplify expressions with opposite binomial factors.
- Simplify and evaluate rational functions.

A rational number, or fraction ${\scriptscriptstyle \frac{a}{b}}$, is a real number defined as a quotient of two integers *a* and *b*, where $b\ne 0$. Similarly, we define a rational expressionThe quotient ${\scriptscriptstyle \frac{P}{Q}}$ of two polynomials *P* and *Q*, where *Q* ≠ 0., or algebraic fractionTerm used when referring to a rational expression. ${\scriptscriptstyle \frac{P}{Q}}$, as the quotient of two polynomials *P* and *Q*, where $Q\ne 0$. Some examples of rational expressions follow:

The example $\frac{x+3}{x-5}$ consists of linear expressions in both the numerator and denominator. Because the denominator contains a variable, this expression is not defined for all values of *x*.

**Example 1:** Evaluate $\frac{x+3}{x-5}$ for the set of *x*-values {−3, 4, 5}.

**Solution:** Substitute the values in for *x*.

Answer: When $x=-3$, the value of the rational expression is 0; when $x=4$, the value of the rational expression is −7; and when $x=5$, the value of the rational expression is undefined.

This example illustrates that variables are restricted to values that do not make the denominator equal to 0. The domain of a rational expressionThe set of real numbers for which the rational expression is defined. is the set of real numbers for which it is defined, and restrictionsThe set of real numbers for which a rational expression is not defined. are the real numbers for which the expression is not defined. We often express the domain of a rational expression in terms of its restrictions.

**Example 2:** Find the domain of the following: $\frac{x+7}{2{x}^{2}+x-6}$.

**Solution:** In this example, the numerator $x+7$ is a linear expression and the denominator $2{x}^{2}+x-6$ is a quadratic expression. If we factor the denominator, then we will obtain an equivalent expression.

Because rational expressions are undefined when the denominator is 0, we wish to find the values for *x* that make it 0. To do this, apply the zero-product property. Set each factor in the denominator equal to 0 and solve.

We conclude that the original expression is defined for any real number except 3/2 and −2. These two values are the restrictions to the domain.

It is important to note that −7 is *not* a restriction to the domain because the expression is defined as 0 when the numerator is 0.

Answer: The domain consists of any real number *x*, where $x\ne {\scriptscriptstyle \frac{3}{2}}$ and $x\ne -2$.

We can express the domain of the previous example using notation as follows:

The restrictions to the domain of a rational expression are determined by the denominator. Ignore the numerator when finding those restrictions.

**Example 3:** Determine the domain: $\frac{{x}^{4}+{x}^{3}-2{x}^{2}-x}{{x}^{2}-1}$.

**Solution:** To find the restrictions to the domain, set the denominator equal to 0 and solve:

These two values cause the denominator to be 0. Hence they are restricted from the domain.

Answer: The domain consists of any real number *x*, where $x\ne \pm 1$.

**Example 4:** Determine the domain: $\frac{{x}^{2}-25}{4}$.

**Solution:** There is no variable in the denominator and thus no restriction to the domain.

Answer: The domain consists of all real numbers, **R**.

When simplifying fractions, look for common factors that cancel. For example,

We say that the fraction 12/60 is equivalent to 1/5. Fractions are in simplest form if the numerator and denominator share no common factor other than 1. Similarly, when working with rational expressions, look for factors to cancel. For example,

The resulting rational expression is equivalent if it shares the same domain. Therefore, we must make note of the restrictions and write

In words, $\frac{x+4}{\left(x-3\right)\left(x+4\right)}$ is equivalent to $\frac{1}{x-3}$, if $x\ne 3$ and $x\ne -4$. We can verify this by choosing a few values with which to evaluate both expressions to see if the results are the same. Here we choose $x=7$ and evaluate as follows:

It is important to state the restrictions before simplifying rational expressions because the simplified expression may be defined for restrictions of the original. In this case, the expressions are not equivalent. Here −4 is defined for the simplified equivalent but not for the original, as illustrated below:

**Example 5:** Simplify and state the restriction: $\frac{25{x}^{2}}{15{x}^{3}}$.

**Solution:** In this example, the expression is undefined when *x* is 0.

Therefore, the domain consists of all real numbers *x*, where $x\ne 0$. With this understanding, we can cancel common factors.

Answer: $\frac{5}{3x}$, where $x\ne 0$

**Example 6:** State the restrictions and simplify: $\frac{3x\left(x-5\right)}{\left(2x+1\right)\left(x-5\right)}$.

**Solution:** To determine the restrictions, set the denominator equal to 0 and solve.

The domain consists of all real numbers except for −1/2 and 5. Next, we find an equivalent expression by canceling common factors.

Answer: $\frac{3x}{2x+1}$, where $x\ne -{\scriptscriptstyle \frac{1}{2}}$ and $x\ne 5$

Typically, rational expressions are not given in factored form. If this is the case, factor first and then cancel. The steps are outlined in the following example.

**Example 7:** State the restrictions and simplify: $\frac{3x+6}{{x}^{2}+x-2}$.

**Solution:**

**Step 1:** Completely factor the numerator and denominator.

**Step 2:** Determine the restrictions to the domain. To do this, set the denominator equal to 0 and solve.

The domain consists of all real numbers except −2 and 1.

**Step 3:** Cancel common factors, if any.

Answer: $\frac{3}{x-1}$, where $x\ne 1$ and $x\ne -2$

**Example 8:** State the restrictions and simplify: $\frac{{x}^{2}+7x-30}{{x}^{2}-7x+12}$.

**Solution:** First, factor the numerator and denominator.

Any value of *x* that results in a value of 0 in the denominator is a restriction. By inspection, we determine that the domain consists of all real numbers except 4 and 3. Next, cancel common factors.

Answer: $\frac{x+10}{x-4}$, where $x\ne 3$ and $x\ne 4$

It is important to remember that we can only cancel factors of a product. A common mistake is to cancel terms. For example,

**Try this!** State the restrictions and simplify: $\frac{{x}^{2}-16}{5{x}^{2}-20x}$.

Answer: $\frac{x+4}{5x}$, where $x\ne 0$ and $x\ne 4$

In some examples, we will make a broad assumption that the denominator is nonzero. When we make that assumption, we do not need to determine the restrictions.

**Example 9:** Simplify: $\frac{xy+{y}^{2}-3x-3y}{{x}^{2}-{y}^{2}}$. (*Assume all denominators are nonzero*.)

**Solution:** Factor the numerator by grouping. Factor the denominator using the formula for a difference of squares.

Next, cancel common factors.

Answer: $\frac{y-3}{x-y}$

Recall that the opposite of the real number *a* is −*a*. Similarly, we can define the opposite of a polynomial *P* to be −*P*. We first consider the opposite of the binomial $a-b$:

This leads us to the opposite binomial propertyIf given a binomial $a-b$, then the opposite is $-\left(a-b\right)=b-a$.:

This is equivalent to factoring out a –1.

If $a\ne b$, then we can divide both sides by $\left(a-b\right)$ and obtain the following:

**Example 10:** State the restrictions and simplify: $\frac{3-x}{x-3}$.

**Solution:** By inspection, we can see that the denominator is 0 if $x=3$. Therefore, 3 is the restriction to the domain. Apply the opposite binomial property to the numerator and then cancel.

Answer: $\frac{3-x}{x-3}=-1$, where $x\ne 3$

Since addition is commutative, we have

or

Take care not to confuse this with the opposite binomial property. Also, it is important to recall that

In other words, show a negative fraction by placing the negative sign in the numerator, in front of the fraction bar, or in the denominator. Generally, negative denominators are avoided.

**Example 11:** Simplify and state the restrictions: $\frac{4-{x}^{2}}{{x}^{2}+3x-10}$.

**Solution:** Begin by factoring the numerator and denominator.

Answer: $-\frac{x+2}{x+5}$, where $x\ne 2$ and $x\ne -5$

**Try this!** Simplify and state the restrictions: $\frac{2{x}^{2}-7x-15}{25-{x}^{2}}$.

Answer: $-\frac{2x+3}{x+5}$, where $x\ne \pm 5$

Rational functions have the form

where $p(x)$ and $q(x)$ are polynomials and $q(x)\ne 0$. The domain of a rational function consists of all real numbers *x* such that the denominator $q(x)\ne 0$.

**Example 12:**

a. Simplify: $r\left(x\right)=\frac{2{x}^{2}+5x-3}{6{x}^{2}+18x}$.

b. State the domain.

c. Calculate $r(-2)$.

**Solution:**

a. To simplify the rational function, first factor and then cancel.

b. To determine the restrictions, set the denominator of the original function equal to 0 and solve.

The domain consists of all real numbers *x*, where $x\ne 0$ and $x\ne -3$.

c. Since −2 is not a restriction, substitute it for the variable *x* using the simplified form.

Answers:

a. $r\left(x\right)=\frac{2x-1}{6x}$

b. The domain is all real numbers except 0 and −3.

c. $r\left(-2\right)={\scriptscriptstyle \frac{5}{12}}$

If a cost functionA function that represents the cost of producing a certain number of units. $C(x)$ represents the cost of producing *x* units, then the average costThe total cost divided by the number of units produced, which can be represented by $c(x)=\frac{C(x)}{x}$, where $C(x)$ is a cost function. $c(x)$ is the cost divided by the number of units produced.

**Example 13:** The cost in dollars of producing t-shirts with a company logo is given by $C\left(x\right)=7x+200$, where *x* represents the number of shirts produced. Determine the average cost of producing

a. 40 t-shirts

b. 250 t-shirts

c. 1,000 t-shirts

**Solution:** Set up a function representing the average cost.

Next, calculate $c(40)$, $c(250)$, and $c(1000)$.

Answers:

a. If 40 t-shirts are produced, then the average cost per t-shirt is $12.00.

b. If 250 t-shirts are produced, then the average cost per t-shirt is $7.80.

c. If 1,000 t-shirts are produced, then the average cost per t-shirt is $7.20.

- Rational expressions usually are not defined for all real numbers. The real numbers that give a value of 0 in the denominator are not part of the domain. These values are called restrictions.
- Simplifying rational expressions is similar to simplifying fractions. First, factor the numerator and denominator and then cancel the common factors. Rational expressions are simplified if there are no common factors other than 1 in the numerator and the denominator.
- Simplified rational expressions are equivalent for values in the domain of the original expression. Be sure to state the restrictions if the denominators are not assumed to be nonzero.
- Use the opposite binomial property to cancel binomial factors that involve subtraction. Use $-\left(a-b\right)=b-a$ to replace factors that will then cancel. Do not confuse this with factors that involve addition, such as $\left(a+b\right)=\left(b+a\right)$.

Part A: Rational Expressions

*Evaluate for the given set of **x**-values.*

1. $\frac{5}{x}$; {−1, 0, 1}

2. $\frac{4x}{3{x}^{2}}$; {−1, 0, 1}

3. $\frac{1}{x+9}$; {−10, −9, 0}

4. $\frac{x+6}{x-5}$; {−6, 0, 5}

5. $\frac{3x\left(x-2\right)}{2x-1}$; {0, 1/2, 2}

6. $\frac{9{x}^{2}-1}{x-7}$; {0, 1/3, 7}

7. $\frac{5}{{x}^{2}-9}$; {−3, 0, 3}

8. $\frac{{x}^{2}-25}{{x}^{2}-3x-10}$; {−5, −4, 5}

9. Fill in the following chart:

10. Fill in the following chart:

11. Fill in the following chart:

12. Fill in the following chart:

*An object’s weight depends on its height above the surface of earth. If an object weighs 120 pounds on the surface of earth, then its weight in pounds, **W, x** miles above the surface is approximated by the formula*
$$W=\frac{120\cdot {4000}^{2}}{{(4000+x)}^{2}}$$

*For each problem below, approximate the weight of a 120-pound object at the given height above the surface of earth. (1 mile = 5,280 feet)*

13. 100 miles

14. 1,000 miles

15. 44,350 feet

16. 90,000 feet

*The price to earnings ratio (P/E) is a metric used to compare the valuations of similar publicly traded companies. The P/E ratio is calculated using the stock price and the earnings per share (EPS) over the previous 12‑month period as follows:*
$$\text{P/E}=\frac{price\text{\hspace{0.17em}}per\text{\hspace{0.17em}}share}{earnings\text{\hspace{0.17em}}per\text{\hspace{0.17em}}share}$$

*If each share of a company stock is priced at $22.40, then calculate the P/E ratio given the following values for the earnings per share.*

17. $1.40

18. $1.21

19. What happens to the P/E ratio when earnings decrease?

20. What happens to the P/E ratio when earnings increase?

*State the restrictions to the domain.*

21. $\frac{1}{3x}$

22. $\frac{3{x}^{2}}{7{x}^{5}}$

23. $\frac{3x\left(x+1\right)}{x+4}$

24. $\frac{2{x}^{2}\left(x-3\right)}{x-1}$

25. $\frac{1}{5x-1}$

26. $\frac{x-2}{3x-2}$

27. $\frac{x-9}{5x\left(x-2\right)}$

28. $\frac{1}{\left(x-3\right)\left(x+6\right)}$

29. $\frac{x}{1-{x}^{2}}$

30. $\frac{{x}^{2}-9}{{x}^{2}-36}$

31. $\frac{1}{2x\left(x+3\right)\left(2x-1\right)}$

32. $\frac{x-3}{\left(3x-1\right)\left(2x+3\right)}$

33. $\frac{4x\left(2x+1\right)}{12{x}^{2}+x-1}$

34. $\frac{x-5}{3{x}^{2}-15x}$

Part B: Simplifying Rational Expressions

*State the restrictions and then simplify.*

35. $\frac{5{x}^{2}}{20{x}^{3}}$

36. $\frac{12{x}^{6}}{60x}$

37. $\frac{3{x}^{2}\left(x-2\right)}{9x\left(x-2\right)}$

38. $\frac{20\left(x-3\right)\left(x-5\right)}{6\left(x-3\right)\left(x+1\right)}$

39. $\frac{6{x}^{2}\left(x-8\right)}{36x\left(x+9\right)\left(x-8\right)}$

40. $\frac{16{x}^{2}-1}{{\left(4x+1\right)}^{2}}$

41. $\frac{9{x}^{2}-6x+1}{{\left(3x-1\right)}^{2}}$

42. $\frac{x-7}{{x}^{2}-49}$

43. $\frac{{x}^{2}-64}{{x}^{2}+8x}$

44. $\frac{x+10}{{x}^{2}-100}$

45. $\frac{2{x}^{3}-12{x}^{2}}{5{x}^{2}-30x}$

46. $\frac{30{x}^{5}+60{x}^{4}}{2{x}^{3}-8x}$

47. $\frac{2x-1}{2{x}^{2}+x-6}$

48. $\frac{{x}^{2}-x-6}{3{x}^{2}-8x-3}$

49. $\frac{6{x}^{2}-25x+25}{3{x}^{2}+16x-35}$

50. $\frac{3{x}^{2}+4x-15}{{x}^{2}-9}$

51. $\frac{{x}^{2}-10x+21}{{x}^{2}-4x-21}$

52. $\frac{{x}^{3}-1}{{x}^{2}-1}$

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

54. $\frac{{x}^{4}-16}{{x}^{2}-4}$

Part C: Simplifying Rational Expressions with Opposite Binomial Factors

*State the restrictions and then simplify.*

55. $\frac{x-9}{9-x}$

56. $\frac{3x-2}{2-3x}$

57. $\frac{x+6}{6+x}$

58. $\frac{3x+1}{1+3x}$

59. $\frac{\left(2x-5\right)\left(x-7\right)}{\left(7-x\right)\left(2x-1\right)}$

60. $\frac{\left(3x+2\right)\left(x+5\right)}{\left(x-5\right)\left(2+3x\right)}$

61. $\frac{{x}^{2}-4}{{\left(2-x\right)}^{2}}$

62. $\frac{16-9{x}^{2}}{{\left(3x+4\right)}^{2}}$

63. $\frac{4{x}^{2}\left(10-x\right)}{3{x}^{3}-300x}$

64. $\frac{-2x+14}{{x}^{3}-49x}$

65. $\frac{2{x}^{2}-7x-4}{1-4{x}^{2}}$

66. $\frac{9{x}^{2}-4}{4x-6{x}^{2}}$

67. $\frac{{x}^{2}-5x-14}{7-15x+2{x}^{2}}$

68. $\frac{2{x}^{3}+{x}^{2}-2x-1}{1+x-2{x}^{2}}$

69. $\frac{{x}^{3}+2x-3{x}^{2}-6}{2+{x}^{2}}$

70. $\frac{27+{x}^{3}}{{x}^{2}+6x+9}$

71. $\frac{64-{x}^{3}}{{x}^{2}-8x+16}$

72. $\frac{{x}^{2}+4}{4-{x}^{2}}$

*Simplify. (**Assume all denominators are nonzero**.)*

73. $\frac{-15{x}^{3}{y}^{2}}{5x{y}^{2}\left(x+y\right)}$

74. $\frac{14{x}^{7}{y}^{2}{\left(x-2y\right)}^{4}}{7{x}^{8}y{\left(x-2y\right)}^{2}}$

75. $\frac{y+x}{{x}^{2}-{y}^{2}}$

76. $\frac{y-x}{{x}^{2}-{y}^{2}}$

77. $\frac{{x}^{2}-{y}^{2}}{{\left(x-y\right)}^{2}}$

78. $\frac{{a}^{2}-ab-6{b}^{2}}{{a}^{2}-6ab+9{b}^{2}}$

79. $\frac{2{a}^{2}-11a+12}{-32+2{a}^{2}}$

80. $\frac{{a}^{2}b-3{a}^{2}}{3{a}^{2}-3ab}$

81. $\frac{x{y}^{2}-x+{y}^{3}-y}{x-x{y}^{2}}$

82. $\frac{{x}^{3}-x{y}^{2}-{x}^{2}y+{y}^{3}}{{x}^{2}-2xy+{y}^{2}}$

83. $\frac{{x}^{3}-27}{{x}^{2}+3x+9}$

84. $\frac{{x}^{2}-x+1}{{x}^{3}+1}$

Part D: Rational Functions

*Calculate the following.*

85. $f\left(x\right)=\frac{5x}{x-3}$; $f\left(0\right)$, $f\left(2\right)$, $f\left(4\right)$

86. $f\left(x\right)=\frac{x+7}{{x}^{2}+1}$; $f\left(-1\right)$, $f\left(0\right)$, $f\left(1\right)$

87. $g\left(x\right)=\frac{{x}^{3}}{{\left(x-2\right)}^{2}}$; $g\left(0\right)$, $g\left(2\right)$, $g\left(-2\right)$

88. $g\left(x\right)=\frac{{x}^{2}-9}{9-{x}^{2}}$; $g\left(-2\right)$, $g\left(0\right)$, $g\left(2\right)$

89. $g\left(x\right)=\frac{{x}^{3}}{{x}^{2}+1}$; $g\left(-1\right)$, $g\left(0\right)$, $g\left(1\right)$

90. $g\left(x\right)=\frac{5x+1}{{x}^{2}-25}$; $g\left(-1/5\right)$, $g\left(-1\right)$, $g\left(-5\right)$

*State the restrictions to the domain and then simplify.*

91. $f\left(x\right)=\frac{-3{x}^{2}-6x}{{x}^{2}+4x+4}$

92. $f\left(x\right)=\frac{{x}^{2}+6x+9}{2{x}^{2}+5x-3}$

93. $g\left(x\right)=\frac{9-x}{{x}^{2}-81}$

94. $g\left(x\right)=\frac{{x}^{3}-27}{3-x}$

95. $g\left(x\right)=\frac{3x-15}{10-2x}$

96. $g\left(x\right)=\frac{25-5x}{4x-20}$

97. The cost in dollars of producing coffee mugs with a company logo is given by $C\left(x\right)=x+40$, where *x* represents the number of mugs produced. Calculate the average cost of producing 100 mugs and the average cost of producing 500 mugs.

98. The cost in dollars of renting a moving truck for the day is given by $C\left(x\right)=0.45x+90$, where *x* represents the number of miles driven. Calculate the average cost per mile if the truck is driven 250 miles in one day.

99. The cost in dollars of producing sweat shirts with a custom design on the back is given by $C(x)=1200+(12-0.05x)x$, where *x* represents the number of sweat shirts produced. Calculate the average cost of producing 150 custom sweat shirts.

100. The cost in dollars of producing a custom injected molded part is given by $C(x)=500+(3-0.001x)x$, where *x* represents the number of parts produced. Calculate the average cost of producing 1,000 custom parts.

Part E: Discussion Board

101. Explain why $\frac{b-a}{a-b}=-1$ and illustrate this fact by substituting some numbers for the variables.

102. Explain why $\frac{b+a}{a+b}=1$ and illustrate this fact by substituting some numbers for the variables.

103. Explain why we cannot cancel *x* in the expression $\frac{x}{x+1}$.

1: −5, undefined, 5

3: −1, undefined, 1/9

5: 0, undefined, 0

7: Undefined, −5/9, undefined

9:

11:

13: 114 pounds

15: 119.5 pounds

17: 16

19: The P/E ratio increases.

21: $x\ne 0$

23: $x\ne -4$

25: $x\ne {\scriptscriptstyle \frac{1}{5}}$

27: $x\ne 0$ and $x\ne 2$

29: $x\ne \pm 1$

31: $x\ne 0$, $x\ne -3$, and $x\ne {\scriptscriptstyle \frac{1}{2}}$

33: $x\ne -{\scriptscriptstyle \frac{1}{3}}$ and $x\ne {\scriptscriptstyle \frac{1}{4}}$

35: $\frac{1}{4x}$; $x\ne 0$

37: $\frac{x}{3}$; $x\ne \mathrm{0,2}$

39: $\frac{x}{6\left(x+9\right)}$; $x\ne 0,-\mathrm{9,8}$

41: $1$; $x\ne {\scriptscriptstyle \frac{1}{3}}$

43: $\frac{x-8}{x}$; $x\ne 0,-8$

45: $\frac{2x}{5}$; $x\ne \mathrm{0,6}$

47: $\frac{2x-1}{2{x}^{2}+x-6}$; $x\ne -2,{\scriptscriptstyle \frac{3}{2}}$

49: $\frac{2x-5}{x+7}$; $x\ne -7,{\scriptscriptstyle \frac{5}{3}}$

51: $\frac{x-3}{x+3}$; $x\ne -\mathrm{3,7}$

53: $\frac{{x}^{2}-2x+4}{x-2}$; $x\ne \pm 2$

55: −1; $x\ne 9$

57: 1; $x\ne -6$

59: $-\frac{2x-5}{2x-1}$; $x\ne {\scriptscriptstyle \frac{1}{2}},7$

61: $\frac{x+2}{x-2}$; $x\ne 2$

63: $-\frac{4x}{3\left(x+10\right)}$; $x\ne \pm \mathrm{10,0}$

65: $\frac{x-4}{1-2x}$; $x\ne \pm {\scriptscriptstyle \frac{1}{2}}$

67: $\frac{x+2}{2x-1}$; $x\ne {\scriptscriptstyle \frac{1}{2}},7$

69: $x-3$; none

71: $-\frac{16+4x+{x}^{2}}{x-4}$; $x\ne 4$

73: $-\frac{3{x}^{2}}{x+y}$

75: $\frac{1}{x-y}$

77: $\frac{x+y}{x-y}$

79: $\frac{2a-3}{2\left(4+a\right)}$

81: $-\frac{x+y}{x}$

83: $x-3$

85: $f\left(0\right)=0$, $f\left(2\right)=-10$, $f\left(4\right)=20$

87: $g\left(0\right)=0$, $g\left(2\right)$ undefined, $g\left(-2\right)=-1/2$

89: $g\left(-1\right)=-1/2$, $g\left(0\right)=0$, $g\left(1\right)=1/2$

91: $f(x)=-\frac{3x}{x+2}$; $x\ne -2$

93: $g(x)=-\frac{1}{x+9}$; $x\ne \pm 9$

95: $g(x)=-\frac{3}{2}$; $x\ne 5$

97: The average cost of producing 100 mugs is $1.40 per mug. The average cost of producing 500 mugs is $1.08 per mug.

99: $12.50