AP Precalculus · Topic 1.10 · Reading guide, about 5 min

Holes in rational function graphs

Spot holes from cancelled common factors, find their coordinates from the simplified function, and describe them with limits.

In one minute

Sometimes a rational function is missing exactly one point, as if someone poked a pinhole in the curve. The curve right around that point is otherwise unbroken. That missing point is a hole, also called a removable discontinuity.

A hole appears when the same factor sits in the numerator and the denominator and cancels. This topic shows you how to find where the hole is, how high it sits, and how to describe it with a limit.

Key terms

Hole
A single missing point on a graph at an input where the function is undefined but the outputs near it approach a finite number.
Removable discontinuity
Another name for a hole. The break could be repaired by defining one more output value at that input.
Common factor
A factor such as (x−3)(x-3) that appears in both the numerator and the denominator.
Simplified function
The function after every common factor is cancelled. It matches the original everywhere except at the cancelled inputs.
Limit at a point
The value the outputs approach as xx approaches an input aa, written lim⁡x→af(x)=L\lim_{x\to a}f(x)=L, whether or not f(a)f(a) exists.
Multiplicity condition
A hole at x=ax=a needs the numerator's multiplicity of (x−a)(x-a) to be at least the denominator's multiplicity.
Coordinates of a hole
The point (a,L)(a, L) where aa is the cancelled input and LL is the simplified function evaluated at aa.

Why cancelling creates a hole

Look at f(x)=(x−3)(x+2)(x−3)(x+3)f(x)=\frac{(x-3)(x+2)}{(x-3)(x+3)}. Plugging in x=3x=3 gives 00\frac{0}{0}, which is undefined, so 3 is not in the domain. But for every other xx, the factor (x−3)(x-3) cancels, leaving x+2x+3\frac{x+2}{x+3}. The graph of ff is therefore the graph of the simpler function with one point deleted.

The deleted point is a hole, not an asymptote, because nothing blows up. As xx gets close to 3, the numerator and denominator both shrink toward zero at the same rate, and their ratio settles at a fixed number. That is the difference from 1.9, where a leftover zero in the denominator forces the outputs to grow without bound.

Always factor completely before deciding. Writing x2−x−6x^2-x-6 as (x−3)(x+2)(x-3)(x+2) and x2−9x^2-9 as (x−3)(x+3)(x-3)(x+3) is the step that reveals the shared factor. Expanded forms hide it.

The multiplicity rule

Compare how many copies of (x−a)(x-a) the top and bottom have. If the numerator has at least as many as the denominator, the factor cancels fully from the bottom and you get a hole at x=ax=a. If the denominator has more, a copy remains in the bottom after cancelling and the result is a vertical asymptote.

For example, (x−1)2(x+2)x−1\frac{(x-1)^2(x+2)}{x-1} has two copies on top and one on the bottom, so it simplifies to (x−1)(x+2)(x-1)(x+2) with a hole at x=1x=1. The hole is at height (1−1)(1+2)=0(1-1)(1+2)=0, so the point (1,0)(1,0) is missing, and this is not a zero of the function because the function is undefined there. In contrast, x−1(x−1)2\frac{x-1}{(x-1)^2} has more on the bottom, so it keeps an asymptote at x=1x=1.

Hole or asymptote at a denominator zero x=ax=a
SituationResult at x=ax=a
Numerator and denominator both zero, numerator multiplicity at least as large as denominatorHole
Denominator zero with larger multiplicity than the numeratorVertical asymptote
Denominator zero, numerator not zeroVertical asymptote
Numerator zero, denominator not zeroZero (an xx-intercept)

Worked example: finding the hole

Find the hole, the vertical asymptote and the zero of f(x)=x2−x−6x2−9f(x)=\frac{x^2-x-6}{x^2-9}.

Step 1. Factor. The numerator is x2−x−6=(x−3)(x+2)x^2-x-6=(x-3)(x+2), since −3⋅2=−6-3\cdot2=-6 and −3+2=−1-3+2=-1. The denominator is x2−9=(x−3)(x+3)x^2-9=(x-3)(x+3), a difference of squares.

Step 2. Cancel the common factor (x−3)(x-3). The simplified function is x+2x+3\frac{x+2}{x+3} for x≠3x\ne3.

Step 3. The hole is at x=3x=3. Its height is the simplified function at 3: 3+23+3=56\frac{3+2}{3+3}=\frac{5}{6}. So the hole is at (3,56)\left(3,\frac{5}{6}\right).

Step 4. The leftover denominator factor (x+3)(x+3) gives a vertical asymptote at x=−3x=-3. The leftover numerator factor (x+2)(x+2) gives a zero at x=−2x=-2. Both degrees are 2 with leading terms x2x^2 over x2x^2, so the horizontal asymptote is y=1y=1.

Step 5. Check numerically. At x=3.01x=3.01: f=(0.01)(5.01)(0.01)(6.01)=5.016.01≈0.8336f=\frac{(0.01)(5.01)}{(0.01)(6.01)}=\frac{5.01}{6.01}\approx0.8336. Since 56≈0.8333\frac{5}{6}\approx0.8333, the outputs are closing in on 56\frac{5}{6} as x→3x\to3.

Step 6. State the limit: lim⁡x→3f(x)=56\lim_{x\to3}f(x)=\frac{5}{6}, even though f(3)f(3) does not exist.

Describing holes in limit notation and on a graph

The key fact about a hole is that the limit exists as a number while the function value does not. In the example, lim⁡x→3f(x)=56\lim_{x\to3}f(x)=\frac{5}{6} from both sides, and f(3)f(3) is undefined. You may also write the one-sided limits, which agree.

On a graph, a hole is drawn as an open circle. If a problem gives a separate value such as f(3)=1f(3)=1 for a piecewise function, the point would be drawn filled in elsewhere, but for a plain rational function, the point is simply absent.

A graphing tool usually does not show a hole clearly, so you find it by factoring, not by looking. Use a table of values near x=3x=3 to confirm the outputs approach 56\frac{5}{6}.

How it connects

  • Back to 1.8: a numerator zero that is also a denominator zero is not a zero of the function. It is a hole.
  • Back to 1.9: the same factoring decides whether a denominator zero becomes an asymptote or a hole, based on multiplicity.
  • Forward to 1.11: factored and standard forms are the tools that reveal common factors.
  • Forward to 1.12: shifting a graph moves its holes and asymptotes along with it.

Common mistakes

  • Plugging the hole's input into the original function for its height. That gives 00\frac{0}{0}. Use the simplified function.
  • Calling a cancelled factor's input a zero. It is not in the domain, so it cannot be a zero.
  • Forgetting to factor completely. If you do not factor, the common factor stays hidden and you miss the hole.
  • Treating a hole like an asymptote. The outputs near a hole stay finite, and the limit is a number.

How it shows up on the exam

  • You are given a rational formula and asked for the coordinates of any hole, including the height computed from the simplified expression.
  • A graph with an open circle is shown and you write a limit statement and explain why the function value differs from the limit.
  • A question asks you to write a possible rational function with a given hole, asymptote and zero, which requires building the factors on purpose.

Check yourself

  1. Find the coordinates of the hole in (x−2)(x+4)x−2\frac{(x-2)(x+4)}{x-2}.
  2. How can you tell from multiplicities whether (x−5)2(x−5)3\frac{(x-5)^2}{(x-5)^3} has a hole or an asymptote at x=5x=5?
  3. Why is the limit at a hole a number even though the function is undefined there?
  4. Build a rational function whose graph has a zero at x=4x=4, a hole at x=1x=1, and a vertical line x=−2x=-2 that it never reaches.

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.