Math Core

Lesson 6.3 · Rational Functions

Multiplying and dividing rational expressions

A rational expression is a fraction of polynomials, such as x2−4x+5\dfrac{x^2 - 4}{x + 5}. You work with these exactly the way you work with numerical fractions: simplify by canceling common factors, multiply straight across, and divide by multiplying by the reciprocal. The one new skill is factoring, and the one new danger is dividing by zero.

Simplifying: cancel factors, not terms

You simplify 1218\dfrac{12}{18} by writing both parts as products and canceling the common factor: 6⋅26⋅3=23\dfrac{6 \cdot 2}{6 \cdot 3} = \dfrac{2}{3}. Rational expressions work the same way, so the first step is always to factor completely.

Simplifying a rational expression

  1. Factor the numerator and the denominator completely.
  2. Note the excluded values: every xx that makes the original denominator zero.
  3. Cancel factors that appear in both the numerator and the denominator.

The result is in simplest form when the numerator and denominator have no common factor other than 11.

Worked example: Simplifying and excluded values

Simplify x2−4x2+5x+6\dfrac{x^2 - 4}{x^2 + 5x + 6} and state the excluded values.

Factor both parts:

x2−4x2+5x+6=(x−2)(x+2)(x+2)(x+3).\frac{x^2 - 4}{x^2 + 5x + 6} = \frac{(x - 2)(x + 2)}{(x + 2)(x + 3)}.

The original denominator is zero at x=−2x = -2 and x=−3x = -3, so those are excluded. Cancel (x+2)(x + 2):

x−2x+3,x≠−2,−3.\frac{x - 2}{x + 3}, \qquad x \ne -2, -3.

Even though (x+2)(x + 2) is gone, x=−2x = -2 is still excluded. The original expression was never defined there. (In graphing terms, that's a hole.)

Common mistake

You may cancel only factors (things multiplied), never terms (things added). In x+6x+2\dfrac{x + 6}{x + 2} you cannot cancel the xx's to get 62=3\dfrac{6}{2} = 3. Test with x=2x = 2: the original is 84=2\dfrac{8}{4} = 2, not 33. If the numerator and denominator aren't written as products, factor first or leave the fraction alone.

Opposite factors

The factors a−ba - b and b−ab - a are opposites: b−a=−(a−b)b - a = -(a - b). So they cancel to −1-1, not to 11.

Worked example: Canceling opposites

Simplify 5−xx2−25\dfrac{5 - x}{x^2 - 25}.

Factor the denominator and rewrite 5−x5 - x as −(x−5)-(x - 5):

5−xx2−25=−(x−5)(x−5)(x+5)=−1x+5,x≠5,−5.\frac{5 - x}{x^2 - 25} = \frac{-(x - 5)}{(x - 5)(x + 5)} = \frac{-1}{x + 5}, \qquad x \ne 5, -5.

Multiplying

To multiply fractions you multiply numerators and multiply denominators. With rational expressions, it is much easier to factor and cancel before you multiply. Multiplying first creates big polynomials that you'd have to factor again.

ab⋅cd=acbd\frac{a}{b} \cdot \frac{c}{d} = \frac{ac}{bd}

Worked example: Multiplying rational expressions

Multiply x+3x−1⋅x2−1x2+6x+9\dfrac{x + 3}{x - 1} \cdot \dfrac{x^2 - 1}{x^2 + 6x + 9}.

Factor everything:

x+3x−1⋅(x−1)(x+1)(x+3)2.\frac{x + 3}{x - 1} \cdot \frac{(x - 1)(x + 1)}{(x + 3)^2}.

Now cancel one (x+3)(x + 3) and the (x−1)(x - 1). Any factor in any numerator may cancel with a matching factor in any denominator:

=x+1x+3,x≠1,−3.= \frac{x + 1}{x + 3}, \qquad x \ne 1, -3.

Dividing

Dividing by a fraction means multiplying by its reciprocal:

ab÷cd=ab⋅dc.\frac{a}{b} \div \frac{c}{d} = \frac{a}{b} \cdot \frac{d}{c}.

Flip only the second fraction, then multiply as before.

Worked example: Dividing rational expressions

Divide x2−252x÷x+54x2\dfrac{x^2 - 25}{2x} \div \dfrac{x + 5}{4x^2}.

Flip the divisor and factor:

(x−5)(x+5)2x⋅4x2x+5.\frac{(x - 5)(x + 5)}{2x} \cdot \frac{4x^2}{x + 5}.

Cancel (x+5)(x + 5), and simplify 4x22x=2x\dfrac{4x^2}{2x} = 2x:

=2x(x−5),x≠0,−5.= 2x(x - 5), \qquad x \ne 0, -5.

Why is x=−5x = -5 excluded? It made the numerator of the divisor zero, and dividing by 04x2=0\dfrac{0}{4x^2} = 0 is undefined.

In a division problem, the excluded values come from three places: the denominator of the first fraction, the denominator of the second fraction, and the numerator of the second fraction (because it becomes a denominator after flipping).

Tip

Check any simplification by plugging in a number that is not excluded. For the division above, try x=1x = 1. Original: −242÷64=−12⋅46=−8\dfrac{-24}{2} \div \dfrac{6}{4} = -12 \cdot \dfrac{4}{6} = -8. Simplified: 2(1)(1−5)=−82(1)(1 - 5) = -8. They agree.

Practice

Practice 1

Simplify x2−9x2−x−6\dfrac{x^2 - 9}{x^2 - x - 6}.

Practice 2

What are the excluded values of x2−9x2−x−6\dfrac{x^2 - 9}{x^2 - x - 6}?

Separate answers with commas, e.g. 2, -5

Practice 3

Multiply x+4x−2⋅x2−4x2+8x+16\dfrac{x + 4}{x - 2} \cdot \dfrac{x^2 - 4}{x^2 + 8x + 16}.

Practice 4

Simplify 7−xx2−49\dfrac{7 - x}{x^2 - 49}.

Practice 5

Divide x2−163x÷x−46x3\dfrac{x^2 - 16}{3x} \div \dfrac{x - 4}{6x^3}.

Practice 6

The quotient x2+x−12x2−9÷x+4x+3\dfrac{x^2 + x - 12}{x^2 - 9} \div \dfrac{x + 4}{x + 3} simplifies to a constant (for all allowed xx). What is that constant?

Enter a number. Fractions like 3/4 and sqrt(2) are OK.

Practice 7

Find every value of xx excluded from x+2x−1÷x−3x+4\dfrac{x + 2}{x - 1} \div \dfrac{x - 3}{x + 4}.

Separate answers with commas, e.g. 2, -5

Practice 8

Simplify 2x2+5x−3x2−9⋅x−34x−2\dfrac{2x^2 + 5x - 3}{x^2 - 9} \cdot \dfrac{x - 3}{4x - 2}.