Home

Tutoring

Subjects

Live Classes

Study Coach

Essay Review

On-Demand Courses

Colleges

Games

Opening subject page...

Loading your content

  1. College Algebra
  2. Vertical and Horizontal Asymptotes

COLLEGE ALGEBRA • RATIONAL EXPRESSIONS & FUNCTIONS

Vertical and Horizontal Asymptotes

Understanding the boundary behavior of rational functions as variables approach critical values or infinity.

SECTION 1

Historical Context & Motivation

The concept of an asymptote — a line that a curve approaches but never quite reaches — has roots extending back to ancient Greek geometry, where mathematicians first grappled with curves that seemed to approach a boundary without crossing it. The word itself derives from the Greek asymptotos (ἀσύμπτωτος), meaning "not falling together," a term Apollonius of Perga used around 200 BCE to describe hyperbolas and their relationship to guiding lines. As calculus matured in the seventeenth and eighteenth centuries, the study of limits gave asymptotic behavior a precise analytical foundation, transforming what had been a geometric curiosity into a central tool of mathematical analysis.

The formal treatment of rational functions and their asymptotes accelerated as algebraists sought to classify the behavior of quotients of polynomials. Understanding where a function "blows up" (vertical asymptotes) or "levels off" (horizontal asymptotes) proved essential not only for graphing but also for modeling physical phenomena such as population dynamics, electrical circuits, and reaction kinetics. Today, asymptotic analysis is foundational in fields ranging from computer science (algorithm complexity) to physics (perturbation theory).

~200 BCE
Apollonius and Conic Sections
Apollonius of Perga introduces the term asymptotos while studying the hyperbola and its relationship to its guiding lines in Conics.
1637
Descartes' Analytic Geometry
René Descartes publishes La Géométrie, uniting algebra and geometry and enabling algebraic descriptions of curves and their limiting behavior.
1748
Euler's Introductio
Leonhard Euler systematically studies rational functions of the form p(x)/q(x) and classifies their singularities and end behavior in Introductio in Analysin Infinitorum.
1821
Cauchy Formalizes Limits
Augustin-Louis Cauchy's Cours d'Analyse provides the rigorous ε-δ definition of a limit, placing asymptotic behavior on a firm analytical foundation.
20th C.
Modern Applications
Asymptotic analysis becomes indispensable in engineering, physics, and computer science — from transfer functions in control theory to Big-O notation in algorithm analysis.

The central question this lesson addresses is deceptively simple: given a rational function f(x) = p(x)/q(x), how do we determine the lines the graph approaches as x moves toward specific finite values or toward ±∞? Answering this question will equip you with both algebraic techniques and geometric intuition for sketching and interpreting rational functions.

SECTION 2

Core Principles & Definitions

Before diving into techniques, we need to establish precise definitions. A rational function is any function that can be expressed as the quotient of two polynomials, f(x) = p(x)/q(x), where q(x) is not the zero polynomial. The domain of such a function excludes every real number c for which q(c) = 0. It is precisely at these excluded values — and at the "ends" of the real number line — that asymptotic behavior arises.

1

Vertical Asymptote

A vertical line x = a is a vertical asymptote of f if |f(x)| → ∞ as x → a from the left, the right, or both. This occurs when q(a) = 0 but p(a) ≠ 0 (after canceling common factors).
2

Horizontal Asymptote

A horizontal line y = L is a horizontal asymptote if f(x) → L as x → +∞ or x → −∞. Horizontal asymptotes describe the end behavior of the function.
3

Holes (Removable Discontinuities)

If p(x) and q(x) share a common factor (x − a), the point x = a is a hole, not a vertical asymptote. Always simplify the rational expression fully before identifying asymptotes.
4

Degree Comparison Rule

The existence and value of horizontal asymptotes depend on comparing deg(p) and deg(q). When deg(p) > deg(q), no horizontal asymptote exists (an oblique or polynomial asymptote may appear instead).
✦ KEY TAKEAWAY
Think of a vertical asymptote as an invisible electric fence — the curve races toward it faster and faster but is repelled to ±∞ before making contact. A horizontal asymptote, by contrast, is like a cruise-control speed on an open highway: the farther you drive (x → ±∞), the closer your speed settles to a fixed value, even if you oscillate slightly above or below it along the way. Crucially, a function can cross a horizontal asymptote at finite x-values; it is only the long-run behavior that is constrained.
SECTION 3

