01 / 21

Rational Functions
and Holes

Discover where rational functions become undefined, how common factors create removable discontinuities, and why a hole is fundamentally different from a vertical asymptote.

AP Precalculus

What Is a Rational Function?

A rational function is any function that can be written as the ratio of two polynomials:

Just like fractions with numbers, rational functions are only defined where the denominator is not zero. Wherever \( q(x) = 0 \), the function has a point of discontinuity: either a vertical asymptote or a hole.

The Domain Question

For any rational function, the first step is always: where is the denominator equal to zero? Those values are excluded from the domain.

\( \frac{x+1}{x-3} \)
Denominator is zero at \( x = 3 \). Domain: all reals except \( x = 3 \).
\( \frac{x}{x^2 - 4} \)
Denominator factors as \( (x-2)(x+2) \). Domain excludes \( x = 2 \) and \( x = -2 \).

Common Factors Create Holes

When the numerator and denominator share a common factor, that factor can be cancelled algebraically. The resulting "gap" in the graph is called a removable discontinuity or hole.

The graph looks exactly like \( \frac{x+1}{x+3} \) everywhere except at \( x = 2 \), where there is an open circle: a hole.

Visualizing a Hole on the Graph

\(x\) \(y\) \(1\) \(2\) \(3\) \(-1\) \(-2\) \(-3\) \(1\) \(2\) \(-1\) \(x = -3\) \(y = 1\) Hole at \( \left(2,\, \tfrac{3}{5}\right) \) \( f(x) = \frac{x+1}{x+3} \) (with hole from cancelled \((x-2)\))

Holes vs. Vertical Asymptotes

Both occur where the denominator equals zero. The difference depends on whether the factor cancels with the numerator.

Hole
Factor appears in both numerator and denominator. It cancels. The discontinuity is removable: the limit exists.
Vertical Asymptote
Factor appears only in the denominator. It does not cancel. The function blows up to \( \pm\infty \).

The Core Rule for Holes

To find the \( y \)-coordinate of the hole, substitute \( x = a \) into the simplified (cancelled) form of the function.

Factoring Reveals Everything

Original Form Factor Completely Common factors = Holes Remaining zeros = Asymptotes Worked Example Original: \( \frac{x^2-4}{x^2-x-2} \) Factored: \( \frac{(x-2)(x+2)}{(x-2)(x+1)} \) Hole: \( x = 2 \) Asymptote: \( x = -1 \) Simplified: \( \frac{x+2}{x+1} \)

Removable vs. Non-Removable

Hole (Removable) Vertical Asymptote (Non-Removable)
Factor cancels? Yes No
Limit exists? Yes (finite value) No (goes to \( \pm\infty \))
On graph Open circle (tiny gap) Function "blows up"
Can be "fixed"? Redefine \( f(a) \) = limit Cannot be fixed

How to Find Holes: Step by Step

1
Factor completely. Factor both numerator \( p(x) \) and denominator \( q(x) \) into linear (or irreducible) factors.
2
Identify common factors. Look for any factor \( (x - a) \) that appears in both. Each common factor produces a hole at \( x = a \).
3
Cancel and simplify. Remove the common factors to get the simplified function \( g(x) \).
4
Find the \( y \)-coordinate. Evaluate \( g(a) \) to get the hole's location: \( (a,\, g(a)) \).
5
Identify remaining discontinuities. Any zeros still in the denominator of \( g(x) \) are vertical asymptotes.

Example 1: Basic Hole

1
Factor: \( \frac{(x-3)(x+3)}{(x-3)(x+2)} \)
2
Common factor: \( (x - 3) \) appears in both. Hole at \( x = 3 \).
3
Simplify: \( g(x) = \frac{x+3}{x+2} \)
4
\( y \)-coordinate: \( g(3) = \frac{3+3}{3+2} = \frac{6}{5} \). Hole at \( \left(3,\, \frac{6}{5}\right) \).
5
Remaining: \( x + 2 = 0 \Rightarrow \) vertical asymptote at \( x = -2 \).

Example 2: Two Factors to Analyze

1
Factor: Numerator: \( (x+2)(x+3) \). Denominator: \( (x+1)(x+2) \).
2
Common factor: \( (x+2) \). Hole at \( x = -2 \).
3
Simplify: \( g(x) = \frac{x+3}{x+1} \).
4
\( y \)-coordinate: \( g(-2) = \frac{-2+3}{-2+1} = \frac{1}{-1} = -1 \). Hole at \( (-2,\, -1) \).
5
Remaining: \( x + 1 = 0 \Rightarrow \) vertical asymptote at \( x = -1 \).

Example 3: Repeated and Multiple Factors

1
Factor: The function is already factored.
2
Common factors: \( (x-1) \) and \( (x+4) \). This means there are holes at \( x=1 \) and \( x=-4 \).
3
Simplify: Cancel one copy of each common factor. \( g(x) = \frac{x-1}{x-5} \).
4
\( y \)-coordinates: For \( x=1 \), \( g(1) = \frac{0}{-4} = 0 \). Hole at \( (1, 0) \). For \( x=-4 \), \( g(-4) = \frac{-5}{-9} = \frac{5}{9} \). Hole at \( \left(-4,\, \frac{5}{9}\right) \).
5
Remaining: The denominator of \( g(x) \) is zero at \( x=5 \). Vertical asymptote at \( x = 5 \).

Graphing Multiple Holes

\(x\) \(y\) \(1\) \(2\) \(3\) \(4\) \(5\) \(-1\) \(-2\) \(-3\) \(-4\) \(-5\) \(1\) \(2\) \(-1\) \(-2\) \(x = 5\) \(y = 1\) \((-4, \tfrac{5}{9})\) \((1, 0)\)

Common Mistakes to Avoid

✕ Forgetting to Factor First
Trying to find holes by just setting the denominator to zero misses the distinction. You must factor both numerator and denominator completely.
✕ Plugging Into the Original
To find the \( y \)-coordinate of a hole, plug into the simplified form, not the original. The original gives \( \frac{0}{0} \), which is undefined.
✕ Calling Every Zero an Asymptote
Not every denominator zero is a vertical asymptote. If the factor cancels, it is a hole. Only non-cancelling factors produce asymptotes.

Summary: Analyzing Rational Functions

Feature How to Find What It Means
Hole Common factor \( (x - a) \) in both Open circle at \( (a,\, g(a)) \)
Vertical Asymptote Non-cancelling factor in denominator Graph goes to \( \pm\infty \)
Domain Exclusion All zeros of original denominator Function undefined at those \( x \)-values
\( y \)-value of Hole Evaluate simplified form at \( x = a \) The limit of \( f(x) \) as \( x \to a \)

Question 1 of 5

What is the location of the hole in \( f(x) = \dfrac{x^2 - 1}{x - 1} \)?

Question 2 of 5

For \( f(x) = \dfrac{x^2 - 4x + 3}{x^2 - 5x + 6} \), which statement is correct?

Question 3 of 5

If \( f(x) = \dfrac{x^2 + 2x - 8}{x^2 - 4} \) has a hole at \( x = 2 \), what is the \( y \)-coordinate of the hole?

Question 4 of 5

Which function has no hole and two vertical asymptotes?

Question 5 of 5

What does the existence of a hole at \( x = a \) tell us about \( \displaystyle\lim_{x \to a} f(x) \)?