This is “Rational Functions: Multiplication and Division”, section 4.5 from the book Advanced Algebra (v. 1.0). For details on it (including licensing), click here.

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 (41 MB) or just this chapter (3 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.

## 4.5 Rational Functions: Multiplication and Division

### Learning Objectives

1. Identify restrictions to the domain of a rational function.
2. Simplify rational functions.
3. Multiply and divide rational functions.

## Identifying Restrictions and Simplifying Rational Functions

Rational functionsFunctions of the form $r(x)=p(x)q(x)$, where $p(x)$ and $q(x)$ are polynomials and $q(x)≠0.$ have the form $r(x)=p(x)q(x),$ where $p(x)$ and $q(x)$ are polynomials and $q(x)≠0.$ The domain of a rational functionThe set of real numbers for which the rational function is defined. consists of all real numbers x except those where the denominator $q(x)=0.$ RestrictionsThe set of real numbers for which a rational function is not defined. are the real numbers for which the expression is not defined. We often express the domain of a rational function in terms of its restrictions. For example, consider the function

$f(x)=x2−4x+3x2−5x+6$

which can be written in factored form

$f(x)=(x−1)(x−3)(x−2)(x−3)$

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.

$(x−2)(x−3)=0x−2=0 or x−3=0 x=2 x=3$

Therefore, the original function is defined for any real number except 2 and 3. We can express its domain using notation as follows:

$Set-builder notation Interval notation {x|x≠2,3} (−∞,2)∪(2,3)∪(3,∞)$

The restrictions to the domain of a rational function are determined by the denominator. Once the restrictions are determined we can cancel factors and obtain an equivalent function as follows:

It is important to note that 1 is not a restriction to the domain because the expression is defined as 0 when the numerator is 0. In fact, $x=1$ is a root. This function is graphed below:

Notice that there is a vertical asymptote at the restriction $x=2$ and the graph is left undefined at the restriction $x=3$ as indicated by the open dot, or hole, in the graph. Graphing rational functions in general is beyond the scope of this textbook. However, it is useful at this point to know that the restrictions are an important part of the graph of rational functions.

### Example 1

State the restrictions and simplify: $g(x)=24x76x5.$

Solution:

In this example, the function is undefined where x is 0.

$g(0)=24(0)76(0)5=00 undefined$

Therefore, the domain consists of all real numbers x, where $x≠0.$ With this understanding, we can simplify by reducing the rational expression to lowest terms. Cancel common factors.

$g(x)=244x7x26x5=4x2$

Answer: $g(x)=4x2$, where $x≠0$

### Example 2

State the restrictions and simplify: $f(x)=2x2+5x−34x2−1.$

Solution:

First, factor the numerator and denominator.

$f(x)=2x2+5x−34x2−1=(2x−1)(x+3)(2x+1)(2x−1)$

Any x-value that makes the denominator zero is a restriction. To find the restrictions, first set the denominator equal to zero and then solve

$(2x+1)(2x−1)=02x+1=0 or 2x−1=0 2x=−1 2x=1 x=−12 x=12$

Therefore, $x≠±12.$ With this understanding, we can cancel any common factors.

$f(x)=(2x−1)(x+3)(2x+1)(2x−1)=x+32x+1$

Answer: $f(x)=x+32x+1$, where $x≠±12$

We define the opposite of a polynomial P to be −P. Finding the opposite of a polynomial requires the application of the distributive property. For example, the opposite of the polynomial $(x−3)$ is written as

$−(x−3)=−1⋅(x−3)=−x+3=3−x$

This leads us to the opposite binomial propertyIf given a binomial $a−b$, then the opposite is $−(a−b)=b−a.$, $−(a−b)=(b−a).$ Care should be taken not to confuse this with the fact that $(a+b)=(b+a).$ This is the case because addition is commutative. In general,

$−(a−b)=(b−a)orb−aa−b=−1(a+b)=(b+a)orb+aa+b=1$

Also, it is important to recall that

$−ab=−ab=a−b$

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

### Example 3

State the restrictions and simplify: $25−x2x2−10x+25.$

Solution:

Begin by factoring the numerator and denominator.

$25−x2x2−10x+25=(5−x)(5+x)(x−5)(x−5)=−1⋅(x−5)(5+x)(x−5)(x−5)Opposite binomial property =−1⋅(x−5)(5+x)(x−5)(x−5)Cancel.=−x+5x−5$

Answer: $−x+5x−5$, where $x≠5$

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

$x2+7x−30x2−7x+12 incorrect! x+10x−4incorrect! 2x−1x−1incorrect!$

Try this! State the restrictions and simplify: $x−2x24x4−x2.$

Answer: $−1x(2x+1)$, where $x≠0,±12$

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 4

Simplify: $x3−2x2y+4xy2−8y3x4−16y4.$ (Assume all denominators are nonzero.)

Solution:

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

$x3+4xy2−2x2y−8y3x4−16y4=x(x2+4y2)−2y(x2+4y2)(x2+4y2)(x2−4y2)=(x2+4y2)(x−2y)(x2+4y2)(x+2y)(x−2y)$

Next, cancel common factors.

$=(x2+4y2)1(x−2y)1(x2+4y2)(x+2y)(x−2y)=1x+2y$

Note: When the entire numerator or denominator cancels out a factor of 1 always remains.

Answer: $1x+2y$

### Example 5

Given $f(x)=x2−2x+5$, simplify $f(x)−f(3)x−3.$

Solution:

Begin by calculating $f(3).$

$f(3)=(3)2−2(3)+5=9−6+5=3+5=8$

Next, substitute into the quotient that is to be simplified.

$f(x)−f(3)x−3=x2−2x+5−8x−3=x2−2x−3x−3=(x+1)(x−3)(x−3)=x+1$

Answer: $x+1$, where $x≠3$

An important quantity in higher level mathematics is the difference quotientThe mathematical quantity $f(x+h)−f(x)h$, where $h≠0$, which represents the slope of a secant line through a function f.:

$f(x+h)−f(x)h, where h≠0$

This quantity represents the slope of the line connecting two points on the graph of a function. The line passing through the two points is called a secant lineLine that intersects two points on the graph of a function..

Calculating the difference quotient for many different functions is an important skill to learn in intermediate algebra. We will encounter this quantity often as we proceed in this textbook. When calculating the difference quotient we assume the denominator is nonzero.

### Example 6

Given $g(x)=−2x2+1$, simplify $g(x+h)−g(x)h.$

Solution:

$g(x+h)−g(x)h=(−2(x+h)2+1)−(−2x2+1)h=−2(x2+2xh+h2)+1+2x2−1h=−2x2−4xh−2h2+1+2x2−1h=−4xh−2h2h=−4x−2h$

Answer: $−4x−2h$

Try this! Given $f(x)=x2−x−1$, simplify $f(x+h)−f(x)h.$

Answer: $2x−1+h$

## Multiplying and Dividing Rational Functions

When multiplying fractions, we can multiply the numerators and denominators together and then reduce. Multiplying rational expressions is performed in a similar manner. In general, given polynomials P, Q, R, and S, where $Q≠0$ and $S≠0$, we have

$PQ⋅RS=PRQS$

The restrictions to the domain of a product consist of the restrictions of each function.

### Example 7

Given $f(x)=9x2−25x−5$ and $g(x)=x2−2x−153x+5$, find $(f⋅g)(x)$ and determine the restrictions to the domain.

Solution:

In this case, the domain of $f$ consists of all real numbers except 5, and the domain of $g$ consists of all real numbers except $−53.$ Therefore, the domain of the product consists of all real numbers except 5 and $−53.$ Multiply the functions and then simplify the result.

$(f⋅g)(x)=f(x)⋅g(x)=9x2−25x−5⋅x2−2x−153x+5=(3x+5)(3x−5)x−5⋅(x−5)(x+3)3x+5 Factor.=(3x+5)(3x−5)(x−5)(x+3)(x−5)(3x+5) Cancel.=(3x−5)(x+3)$

Answer: $(f⋅g)(x)=(3x−5)(x+3)$, where $x≠5, −53$

To divide two fractions, we multiply by the reciprocal of the divisor. Dividing rational expressions is performed in a similar manner. In general, given polynomials P, Q, R, and S, where $Q≠0$, $R≠0$, and $S≠0$, we have

$PQ÷RS=PQ⋅SR=PSQR$

The restrictions to the domain of a quotient will consist of the restrictions of each function as well as the restrictions on the reciprocal of the divisor.

### Example 8

Given $f(x)=2x2+13x−7x2−4x−21$ and $g(x)=2x2+5x−349−x2$, find $(f/g)(x)$ and determine the restrictions.

Solution:

$(f/g)(x)= f(x) ÷ g(x)=2x2+13x−7x2−4x−21÷2x2+5x−349−x2=2x2+13x−7x2−4x−21⋅49−x22x2+5x−3Multiply by the reciprocal of the divisor.=(2x−1)(x+7)(x+3)(x−7)⋅(7+x)(7−x)(2x−1)(x+3)Factor.=(2x−1)(x+7)(7+x)(−1)(x−7)(x+3)(x−7)(2x−1)(x+3)Cancel.=−(x+7)2(x+3)2$

In this case, the domain of $f$ consists of all real numbers except −3 and 7, and the domain of $g$ consists of all real numbers except 7 and −7. In addition, the reciprocal of $g(x)$ has a restriction of −3 and $12.$ Therefore, the domain of this quotient consists of all real numbers except −3, $12$, and ±7.

Answer: $(f/g)(x)=−(x+7)2(x+3)2$, where $x≠−3,12,±7$

Recall that multiplication and division operations are to be performed from left to right.

### Example 9

Simplify: $4x2−16x2+3x÷2x+1x2+2x+1⋅27x42x2+x−1.$ (Assume all denominators are nonzero.)

Solution:

Begin by replacing the factor that is to be divided by multiplication of its reciprocal.

$4x2−16x2+3x÷2x+1x2+2x+1⋅27x42x2+x−1=4x2−16x2+3x⋅x2+2x+12x+1⋅27x42x2+x−1=(2x+1)(2x−1)3x(2x+1)⋅(x+1)(x+1)(2x+1)⋅27x4(2x−1)(x+1)=(2x+1)(2x−1)(x+1)(x+1)⋅279x4x33x(2x+1)(2x+1)(2x−1)(x+1)=9x3(x+1)(2x+1)$

Answer: $9x3(x+1)(2x+1)$

Try this! Given $f(x)=2x+53x2+14x−5$ and $g(x)=6x2+13x−5x+5$, calculate $(f/g)(x)$ and determine the restrictions.

Answer: $(f/g)(x)=1(3x−1)2$, where $x≠−5,−52,13$

If a cost function $C$ 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)=C(x)x$, where $C(x)$ is a cost function. $C–$ is the cost divided by the number of units produced.

