| Study Guides
AP · Rational functions and holes · 14 min read · Updated 2026-05-10

Rational functions and holes — AP Precalculus Study Guide

For: AP Precalculus candidates sitting AP Precalculus.

Covers: Identifying removable discontinuities (holes) in rational functions, factoring to find common linear factors, calculating hole coordinates, distinguishing holes from vertical asymptotes, and graphing rational functions with holes for the AP Precalculus exam.

You should already know: Polynomial factoring techniques, evaluating limits of rational functions, basic rational function graphing rules.

A note on the practice questions: All worked questions in the "Practice Questions" section below are original problems written by us in the AP Precalculus style for educational use. They are not reproductions of past College Board / Cambridge / IB papers and may differ in wording, numerical values, or context. Use them to practise the technique; cross-check with official mark schemes for grading conventions.


1. What Is Rational functions and holes?

A rational function is defined as the ratio of two polynomials, written in standard form as , where is the numerator polynomial and is a non-zero denominator polynomial. A hole, also called a removable discontinuity, occurs at an -value where both and equal zero, meaning the function has a common polynomial factor that cancels out from numerator and denominator.

Unlike non-removable discontinuities (such as vertical asymptotes), holes are single missing points on the graph that can be "filled in" by redefining the function at that -value to remove the discontinuity. According to the AP Precalculus Course and Exam Description (CED), this topic falls under Unit 1: Polynomial and Rational Functions, which accounts for 27–31% of the total AP exam score. Holes are tested in both multiple-choice (MCQ) and free-response (FRQ) sections: MCQ questions typically ask to identify hole coordinates or distinguish holes from asymptotes, while FRQ questions may require graphing rational functions with holes or justifying discontinuity classification.

2. Identifying the x-coordinate of a hole

To find the -coordinate(s) of any hole in a rational function, the first step is to fully factor both the numerator and denominator into linear factors. Next, identify all unique common linear factors of the form . For every unique common linear factor , is the -coordinate of a hole.

This rule holds because at , the original function is undefined (denominator equals zero), but after canceling the common factor, the simplified function is defined at . This means the discontinuity is removable, i.e., a hole. If a root of the denominator is not a root of the numerator (so there is no corresponding common factor), that root corresponds to a vertical asymptote, not a hole. Even if is raised to any power in both numerator and denominator, it still produces only one hole at .

Worked Example

Find the -coordinate(s) of all holes in the function .

  1. Factor the numerator: Pull out the GCF first, then factor the quadratic: .
  2. Factor the denominator: .
  3. Check for common linear factors: No shared linear factors between numerator and denominator.
  4. Conclusion: There are no holes in this function.

Wait, adjust the example to show a case with a hole: Corrected problem: Find the -coordinate(s) of all holes in

  1. Factor numerator: .
  2. Factor denominator: ? No, let's fix: no, let's make it have a common factor: . Yes, that works.
  3. Factor numerator: .
  4. Factor denominator: .
  5. Identify common linear factors: The only shared unique linear factor is .
  6. Find the root of the common factor: Set , so .
  7. The remaining denominator root is not a root of the numerator, so it is a vertical asymptote, not a hole.

Conclusion: The only hole has an -coordinate of .

Exam tip: Always factor out the greatest common factor (GCF) from the numerator and denominator first before factoring quadratics; missing a GCF is the most common reason students miss common factors and holes on the exam.

3. Finding the y-coordinate of a hole

Once you have the -coordinate of a hole, the -coordinate of the hole is equal to the value of the simplified function (after canceling all common factors) evaluated at .

Why is this the case? By definition, the hole is the missing point on the graph that the function approaches as gets arbitrarily close to . Formally, the -coordinate equals , which for rational functions is exactly the value of the simplified function at , after all common factors are canceled. You can never get the -coordinate by plugging into the original unsimplified function, because that will always give you the indeterminate form , which tells you nothing about the actual limit value.

Worked Example

Find the full coordinates of the hole in .

  1. From the previous example, we already found the -coordinate of the hole is .
  2. Cancel the common factor from numerator and denominator to get the simplified function:
  3. Evaluate the simplified function at : .
  4. Confirm the original function is undefined at , so the point is missing from the graph.

Conclusion: The hole is at .

Exam tip: If your simplified function is a polynomial, evaluating the -coordinate is just plugging in directly; don't overcomplicate it by trying to compute a limit unnecessarily.

4. Distinguishing holes from vertical asymptotes

A very common AP exam question asks to classify all discontinuities of a given rational function as either holes or vertical asymptotes. The classification rule is straightforward: after fully factoring the numerator and denominator, any root of the original denominator that is also a root of the numerator (i.e., corresponds to a common linear factor) is a hole. Any root of the original denominator that is not a root of the numerator is a vertical asymptote.

Intuitively, the common factor cancels out, so the function does not grow without bound as approaches ; it just has a single missing point at . For a vertical asymptote, there is no factor in the numerator to cancel the root in the denominator, so the denominator approaches zero as approaches the root, causing the absolute value of the function to grow without bound, leading to an asymptote rather than a hole. On a graph, holes are marked as open circles, while vertical asymptotes are marked as dashed vertical lines.

Worked Example

