AP Precalculus · Unit 1 · Topic 1.10

    1.10 Rational Functions and Holes

    Reviewed by P V Satish, Senior Faculty of Science and Academic Consultant · PG Life Sciences, PGD Biotechnology · 20+ years teaching NEET and AP · Special interest in biotechnology, biochemistry and the basics of physics
    Updated

    In short

    If (x−a)(x - a) is a factor of both numerator and denominator, and its multiplicity in the numerator is at least its multiplicity in the denominator, the graph has a hole at x=ax = a instead of a vertical asymptote. The function is undefined there, but the nearby outputs approach a single value. Cancel the common factor and substitute aa to find the hole's y-coordinate: that value is lim⁡x→ar(x)\lim_{x \to a} r(x).

    What you need to know

    • Identify when a common factor produces a hole rather than a vertical asymptote.
    • Find the coordinates of a hole by cancelling and evaluating.
    • Express the behaviour near a hole with limit notation.
    • Combine holes, zeros and asymptotes into a full description of a rational function.

    A missing point

    Take r(x)=x2−4x2−x−2r(x) = \frac{x^2 - 4}{x^2 - x - 2}. Factor both parts:

    r(x)=(x−2)(x+2)(x−2)(x+1)r(x) = \frac{(x - 2)(x + 2)}{(x - 2)(x + 1)}

    At x=2x = 2 both numerator and denominator are 0, so r(2)r(2) is undefined. But for every other input the common factor cancels, and r(x)=x+2x+1r(x) = \frac{x + 2}{x + 1}. The graph of rr is the graph of x+2x+1\frac{x + 2}{x + 1} with one point removed: a hole at x=2x = 2.

    Its y-coordinate is what the simplified form gives at 2: 2+22+1=43\frac{2 + 2}{2 + 1} = \frac{4}{3}. So the hole is at (2,43)\left(2, \frac{4}{3}\right), and lim⁡x→2r(x)=43\lim_{x \to 2} r(x) = \frac{4}{3} even though r(2)r(2) does not exist.

    The open circle marks the hole at (2, 4/3). The asymptote x = −1 comes from the factor that does not cancel.

    The full picture of r

    • Hole at (2,43)\left(2, \frac{4}{3}\right): the factor (x−2)(x - 2) cancels completely.
    • Vertical asymptote x=−1x = -1: the factor (x+1)(x + 1) is left in the denominator.
    • Zero x=−2x = -2: from the factor (x+2)(x + 2) left in the numerator.
    • Horizontal asymptote y=1y = 1: equal degrees, leading coefficients 1 and 1.

    Holes and the domain

    A hole is not a zero, even when its y-coordinate is 0, because the function is undefined there. In f(x)=(x−3)2x−3f(x) = \frac{(x - 3)^2}{x - 3}, the outputs approach 0 as x→3x \to 3, but f(3)f(3) does not exist; the domain is all real numbers except 3.

    Graphing calculators usually do not show holes: the missing point is a single pixel. That is why the exam asks you to find them algebraically. Always factor before simplifying, and keep a note of every factor you cancel, because each one is a hole.

    Holes in context. Holes often appear when a formula is simplified carelessly. The average speed of a car over the interval from 2 to tt hours might be written d(t)−d(2)t−2\frac{d(t) - d(2)}{t - 2}. At t=2t = 2 this expression is undefined, a hole, even though the values on either side approach the car's speed at exactly 2 hours. That missing value is the idea that calculus fills in with a limit. In AP Precalculus you meet the same idea when you find the y-coordinate of a hole: it is the value the function approaches, even though the function itself has no value there.

    Key terms

    Hole
    A single point missing from a graph, where a common factor cancels from numerator and denominator.
    Removable discontinuity
    Another name for a hole: the gap could be filled by defining one value.
    Common factor
    A factor (x − a) of both numerator and denominator.
    Limit at a hole
    The value the outputs approach near the hole, found from the simplified form.

    Common mistakes

    • Cancelling the factor and forgetting the function is still undefined there.

      Record the hole; the domain still excludes that x.

    • Finding the hole's y-value by substituting into the original form.

      The original form gives 0/0. Use the simplified form.

    • Calling a hole on the x-axis a zero.

      The function has no value there, so it is not a zero.

    How this topic is tested

    • Factor fully, cancel, and list what each cancelled factor produces.
    • Give a hole as a coordinate pair.
    • Use lim⁡x→ar(x)\lim_{x \to a} r(x) for the hole's height when asked to describe behaviour.

    Practice questions

    Original AP-style multiple-choice questions. Pick an answer to see the explanation.

    1. Question 1 · MP 1 · Procedural and Symbolic Fluency

      Where is the hole in the graph of f(x)=x2+x−6x−2f(x) = \frac{x^2 + x - 6}{x - 2}?

    2. Question 2 · MP 3 · Communication and Reasoning

      Which function has a hole at x = 1 rather than a vertical asymptote?

    3. Question 3 · MP 1 · Procedural and Symbolic Fluency

      For g(x)=(x+5)(x−2)(x+5)(x+1)g(x) = \frac{(x + 5)(x - 2)}{(x + 5)(x + 1)}, what is lim⁡x→−5g(x)\lim_{x \to -5} g(x)?

    4. Question 4 · MP 3 · Communication and Reasoning

      h(x)=x(x−4)2(x−4)(x+2)h(x) = \frac{x(x - 4)^2}{(x - 4)(x + 2)}. Which describes h at x = 4?

    5. Question 5 · MP 1 · Procedural and Symbolic Fluency

      What is the domain of r(x)=x2−4x2−x−2r(x) = \frac{x^2 - 4}{x^2 - x - 2}?

    Free-response practice

    Write your answer first, then mark it against the scoring guide.

    Symbolic Manipulations (short) · 4 points

    Let r(x)=x2−4x2−x−2r(x) = \frac{x^2 - 4}{x^2 - x - 2}.

    1. (a) Find the coordinates of the hole in the graph of rr. Show your work.
    2. (b) Identify any vertical asymptotes and zeros of rr, giving a reason for each.

    Connected topics

    Frequently asked questions

    Why is a hole called removable?

    Because defining the function at that one input, with the limit value, would fill the gap and make the graph continuous there.

    Can a function have both a hole and a vertical asymptote?

    Yes, as rr in this lesson shows: a hole from the cancelled factor and an asymptote from the factor left in the denominator.

    Will the calculator show the hole?

    Usually not. The table feature will show an error at that x, which is a good way to check.

    How this shows up on the exam42 multiple-choice questions (29 without a calculator) and 4 free-response questions of 6 points. See what each one asks you to do.Full-length AP Precalculus practice examsUnit 1 is one of the 3 units on the exam. Two timed exams in the 2027 format (42 MCQ + 4 FRQ, calculator and no-calculator parts), with explanations, scoring guides and an estimated 1–5 score. $14.99 · try 5 questions free.

    Free Unit 1 cheat sheet

    Every topic in Unit 1: Polynomial and Rational Functions on a few printable pages: the core idea, key terms, the two traps students fall into and what the exam asks.

    We'll use your email to tell you when new AP Precalculus practice material is ready. No spam, and we'll delete it if you ask.

    Free Unit 1 practice test: 70 questions with explanations

    All topics in Unit 1: Polynomial and Rational Functions

    1. 1.1 Change in Tandem
    2. 1.2 Rates of Change
    3. 1.3 Rates of Change in Linear and Quadratic Functions
    4. 1.4 Polynomial Functions and Rates of Change
    5. 1.5 Polynomial Functions and Complex Zeros
    6. 1.6 Polynomial Functions and End Behavior
    7. 1.7 Rational Functions and End Behavior
    8. 1.8 Rational Functions and Zeros
    9. 1.9 Rational Functions and Vertical Asymptotes
    10. 1.10 Rational Functions and Holes
    11. 1.11 Equivalent Representations of Polynomial and Rational Expressions
    12. 1.12 Transformations of Functions
    13. 1.13 Function Model Selection and Assumption Articulation
    14. 1.14 Function Model Construction and Application

    Other units in AP Precalculus

    AP® is a trademark registered by College Board, which is not affiliated with, and does not endorse, this website.