Tutorials › Calculus I › Classifying Discontinuities in Rational Expressions

Continuity and the Intermediate Value Theorem · Tutorial 271 of 1495

Classifying Discontinuities in Rational Expressions

Use factorization and local limits to decide whether an excluded input creates a removable hole or an infinite discontinuity.

Beginner 9 min read

What You'll Learn

  • Find the real inputs excluded from a rational expression’s domain.
  • Use factorization to identify shared numerator and denominator factors.
  • Classify an excluded input by comparing factor multiplicities.
  • Calculate the finite limit at a removable discontinuity.
  • Determine when cancellation leaves a denominator factor and the function is unbounded.
  • Use one-sided signs to describe behavior near an infinite discontinuity.

Why Factor Before Classifying

A rational expression is a quotient of polynomials. Its denominator determines which real inputs are excluded from its domain. But an excluded input does not always produce the same kind of discontinuity: the function may approach a finite value, or its values may become unbounded near that input.

Factoring the numerator and denominator makes the distinction visible. A shared factor may cancel when the input is not its zero, producing a simpler formula that reveals the function’s behavior nearby. The original expression, however, remains undefined at any input that made its original denominator zero. Cancellation does not put that input back into the original domain.

Key idea: First find every real zero of the original denominator. Then factor and cancel shared factors to determine the behavior near each excluded input. A finite limit indicates a removable discontinuity; a denominator factor that remains after cancellation indicates an infinite discontinuity.

Domain and Discontinuity Types

For a rational expression \(f(x)=P(x)/Q(x)\), where \(P\) and \(Q\) are polynomials and \(Q\) is not the zero polynomial, the domain consists of all real \(x\) for which \(Q(x)\ne 0\). Thus, the real zeros of the original denominator are precisely the excluded inputs to check.

Definition: Suppose \(a\) is excluded from the domain of a function. The discontinuity at \(a\) is removable if the finite limit \(\lim_{x\to a}f(x)\) exists. The function can then be extended continuously to \(a\) by assigning it that limit. It is an infinite discontinuity if the function is unbounded near \(a\); one or both one-sided limits may be infinite.

For rational expressions, these types can be distinguished by counting how many copies of the factor \(x-a\) occur in the numerator and denominator. A factor’s multiplicity is the number of times it occurs. For example, \((x-a)^3\) has multiplicity \(3\) at \(a\).

The Multiplicity Test

Suppose the denominator vanishes at \(a\). Factor the numerator and denominator near \(a\) in the form

$$ P(x)=(x-a)^m p(x), \qquad Q(x)=(x-a)^n q(x), $$

where \(p(a)\ne 0\), \(q(a)\ne 0\), and \(n\ge 1\). The integers \(m,n\ge 0\) count the multiplicities of the factor \(x-a\) in the numerator and denominator. For \(x\ne a\), cancel the shared factors:

$$ f(x) = \frac{(x-a)^m p(x)}{(x-a)^n q(x)} = \frac{p(x)}{q(x)}(x-a)^{m-n}. $$

This equality applies near \(a\) only at inputs where the original expression is defined. In particular, it does not define the original function at \(a\).

Theorem: At an excluded input \(a\), compare the numerator multiplicity \(m\) and denominator multiplicity \(n\). If \(m\ge n\), the discontinuity is removable. If \(m<n\), a denominator factor remains after cancellation and the discontinuity is infinite.

More precisely, if \(m=n\), the limit is \(p(a)/q(a)\). If \(m>n\), the remaining numerator factor forces the limit to be \(0\). If \(m<n\), the function contains a nonzero factor times \(1/(x-a)^{n-m}\), so its absolute value grows without bound as \(x\) approaches \(a\). The parity of \(n-m\), together with the sign of \(p(a)/q(a)\), determines the one-sided signs.

Why the Multiplicity Test Works

Here is the justification. Since \(p\) and \(q\) are polynomials, they are continuous, and \(q(a)\ne 0\). Therefore, near \(a\), the ratio \(p(x)/q(x)\) approaches the finite nonzero number \(p(a)/q(a)\). The only remaining behavior comes from the power of \(x-a\).

1
Cancel the shared factor away from \(a\).
For \(x\ne a\), divide numerator and denominator by the smaller of the two powers of \(x-a\). This gives \(\frac{p(x)}{q(x)}(x-a)^{m-n}\).
2
Evaluate the remaining factors near \(a\).
Because \(p(a)\ne 0\) and \(q(a)\ne 0\), the ratio \(p(x)/q(x)\) approaches the finite nonzero value \(p(a)/q(a)\).
3
Use the remaining power.
If \(m-n\ge 0\), the power has a finite limit, so the whole expression does too. If \(m-n<0\), it is a reciprocal positive power of \(x-a\), whose absolute value grows without bound.

This also explains why cancellation alone is not enough to declare a hole. If the denominator has more copies of \(x-a\) than the numerator, cancellation reduces the denominator’s multiplicity but does not eliminate it. The function is still unbounded near \(a\).

Worked Examples

Worked Example: One Removable Input and One Infinite Input

Classify the discontinuities of

$$ f(x)=\frac{x^2-1}{x^2-3x+2}. $$

First factor the numerator and denominator:

$$ x^2-1=(x-1)(x+1), \qquad x^2-3x+2=(x-1)(x-2). $$

The original denominator is zero at \(x=1\) and \(x=2\), so both inputs are excluded. For \(x\ne 1,2\), cancel the shared factor:

$$ f(x)=\frac{(x-1)(x+1)}{(x-1)(x-2)} =\frac{x+1}{x-2}. $$

