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. To download a .zip file containing this book to use offline, simply click here.

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)=x24x+3x25x+6

which can be written in factored form

f(x)=(x1)(x3)(x2)(x3)

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.

        (x2)(x3)=0x2=0orx3=0x=2x=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-buildernotation          Intervalnotation{x|x2,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=00undefined

Therefore, the domain consists of all real numbers x, where x0. 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 x0

Example 2

State the restrictions and simplify: f(x)=2x2+5x34x21.

Solution:

First, factor the numerator and denominator.

f(x)=2x2+5x34x21=(2x1)(x+3)(2x+1)(2x1)

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)(2x1)=02x+1=0or2x1=02x=12x=1x=12x=12

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

f(x)=(2x1)(x+3)(2x+1)(2x1)=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 (x3) is written as

(x3)=1(x3)=x+3=3x

This leads us to the opposite binomial propertyIf given a binomial ab, then the opposite is (ab)=ba., (ab)=(ba). 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,

(ab)=(ba)orbaab=1(a+b)=(b+a)orb+aa+b=1

Also, it is important to recall that

ab=ab=ab

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: 25x2x210x+25.

Solution:

Begin by factoring the numerator and denominator.

25x2x210x+25=(5x)(5+x)(x5)(x5)=1(x5)(5+x)(x5)(x5)Oppositebinomialproperty  =1(x5)(5+x)(x5)(x5)Cancel.=x+5x5

Answer: x+5x5, where x5

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

x2+7x30x27x+12incorrect!x+10x4incorrect!2x1x1incorrect!

Try this! State the restrictions and simplify: x2x24x4x2.

Answer: 1x(2x+1), where x0,±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: x32x2y+4xy28y3x416y4. (Assume all denominators are nonzero.)

Solution:

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

x3+4xy22x2y8y3x416y4=x(x2+4y2)2y(x2+4y2)(x2+4y2)(x24y2)=(x2+4y2)(x2y)(x2+4y2)(x+2y)(x2y)

Next, cancel common factors.

=(x2+4y2)1(x2y)1(x2+4y2)(x+2y)(x2y)=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)=x22x+5, simplify f(x)f(3)x3.

Solution:

Begin by calculating f(3).

f(3)=(3)22(3)+5=96+5=3+5=8

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

f(x)f(3)x3=x22x+58x3=x22x3x3=(x+1)(x3)(x3)=x+1

Answer: x+1, where x3

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

f(x+h)f(x)h,     where    h0

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+2x21h=2x24xh2h2+1+2x21h=4xh2h2h=4x2h

Answer: 4x2h

Try this! Given f(x)=x2x1, simplify f(x+h)f(x)h.

Answer: 2x1+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 Q0 and S0, we have

PQRS=PRQS

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

Example 7

