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.

A function curve with a triangle and circular angle measure.
Inside this lesson 9 sections 5 questions 9 figures

SECTION 1

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.

SECTION 2

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.

SECTION 3

Visual Explanation

Graph of a Rational Function with Vertical Asymptotes

f(x) = (x + 1) / ((x − 2)(x + 3))xyx = −3x = 2(0, −1/6)−5−4−2−11 345Branch 1Branch 2Branch 3Branch 4Pink dashed lines = 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.

SECTION 4

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)=(anxn+an−1xn−1+…+a0)/(bmxm+bm−1xm−1+…+b0)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=aisaverticalasymptoteoff⟺q(a)=0andp(a)≠0(aftercancellingcommonfactors)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

limx→a−f(x)=±∞andlimx→a+f(x)=±∞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

Ifq(x)containsthefactor(x−a)kaftercancellation:kodd⟹oppositesignsoneitherside;keven⟹samesignoneithersideIf 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

SECTION 5

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.

Decision Flowchart: Classifying Denominator ZerosStart: q(a) = 0Factor p(x) and q(x) completelyDoes (x − a) appear in both p(x) and q(x)?YESNOCancel common factor(s)Then re-check denominator at x = aVERTICAL ASYMPTOTEx = aHOLE at x = aVA at x = aq simplified ≠ 0q simplified = 0
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).
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(x − a)^{odd} in denominatorOpposite signs: one side → +∞, other → −∞
Even multiplicity VAAfter cancellation, (x−a)even(x − a)^{even} in denominatorSame sign: both sides → +∞ or both → −∞

Summary of discontinuity types and associated graph behavior

SECTION 6

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.

Worked example

  1. 1

    Step 1 — Factor the numerator and denominator

    Factor 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. 2

    Step 2 — Cancel common factors and identify the hole

    The 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. 3

    Step 3 — Identify vertical asymptotes

    After 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. 4

    Step 4 — Determine one-sided behavior at x = 3

    Use 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. 5

    Step 5 — Find x-intercepts

    Set 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)

SECTION 7

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.

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

Comparison of key rational function features

SECTION 8

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.

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]

How precalculus asymptote analysis leads into calculus

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.

SECTION 9

Practice Problems

Question 1: CONCEPTUAL

Which of the following best explains why x = 4 is a vertical asymptote of f(x) = 3/(x − 4), rather than a hole?
  • A. Because the numerator equals zero at x = 4.
  • B. Because the denominator equals zero at x = 4 and the numerator does not.
  • C. Because the degree of the numerator is less than the degree of the denominator.
  • D. Because f(4) = 0.
  • E. Because (x − 4) is a common factor of numerator and denominator.
Show answer (B)
B is correct. A vertical asymptote occurs when the denominator is zero but the numerator is nonzero at that input. Here, the denominator (x − 4) = 0 at x = 4, while the numerator is the constant 3 ≠ 0. A is wrong because the numerator is 3, not zero. C describes a condition for a horizontal asymptote at y = 0, not for a vertical asymptote. D is wrong because f(4) is undefined, not zero. E is wrong because (x − 4) appears only in the denominator; a common factor would produce a hole, not an asymptote.

Question 2: BASIC CALCULATION

Find all vertical asymptotes of h(x) = (x² − 9) / (x² − x − 6).
  • A. x = 3 and x = −2
  • B. x = −3 and x = 2
  • C. x = −2 only
  • D. x = 3 only
  • E. x = −3, x = 3, and x = −2
Show answer (C)
C is correct. Factor: numerator = (x − 3)(x + 3), denominator = (x − 3)(x + 2). The common factor (x − 3) cancels, leaving h(x) = (x + 3)/(x + 2), x ≠ 3. The simplified denominator is zero at x = −2, giving a vertical asymptote there. x = 3 is a hole, not an asymptote. A incorrectly lists x = 3 as an asymptote. B has the wrong signs. D identifies the hole instead of the asymptote. E lists x = −3, which is actually an x-intercept, plus the hole, alongside the correct answer.

