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.

1. Keep the original domain
Consider . The denominator is zero at , so the original function is defined for every real input except 2. Two numbers with product and sum 1 are 3 and . Factoring the numerator therefore gives . We can cancel the common factor only when is nonzero. For every permitted input, the fraction and 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
. is undefined: the original denominator is zero.
Common mistake. Cancel factors, not terms in a sum. In , there is no common factor to cancel. For , this expression equals , not 3.
Try it yourself
Let . Simplify with its restriction, then find .
Show answer and reasoning
Factor as . Cancelling gives , with . Thus remains undefined. The simplified formula does not restore an input excluded by the original denominator.
2. A limit asks about nearby inputs
Return to . Although is undefined, follows whenever . As approaches 2 from either side, those outputs approach 5. Therefore its limit as approaches 2 is 5. Sample values illustrate the approach; the algebraic identity with 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 and , the outputs are and . For and , the outputs are and . At , the function is undefined.This does not say that .
Common mistake. Direct substitution giving does not determine a limit. It is not the number zero. Here, factoring reveals the behaviour near the excluded input.
Try it yourself
Let . What restrictions remain after simplification, and what is its limit as approaches 2?
Show answer and reasoning
The denominator is , so exclude both 2 and . Factoring the numerator and cancelling gives , still with both restrictions. Near 2, this expression approaches . Cancellation has not restored the excluded input 2.
3. Filling the hole defines an extension
The graph of is the line with a missing point at . This is a removable discontinuity: we could define a new function that fills the hole. That extension would agree with at every input where 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: for ; no value at 2. Continuous extension: for every real , including .
Try it yourself
Define for and . If , what are and its limit at 2? Which value of makes continuous there?
Show answer and reasoning
With , 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 .
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