How To Find The Holes In A Graph

8 min read

A hole in a graph is a single missing point where a function is undefined, even though the surrounding curve behaves as if that point almost belongs there. In algebra, this usually appears in rational functions, and learning how to find the holes in a graph means factoring the numerator and denominator, identifying common factors, and then calculating the missing y-value. The idea sounds technical at first, but it becomes much simpler once you see holes as “canceled factors” that leave behind a tiny gap in an otherwise smooth curve.

What a Hole in a Graph Actually Is

A hole, also called a removable discontinuity, occurs when both the numerator and denominator of a rational function equal zero at the same x-value. That creates an undefined point. On the flip side, unlike a vertical asymptote, the graph does not shoot off toward infinity at that point. Instead, the curve approaches a specific location and leaves a small open circle there.

It sounds simple, but the gap is usually here.

To give you an idea, consider:

[ f(x)=\frac{x^2-4}{x-2} ]

At first glance, (x=2) makes the denominator zero, so the function is undefined there. But the numerator also becomes zero at (x=2). If you factor the numerator, you get:

[ f(x)=\frac{(x-2)(x+2)}{x-2} ]

The factor ((x-2)) cancels, leaving (x+2). Worth adding: the simplified function is defined at (x=2), but the original function is not. That means the graph has a hole at (x=2).

[ 2+2=4 ]

So the hole is at ((2,4)).

Step-by-Step: How to Find the Holes in a Graph

1. Start with a rational function

Holes are most commonly found in rational functions, which have the form:

[ f(x)=\frac{P(x)}{Q(x)} ]

where (P(x)) and (Q(x)) are polynomials and (Q(x)\neq 0). If the function is not rational, the same idea may still apply in more advanced contexts, but factoring is usually the key tool No workaround needed..

2. Factor the numerator completely

Factor (P(x)) into linear and irreducible quadratic factors. For example:

[ x^2-5x+6=(x-2)(x-3) ]

Factoring reveals where the numerator equals zero. Those x-values are potential candidates for holes, but they are not holes by themselves.

3. Factor the denominator completely

Do the same for (Q(x)). For example:

[ x^2-4=(x-2)(x+2) ]

The denominator’s factors tell you where the function is undefined. Any factor that appears in both the numerator and denominator deserves attention.

4. Identify common factors

Compare the factored numerator and denominator. A common factor such as ((x-a)) means that (x=a) may create a hole. For instance:

[ f(x)=\frac{(x-1)(x+3)}{(x-1)(x-2)} ]

The factor ((x-1)) appears in both parts, so (x=1) is a candidate for a hole And that's really what it comes down to..

5. Cancel the common factor and check what remains

Cancel the shared factor:

[ f(x)=\frac{x+3}{x-2} ]

After canceling, ask a crucial question: **Does the denominator still equal zero at that x-value?Even so, ** If the canceled factor disappears completely from the denominator, you have a hole. If the denominator still has a factor that makes it zero, you may have a vertical asymptote instead.

In the example above, after canceling ((x-1)), the denominator is (x-2). At (x=1), the denominator is not zero. So (x=1) is a hole, not an asymptote.

6. Find the y-coordinate of the hole

Substitute the x-value into the simplified function, not the original one. For the example:

[ f(x)=\frac{x+3}{x-2} ]

At (x=1):

[ f(1)=\frac{1+3}{1-2}=\frac{4}{-1}=-4 ]

So the hole is at ((1,-4)) But it adds up..

7. Plot the hole as an open circle

On a graph, a hole is shown as an open circle at the missing

point. Use a hollow dot rather than a filled one, and label it with its coordinates if space allows. Everything else about the graph comes from the simplified function, so the two branches approach the hole from either side but never actually touch it The details matter here..

Holes vs. Vertical Asymptotes

Students confuse these two features constantly, yet they behave in completely opposite ways:

Feature Cause Behavior near it
Hole A factor that cancels completely Function is undefined at one point only; the limit exists
Vertical asymptote A factor that remains in the denominator Function grows without bound; the limit does not exist

The test is simple: cancel everything you can, then evaluate. Even so, if the simplified denominator is zero, you have an asymptote. If it is nonzero, you have a hole.

A More Complete Example

Consider:

[ g(x)=\frac{x^2-9}{x^2-5x+6} ]

Factor both parts:

[ g(x)=\frac{(x-3)(x+3)}{(x-3)(x-2)} ]

Cancel ((x-3)):

[ g(x)=\frac{x+3}{x-2}, \qquad x\neq 3 ]

At (x=3), the simplified denominator equals (1), not zero, so there is a hole. Its y-coordinate is:

[ \frac{3+3}{3-2}=6 ]