Question 3: INTERMEDIATE

Consider f(x) = (x + 2) / (x² − 4). Determine the vertical asymptote(s), any holes, and describe the one-sided limits at each vertical asymptote.
  • A. VA at x = 2 and x = −2; no holes; lim x→2⁻ f(x) = −∞, lim x→2⁺ f(x) = +∞
  • B. Hole at (−2, −1/4); VA at x = 2; lim x→2⁻ f(x) = +∞, lim x→2⁺ f(x) = +∞
  • C. Hole at (−2, −1/4); VA at x = 2; lim x→2⁻ f(x) = −∞, lim x→2⁺ f(x) = +∞
  • D. VA at x = −2 only; hole at (2, 1/4); lim x→(−2)⁻ f(x) = +∞, lim x→(−2)⁺ f(x) = −∞
  • E. Hole at (−2, −1/4); VA at x = 2; lim x→2⁻ f(x) = +∞, lim x→2⁺ f(x) = −∞
Show answer (C)
C is correct. Factor: x² − 4 = (x − 2)(x + 2). After cancelling the common factor (x + 2), f(x) = 1/(x − 2), x ≠ −2. The hole is at x = −2: substitute into simplified form, 1/(−2 − 2) = −1/4, so the hole is (−2, −1/4). The VA is at x = 2. For one-sided limits: as x → 2⁻, (x − 2) → 0⁻, so 1/(x − 2) → −∞; as x → 2⁺, (x − 2) → 0⁺, so 1/(x − 2) → +∞. A fails to identify the hole at x = −2. B gets the left-hand limit wrong (should be −∞, not +∞). D swaps the roles of hole and asymptote. E reverses both one-sided limits.

Question 4: APPLIED

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.
Show answer
(a) Factor: t² − 25 = (t − 5)(t + 5). Setting each factor to zero: t = 5 and t = −5. The numerator 50t is nonzero at both values (50(5) = 250 and 50(−5) = −250), so both are vertical asymptotes algebraically. However, since t represents time after the reaction begins, t ≥ 0, and t = −5 is physically irrelevant. The only meaningful vertical asymptote is t = 5. Physically, it suggests the model predicts infinite concentration near 5 minutes, which is impossible — indicating the model's domain of validity is limited. (b) Domain in context: t ∈ (0, 5) ∪ (5, ∞), since t must be positive and t = 5 is excluded. (c) Sign analysis at t = 5: numerator → 50(5) = 250 > 0. Denominator = (t − 5)(t + 5); (t + 5) → 10 > 0 near t = 5. As t → 5⁻, (t − 5) → 0⁻, so denominator → 0⁻, and C(t) → 250/0⁻ = −∞. As t → 5⁺, (t − 5) → 0⁺, so denominator → 0⁺, and C(t) → 250/0⁺ = +∞. Interpretation: concentrations cannot be negative or infinite, so the model is unreliable near t = 5 min. [5 pts total]

Question 5: CRITICAL 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.
Show answer
The denominator factors as (x − 2)(x − 3). For x = 2 to be a hole, (x − 2) must divide the numerator. Write the numerator as (x − 2)(x − a) for some constant a ≠ 3 (since x = 3 must remain a VA). Expanding: x² − (2 + a)x + 2a, so b = −(2 + a) and c = 2a for any real a ≠ 3. The simplified form is r(x) = (x − a)/(x − 3), x ≠ 2. Since the leading coefficients of the original numerator and denominator are both 1, the horizontal asymptote is y = 1. To check whether the graph crosses y = 1, set (x − a)/(x − 3) = 1. This gives x − a = x − 3, so a = 3. But a ≠ 3 by assumption, so no solution exists — the graph never crosses its horizontal asymptote. [3 pts total]

Varsity Tutors • AP Precalculus • Rational Functions and Vertical Asymptotes