Unit 2, lesson 9

Cancellation and Excluded Values

Which factors you may cancel in a fraction, why the inputs that made the original denominator zero stay excluded afterwards, and how a zero numerator differs from a zero denominator.

  • Theory part 17
  • Practice part 18
  • Rewriting Expressions

Simplifying a fraction feels like tidying up, and most of the time it is. But the fraction x2−4x−2\frac{x^2 - 4}{x - 2} has no value at x=2x = 2, while its tidier form x+2x + 2 gives 44 there. Calculus lives exactly in that gap. A limit asks what happens near x=2x = 2, and the honest answer depends on knowing that the original expression still has a hole at x=2x = 2 after you simplify.

Key terms

Factor

Definition A polynomial FF is a factor of a polynomial EE when EE can be written as a product E=F⋅GE = F \cdot G for some polynomial GG. In a rational expression, the factors that matter are those of the whole numerator and of the whole denominator after each has been written as a single product.

In plain words A factor is something the whole expression is multiplied by. A term is something that is added. Only factors can later be cancelled.

Example Factoring gives

x2−5x+6=(x−2)(x−3),x^2 - 5x + 6 = (x - 2)(x - 3),

so x−2x - 2 and x−3x - 3 are factors. In x+3x + 3 the xx is a term, not a factor, because x+3x + 3 is a sum and not a product with xx as one piece.

Denominator and division by zero

Definition In a quotient AB\frac{A}{B} the expression BB is the denominator. Division by zero is undefined, so AB\frac{A}{B} has a value at a given input only when AA and BB both have values there and B≠0B \ne 0. There is no number cc with 0⋅c=50 \cdot c = 5, and every number cc satisfies 0⋅c=00 \cdot c = 0, which is why neither 50\frac{5}{0} nor 00\frac{0}{0} is assigned a value.

In plain words A zero in the denominator is never allowed, whatever the numerator is.

Example The expression

x+1x2−4\frac{x + 1}{x^2 - 4}

has denominator (x−2)(x+2)(x - 2)(x + 2), which is zero at x=2x = 2 and at x=−2x = -2. At x=3x = 3 it has the value 45\frac{4}{5}, but at x=2x = 2 it has no value at all.

Excluded value

Definition An excluded value of an expression is a real number at which the expression is not defined. For a rational expression P(x)Q(x)\frac{P(x)}{Q(x)} with polynomials PP and QQ, the excluded values are exactly the real zeros of the denominator QQ, found before any simplification.

In plain words Before you change anything, find every input that makes the denominator zero and write those inputs down.

Example For

x2−9x2−3x\frac{x^2 - 9}{x^2 - 3x}

the denominator factors as x(x−3)x(x - 3), so the excluded values are x=0x = 0 and x=3x = 3. The numerator plays no part in this decision.

Cancellation

Definition If C≠0C \ne 0 and B≠0B \ne 0, then

A⋅CB⋅C=AB.\frac{A \cdot C}{B \cdot C} = \frac{A}{B}.

Cancellation removes a factor CC that multiplies the entire numerator and the entire denominator, and it is valid only at inputs where C≠0C \ne 0. A term that is merely added in the numerator or denominator can never be cancelled.

In plain words You may cross out the same factor above and below, because dividing by a nonzero number and multiplying by it again changes nothing. You may not cross out pieces of sums.

Example Factor fully first.

x2−9x2−3x=(x−3)(x+3)x(x−3)=x+3x,x≠0, x≠3.\begin{aligned} \frac{x^2 - 9}{x^2 - 3x} &= \frac{(x - 3)(x + 3)}{x(x - 3)} \\[0.4em] &= \frac{x + 3}{x}, \\[0.4em] &x \ne 0, \ x \ne 3. \end{aligned}

The common factor x−3x - 3 cancels where it is not zero. Compare a tempting mistake. Crossing out the xx in x+6x+2\frac{x + 6}{x + 2} would give 33, yet at x=1x = 1 the expression equals 73\frac{7}{3}. The xx there is a term, not a factor.

Equivalent expressions on the original domain

Definition The original domain of an expression is the set of real inputs at which the expression, exactly as first written, has a real value. Two expressions are equivalent on a set DD when they have the same value at every input in DD. After cancellation the simplified formula is equivalent to the original on the original domain, and the excluded values of the original remain excluded. Writing a simpler formula does not add the inputs that were excluded before.

In plain words The simple formula is a faster way to compute the same values, but only at the inputs the original allowed. The missing inputs stay missing.

Example Let

f(x)=x2−4x−2,g(x)=x+2.f(x) = \frac{x^2 - 4}{x - 2}, \qquad g(x) = x + 2.

For every x≠2x \ne 2 the two agree, since x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2). Yet g(2)=4g(2) = 4 while f(2)f(2) is undefined. So f(x)=x+2f(x) = x + 2 for x≠2x \ne 2, and the graph of ff is the line y=x+2y = x + 2 with an open circle at (2,4)(2, 4).

xx1.91.91.991.99222.012.012.12.1
f(x)f(x)3.93.93.993.99undefined4.014.014.14.1

The values close in on 44 from both sides, which is the kind of fact a limit records, but ff itself never takes the value 44.

Zero numerator

Definition A quotient AB\frac{A}{B} equals 00 exactly when A=0A = 0 and B≠0B \ne 0. If both A=0A = 0 and B=0B = 0 at some input, the quotient is undefined there.

In plain words A zero on top gives the answer zero, as long as the bottom is not also zero. A zero on the bottom always means no value.

Example Take

x2−xx2−1=x(x−1)(x−1)(x+1).\frac{x^2 - x}{x^2 - 1} = \frac{x(x - 1)}{(x - 1)(x + 1)}.

At x=0x = 0 the numerator is 00 and the denominator is −1-1, so the value is 00. At x=1x = 1 both are 00, so the expression is undefined, even though the simplified form xx+1\frac{x}{x + 1} would give 12\frac{1}{2}. At x=−1x = -1 only the denominator is 00, so it is undefined there as well. The expression equals zero only at x=0x = 0.

Check yourself

  1. Simplify the expression below and list its excluded values.
2x2+6xx2−9\frac{2x^2 + 6x}{x^2 - 9}
Show the answer

The denominator (x−3)(x+3)(x - 3)(x + 3) gives the excluded values 33 and −3-3. Then

2x(x+3)(x−3)(x+3)=2xx−3,x≠3, x≠−3.\begin{aligned} \frac{2x(x + 3)}{(x - 3)(x + 3)} &= \frac{2x}{x - 3}, \\[0.4em] &x \ne 3, \ x \ne -3. \end{aligned}

The value −3-3 stays excluded even though its factor cancelled.

  1. Where is the expression below equal to zero, and where is it undefined?
x2−4xx2−16\frac{x^2 - 4x}{x^2 - 16}
Show the answer

It factors as x(x−4)(x−4)(x+4)\frac{x(x - 4)}{(x - 4)(x + 4)}. It is undefined at x=4x = 4 and x=−4x = -4. The numerator is zero at x=0x = 0 and x=4x = 4, but at x=4x = 4 the denominator is zero too. So the expression equals zero only at x=0x = 0.

  1. A classmate simplifies x+4x\frac{x + 4}{x} to 44 by crossing out xx. Show with one input that this is wrong.
Show the answer

At x=2x = 2 the expression equals 62=3\frac{6}{2} = 3, not 44. The xx in the numerator is a term of a sum, so it is not a common factor and cannot be cancelled.

How this lesson connects