MATH 3 • ALGEBRA & FUNCTIONS

Rational Function Features — I can analyze a rational function's key features (vertical/horizontal asymptotes, holes) from an equation or graph at my level.

Learn to decode asymptotes and holes so you can sketch any rational function with confidence.

Historical Context & Motivation

Long before graphing calculators existed, mathematicians were fascinated by functions that could model real-world phenomena like rates, concentrations, and costs per unit. A rational function — a ratio of two polynomials — turned out to be one of the most versatile tools in that toolkit. Unlike simple polynomials, rational functions can have breaks, gaps, and invisible boundary lines that the graph approaches but never crosses.

The study of these functions stretches back centuries, driven by the need to understand limits and behavior at extreme values. From ancient Greek proportions to modern engineering applications, the key features of rational functions — asymptotes and holes — have played a central role in mathematical analysis.

~300 BCE
Greek Proportional Reasoning
Euclid studied ratios of quantities extensively, laying the groundwork for understanding expressions that involve one quantity divided by another.
1600s
Descartes & Analytic Geometry
René Descartes introduced coordinate graphing, making it possible to visualize algebraic expressions — including ratios of polynomials — as curves on a plane.
1700s
Euler Formalizes Asymptotic Behavior
Leonhard Euler studied how functions behave as variables grow extremely large or approach forbidden values, formalizing the concept of an asymptote.
1800s
Cauchy & Limits
Augustin-Louis Cauchy rigorously defined limits, giving mathematicians a precise language to describe holes and asymptotic behavior in rational functions.

Today, understanding the key features of rational functions is essential for fields ranging from physics to economics. The central question this lesson addresses is: given a rational function's equation, how do you identify its vertical asymptotes, horizontal asymptotes, and holes — and what do those features tell you about the graph?

Core Principles & Definitions

A rational function has the form f(x) = p(x) / q(x), where p(x) and q(x) are polynomials and q(x) ≠ 0. Because the denominator can equal zero for certain x-values, rational functions can exhibit behavior that polynomials never show: vertical asymptotes, horizontal asymptotes, and holes. Understanding these three features is the key to sketching and interpreting any rational function.

1

Vertical Asymptote

A vertical line x = a that the graph approaches but never touches. It occurs where the denominator equals zero after all common factors with the numerator are cancelled. The function's output heads toward +∞ or −∞ near this line.
2

Horizontal Asymptote

A horizontal line y = b that describes the function's end behavior — what happens to f(x) as x → +∞ or x → −∞. It depends on comparing the degrees of the numerator and denominator polynomials.
3

Hole (Removable Discontinuity)

A single missing point on the graph. A hole occurs when a factor cancels from both the numerator and denominator. The function is undefined at that x-value, but the graph looks continuous everywhere else.
4

Domain Restrictions

Any x-value that makes the original denominator equal to zero is excluded from the domain. These x-values correspond to either vertical asymptotes or holes, depending on whether the factor cancels.
KEY TAKEAWAY
Think of a rational function like a highway with rules. A vertical asymptote is a wall stretching infinitely high — you can drive closer and closer but never pass through. A horizontal asymptote is the horizon line your car approaches as you drive forever in one direction. A hole is like a pothole — a single missing piece in an otherwise smooth road. Learning to spot these three features lets you sketch the entire journey.

Visual Explanation

The diagram below shows the graph of f(x) = (x − 1) / (x − 2). Notice how the curve bends sharply near x = 2, where a vertical asymptote exists, and how it levels off near y = 1, which is the horizontal asymptote. The graph never touches either dashed line, but it gets arbitrarily close.

The pink dashed line at x = 2 is the vertical asymptote. The cyan dashed line at y = 1 is the horizontal asymptote. The violet curve shows the two branches of the rational function, one on each side of the vertical asymptote.

In the diagram, notice two important behaviors. First, as x approaches 2 from the left, the curve plunges downward toward negative infinity, and as x approaches 2 from the right, the curve shoots upward from positive infinity. Second, far to the left and far to the right, the curve gets closer and closer to the line y = 1 but never quite reaches it. These are the hallmarks of asymptotic behavior — the graph is "attracted" to these invisible guide lines.

Mathematical Framework

Finding each feature requires a systematic algebraic process. Begin by factoring both the numerator and denominator completely. From there, you can determine which x-values create asymptotes and which create holes.

