Skip to content
Now Accepting Applications for 2027-2028Apply
ITMagicITMagicAcademy
AP resources
APMathematicsAP Precalculus

Rational Functions: Asymptotes, Holes and End Behavior

AP Precalculus, Unit 1. How to find vertical asymptotes, holes, horizontal and slant asymptotes of a rational function, read its end behavior, a worked example and the free response approach.

Rational functions close Unit 1 of AP Precalculus, Polynomial and Rational Functions. A rational function is a ratio of two polynomials, r(x) = p(x)/q(x), and almost every question about it asks what happens where the denominator is zero and what happens far out on the x-axis.

Factor first

Every question starts the same way: factor the numerator and the denominator completely. The factors tell you everything else.

Vertical asymptotes and holes

For each zero of the denominator:

  • If the factor cancels with the numerator, the graph has a hole there. Find its y-value by plugging the x-value into the simplified function.
  • If the factor does not cancel, the graph has a vertical asymptote there.

A factor that appears more times in the denominator than in the numerator still leaves an asymptote after cancelling.

Horizontal and slant asymptotes

Compare the degree of the numerator n with the degree of the denominator m:

DegreesEnd behavior
n < mhorizontal asymptote y = 0
n = mhorizontal asymptote y = ratio of leading coefficients
n = m + 1slant asymptote, found by polynomial division

The graph can cross a horizontal asymptote in the middle; the asymptote describes only the ends.

Worked example

Analyze r(x) = (x² − x − 6) / (x² − 9).

  1. Factor: r(x) = (x − 3)(x + 2) / ((x − 3)(x + 3)).
  2. x − 3 cancels, so there is a hole at x = 3. Simplified: (x + 2)/(x + 3), which gives 5/6 at x = 3. Hole at (3, 5/6).
  3. x + 3 does not cancel: vertical asymptote at x = −3.
  4. Equal degrees, leading coefficients 1 and 1: horizontal asymptote y = 1.
  5. Zero of the simplified numerator: x-intercept at x = −2.

A common mistake is to call x = 3 an asymptote because the original denominator is zero there. Always cancel first.

The free response approach

  • Show the factored form. It is the evidence for every claim that follows.
  • Use limit language when asked about behavior: as x → −3⁺, r(x) → −∞.
  • Give the hole as a point, with both coordinates, not only its x-value.

Interactive Simulation

Drag the sliders. See the change in real time.

Short Lesson Video

The lesson video for this topic will be added soon.

Mock Exam

The mock exam for this topic will be added soon.

Practice Quiz

Test yourself: instant results and explanations.

  1. 1. Where does r(x) = (x + 4)/(x² − 16) have a vertical asymptote?

  2. 2. What is the horizontal asymptote of r(x) = (5x + 2)/(x² + 1)?

  3. 3. What is the horizontal asymptote of r(x) = (6x² − x)/(3x² + 4)?

  4. 4. Where is the hole in the graph of r(x) = (x² − 4)/(x − 2)?

  5. 5. Which rational function has a slant asymptote?

Need support with this topic?

In a free 30-minute intro call we assess your level and build a study plan tailored to you.

Free intro call