Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Precalculus · Unit 1 · Step-Through Animation

Rational Functions and Holes

A Gap Exactly One Point Wide

You'll learnto tell a hole from a vertical asymptote, and to read the hole’s two coordinates.

A rational function can refuse an input in two very different ways. Sometimes the graph is torn in half; sometimes only a single point is missing. Which one you get is decided by whether the shared factors cancel. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · COUNTING COPIES · HOLE VERSUS WALL · DOMAIN DEBTS · v4

shared factors cancel to a hole · a lone factor below makes a wall
Before you start
What you're looking at
The line y = x + 2 with a single point lifted out at (2, 4).
The question
Why is one excluded input just a missing dot while another tears the graph?
Step 1 / 12

Read all 12 steps as text
Step 1

One point is missing from this line

This graph is the straight line \(y = x + 2\), and at almost every input it behaves like one. At \(x = 2\) there is nothing at all — a single point lifted out.

A gap one point wide is a strange thing for a graph to have. Where does it come from?

Step 2

The formula asks for zero over zero

The graph came from \(f(x) = \dfrac{x^2 - 4}{x - 2}\). Factor the top and it reads \(\dfrac{(x-2)(x+2)}{x-2}\).

Put \(x = 2\) in and both floors vanish: the top is 0 and the bottom is 0. The fraction has no answer to give, which is why the point is missing.

Step 3

Matching copies cancel to leave a hole

Count the copies of \((x-2)\). There is one upstairs and one downstairs, so the numerator’s supply matches the denominator’s demand exactly and every downstairs copy cancels.

What is left is the reduced form \(x + 2\). Near \(x = 2\) the function behaves exactly like that line, so nothing blows up — the graph is simply missing the one point where the original formula refuses to answer.

A shared zero gives a hole when the numerator carries at least as many copies as the denominator.

Step 4

The outputs close in on a height

Walk the inputs in and the claim becomes concrete: \(f(1.9) = 3.9\), \(f(1.99) = 3.99\), \(f(2.1) = 4.1\). The outputs close in on 4 from both sides, calmly, while no input ever produces 4.

That is the difference between a hole and an asymptote in one picture: these values settle. They do not run away.

Step 5

A hole is a point, so it has two numbers

Holes get quoted as a single number far too often. A hole is a point, and points have two coordinates.

The x-coordinate is the canceled input. The y-coordinate is the reduced form evaluated there: \(x + 2\) at \(x = 2\) gives 4. So the hole sits at \((2,\,4)\).

Substituting into the original is exactly what does not work — that hands you \(0/0\) again, which is the reason the hole exists.

Step 6

One function, a puncture and a wall

Now a function that carries both kinds of break: \(g(x) = \dfrac{(x-3)(x+5)}{(x-3)(x-1)}\).

Two inputs are excluded here, \(x = 3\) and \(x = 1\), and the graph treats them completely differently. One is a missing dot you would struggle to spot. The other is the dashed line the curve runs away from.

Step 7

Shared cancels to a hole, alone to a wall

Read the factors. \((x-3)\) sits on both floors and cancels, so \(x = 3\) is a hole, at the reduced form’s height \(\dfrac{3+5}{3-1} = 4\).

\((x-1)\) sits downstairs only, with nothing upstairs to cancel it. As the inputs close in on 1 the denominator shrinks toward zero while the numerator does not, so the outputs run away: a vertical asymptote.

Step 8

Bounded and settling, or running away

Approach each excluded input and the difference is unmistakable.

Near the hole at \(x = 3\) the outputs stay bounded and settle toward 4 from both sides. A single dot dropped into the gap would repair the picture — though dropping it in builds a new function, not this one.

Near the asymptote at \(x = 1\) at least one side grows without bound, and no dot repairs that.

Which of the two you have reads the same from either side. The sign of the blow-up does not, so check left and right separately: an asymptote can send both sides to \(+\infty\), both to \(-\infty\), or one each way.

\(\dfrac{1}{(x-1)^{2}}: \text{both sides} \to +\infty \qquad \dfrac{1}{x-1}: \;\to -\infty \text{ from the left}, \;+\infty \text{ from the right}\)
Step 9

Canceling does not buy back the input

Back to \(f\). Canceling gave the tidy formula \(x + 2\), so is that the same function?

It is not. The bare expression \(x + 2\) cheerfully returns 4 at \(x = 2\); the fraction refuses, because its formula demands \(0/0\) there. They agree at every other input, and disagree at exactly one — which is enough to make them different functions.

Step 10

Carry the restriction when you cancel

Canceling a shared factor produces a simpler formula for the same function on the same domain. It is a change of notation, not a change of function, and it cannot hand back an input the original never accepted.

\(f(x) = x + 2, \quad x \neq 2\)

Write the restriction down every time. A tidied formula that quietly drops it has claimed an input the function never had.

Step 11

Cancel whole factors, never single terms

Canceling is legal only on factors: whole multiplied pieces of the top and the bottom. Slashing an \(x^2\) against an \(x\), or a 9 against a 3, term by term, invents a brand new function unrelated to the old one.

One input settles any doubtful case. Take \(\dfrac{x^2+5}{x+5}\) at \(x = 5\): the true value is \(\dfrac{25+5}{5+5} = 3\), while slashing the \(x^2\) against the \(x\) would claim 5.

Three is not five, so the slash was not algebra. Terms joined by \(+\) are not cancellable pieces, however tempting the symbols look.

Step 12

Factor first, then read each bad input

Factor both floors, then ask one question of every excluded input: is it a zero of both?

Denominator only → vertical asymptote. Shared, and the copies cancel → hole, sitting at the reduced form’s height there.

Then pay the two standing debts: quote the hole as a point, with both coordinates, and carry the domain restriction into whatever tidied formula you write down.

Next, Topic 1.11 rewrites the same function in several equivalent forms and asks which one answers the question in front of you.