AP PRECALCULUS • POLYNOMIAL AND RATIONAL FUNCTIONS

Rational Functions and Vertical Asymptotes

Understanding how polynomial ratios produce infinite discontinuities that shape the behavior of rational graphs.

Historical Context & Motivation

The study of rational functions — expressions formed as the ratio of two polynomials — stretches back to the earliest days of algebraic analysis. Ancient Greek geometers encountered ratios of magnitudes that could not be expressed as whole numbers, and by the seventeenth century, mathematicians were systematically investigating how such ratios behave when a denominator approaches zero. The concept of a vertical asymptote crystallized as analysts recognized that certain input values cause function outputs to grow without bound, producing dramatic breaks in a graph that defy simple polynomial behavior.

~300 BCE
Greek Ratios of Magnitudes
Euclid's Elements formalized the theory of ratios and proportions, laying groundwork for comparing quantities that cannot always be expressed as integers — an early precursor to rational expressions.
1637
Descartes' Coordinate Geometry
René Descartes introduced the coordinate plane, enabling mathematicians to graph algebraic relationships and visualize the behavior of functions near problematic inputs.
1748
Euler's Introductio in Analysin Infinitorum
Leonhard Euler systematically studied rational functions, classifying their singularities and describing how curves approach lines they never touch — what we now call asymptotes.
1821
Cauchy's Rigorous Limits
Augustin-Louis Cauchy formalized the ε-δ definition of a limit, providing the precise language needed to describe infinite behavior at vertical asymptotes.

The central question that vertical asymptotes address is deceptively simple: what happens to a function's output when its denominator equals zero, but its numerator does not? Understanding this question is essential for analyzing discontinuities, sketching rational graphs, and building the limit intuition that underlies calculus. In the AP Precalculus framework, vertical asymptotes represent one of the most testable and conceptually rich topics in the polynomial and rational functions unit.

Core Principles & Definitions

A rational function is any function that can be written as the quotient of two polynomial functions. The domain of such a function excludes every real number that makes the denominator zero. Depending on whether that zero also appears in the numerator, the graph either has a vertical asymptote or a removable discontinuity (hole). The distinction between these two outcomes is one of the most important ideas in this unit.

1

Rational Function

A function of the form f(x) = p(x) / q(x), where p and q are polynomials and q(x) ≠ 0. The domain is all real numbers except where q(x) = 0.
2

Vertical Asymptote

A vertical line x = a where the function's output increases or decreases without bound as x approaches a, because q(a) = 0 but p(a) ≠ 0 after full simplification.
3

Removable Discontinuity

A point where both p(a) = 0 and q(a) = 0. The common factor cancels algebraically, leaving a hole in the graph rather than an asymptote.
4

One-Sided Limits

Near a vertical asymptote, the function approaches +∞ or −∞ from each side independently. The left-hand and right-hand limits determine the shape of the curve near the asymptote.
5

Multiplicity of Zeros

The exponent on a factor in the denominator (after cancellation) determines whether the function diverges to the same sign or opposite signs on either side of the asymptote.
KEY TAKEAWAY
KEY TAKEAWAY

Visual Explanation

Graph of a Rational Function with Vertical Asymptotes

The graph of f(x) = (x + 1) / ((x − 2)(x + 3)) showing two vertical asymptotes at x = −3 and x = 2. Each asymptote splits the graph into separate branches. Notice how the function diverges to +∞ or −∞ as x approaches the asymptote from either side.

In the diagram above, the function f(x) = (x + 1) / ((x − 2)(x + 3)) has denominator zeros at x = −3 and x = 2. Because the numerator does not equal zero at either of these values, both produce vertical asymptotes. Observe that the graph is divided into distinct branches by the two asymptotic lines, and the direction of divergence (upward toward +∞ or downward toward −∞) changes depending on the sign of the function just to the left and right of each asymptote. This behavior is determined by performing a sign analysis of the factored expression in each interval.

Mathematical Framework

The formal machinery for analyzing rational functions and their vertical asymptotes rests on factoring, domain analysis, limit behavior, and multiplicity. Below are the key equations and definitions you need for AP Precalculus.