Given f(x)=9x225x5 and g(x)=x22x153x+5, find (fg)(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.

(fg)(x)=f(x)g(x)=9x225x5x22x153x+5=(3x+5)(3x5)x5(x5)(x+3)3x+5                 Factor.=(3x+5)(3x5)(x5)(x+3)(x5)(3x+5)      Cancel.=(3x5)(x+3)

Answer: (fg)(x)=(3x5)(x+3), where x5,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 Q0, R0, and S0, we have

PQ÷RS=PQSR=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+13x7x24x21 and g(x)=2x2+5x349x2, find (f/g)(x) and determine the restrictions.

Solution:

(f/g)(x)=f(x)÷g(x)=2x2+13x7x24x21÷2x2+5x349x2=2x2+13x7x24x2149x22x2+5x3Multiplybythereciprocalofthedivisor.=(2x1)(x+7)(x+3)(x7)(7+x)(7x)(2x1)(x+3)Factor.=(2x1)(x+7)(7+x)(1)(x7)(x+3)(x7)(2x1)(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 x3,12,±7

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

Example 9

Simplify: 4x216x2+3x÷2x+1x2+2x+127x42x2+x1. (Assume all denominators are nonzero.)

Solution:

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

4x216x2+3x÷2x+1x2+2x+127x42x2+x1=4x216x2+3xx2+2x+12x+127x42x2+x1=(2x+1)(2x1)3x(2x+1)(x+1)(x+1)(2x+1)27x4(2x1)(x+1)=(2x+1)(2x1)(x+1)(x+1)279x4x33x(2x+1)(2x+1)(2x1)(x+1)=9x3(x+1)(2x+1)

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

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

Answer: (f/g)(x)=1(3x1)2, where x5,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.01x23x+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.01x23x+1200x

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

C(100)=0.01(100)23(100)+1200(100)=100300+1200100=1000100=10.00C(200)=0.01(200)23(200)+1200(200)=400600+1200200=1000200=5.00C(300)=0.01(300)23(300)+1200(300)=900900+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)=x264x2+16x+64
    4. f(x)=x2+x20x225
    5. g(x)=94x22x25x+3
    6. g(x)=x3x29x26x+1
    7. g(x)=2x28x422x2+5x3
    8. g(x)=6x2+5x43x2+x4
    9. h(x)=x3+x2x1x2+2x+1
    10. h(x)=2x35x28x+202x29x+10

      State the restrictions and simplify the given rational expressions.

    1. 66x(2x5)18x3(2x5)2
    2. 26x4(5x+2)320x5(5x+2)
    3. x2+5x+6x25x14
    4. x28x+12x22x24
    5. 1x25x2+x6
    6. 49x23x28x+4
    7. 4x2+15x+99x2
    8. 6x2+13x5254x2
    9. x25x+4x3x216x+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(ab)29a3b(ab)
    3. a2b2a2+2ab+b2
    4. a22ab+b2a2b2
    5. 6x2xy6x27xy+y2
    6. yx2x34x2y+2xy2
    7. x2y22xy3x2y2xy32y4
    8. x4yx2y3x3y+2x2y2+xy3
    9. x3x2y+xy2y3x4y4
    10. y4x4x3+x2y+xy2+y3
    11. a2(b+c)2(a+b)2c2
    12. (a+b)2c2(a+c)2b2
    13. x3+y3x2+2xy+y2
    14. x3y+x2y2+xy3x3y3

      Given the function, simplify the rational expression.

    1. Given f(x)=x28, simplify f(x)f(5)x5.

    2. Given f(x)=x2+4x1, simplify f(x)f(2)x2.

    3. Given g(x)=x23x+1, simplify g(x)g(1)x+1.

    4. Given g(x)=x22x, simplify g(x)g(4)x+4.

    5. Given f(x)=4x2+6x+1, simplify f(x)f(12)2x1.

    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,whereh0.

    1. f(x)=5x3

    2. f(x)=32x

    3. f(x)=x23

    4. f(x)=x2+8x

    5. f(x)=x2x+5

    6. f(x)=4x2+3x2

    7. f(x)=ax2+bx+c

    8. f(x)=ax2+bx

    9. f(x)=x3+1

    10. f(x)=x3x+2

    Part B: Multiplying and Dividing Rational Functions

      Simplify the product fg and state its domain using interval notation.

    1. f(x)=52x4(x2)2, g(x)=(x2)312x5
    2. f(x)=46(2x1)315x6, g(x)=25x323(2x1)
    3. f(x)=10x3x2+4x+4, g(x)=x2450x4
    4. f(x)=25x246x5, g(x)=12x3x2+10x+25
    5. f(x)=53xx210x+25, g(x)=x26x+53x28x+5
    6. f(x)=14x26x2+3x, g(x)=12x24x24x+1

      Simplify the quotient f/g and state its domain using interval notation.

    1. f(x)=12x35(5x1)3, g(x)=6x225(5x1)4
    2. f(x)=7x2(x+9)(x8)2, g(x)=49x3(x+9)(x8)4
    3. f(x)=25x213x215x, g(x)=25x2+10x+1x35x2
    4. f(x)=x2x62x2+13x+15, g(x)=x26x+94x2+12x+9
    5. f(x)=x264x2, g(x)=2x2+19x+24
    6. f(x)=2x2+11x6, g(x)=36x2

      Multiply or divide as indicated, state the restrictions, and simplify.

    1. 14(x+12)25x345x42(x+12)3
    2. 27x620(x7)3(x7)554x7
    3. x26436x412x3x2+4x32
    4. 50x5x2+6x27x281125x3
    5. 2x2+7x+53x215x330x22x2+x10
    6. 3x2+14x52x2+11x+54x2+4x+16x2+x1
    7. x2+4x215x2+10x÷x26x+9x2+9x+14
    8. x2499x224x+16÷2x213x76x25x4
    9. 5x2+x64x27x15÷1x24x2+9x+5
    10. 6x28x849x2÷3x24x49x2+12x+4
    11. x2+4x12x22x15÷2x213x+186x231x+5
    12. 8x2+x925x21÷2x2x110x23x1

      Perform the operations and simplify. Assume all variable expressions in the denominator are nonzero.

    1. 112ab50a2(ab)2a2b26ba(ab)
    2. b2a2(ab)212a(ab)36a2b9ab(ab)a+b
    3. x3+y35xyx2y2x22xy+y225x2y(y+x)2
    4. 3xy2(2y+x)22x2+5xy+2y29x2x3+8y36xy2+3y3
    5. 2x+5x3x295x4÷2x2+15x+2525x5
    6. 5x215x9x243x220x3÷x33x2x2
    7. x2+5x50x2+5x14÷x225x249x2x2+3x70
    8. x2x564x24x3÷2x2+11x21259x24x212x+93x219x40
    9. 20x28x16x2+13x+6÷1100x23x2x210x12x23x+1
    10. 12x213x+1x2+18x+81÷(144x21)x2+14x+4512x211x1
    11. A manufacturer has determined that the cost in dollars of producing bicycles is given by C(x)=0.5x2x+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)=x220x+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(x100)+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,000p1p, where p represents the percentage of the area to be cleaned up (0p<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 1x2y2. Explain.

    2. Describe the restrictions to the rational expression 1x2+y2. Explain.

    3. Explain why x=5 is a restriction to 1x+5÷x5x.

    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)=x8x+8; Domain: (,8)(8,)

  3. g(x)=2x+3x1; Domain: (,1)(1,32)(32,)

  4. g(x)=2(x7)2x1; Domain: (,3)(3,12)(12,)

  5. h(x)=x1; Domain: (,1)(1,)

  6. 113x2(2x5); x0,52

  7. x+3x7; x2,7

  8. x+15x+6; x65,1

  9. 4x+33x; x±3

  10. 1x+4; x1,±4

  11. 14a(a+b)

  12. aba+b

  13. xxy

  14. xx+y

  15. 1x+y

  16. abca+bc

  17. x2xy+y2x+y

  18. x+5, where x5

  19. x4, where x1

  20. 2(x+2), where x12

  21. 5

  22. 2x+h

  23. 2x1+h

  24. 2ax+b+ah

  25. 3x2+3xh+h2

  1. (fg)(x)=13(x2)3x; Domain: (,0)(0,2)(2,)

  2. (fg)(x)=x25x(x+2); Domain: (,2)(2,0)(0,)

  3. (fg)(x)=1x5; Domain: (,1)(1,53)(53,5)(5,)

  4. (f/g)(x)=10x(5x1); Domain: (,0)(0,15)(15,)

  5. (f/g)(x)=x(5x1)2(5x+1); Domain: (,15)(15,0)(0,5)(5,)

  6. (f/g)(x)=x8x2(2x+3); Domain: (,8)(8,32)(32,0)(0,)

  7. 63xx+12; x12,0

  8. x83x(x4); x8,0,4

  9. 5(x+1); x52,0,2

  10. (x+7)25x(x3); x7,2,0,3

  11. 5x+6x3; x54,1,1,3

  12. (x+6)(6x1)(x+3)(2x9); x3,16,2,92,5

  13. 25a+b

  14. 5x(x2xy+y2)xy
  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