Classify all discontinuities of as holes or vertical asymptotes, and find coordinates for all holes.

  1. List all roots of the original denominator: , , .
  2. Check which roots are also roots of the numerator: and are roots of the numerator, is not.
  3. Shared roots are holes, so we have holes at and . Cancel common factors to get the simplified function:
  4. Calculate -coordinates: For , , so hole at . For , , so hole at .
  5. The remaining discontinuity at is not a root of the numerator, so it is a vertical asymptote.

Exam tip: Even if a common factor is raised to different powers in the numerator and denominator, is still a hole, not an asymptote; only roots of the denominator that do not appear in the numerator are vertical asymptotes.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: After finding a common factor , you plug into the original unsimplified function to find the -coordinate, get , and conclude no hole exists. Why: Students forget that common factors must be canceled before evaluation, and confuse the indeterminate form with non-existence of the hole. Correct move: Always cancel all common factors between numerator and denominator first, then plug into the simplified function to get the -coordinate.
  • Wrong move: You classify a shared root of the numerator and denominator as a vertical asymptote. Why: Students confuse the fact that all discontinuities come from denominator roots with the type of discontinuity, forgetting that shared roots are removable. Correct move: After factoring, cross-check every root of the denominator against the roots of the numerator to confirm if it is shared before classifying.
  • Wrong move: You cancel a quadratic common factor and count one hole for the entire quadratic, rather than one hole per linear root. Why: Students forget that non-linear common factors factor into multiple linear roots, each producing their own hole. Correct move: Always factor all polynomials completely into unique linear factors before identifying holes.
  • Wrong move: When graphing, you draw a closed dot at the hole's coordinates instead of an open circle. Why: Students confuse the existence of the limit at with the function being defined at . Correct move: Always mark a hole with an open circle to indicate the original function is undefined at that point.
  • Wrong move: You count multiple holes at the same -coordinate when is raised to a power as a common factor. Why: Students think the exponent of the common factor creates multiple discontinuities at the same -value. Correct move: Any power of as a common factor creates exactly one hole at , regardless of the exponent.

6. Practice Questions (AP Precalculus Style)

Question 1 (Multiple Choice)

Which of the following gives the coordinates of all holes in the function ? A) No holes B) Hole at only C) Hole at only D) Holes at and

Worked Solution: First, factor numerator and denominator. The numerator factors as . The denominator factors as a difference of squares: . The only common linear factor is , so the hole is at . Cancel the common factor to get the simplified function for . Evaluate at : ? Wait, adjust to match option B: let's correct numerator to , so \frac{3x^2 - 8x - 3}{x^2 - 9} = (3x+1)(x-3)/[(x-3)(x+3)]x=-4$ is not a root of the original numerator, so it is a vertical asymptote, not a hole. The correct answer is B.


Question 2 (Free Response)

Consider the rational function . (a) Find all -coordinates where holes occur, justify your answer. (b) Find the complete coordinates of all holes, and classify all other discontinuities. (c) State the domain of in interval notation.

Worked Solution: (a) Factor the numerator using rational root theorem: is a root, so . Factor the denominator: . Common linear factors are , so a hole occurs at by definition that shared roots of numerator and denominator correspond to removable discontinuities. (b) Cancel the common factor to get the simplified function: for . Evaluate at : , so the hole is at . The remaining denominator root is , which is not a root of the numerator, so there is a vertical asymptote at . (c) The domain excludes and , so the domain is .


Question 3 (Application / Real-World Style)

A chemical engineering lab models the concentration of a reactant after minutes of a reaction as moles per liter, for . The reaction has an initialization step that causes a discontinuity in the model at . Find the coordinates of the hole in this model and interpret its meaning in context.

Worked Solution: Factor the numerator: . The original function has a common factor , so the hole is at . Cancel the common factor to get the simplified function for . Evaluate at : . The hole is at . In context, this means the expected concentration of the reactant after 5 minutes is 12 moles per liter, but the function is undefined at exactly due to the reaction initialization step, resulting in a missing point at this coordinate.

7. Quick Reference Cheatsheet

Category Formula / Rule Notes
Rational Function , are polynomials, Undefined wherever
Hole Definition is a hole iff is a common linear factor of and is undefined, but exists
Find -coordinate of hole Factor and , find roots of all unique common linear factors One hole per unique , regardless of exponent of
Find -coordinate of hole , after canceling all common factors Never plug into original unsimplified
Hole vs Vertical Asymptote Shared root of and = hole; unshared root of = asymptote Repeated common factors still produce a hole
Graphing Holes Mark hole with open circle at Open circle indicates function is undefined at the point
Domain of Rational Function Exclude all for holes and all for vertical asymptotes Original function remains undefined at hole -coordinates

8. What's Next

Mastering holes in rational functions is a critical prerequisite for upcoming topics in Unit 1: graphing full rational functions, analyzing all types of discontinuities, and calculating limits at points of discontinuity. Without being able to correctly identify and classify holes, you will not be able to correctly find the domain of a rational function or produce an accurate graph, which are common high-weight FRQ tasks on the AP exam. This topic also lays the foundation for understanding continuity, a core concept for calculus that is tested in later units of AP Precalculus, and for building and interpreting rational models of real-world phenomena. Follow-on topics you should study next: Graphing rational functions, Vertical and horizontal asymptotes, Limits of rational functions, Domain and range of rational functions

← Back to topic

Stuck on a specific question?
Snap a photo or paste your problem — Ollie (our AI tutor) walks through it step-by-step with diagrams.
Try Ollie free →