The hole is at ((3,6)). Now, meanwhile, (x=2) still makes the denominator zero, so (x=2) is a vertical asymptote. One function, two different features — and the factoring step is what separates them.

Watch Out for Repeated Factors

If a factor appears twice in the numerator but only once in the denominator, only one copy cancels. For example:

[ h(x)=\frac{(x-1)^2}{(x-1)(x+2)}=\frac{x-1}{x+2}, \qquad x\neq 1 ]

Here (x=1) is still a hole, located at:

[ \frac{1-1}{1+2}=0 ]

So the hole sits at ((1,0)), on the x-axis. Never cancel "extra" copies — cancel only one matching pair at a time Took long enough..

Common Mistakes

  • Canceling terms instead of factors. You cannot cancel (x) from (x+2). Only common factors may be divided out.
  • Forgetting the domain restriction. Always note (x\neq

3. Remember the Domain Restriction

When you cancel a factor, you are temporarily removing it from the algebraic expression, but the original function is still undefined at the cancelled value. Practically speaking, in other words, the simplified form describes the same graph except at the point where the factor was removed. Practically speaking, always write the domain restriction explicitly, e. g.

[ f(x)=\frac{(x-1)(x+2)}{(x-1)(x-3)},\qquad x\neq 1,3 ]

Even though the factor ((x-1)) cancels, the function still has a hole at (x=1). Notating the restriction prevents you from mistakenly plotting a filled point or treating the hole as a regular point.


4. Sketching the Complete Graph

Putting everything together, the process for graphing a rational function with holes and asymptotes can be broken into a few clear steps:

  1. Factor numerator and denominator completely.
  2. Cancel any common factors, keeping track of the values that were cancelled (these will become holes).
  3. Identify vertical asymptotes from the factors that remain in the denominator after cancellation.
  4. Find horizontal or oblique asymptotes using degree comparison.
  5. Locate holes by substituting the cancelled (x)-values into the simplified (post‑cancellation) function.
  6. Plot the asymptotes as dashed lines, the hole as an open circle, and draw the two branches using the simplified function, making sure they approach but never cross the asymptotes.

A quick checklist can help avoid common slips:

✅ Check
Factorisation Both numerator and denominator are fully factored.
Domain Write (x\neq) for every cancelled factor.
Hole coordinates Plug cancelled (x) into the simplified function.
Asymptotes Any remaining denominator zero → vertical asymptote. And
Cancelling Only identical factors are removed, one copy per match.
End behavior Compare degrees for horizontal/oblique asymptote.

5. Additional Examples

Example A – A Hole and a Horizontal Asymptote

[ f(x)=\frac{x^{2}-4x+3}{x^{2}-5x+6} ]

Factor:

[ f(x)=\frac{(x-1)(x-3)}{(x-2)(x-3)} ]

Cancel ((x-3)):

[ f(x)=\frac{x-1}{x-2},\qquad x\neq 3 ]

  • Vertical asymptote: (x=2) (denominator zero after cancellation).
  • Horizontal asymptote: degrees equal → (y=\frac{1}{1}=1).
  • Hole: at (x=3); (f(3)=\frac{3-1}{3-2}=2).
  • Graph: two hyperbola branches approaching (y=1) and the vertical line (x=2); an open circle at ((3,2)).

Example B – Repeated Factors and a Hole on the Axis

[ g(x)=\frac{(x+2)^{3}}{(x+2)^{2}(x-5)} ]

Cancel one ((x+2)) factor:

[ g(x)=\frac{x+2}{x-5},\qquad x\neq -2 ]

  • Vertical asymptote: (x=5).
  • Hole: at (x=-2); (g(-2)=\frac{-2+2}{-2-5}=0).
  • Result: the hole sits on the x‑axis at ((-2,0)); the graph behaves like the simple rational function (\frac{x+2}{x-5}) everywhere else.

Example C – No Hole, Only a Vertical Asymptote

[ h(x)=\frac{x^{2}+x+1}{x^{2}-x+2} ]

The denominator has no real zeros (its discriminant is negative), so there are no vertical asymptotes. Now, the degrees are the same, giving a horizontal asymptote (y=1). Since no factor cancels, the graph is continuous everywhere (except possibly complex points, which are irrelevant for real‑valued graphs) Simple, but easy to overlook..


6. Common Pitfalls (Expanded)

  • Cancelling non‑factors: You cannot cancel (x) from (\frac{x+2}{x+3}). Only a factor that appears as a product term may be divided out.
  • Ignoring domain restrictions: Even after cancellation, the original function remains undefined at the
Fresh Stories

New and Noteworthy

More Along These Lines

Related Corners of the Blog

Thank you for reading about How To Find The Holes In A Graph. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home