GENERAL RATIONAL FUNCTION
f(x) = p(x) / q(x) = (aₙxⁿ + aₙ₋₁xⁿ⁻¹ + … + a₀) / (bₘxᵐ + bₘ₋₁xᵐ⁻¹ + … + b₀)
p(x) and q(x) are polynomials with real coefficients. The domain of f is {x ∈ ℝ : q(x) ≠ 0}.
VERTICAL ASYMPTOTE CONDITION
x = a is a vertical asymptote of f ⟺ q(a) = 0 and p(a) ≠ 0 (after cancelling common factors)
Always simplify first. If (x − a) divides both p(x) and q(x), cancel it; if a factor remains in the denominator, the asymptote persists.
LIMIT NOTATION AT A VERTICAL ASYMPTOTE
lim x→a⁻ f(x) = ±∞ and lim x→a⁺ f(x) = ±∞
The one-sided limits at a vertical asymptote are each either +∞ or −∞. They need not match; the sign is determined by the sign of the expression in the immediate neighborhood of x = a.
MULTIPLICITY AND BEHAVIOR
If q(x) contains the factor (x − a)ᵏ after cancellation: k odd ⟹ opposite signs on either side; k even ⟹ same sign on either side
When k is odd (e.g., a simple zero), the graph diverges to +∞ on one side and −∞ on the other. When k is even (e.g., a double zero), both sides diverge in the same direction.
AP Exam Tip

Classifying Discontinuities & Sign Analysis

When analyzing a rational function, every zero of the denominator must be classified as either a vertical asymptote or a removable discontinuity. The process is algorithmic: factor, cancel, and inspect. Beyond classification, a sign chart reveals the direction in which each branch diverges near an asymptote. The following diagram and table summarize the full decision process.

A flowchart showing how to classify each zero of q(x). Start by factoring, then check for common factors with p(x). After cancellation, if the denominator still equals zero at x = a, you have a vertical asymptote; otherwise, you have a removable discontinuity (hole).
Summary of discontinuity types and associated graph behavior
ScenarioAlgebraic ConditionGraph Feature
Zero of q(x) onlyq(a) = 0, p(a) ≠ 0Vertical asymptote at x = a
Common factor, fully cancels(x − a) divides both p and q; after cancellation, simplified q(a) ≠ 0Hole at x = a
Common factor, partially cancels(x − a)² in q, (x − a)¹ in p; after cancellation, (x − a) remains in denominatorVertical asymptote at x = a (reduced multiplicity)
Odd multiplicity VAAfter cancellation, (x − a)^(odd) in denominatorOpposite signs: one side → +∞, other → −∞
Even multiplicity VAAfter cancellation, (x − a)^(even) in denominatorSame sign: both sides → +∞ or both → −∞

Worked Example

Let us fully analyze the rational function g(x) = (2x² − 2) / (x² − 4x + 3), identifying all vertical asymptotes, holes, x-intercepts, and describing the behavior near each discontinuity.

1
Step 1 — Factor the numerator and denominatorFactor out common terms and use standard techniques. The numerator: 2x² − 2 = 2(x² − 1) = 2(x − 1)(x + 1). The denominator: x² − 4x + 3 = (x − 1)(x − 3).
g(x) = 2(x − 1)(x + 1) / ((x − 1)(x − 3))
2
Step 2 — Cancel common factors and identify the holeThe factor (x − 1) appears in both numerator and denominator. Cancel it (noting x ≠ 1): g(x) = 2(x + 1) / (x − 3), x ≠ 1. The point x = 1 is a removable discontinuity. To find the y-coordinate of the hole, substitute x = 1 into the simplified form: 2(1 + 1) / (1 − 3) = 4 / (−2) = −2.
Hole at (1, −2)
3
Step 3 — Identify vertical asymptotesAfter cancellation, the simplified denominator is (x − 3). Setting x − 3 = 0 gives x = 3. Check: the simplified numerator at x = 3 is 2(3 + 1) = 8 ≠ 0. Since the denominator zero does not cancel, x = 3 is a vertical asymptote.
Vertical asymptote at x = 3
4
Step 4 — Determine one-sided behavior at x = 3Use the simplified form g(x) = 2(x + 1)/(x − 3). As x → 3⁻ (from the left), (x + 1) → 4 > 0 and (x − 3) → 0⁻ (small negative), so g(x) → 8 / 0⁻ = −∞. As x → 3⁺ (from the right), (x − 3) → 0⁺ (small positive), so g(x) → 8 / 0⁺ = +∞. The multiplicity of the factor (x − 3) is 1 (odd), which confirms opposite-sign divergence.
lim x→3⁻ g(x) = −∞ ; lim x→3⁺ g(x) = +∞
5
Step 5 — Find x-interceptsSet the simplified numerator equal to zero: 2(x + 1) = 0 ⟹ x = −1. Verify that x = −1 is in the domain (it is). The x-intercept is (−1, 0).
x-intercept at (−1, 0)