Visual Explanation

The diagram below shows the graph of a prototypical rational function, f(x) = 1/(x − 2), along with its vertical asymptote at x = 2 and its horizontal asymptote at y = 0. Observe how each branch of the curve draws closer to the dashed lines without ever touching the vertical one, while the horizontal line governs the function's behavior far from the origin.

xyx = 2 (VA)y = 0 (HA)f(x) = 1/(x − 2)−4−20242−2
Graph of f(x) = 1/(x − 2). The pink dashed line marks the vertical asymptote at x = 2, and the cyan dashed line marks the horizontal asymptote at y = 0. The purple curve diverges to +∞ from the right and −∞ from the left as x → 2.

Several features are worth noting. First, the curve has two separate branches — one to the left of x = 2 and one to the right — and they tend in opposite vertical directions; we say the function exhibits opposite-sign divergence at this vertical asymptote. Second, both branches flatten out toward the x-axis (y = 0) as |x| grows large, confirming the horizontal asymptote. Finally, notice that the function is undefined exactly at x = 2 (the open circle), which is the root of the denominator.

SECTION 4

Mathematical Framework

We now formalize the algebraic procedures for locating asymptotes of a rational function f(x) = p(x)/q(x), where p and q are polynomials with real coefficients and no common factors (i.e., the fraction is in lowest terms). The analysis splits naturally into two cases: behavior near zeros of the denominator (vertical asymptotes) and behavior as x → ±∞ (horizontal asymptotes).

Finding Vertical Asymptotes

VERTICAL ASYMPTOTE CONDITION
x = a is a vertical asymptote of f ⟺ q(a) = 0 and p(a) ≠ 0
After canceling all common factors from p(x) and q(x), set the remaining denominator equal to zero and solve. Each real solution yields a vertical asymptote.
⚠️ Common Factor Warning
If p and q share a factor (x − a), that factor cancels and produces a hole (removable discontinuity) at x = a rather than a vertical asymptote. Always factor and simplify first.

Finding Horizontal Asymptotes

Let deg(p) = n and deg(q) = m, and let aₙ and bₘ denote the leading coefficients of p and q, respectively. The degree comparison rule provides three mutually exclusive cases:

CASE 1 — DEGREE OF NUMERATOR < DEGREE OF DENOMINATOR
n < m ⟹ lim(x→±∞) f(x) = 0 ⟹ y = 0 is the horizontal asymptote
The denominator grows faster, driving the quotient to zero.
CASE 2 — DEGREES ARE EQUAL
n = m ⟹ lim(x→±∞) f(x) = aₙ / bₘ ⟹ y = aₙ / bₘ is the horizontal asymptote
When numerator and denominator have the same degree, only the leading coefficients matter in the limit.
CASE 3 — DEGREE OF NUMERATOR > DEGREE OF DENOMINATOR
n > m ⟹ no horizontal asymptote exists
The function grows without bound. If n = m + 1, a slant (oblique) asymptote exists and can be found via polynomial long division.

A useful mnemonic: if the bottom wins (higher degree), y → 0; if there is a tie, y equals the ratio of leading coefficients; and if the top wins, there is no horizontal asymptote. These three cases exhaust all possibilities for rational functions.

SECTION 5

Detailed Breakdown & Classification

The following diagram places all three horizontal-asymptote cases side by side, using representative rational functions. Comparing their graphs simultaneously reinforces the degree-comparison rule and clarifies why the leading-term ratio controls end behavior.