Finding Holes

HOLE CONDITION
If (x − a) is a common factor of p(x) and q(x), then x = a is a hole.
Cancel the common factor to get the simplified function. Then evaluate the simplified function at x = a to find the y-coordinate of the hole: y = simplified f(a).

Finding Vertical Asymptotes

VERTICAL ASYMPTOTE
Set the simplified denominator equal to zero: q(x) = 0 → x = a
After cancelling any common factors, the remaining zeros of the denominator are the x-values where vertical asymptotes occur. The graph will approach ±∞ near these x-values.

Finding Horizontal Asymptotes

HORIZONTAL ASYMPTOTE RULES
f(x) = (aₙxⁿ + …) / (bₘxᵐ + …)
Compare the degree of the numerator (n) with the degree of the denominator (m). If n < m, then y = 0. If n = m, then y = aₙ / bₘ (ratio of leading coefficients). If n > m, there is no horizontal asymptote (the function has a slant or higher-order asymptote instead).
⚠️ Order of Operations
Always factor and cancel before looking for vertical asymptotes. If you skip this step, you'll confuse holes with asymptotes. Factor first → identify holes → then find asymptotes.

Horizontal Asymptote Classification

The horizontal asymptote rule depends entirely on the relationship between the degree of the numerator and the degree of the denominator. The table below summarizes the three cases, and the diagram that follows provides a visual reference for each one.

Horizontal asymptote determination based on degree comparison
Degree ComparisonHorizontal AsymptoteExample
Numerator degree < Denominator degree (n < m)y = 0f(x) = 3 / (x² + 1) → HA at y = 0
Numerator degree = Denominator degree (n = m)y = leading coeff. of numerator / leading coeff. of denominatorf(x) = (2x) / (5x + 1) → HA at y = 2/5
Numerator degree > Denominator degree (n > m)No horizontal asymptotef(x) = (x² + 1) / x → slant asymptote instead
Three panels compare the three possible cases for horizontal asymptotes. Case 1 (numerator degree less than denominator degree) always has HA at y = 0. Case 2 (equal degrees) has HA at the ratio of leading coefficients. Case 3 (numerator degree greater) has no HA but may have a slant asymptote shown in orange.

A useful way to remember the three cases is to think about which part of the function "dominates" as x gets very large. When the denominator has a higher degree (Case 1), it grows faster, pushing the output toward zero. When the degrees are equal (Case 2), the leading terms dominate equally, so the ratio settles at a constant. When the numerator has the higher degree (Case 3), the numerator wins and the output keeps growing, meaning no horizontal asymptote exists.

Worked Example

Let's fully analyze the rational function f(x) = (x² − x − 6) / (x² − 9). We'll find all asymptotes and any holes, then describe the graph.

Analyze f(x) = (x² − x − 6) / (x² − 9)
1
Step 1 — Factor the Numerator and DenominatorFactor the numerator: x² − x − 6 = (x − 3)(x + 2). Factor the denominator: x² − 9 = (x − 3)(x + 3). This is a difference of squares.
f(x) = (x − 3)(x + 2) / [(x − 3)(x + 3)]
2
Step 2 — Identify Common Factors (Holes)The factor (x − 3) appears in both the numerator and denominator. This means x = 3 produces a hole, not a vertical asymptote. Cancel the common factor to get the simplified function.
Hole at x = 3. Simplified: f(x) = (x + 2) / (x + 3)
3
Step 3 — Find the y-Coordinate of the HoleSubstitute x = 3 into the simplified function: f(3) = (3 + 2) / (3 + 3) = 5/6. The hole is at the point (3, 5/6) — the graph has a tiny gap there.
Hole at (3, 5/6)
4
Step 4 — Find Vertical AsymptotesSet the simplified denominator equal to zero: x + 3 = 0, so x = −3. Since this factor did not cancel, x = −3 is a vertical asymptote.
Vertical asymptote: x = −3
5
Step 5 — Find the Horizontal AsymptoteCompare degrees of the original (or simplified) numerator and denominator. The simplified form (x + 2)/(x + 3) has degree 1 on top and degree 1 on bottom, so the degrees are equal. The horizontal asymptote is y = leading coefficient of numerator / leading coefficient of denominator = 1/1 = 1.
Horizontal asymptote: y = 1
6
Step 6 — Summary of Key FeaturesThe function f(x) = (x² − x − 6)/(x² − 9) has a hole at (3, 5/6), a vertical asymptote at x = −3, and a horizontal asymptote at y = 1. The domain is all real numbers except x = −3 and x = 3.