Vertical Asymptotes vs. Other Graph Features

Students frequently confuse vertical asymptotes with horizontal asymptotes, holes, and even x-intercepts. The following comparison clarifies the essential differences, and the key takeaway box explains why these distinctions matter on the AP exam.

Comparison of key rational function features
FeatureAlgebraic SourceGraph Behavior
Vertical AsymptoteNon-cancelling zero of denominatorFunction output → ±∞; graph never crosses
Horizontal AsymptoteRatio of leading coefficients (when degrees are equal) or degree comparisonFunction output → L as x → ±∞; graph may cross it for finite x
Hole (Removable)Common factor in numerator and denominator that fully cancelsSingle missing point; graph passes through otherwise
x-interceptZero of the numerator (not cancelled, denominator ≠ 0)Graph crosses the x-axis; f(x) = 0 at that point
KEY TAKEAWAY
KEY TAKEAWAY

Connection to Calculus & Advanced Topics

The analysis of vertical asymptotes in AP Precalculus lays the groundwork for several important ideas in calculus and higher mathematics. The informal limit reasoning you develop here — asking 'what does f(x) approach as x nears a?' — is exactly the question that calculus formalizes with the ε-δ definition of a limit. Recognizing infinite limits at vertical asymptotes is the first step toward understanding improper integrals, which ask whether the area near an asymptote can still be finite.

How precalculus asymptote analysis leads into calculus
AP Precalculus ConceptCalculus Extension
Vertical asymptote at x = a (informal: 'output blows up')Infinite limit: lim x→a f(x) = ±∞ (formal definition)
One-sided behavior (left vs. right approach)Left-hand and right-hand limits; continuity at a point
Sign analysis near an asymptoteFirst derivative sign charts for increasing/decreasing intervals
Hole as a removable discontinuityLimit exists but f(a) is undefined; piecewise redefinition
Domain restrictions from denominatorsImproper integrals: ∫ from a to b of f(x) dx when f has a VA in [a, b]

Mastering vertical asymptotes now gives you a significant advantage in AP Calculus, where you will need to evaluate limits quickly, identify non-differentiable points, and set up integrals that account for singularities. The factoring and sign-analysis skills you build here are foundational tools you will use throughout your mathematical career.

Practice Problems

1
Which of the following best explains why x = 4 is a vertical asymptote of f(x) = 3/(x − 4), rather than a hole?
2
Find all vertical asymptotes of h(x) = (x² − 9) / (x² − x − 6).
3
Consider f(x) = (x + 2) / (x² − 4). Determine the vertical asymptote(s), any holes, and describe the one-sided limits at each vertical asymptote.
PROBLEM 4APPLIED
A chemical engineer models the concentration C(t) of a reactant (in mol/L) as C(t) = 50t / (t² − 25), where t is time in minutes after the reaction begins. (a) Find all vertical asymptotes and explain their physical significance. (b) State the domain of C in context. (c) Determine the one-sided limits at the relevant asymptote for t > 0 and interpret each.
PROBLEM 5CRITICAL THINKING
Let r(x) = (x² + bx + c) / (x² − 5x + 6). Given that r has a hole at x = 2 and a vertical asymptote at x = 3, find the values of b and c and write the simplified form of r(x). Then determine whether the graph of r crosses its horizontal asymptote.
Varsity Tutors • AP Precalculus • Rational Functions and Vertical Asymptotes