Sub topic 11
Holes: When a Factor Cancels
This chapter assumes you can factor polynomials, simplify rational expressions, and use function notation. A hole is a missing point in the graph of a rational function. It occurs when a factor cancels during simplification but still excludes a value from the original domain.
How a hole is created
Consider
\[ f(x)=\frac{x^2-1}{x-1}. \]
Factor the numerator:
\[ f(x)=\frac{(x-1)(x+1)}{x-1}. \]
The factor \(x-1\) cancels, so the simplified rule is
\[ f(x)=x+1. \]
However, the original denominator is zero when \(x=1\). Therefore, the original function is still undefined at \(x=1\). The graph follows the line \(y=x+1\), but it has a missing point at
\[ (1,1+1)=(1,2). \]
That missing point is a hole.
A cancellation changes the formula used for most inputs, but it does not add an excluded input back to the domain.
| Feature | Result for \(f(x)=\frac{(x-1)(x+1)}{x-1}\) |
|---|---|
| Excluded value | \(x=1\) |
| Simplified rule | \(y=x+1\) |
| Hole | \((1,2)\) |
| Vertical asymptote | None at \(x=1\) |
Finding the hole
Use this process:
- Factor the numerator and denominator completely.
- Identify common factors.
- Set each canceled linear factor equal to zero.
- Use the simplified function to find the corresponding \(y\)-value.
- Write the hole as an ordered pair.
For example,
\[ g(x)=\frac{x^2-9}{x^2-5x+6}. \]
Factor both polynomials:
\[ g(x)=\frac{(x-3)(x+3)}{(x-2)(x-3)}. \]
The factor \(x-3\) cancels. Thus \(x=3\) is excluded, and the simplified rule is
\[ g(x)=\frac{x+3}{x-2}. \]
Evaluate the simplified rule at \(x=3\):
\[ y=\frac{3+3}{3-2}=6. \]
The graph has a hole at \((3,6)\). The uncanceled denominator factor \(x-2\) produces a vertical asymptote at \(x=2\).
Checking with a computer algebra system
A symbolic algebra system can show the canceled form, but you must preserve the original domain restriction.
from sympy import symbols, cancel
x = symbols('x')
f = (x**2 - 1) / (x - 1)
g = cancel(f)
print(g) # x + 1
print(g.subs(x, 1)) # 2 -> hole at (1, 2)The output \(x+1\) describes the graph away from \(x=1\). It does not mean that \(x=1\) becomes part of the original domain.
Common errors
- Filling in the hole because the simplified formula has a value there.
- Using the original expression to find the hole's \(y\)-value, which gives division by zero.
- Forgetting that multiple canceled factors can create multiple holes.
- Calling every excluded value a vertical asymptote without checking whether its factor cancels.
Exercise
Find the hole in \(h(x)=\frac{x^2-4}{x-2}\).
Show answer
Factor the numerator: \(h(x)=\frac{(x-2)(x+2)}{x-2}=x+2\), with \(x\ne2\). The hole is \((2,4)\).