Asymptotes vs. Holes — Knowing the Difference

Students often mix up holes and vertical asymptotes because both involve x-values where the function is undefined. The critical distinction lies in whether the problematic factor cancels. The table below highlights the key differences.

Comparison of vertical asymptotes and holes in rational functions
FeatureVertical AsymptoteHole
CauseDenominator zero; factor does NOT cancelDenominator zero; factor DOES cancel with numerator
Graph behaviorGraph shoots toward ±∞; dramatic breakA single missing point; graph looks smooth nearby
Equation of the featureVertical line: x = aPoint: (a, y-value from simplified function)
Visible on a graph?Yes — very obvious break with two branchesBarely visible — often shown as an open circle
Detection methodSet simplified denominator = 0Find common factors before simplifying
KEY TAKEAWAY
Here's a memorable way to keep them straight: imagine a brick wall across a road versus a single missing brick in the pavement. The vertical asymptote is the wall — the graph absolutely cannot cross it and gets deflected upward or downward forever. The hole is the missing brick — you'd barely notice it driving by, but technically one tiny piece of the road is gone. Both are domain restrictions, but their effect on the graph is dramatically different.

Connection to Advanced Topics

The ideas you learn here are the foundation for several advanced topics in mathematics. When you reach precalculus or calculus, you'll encounter limits, which formalize the idea of "approaching but never reaching" a value. You'll also study slant (oblique) asymptotes, which appear when the numerator's degree is exactly one more than the denominator's degree.

How concepts from this lesson connect to more advanced mathematics
This Lesson (Math 3)Advanced (Precalculus / Calculus)
Horizontal asymptote: compare degreesLimits at infinity: evaluate lim x→∞ f(x) rigorously
Vertical asymptote: denominator = 0One-sided limits: analyze behavior from left and right separately
Hole: factor cancels; find the y-valueRemovable discontinuity: define a piecewise extension to "fill" the hole
Degree of numerator > degree of denominator: no HAPolynomial long division → slant or curved asymptote

If you master the factoring and degree-comparison techniques in this lesson, the transition to calculus-based analysis will feel natural. The language changes — from "the function goes to infinity" to "the limit diverges" — but the underlying reasoning is the same.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain in your own words why a factor that cancels from both the numerator and denominator creates a hole rather than a vertical asymptote. What is the fundamental difference in the graph's behavior at these two types of features?
PROBLEM 2BASIC CALCULATION
Find all vertical asymptotes and holes for f(x) = (x + 4) / (x² + x − 12). State the domain.
PROBLEM 3INTERMEDIATE
For g(x) = (2x² + 5x − 3) / (x² + 4x + 3), find all asymptotes (vertical and horizontal) and any holes. Give the coordinates of each hole.
PROBLEM 4APPLIED
A company's average cost per item (in dollars) when producing x items is modeled by C(x) = (5x + 2000) / x. Identify any asymptotes and explain what they mean in the context of the business.
PROBLEM 5CRITICAL THINKING
Create a rational function that has a hole at x = 2, a vertical asymptote at x = −1, a horizontal asymptote at y = 3, and an x-intercept at x = 0. Write the function in both factored and expanded form, and verify each feature.

Lesson Summary

A rational function is a ratio of two polynomials, f(x) = p(x)/q(x). Its key features are found through a systematic process. First, factor both the numerator and denominator completely. Any common factors that cancel reveal holes (removable discontinuities) — single missing points on the graph whose y-coordinates you find by plugging the x-value into the simplified function. The remaining zeros of the denominator produce vertical asymptotes, where the graph shoots toward ±∞.

For horizontal asymptotes, compare the degrees of the numerator and denominator. If the numerator's degree is less, the HA is y = 0. If the degrees are equal, the HA is the ratio of leading coefficients. If the numerator's degree is greater, there is no horizontal asymptote. Remember the golden rule: always factor first to distinguish holes from vertical asymptotes before analyzing end behavior.

Varsity Tutors • Math 3 • Rational Function Features