$C–(x)=C(x)x$

### Example 10

A manufacturer has determined that the cost in dollars of producing sweaters is given by $C(x)=0.01x2−3x+1200$, where x represents the number of sweaters produced daily. Determine the average cost of producing 100, 200, and 300 sweaters per day.

Solution:

Set up a function representing the average cost.

$C–(x)=C(x)x=0.01x2−3x+1200x$

Next, calculate $C–(100)$, $C–(200)$, and $C–(300).$

$C–(100)=0.01(100)2−3(100)+1200(100)=100−300+1200100=1000100=10.00C–(200)=0.01(200)2−3(200)+1200(200)=400−600+1200200=1000200=5.00C–(300)=0.01(300)2−3(300)+1200(300)=900−900+1200300=1200300=4.00$

Answer: The average cost of producing 100 sweaters per day is $10.00 per sweater. If 200 sweaters are produced, the average cost per sweater is$5.00. If 300 are produced, the average cost per sweater is $4.00. ### Key Takeaways • 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 functions are equivalent for values in the domain of the original function. Be sure to state the restrictions unless the problem states that the denominators are assumed to be nonzero. • After multiplying rational expressions, factor both the numerator and denominator and then cancel common factors. Make note of the restrictions to the domain. The values that give a value of 0 in the denominator for all expressions are the restrictions. • To divide rational expressions, multiply the numerator by the reciprocal of the divisor. • The restrictions to the domain of a product consist of the restrictions to the domain of each factor. ### Topic Exercises ### Part A: Simplifying Rational Functions Simplify the function and state its domain using interval notation. 1. $f(x)=25x95x5$ 2. $f(x)=64x816x3$ 3. $f(x)=x2−64x2+16x+64$ 4. $f(x)=x2+x−20x2−25$ 5. $g(x)=9−4x22x2−5x+3$ 6. $g(x)=x−3x29x2−6x+1$ 7. $g(x)=2x2−8x−422x2+5x−3$ 8. $g(x)=6x2+5x−43x2+x−4$ 9. $h(x)=x3+x2−x−1x2+2x+1$ 10. $h(x)=2x3−5x2−8x+202x2−9x+10$ State the restrictions and simplify the given rational expressions. 1. $66x(2x−5)18x3(2x−5)2$ 2. $26x4(5x+2)320x5(5x+2)$ 3. $x2+5x+6x2−5x−14$ 4. $x2−8x+12x2−2x−24$ 5. $1−x25x2+x−6$ 6. $4−9x23x2−8x+4$ 7. $4x2+15x+99−x2$ 8. $6x2+13x−525−4x2$ 9. $x2−5x+4x3−x2−16x+16$ 10. $x4+4x2x3+3x2+4x+12$ Simplify the given rational expressions. Assume all variable expressions in the denominator are nonzero. 1. $50ab3(a+b)2200a2b3(a+b)3$ 2. $36a5b7(a−b)29a3b(a−b)$ 3. $a2−b2a2+2ab+b2$ 4. $a2−2ab+b2a2−b2$ 5. $6x2−xy6x2−7xy+y2$ 6. $y−x2x3−4x2y+2xy2$ 7. $x2y2−2xy3x2y2−xy3−2y4$ 8. $x4y−x2y3x3y+2x2y2+xy3$ 9. $x3−x2y+xy2−y3x4−y4$ 10. $y4−x4x3+x2y+xy2+y3$ 11. $a2−(b+c)2(a+b)2−c2$ 12. $(a+b)2−c2(a+c)2−b2$ 13. $x3+y3x2+2xy+y2$ 14. $x3y+x2y2+xy3x3−y3$ Given the function, simplify the rational expression. 1. Given $f(x)=x2−8$, simplify $f(x)−f(5)x−5.$ 2. Given $f(x)=x2+4x−1$, simplify $f(x)−f(2)x−2.$ 3. Given $g(x)=x2−3x+1$, simplify $g(x)−g(−1)x+1.$ 4. Given $g(x)=x2−2x$, simplify $g(x)−g(−4)x+4.$ 5. Given $f(x)=4x2+6x+1$, simplify $f(x)−f(12)2x−1.$ 6. Given $f(x)=9x2+1$, simplify $f(x)−f(−13)3x+1.$ For the given function, simplify the difference quotient $f(x+h)−f(x)h, where h≠0.$ 1. $f(x)=5x−3$ 2. $f(x)=3−2x$ 3. $f(x)=x2−3$ 4. $f(x)=x2+8x$ 5. $f(x)=x2−x+5$ 6. $f(x)=4x2+3x−2$ 7. $f(x)=ax2+bx+c$ 8. $f(x)=ax2+bx$ 9. $f(x)=x3+1$ 10. $f(x)=x3−x+2$ ### Part B: Multiplying and Dividing Rational Functions Simplify the product $f⋅g$ and state its domain using interval notation. 1. $f(x)=52x4(x−2)2, g(x)=(x−2)312x5$ 2. $f(x)=46(2x−1)315x6, g(x)=25x323(2x−1)$ 3. $f(x)=10x3x2+4x+4, g(x)=x2−450x4$ 4. $f(x)=25−x246x5, g(x)=12x3x2+10x+25$ 5. $f(x)=5−3xx2−10x+25, g(x)=x2−6x+53x2−8x+5$ 6. $f(x)=1−4x26x2+3x, g(x)=12x24x2−4x+1$ Simplify the quotient $f/g$ and state its domain using interval notation. 1. $f(x)=12x35(5x−1)3, g(x)=6x225(5x−1)4$ 2. $f(x)=7x2(x+9)(x−8)2, g(x)=49x3(x+9)(x−8)4$ 3. $f(x)=25x2−13x2−15x, g(x)=25x2+10x+1x3−5x2$ 4. $f(x)=x2−x−62x2+13x+15, g(x)=x2−6x+94x2+12x+9$ 5. $f(x)=x2−64x2, g(x)=2x2+19x+24$ 6. $f(x)=2x2+11x−6, g(x)=36−x2$ Multiply or divide as indicated, state the restrictions, and simplify. 1. $14(x+12)25x3⋅45x42(x+12)3$ 2. $27x620(x−7)3⋅(x−7)554x7$ 3. $x2−6436x4⋅12x3x2+4x−32$ 4. $50x5x2+6x−27⋅x2−81125x3$ 5. $2x2+7x+53x2⋅15x3−30x22x2+x−10$ 6. $3x2+14x−52x2+11x+5⋅4x2+4x+16x2+x−1$ 7. $x2+4x−215x2+10x÷x2−6x+9x2+9x+14$ 8. $x2−499x2−24x+16÷2x2−13x−76x2−5x−4$ 9. $5x2+x−64x2−7x−15÷1−x24x2+9x+5$ 10. $6x2−8x−84−9x2÷3x2−4x−49x2+12x+4$ 11. $x2+4x−12x2−2x−15÷2x2−13x+186x2−31x+5$ 12. $8x2+x−925x2−1÷2x2−x−110x2−3x−1$ Perform the operations and simplify. Assume all variable expressions in the denominator are nonzero. 1. $112ab⋅50a2(a−b)2a2−b2⋅6ba(a−b)$ 2. $b2−a2(a−b)2⋅12a(a−b)36a2b⋅9ab(a−b)a+b$ 3. $x3+y35xy⋅x2−y2x2−2xy+y2⋅25x2y(y+x)2$ 4. $3xy2(2y+x)2⋅2x2+5xy+2y29x2⋅x3+8y36xy2+3y3$ 5. $2x+5x−3⋅x2−95x4÷2x2+15x+2525x5$ 6. $5x2−15x9x2−4⋅3x−220x3÷x−33x2−x−2$ 7. $x2+5x−50x2+5x−14÷x2−25x2−49⋅x−2x2+3x−70$ 8. $x2−x−564x2−4x−3÷2x2+11x−2125−9x2⋅4x2−12x+93x2−19x−40$ 9. $20x2−8x−16x2+13x+6÷1−100x23x2−x−2⋅10x−12x2−3x+1$ 10. $12x2−13x+1x2+18x+81÷(144x2−1)⋅x2+14x+4512x2−11x−1$ 11. A manufacturer has determined that the cost in dollars of producing bicycles is given by $C(x)=0.5x2−x+6200$, where x represents the number of bicycles produced weekly. Determine the average cost of producing 50, 100, and 150 bicycles per week. 12. The cost in dollars of producing custom lighting fixtures is given by the function $C(x)=x2−20x+1200$, where x represents the number of fixtures produced in a week. Determine the average cost per unit if 20, 40, and 50 units are produced in a week. 13. A manufacturer has determined that the cost in dollars of producing electric scooters is given by the function $C(x)=3x(x−100)+32,000$, where x represents the number of scooters produced in a month. Determine the average cost per scooter if 50 are produced in a month. 14. The cost in dollars of producing a custom injected molded part is given by $C(n)=1,900+0.01n$, where n represents the number of parts produced. Calculate the average cost of each part if 2,500 custom parts are ordered. 15. The cost in dollars of an environmental cleanup is given by the function $C(p)=25,000p1−p$, where p represents the percentage of the area to be cleaned up $(0≤p<1)$. Use the function to determine the cost of cleaning up 50% of an affected area and the cost of cleaning up 80% of the area. 16. The value of a new car is given by the function $V(t)=16,500(t+1)−1$ where t represents the age of the car in years. Determine the value of the car when it is 6 years old. ### Part D: Discussion Board 1. Describe the restrictions to the rational expression $1x2−y2$. Explain. 2. Describe the restrictions to the rational expression $1x2+y2$. Explain. 3. Explain why $x=5$ is a restriction to $1x+5÷x−5x.$ 4. Explain to a beginning algebra student why we cannot cancel x in the rational expression $x+2x.$ 5. Research and discuss the importance of the difference quotient. What does it represent and in what subject does it appear? ### Answers 1. $f(x)=5x4$; Domain: $(−∞,0)∪(0,∞)$ 2. $f(x)=x−8x+8$; Domain: $(−∞,−8)∪(−8,∞)$ 3. $g(x)=−2x+3x−1$; Domain: $(−∞,1)∪(1,32)∪(32,∞)$ 4. $g(x)=2(x−7)2x−1$; Domain: $(−∞,−3)∪(−3,12)∪(12,∞)$ 5. $h(x)=x−1$; Domain: $(−∞,−1)∪(−1,∞)$ 6. $113x2(2x−5)$; $x≠0,52$ 7. $x+3x−7$; $x≠−2,7$ 8. $−x+15x+6$; $x≠−65,1$ 9. $−4x+33−x$; $x≠±3$ 10. $1x+4$; $x≠1,±4$ 11. $14a(a+b)$ 12. $a−ba+b$ 13. $xx−y$ 14. $xx+y$ 15. $1x+y$ 16. $a−b−ca+b−c$ 17. $x2−xy+y2x+y$ 18. $x+5$, where $x≠5$ 19. $x−4$, where $x≠−1$ 20. $2(x+2)$, where $x≠12$ 21. 5 22. $2x+h$ 23. $2x−1+h$ 24. $2ax+b+ah$ 25. $3x2+3xh+h2$ 1. $(f⋅g)(x)=13(x−2)3x$; Domain: $(−∞,0)∪(0,2)∪(2,∞)$ 2. $(f⋅g)(x)=x−25x(x+2)$; Domain: $(−∞,−2)∪(−2,0)∪(0,∞)$ 3. $(f⋅g)(x)=−1x−5$; Domain: $(−∞,1)∪(1,53)∪(53,5)∪(5,∞)$ 4. $(f/g)(x)=10x(5x−1)$; Domain: $(−∞,0)∪(0,15)∪(15,∞)$ 5. $(f/g)(x)=x(5x−1)2(5x+1)$; Domain: $(−∞,−15)∪(−15,0)∪(0,5)∪(5,∞)$ 6. $(f/g)(x)=x−8x2(2x+3)$; Domain: $(−∞,−8)∪(−8,−32)∪(−32,0)∪(0,∞)$ 7. $63xx+12$; $x≠−12,0$ 8. $x−83x(x−4)$; $x≠−8,0,4$ 9. $5(x+1)$; $x≠−52,0,2$ 10. $(x+7)25x(x−3)$; $x≠−7,−2,0,3$ 11. $−5x+6x−3$; $x≠−54,−1,1,3$ 12. $(x+6)(6x−1)(x+3)(2x−9)$; $x≠−3,16,2,92,5$ 13. $25a+b$ 14. $5x(x2−xy+y2)x−y$ 15. $5x(x+3)x+5$ 16. $1x+5$ 17. $−12x+3$ 18. If 50 bicycles are produced, the average cost per bicycle is$148. If 100 are produced, the average cost is $111. If 150 bicycles are produced, the average cost is$115.33.

19. If 50 scooters are produced, the average cost of each is $490. 20. A 50% cleanup will cost$25,000. An 80% cleanup will cost \$100,000.

1. Answer may vary

2. Answer may vary

3. Answer may vary