At \(x=1\), the remaining denominator is nonzero, and the limit is

$$ \lim_{x\to 1}f(x)=\frac{1+1}{1-2}=\frac{2}{-1}=-2. $$

Thus \(x=1\) is removable; assigning the value \(-2\) would fill the hole. At \(x=2\), the simplified numerator approaches \(3\), while the denominator approaches zero. For \(x<2\) close to \(2\), \(x+1>0\) and \(x-2<0\), so \(f(x)\to-\infty\). For \(x>2\) close to \(2\), both are positive, so \(f(x)\to+\infty\). Thus \(x=2\) is an infinite discontinuity.

Check: the simplified formula agrees with the original wherever the original is defined, and its denominator still vanishes at \(2\) but not at \(1\). The two classifications match those facts.

Worked Example: Partial Cancellation Still Leaves an Infinite Discontinuity

Classify the excluded input of

$$ g(x)=\frac{(x-3)^2(x+2)}{(x-3)^3(x-1)}. $$

The original denominator vanishes at \(x=3\) and \(x=1\). Focus first on \(x=3\). The numerator has multiplicity \(2\) there, while the denominator has multiplicity \(3\). Cancel two copies of \(x-3\), valid for \(x\ne 3\):

$$ g(x)=\frac{x+2}{(x-3)(x-1)}. $$

One factor \(x-3\) remains in the denominator. Near \(3\), \(x+2\) is positive and \(x-1\) is positive. The remaining factor \(x-3\) is negative to the left and positive to the right. Therefore,

$$ \lim_{x\to 3^-}g(x)=-\infty, \qquad \lim_{x\to 3^+}g(x)=+\infty. $$

So \(x=3\) is an infinite discontinuity, not a removable one. Check: the numerator had two copies of the vanishing factor and the denominator had three; after cancellation, exactly one denominator copy remains, consistent with the one-sided behavior.

Worked Example: Classifying Every Excluded Input

Consider

$$ h(x)=\frac{(x-2)^2(x+1)}{(x-2)^2(x+3)}. $$

The original denominator is zero at \(x=2\) and \(x=-3\); both are excluded. For \(x\ne 2,-3\), cancel the shared squared factor:

$$ h(x)=\frac{x+1}{x+3}. $$

At \(x=2\), the simplified denominator is nonzero, so

$$ \lim_{x\to 2}h(x)=\frac{2+1}{2+3}=\frac{3}{5}. $$

Thus \(x=2\) is removable. At \(x=-3\), the simplified numerator approaches \(-2\) and the denominator approaches zero. For \(x<-3\) close to \(-3\), both \(x+1\) and \(x+3\) are negative, so their quotient is positive and grows without bound. For \(x>-3\) close to \(-3\), \(x+1<0\) and \(x+3>0\), so the quotient is negative and unbounded. Hence

$$ \lim_{x\to -3^-}h(x)=+\infty, \qquad \lim_{x\to -3^+}h(x)=-\infty. $$

Check: cancellation removes the factor causing the exclusion at \(2\), giving the finite limit \(3/5\); no factor \(x+3\) cancels, so the expression remains unbounded near \(-3\).

A Common Mistake: Restoring an Excluded Input

A frequent error is to cancel a factor and then treat the simplified formula as if it were the original function on its entire domain. For example, after simplifying \((x-1)(x+1)/((x-1)(x-2))\) to \((x+1)/(x-2)\), one might claim that the original expression is defined at \(x=1\), because the simplified denominator is not zero there. That claim is wrong: the original denominator \((x-1)(x-2)\) equals zero at \(1\).

$$ \text{Original domain: } x\ne 1,2, \qquad \text{simplified formula's domain: } x\ne 2. $$

The formulas agree at every input in the original domain, but their domains differ. At \(x=1\), the original function is undefined and has a removable discontinuity; the simplified formula gives the value \(2/(-1)=-2\), which is the value that would fill the hole. Keep the original domain when classifying discontinuities.

Why This Classification Is Useful

Factoring provides a systematic way to read local behavior from an algebraic expression. It identifies every excluded input, tells whether cancellation removes all vanishing denominator factors, and supplies the finite limit when a hole is removable. When a factor remains in the denominator, one-sided signs further describe whether values rise or fall without bound.

For each real zero \(a\) of the original denominator, use this checklist:

  1. Record \(a\) as excluded from the original domain.
  2. Factor the numerator and denominator and count the multiplicities of \(x-a\).
  3. If the numerator multiplicity is at least as large, cancel and evaluate the finite limit.
  4. If the denominator multiplicity is larger, identify the remaining denominator power and, when useful, check one-sided signs.
  5. State the classification without changing the original domain.

Check Your Understanding

For each question, identify the original excluded inputs before using cancellation.

  1. For \(\frac{x^2-4}{x^2-x-2}\), factor the expression and classify each excluded input.
  2. For \(\frac{(x+1)^3}{(x+1)^2(x-2)}\), classify the excluded input \(x=-1\). Is the discontinuity removable or infinite?
  3. For \(\frac{(x-4)^2}{(x-4)^5}\), how many factors of \(x-4\) remain in the denominator after cancellation, and what type of discontinuity occurs at \(4\)?
  4. In a rational expression, the numerator and denominator both contain \((x-a)^2\), and the denominator has one additional factor of \(x-a\). What does the multiplicity test imply at \(a\)?
  5. Why does canceling a factor not, by itself, add its zero to the domain of the original expression?

Test yourself: Calculus I final exam practice

Ready to check what you know? Work a full-length practice final, then open the complete worked solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers the full Calculus AB & BC curriculum (the core of Calculus I and II): full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon