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

Rational functions and vertical asymptotes — AP Precalculus Study Guide

For: AP Precalculus candidates sitting AP Precalculus.

Covers: Definition of rational functions, distinguishing removable and non-removable discontinuities, the limit rule for vertical asymptotes, step-by-step techniques for locating vertical asymptotes, and analyzing function behavior near vertical asymptotes.

You should already know: How to evaluate one-sided limits of algebraic functions. How to factor polynomials and find common roots of numerator and denominator. Basic rules for function continuity.

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 vertical asymptotes?

A rational function is formally defined as the ratio of two polynomials, written in the standard form , where (numerator) and (denominator) are polynomials with real coefficients, and is not the zero polynomial. This topic is part of AP Precalculus Unit 1: Polynomial and Rational Functions, accounting for approximately 7-10% of the total AP exam weight, and questions about vertical asymptotes appear in both multiple-choice (MCQ) and free-response (FRQ) sections. Vertical asymptotes are vertical lines where a rational function approaches positive or negative infinity as approaches from one or both sides, representing non-removable discontinuities of the function. Unlike holes (removable discontinuities), vertical asymptotes cannot be eliminated by redefining the function at a single point, and they divide the domain of a rational function into separate continuous intervals. Mastery of vertical asymptotes is required for graphing rational functions, analyzing limit behavior, and solving applied problems in chemistry, economics, and physics that involve proportional relationships.

2. Classifying Discontinuities: Removable vs Non-Removable

For any rational function , the domain is all real numbers such that . Any that makes is automatically a point of discontinuity, since the function is undefined at that input. To classify the discontinuity, we first factor both and completely into linear factors over the reals. If is a common factor of both and , we can cancel this common factor from the numerator and denominator, meaning the discontinuity at is removable (called a hole). A removable discontinuity means the two-sided limit of as exists and is finite, even though itself is undefined. If is a factor of but not a factor of the reduced numerator (after canceling all common factors), then the discontinuity at is non-removable, and this corresponds to a vertical asymptote at . At a non-removable discontinuity, at least one one-sided limit of is infinite.

Worked Example

Problem: Classify all discontinuities of . Solution:

  1. Factor the numerator and denominator completely: , and . We can rewrite the function as for all .
  2. Identify all points where the original denominator equals zero: and , so these are the only discontinuities.
  3. Check for common factors: is shared by both numerator and denominator, so it cancels out. This means is a removable discontinuity (a hole).
  4. After canceling, the reduced function is . The input still makes the denominator zero, and there is no remaining common factor to cancel, so is a non-removable discontinuity corresponding to a vertical asymptote.

Exam tip: Always factor out all common factors, including constants, before classifying discontinuities—partial factoring can leave common factors uncanceled, leading you to misidentify a hole as a vertical asymptote.

3. The Limit Rule for Locating Vertical Asymptotes

The formal definition of a vertical asymptote relies on one-sided limits: the line is a vertical asymptote of if at least one of the following holds: For rational functions, this definition simplifies to a straightforward test that works for all cases: if is a rational function written in lowest terms (no common factors between numerator and denominator), then has a vertical asymptote at every real zero of . This rule holds because if and , the numerator approaches a non-zero finite value while the denominator approaches 0, so the ratio of the two approaches , satisfying the formal limit definition. The "lowest terms" condition is non-negotiable: if a common factor exists, the discontinuity at is removable, and there is no vertical asymptote there. It is also important to remember that vertical asymptotes are always vertical lines of the form , never (which describes horizontal asymptotes).

Worked Example

Problem: Find all vertical asymptotes of . Solution:

  1. Factor the numerator and denominator completely: , and .
  2. Check for common factors between the numerator and denominator: there are no shared linear factors, so the function is already in lowest terms.
  3. Find all real roots of the denominator: gives a repeated root at .
  4. Evaluate the numerator at to confirm it is non-zero: , so the limit condition for a vertical asymptote is satisfied.
  5. Conclusion: The only vertical asymptote is the line .

Exam tip: On AP Precalculus FRQs, you must write vertical asymptotes as full equations of lines (e.g., , not just 2) to earn full credit.

4. Analyzing Function Behavior Near Vertical Asymptotes

Once you have identified a vertical asymptote at , you will often need to determine whether the function approaches , , or opposite infinities on either side of for graphing or limit questions. The fastest way to do this is to test the sign of the reduced rational function on each side of . The sign of a ratio is determined by the product of the signs of the numerator and denominator: positive divided by positive is positive, positive divided by negative is negative, and so on. A positive value for the function near means the function approaches as , while a negative value means it approaches . For repeated roots (even exponents on the factor in the denominator), the squared term is always positive for , so it does not change the sign of the function across the asymptote, meaning the function approaches the same infinity on both sides. For distinct roots (odd exponents), the sign changes across the asymptote, so the function approaches opposite infinities on either side.

Worked Example

Problem: For , identify the vertical asymptotes and describe the behavior of near each asymptote using one-sided limits. Solution:

  1. Factor the numerator and denominator and confirm no common factors: numerator is , denominator is , so the function is in lowest terms. The denominator equals zero at and , so vertical asymptotes are at and .
  2. Analyze behavior at : Test (left of 1): numerator , , , so overall sign is . Thus . Test (right of 1): all terms except stay positive, so overall sign is positive, giving .
  3. Analyze behavior at : Test (left of -4): numerator , , , so overall sign is , giving . Test (right of -4): denominator product becomes positive, numerator stays negative, so overall sign is positive, giving .

Exam tip: When calculating the sign of the function near an asymptote, any even-powered factor can be ignored entirely because it is always positive, cutting down on calculation time.

5. Common Pitfalls (and how to avoid them)

  • Wrong move: After finding that , immediately conclude is a vertical asymptote without checking for a common factor in the numerator. Why: Students rush after finding a root of the denominator and forget to check for removable discontinuities. Correct move: Always factor both numerator and denominator and cancel all common factors before identifying vertical asymptotes.
  • Wrong move: Writes a vertical asymptote as instead of . Why: Confuses vertical asymptotes (vertical lines, constant x-value) with horizontal asymptotes (horizontal lines, constant y-value). Correct move: Remember vertical lines have a constant x-value, so all vertical asymptote equations are of the form .
  • Wrong move: Claims a function can cross a vertical asymptote, extending the rule for horizontal asymptotes incorrectly. Why: Students mix up properties of horizontal and vertical asymptotes. Correct move: Know that vertical asymptotes are outside the domain of the function, so the function can never have a point on the asymptote or cross it.
  • Wrong move: Assumes the sign of the function changes across a vertical asymptote at a repeated root. Why: Students assume all roots change sign, forgetting that even powers are always positive. Correct move: Check the exponent of the factor in the denominator—if even, the sign does not change across .
  • Wrong move: Leaves extraneous common factors in the denominator when locating asymptotes, leading to extra false vertical asymptotes. Why: Students do not cancel all common factors after factoring. Correct move: Cancel every common linear factor, leaving only non-removable roots in the denominator before identifying asymptotes.

6. Practice Questions (AP Precalculus Style)

Question 1 (Multiple Choice)

Which of the following gives all vertical asymptotes of the function ? A) , , B) , C) , D) only

Worked Solution: First, factor both numerator and denominator completely. The numerator is a difference of squares: . The denominator factors to . Next, cancel the common factor of from numerator and denominator, giving the reduced function for . The only roots of the reduced denominator are and , neither of which are roots of the reduced numerator. is a removable discontinuity (hole), not a vertical asymptote. The correct answer is B.


Question 2 (Free Response)

Let . (a) Find all discontinuities of , and classify each as removable or non-removable. (b) Write the equations for all vertical asymptotes of . (c) Evaluate the one-sided limits of as approaches each vertical asymptote from the left and right, to describe the function's behavior near the asymptotes.

Worked Solution: (a) Factor the numerator and denominator: Discontinuities occur where the original denominator is zero: and . is a common factor, so is removable. is a root of the denominator that does not cancel with the reduced numerator, so is non-removable. (b) Vertical asymptotes exist only at non-removable discontinuities where the denominator is zero and the reduced numerator is non-zero. The only vertical asymptote is . (c) The reduced function is for . Testing left of at : numerator is , denominator is , so the ratio is positive, giving . Testing right of at : numerator is , denominator is , so the ratio is negative, giving .


Question 3 (Application / Real-World Style)

A population biologist models the growth rate of a bacteria colony (in cells per hour) as a function of the current population size (in thousands of cells), given by for . Find all vertical asymptotes of in the domain , and explain what the asymptote implies about the model's behavior.

Worked Solution: First, factor the denominator: . There are no common factors between the numerator and denominator. The positive roots of the denominator are and , so these are the vertical asymptotes. Testing the behavior for : both and are negative, numerator is positive, so , meaning . In context, this model predicts the growth rate of the colony becomes unbounded as the population approaches 3000 cells, which means the model only applies to population sizes outside the interval .

7. Quick Reference Cheatsheet

Category Formula / Rule Notes
Rational function definition , polynomials, non-zero Domain is all with
Removable discontinuity (hole) , is common factor of exists, no vertical asymptote
Non-removable discontinuity (vertical asymptote) , not a factor of reduced At least one one-sided limit is
Vertical asymptote rule (lowest terms) is vertical asymptote if and Only applies after canceling all common factors
Formal limit definition is vertical asymptote if or Only one side needs to be infinite
Sign behavior for repeated root , even: sign is always positive for No sign change, approaches same infinity on both sides
Sign behavior for distinct root , odd: sign changes across approaches opposite infinities on either side
Vertical asymptote equation form , constant Never written as (that is a horizontal asymptote)

8. What's Next

Mastering vertical asymptotes is a critical prerequisite for the next topics in Unit 1 of AP Precalculus: horizontal and slant asymptotes, and full graphing of rational functions. Without correctly identifying vertical asymptotes, you cannot correctly sketch the graph of a rational function or analyze its behavior over its entire domain, which is a common FRQ task on the AP exam. This topic also lays the foundation for analyzing discontinuities in other types of non-polynomial functions later in the course, including logarithmic functions and reciprocal trigonometric functions, where vertical asymptotes also appear. The distinction between removable and non-removable discontinuities also connects directly to the study of continuity and limits in calculus, which AP Precalculus prepares you for. Next topics to study: Horizontal and slant asymptotes Graphing rational functions Continuity of algebraic 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 →