Independent study guide

Cancelling Factors: Why the Missing Input Stays Missing

Learn why cancelling a factor preserves an excluded input and distinguish a function value from a limit, with a worked example and three self-checks for Concordia MATH 203 and McGill MATH 140.

Nablio · 7 minPublished September 11, 2026

Stuck on a step? Request a focused lesson.

Shared calculus foundations for Concordia MATH 203 and McGill MATH 140. Course sequences and classroom timing may differ.

You simplify a fraction, substitute a number, and obtain a perfectly ordinary answer. But was that number allowed in the original expression? This small algebra question becomes essential when calculus asks you to distinguish what a function does at an input from what it approaches near that input.

Cancellation uses division. Dividing the numerator and denominator by the same factor preserves the fraction only where that factor is nonzero. The habit to build is simple: record denominator restrictions before simplifying, and carry them beside the simplified expression.

The graph follows y = x + 3 with a hole at (2, 5). The limit as x approaches 2 is 5, although f(2) is undefined.
An open circle marks an excluded point, not the absence of a limit. The full reasoning appears below.

1. Keep the original domain

Consider f(x)=x2+x6x2f(x)=\frac{x^2+x-6}{x-2}. The denominator is zero at x=2x=2, so the original function is defined for every real input except 2. Two numbers with product 6-6 and sum 1 are 3 and 2-2. Factoring the numerator therefore gives (x+3)(x2)(x+3)(x-2). We can cancel the common factor only when x2x-2 is nonzero. For every permitted input, the fraction and x+3x+3 have the same output. The restriction is part of the simplified result, even though the new formula no longer visibly contains a denominator.

Worked example

f(x)=x2+x6x2=(x+3)(x2)x2=x+3,x2.\begin{aligned}f(x)&=\frac{x^2+x-6}{x-2}\\&=\frac{(x+3)(x-2)}{x-2}\\&=x+3,\qquad x\ne2.\end{aligned}f(3)=6f(3)=6. f(2)f(2) is undefined: the original denominator is zero.

Common mistake. Cancel factors, not terms in a sum. In x+3x\frac{x+3}{x}, there is no common factor xx to cancel. For x0x\ne0, this expression equals 1+3x1+\frac{3}{x}, not 3.

Try it yourself

Let p(x)=x29x+3p(x)=\frac{x^2-9}{x+3}. Simplify with its restriction, then find p(3)p(-3).

Show answer and reasoning

Factor x29x^2-9 as (x3)(x+3)(x-3)(x+3). Cancelling gives p(x)=x3p(x)=x-3, with x3x\ne-3. Thus p(3)p(-3) remains undefined. The simplified formula does not restore an input excluded by the original denominator.

2. A limit asks about nearby inputs

Return to f(x)=x2+x6x2f(x)=\frac{x^2+x-6}{x-2}. Although f(2)f(2) is undefined, f(x)f(x) follows x+3x+3 whenever x2x\ne2. As xx approaches 2 from either side, those outputs approach 5. Therefore its limit as xx approaches 2 is 5. Sample values illustrate the approach; the algebraic identity with x+3x+3 at every nearby permitted input explains it. A limit can exist even when the function has no value at the point being approached.

Worked example

For x=1.9x=1.9 and x=1.99x=1.99, the outputs are 4.94.9 and 4.994.99. For x=2.01x=2.01 and x=2.1x=2.1, the outputs are 5.015.01 and 5.15.1. At x=2x=2, the function is undefined.limx2f(x)=5.\lim_{x\to2}f(x)=5.This does not say that f(2)=5f(2)=5.

Common mistake. Direct substitution giving 00\frac{0}{0} does not determine a limit. It is not the number zero. Here, factoring reveals the behaviour near the excluded input.

Try it yourself

Let q(x)=x24x2x2q(x)=\frac{x^2-4}{x^2-x-2}. What restrictions remain after simplification, and what is its limit as xx approaches 2?

Show answer and reasoning

The denominator is (x2)(x+1)(x-2)(x+1), so exclude both 2 and 1-1. Factoring the numerator and cancelling gives x+2x+1\frac{x+2}{x+1}, still with both restrictions. Near 2, this expression approaches 43\frac{4}{3}. Cancellation has not restored the excluded input 2.

3. Filling the hole defines an extension

The graph of ff is the line y=x+3y=x+3 with a missing point at (2,5)(2,5). This is a removable discontinuity: we could define a new function that fills the hole. That extension would agree with ff at every input where ff is defined, while also assigning an output at 2. To make the extension continuous there, its value must match the limit. Assigning some different value leaves a mismatch between the point and the nearby graph.

Worked example

Original function: f(x)=x+3f(x)=x+3 for x2x\ne2; no value at 2. Continuous extension: r(x)=x+3r(x)=x+3 for every real xx, including r(2)=5r(2)=5.

Try it yourself

Define r(x)=x+3r(x)=x+3 for x2x\ne2 and r(2)=cr(2)=c. If c=0c=0, what are r(2)r(2) and its limit at 2? Which value of cc makes rr continuous there?

Show answer and reasoning

With c=0c=0, the function value is 0 but the limit is 5. Changing one output does not change the nearby values. Continuity requires the value to equal the limit, so choose c=5c=5.

Your next revision session

  • On your next rational-function problem, write the original restrictions first. Then keep three questions separate: What is the simplified formula? What is the value at the input? What is the limit near that input?
  • Keep a short record of domain mistakes. When correcting a problem, identify where a restriction was lost and rewrite the result with every restriction.

Official course outlines and descriptions

These sources establish course context. The exercises in this guide are original, and the courses are not presented as equivalent.

Connect these skills to your course

Work on the step you’re missing.

Tell us the subject and your preferred time. Nablio confirms the details by text or email.

Request a lesson