Horizontal Asymptote Classification by DegreeCase 1: deg(p) < deg(q)f(x) = 1/(x² + 1)y=0HA: y = 0Case 2: deg(p) = deg(q)f(x) = 3x²/(x² + 1)y=3HA: y = 3/1 = 3Case 3: deg(p) > deg(q)f(x) = x²/(x + 1)slantNo HA (slant asymptote)
Three side-by-side panels illustrate the degree comparison rule. Case 1 (cyan): the numerator has lower degree, so y → 0. Case 2 (violet): equal degrees yield HA y = leading coefficient ratio. Case 3 (pink): higher numerator degree produces a slant asymptote instead.
Summary of horizontal asymptote cases by degree comparison
ConditionHorizontal AsymptoteExample
deg(p) < deg(q)y = 0f(x) = (2x + 1)/(x³ − 5)
deg(p) = deg(q)y = aₙ / bₘf(x) = (4x² + x)/(2x² − 3) → y = 2
deg(p) = deg(q) + 1None (slant asymptote)f(x) = (x² + 1)/(x − 1)
deg(p) > deg(q) + 1None (polynomial end behavior)f(x) = x³/(x − 1)
SECTION 6

Worked Example

Let us find all vertical and horizontal asymptotes of the rational function

GIVEN FUNCTION
f(x) = (2x² − 8) / (x² − 5x + 6)
We will factor both polynomials, cancel common factors, then apply the asymptote rules.

Finding All Asymptotes of f(x) = (2x² − 8)/(x² − 5x + 6)

Step 1 — Factor the Numerator and Denominator

Factor the numerator: 2x² − 8 = 2(x² − 4) = 2(x − 2)(x + 2). Factor the denominator: x² − 5x + 6 = (x − 2)(x − 3). So f(x) = 2(x − 2)(x + 2) / [(x − 2)(x − 3)].
f(x) = 2(x − 2)(x + 2) / [(x − 2)(x − 3)]

Step 2 — Cancel Common Factors and Identify Holes

The factor (x − 2) appears in both the numerator and the denominator. Cancel it: f(x) = 2(x + 2)/(x − 3), with the restriction that x ≠ 2. The point x = 2 is a hole (removable discontinuity), not a vertical asymptote. The y-value of the hole is f(2) in the simplified form: 2(2 + 2)/(2 − 3) = 2(4)/(−1) = −8, so the hole is at (2, −8).
Simplified: f(x) = 2(x + 2)/(x − 3), x ≠ 2; Hole at (2, −8)

Step 3 — Find the Vertical Asymptote(s)

Set the remaining (simplified) denominator equal to zero: x − 3 = 0, so x = 3. Verify that the numerator is nonzero at x = 3: 2(3 + 2) = 10 ≠ 0. Therefore x = 3 is a vertical asymptote.
Vertical asymptote: x = 3

Step 4 — Find the Horizontal Asymptote

In the original (unsimplified) function, the numerator has degree 2 and the denominator has degree 2. Since these degrees are equal, the horizontal asymptote is the ratio of leading coefficients: y = 2/1 = 2. Equivalently, in the simplified form 2(x + 2)/(x − 3) both numerator and denominator are degree 1, and the leading coefficient ratio is still 2/1 = 2.
Horizontal asymptote: y = 2

Step 5 — State the Complete Answer

Combining our findings: the function has a vertical asymptote at x = 3, a horizontal asymptote at y = 2, and a removable discontinuity (hole) at the point (2, −8).
VA: x = 3 | HA: y = 2 | Hole: (2, −8)
SECTION 7

Common Errors & Comparisons

Students frequently stumble on a handful of predictable mistakes when working with asymptotes. The table below contrasts each misconception with the correct reasoning, giving you a quick reference for self-checking your work.

Common mistakes and corrections when finding asymptotes
Common ErrorWhy It's WrongCorrect Approach
Setting the unsimplified denominator = 0 to find VAsCommon factors yield holes, not asymptotes. Failing to cancel gives false VAs.Factor and simplify first; then set the remaining denominator = 0.
Believing a function can never cross a horizontal asymptoteHAs describe behavior as x → ±∞. The function may cross y = L at finite x-values.Set f(x) = L and solve; any solution is a crossing point, which is perfectly valid.
Using plugging-in instead of degree comparison for HAsPlugging in large x-values gives approximations, not exact results, and can mislead.Compare deg(p) to deg(q) and, if equal, divide the leading coefficients.
Assuming there is always exactly one VA and one HAA rational function can have 0, 1, or many VAs, and 0 or 1 HA (at most).The number of VAs equals the number of distinct real zeros of the simplified denominator.
Confusing vertical asymptotes with vertical lines of the form y = cVertical asymptotes are lines x = a, not y = a. Mixing notation garbles the geometry.VAs are always x = constant; HAs are always y = constant.
🔍 DEBUGGING TIP
Treat the asymptote-finding procedure like a code review: your first pass (factoring) handles edge cases (holes), your second pass (zeros of the simplified denominator) identifies VAs, and your final pass (degree comparison) determines the HA. Skipping any pass risks a silent bug — an answer that looks plausible but is wrong.
SECTION 8

Connection to Slant Asymptotes & Limits

Vertical and horizontal asymptotes are the entry point to a richer hierarchy of asymptotic behavior. When deg(p) = deg(q) + 1, polynomial long division reveals a slant (oblique) asymptote of the form y = mx + b. More generally, when deg(p) exceeds deg(q) by k ≥ 2, the quotient from long division is a polynomial of degree k that the rational function approaches at large |x|; this is sometimes called a curvilinear asymptote. These extensions emerge naturally once you view every rational function as quotient + remainder/denominator via the division algorithm.

Current lesson vs. advanced asymptotic analysis
FeatureThis Lesson (HA & VA)Next Steps (Calculus & Beyond)
Tool for finding HADegree comparison of numerator and denominatorFormal limit: lim(x→±∞) f(x) via L'Hôpital or dominant-term analysis
Tool for finding VAZeros of the simplified denominatorOne-sided limits: lim(x→a⁺) f(x) and lim(x→a⁻) f(x)
Scope of functionsRational functions p(x)/q(x)Arbitrary functions: exponentials, logarithms, trigonometric, etc.
Beyond HANoted but not computed: slant asymptote when deg(p) = deg(q) + 1Polynomial long division yields y = mx + b; curvilinear asymptotes for higher degree gaps

When you reach calculus, the ε-δ definition of a limit will give you the formal backbone for everything discussed here. Horizontal asymptotes become statements about limits at infinity, and vertical asymptotes correspond to infinite limits at a point. The algebraic degree-comparison shortcuts you have learned in this lesson are, in fact, efficient shortcuts for evaluating those limits — so you are already doing calculus in disguise.

SECTION 9

Practice Problems

PROBLEM 1 — CONCEPTUAL
Explain in your own words why a rational function can cross its horizontal asymptote at finite x-values but can never cross (or touch) its vertical asymptote. What fundamental difference in the definition of each type of asymptote accounts for this distinction?
PROBLEM 2 — BASIC CALCULATION
Find all vertical and horizontal asymptotes of f(x) = (5x − 3)/(2x + 4).
PROBLEM 3 — INTERMEDIATE
Determine all asymptotes and holes of g(x) = (x² − 9)/(x² − x − 6). State the coordinates of any holes.
PROBLEM 4 — APPLIED
A pharmaceutical company models the concentration C (in mg/L) of a drug in the bloodstream t hours after injection by C(t) = 200t/(t² + 25). Determine the horizontal asymptote of C(t) and interpret its meaning in the context of the problem. Does this function have any vertical asymptotes for t ≥ 0?
PROBLEM 5 — CRITICAL THINKING
Construct a rational function f(x) that has vertical asymptotes at x = −1 and x = 4, a horizontal asymptote at y = −3, and a hole at x = 2. Write f(x) in both factored and expanded forms, and verify each feature algebraically.
SUMMARY

Lesson Summary

A vertical asymptote x = a occurs where the simplified denominator of a rational function equals zero while the numerator does not, causing |f(x)| → ∞ as x → a. A horizontal asymptote y = L describes the function's end behavior as x → ±∞ and is determined by comparing the degrees of the numerator and denominator: if deg(p) < deg(q), the HA is y = 0; if the degrees are equal, the HA is y = (leading coefficient of p)/(leading coefficient of q); and if deg(p) > deg(q), no horizontal asymptote exists.

Always begin by factoring and simplifying the rational expression to distinguish holes (removable discontinuities) from genuine vertical asymptotes. Remember that a graph can cross a horizontal asymptote at finite x-values but can never touch or cross a vertical asymptote. These algebraic techniques preview the formal limit concepts of calculus and extend naturally to slant asymptotes when the numerator's degree exceeds the denominator's by exactly one.

Varsity Tutors • College Algebra • Vertical and Horizontal Asymptotes