Rational Function Asymptotes

A rational function is any function of the form f(x) = P(x)/Q(x), where P(x) and Q(x) are polynomials and Q(x) is not the zero polynomial. Because division by zero is undefined, these functions develop fascinating structural features called asymptotes — invisible boundary lines that the graph approaches but (usually) never crosses. Understanding asymptotes is essential for sketching rational functions accurately and for analysing their behaviour across their entire domain. There are three kinds of asymptotes associated with rational functions: vertical asymptotes, horizontal asymptotes, and oblique (slant) asymptotes. Vertical asymptotes arise wherever the denominator equals zero (and the numerator does not simultaneously equal zero at the same point). Horizontal and oblique asymptotes describe end behaviour — what happens to the output values as x grows without bound in either direction. Together, these features form a skeleton that guides the shape of the entire graph. This article focuses on locating vertical asymptotes precisely and determining end behaviour through horizontal and oblique asymptotes. Mastering these techniques requires comfort with polynomial long division and limits, two ideas that appear throughout higher mathematics. Once you can identify all asymptotes of a rational function, you have unlocked most of the information needed to produce an accurate, complete graph without plotting dozens of individual points.

Key takeaways
  • Fully factorise numerator and denominator
  • Locate vertical asymptotes
  • Determine end behaviour — compare degrees
  • Perform long division for oblique asymptotes
  • Sketch the graph using the asymptote skeleton

Fully factorise numerator and denominator

Before doing anything else, factorise P(x) and Q(x) completely. Cancel any common factors — these create holes (removable discontinuities), not asymptotes. For example, in f(x) = (x² − 4)/(x − 2), the factor (x − 2) cancels, leaving f(x) = x + 2 with a hole at x = 2, not a vertical asymptote.

Locate vertical asymptotes

Set the simplified denominator equal to zero and solve. Each real solution x = a gives a vertical asymptote x = a. Near this value the function grows without bound: the graph shoots up to +∞ or down to −∞ on each side. To determine direction, test values slightly to the left and right of x = a and check the sign of f(x).

Determine end behaviour — compare degrees

Let n = deg(P) and m = deg(Q). Three cases apply. Case 1: n < m — the horizontal asymptote is y = 0 (the x-axis). Case 2: n = m — the horizontal asymptote is y = (leading coefficient of P)/(leading coefficient of Q). Case 3: n = m + 1 — perform polynomial long division; the quotient is a linear expression ax + b giving the oblique asymptote y = ax + b. If n > m + 1, there is no linear asymptote (the function grows faster than any line).

Perform long division for oblique asymptotes

When deg(P) = deg(Q) + 1, divide P(x) by Q(x) using polynomial long division. Write f(x) = (ax + b) + R(x)/Q(x), where R(x) is the remainder with deg(R) < deg(Q). As x → ±∞ the remainder term R(x)/Q(x) → 0, so f(x) → ax + b. The line y = ax + b is the oblique asymptote. For instance, f(x) = (x² + 3x − 2)/(x + 1): dividing gives f(x) = (x + 2) − 4/(x+1), so the oblique asymptote is y = x + 2.

Sketch the graph using the asymptote skeleton

Draw the vertical and horizontal/oblique asymptotes as dashed lines first. Then find x-intercepts (set numerator = 0) and the y-intercept (evaluate f(0)). Plot a few test points in each region separated by the vertical asymptotes. Finally, draw smooth curves that hug the asymptotes correctly, using sign analysis to know which side of each asymptote the graph lies on.

The Key Equation

f(x)=P(x)Q(x)=anxn+⋯+a0bmxm+⋯+b0f(x) = \frac{P(x)}{Q(x)} = \frac{a_n x^n + \cdots + a_0}{b_m x^m + \cdots + b_0}
  • P(x) — Numerator polynomial (dimensionless): A polynomial of degree n whose zeros give x-intercepts of f(x)
  • Q(x) — Denominator polynomial (dimensionless): A polynomial of degree m; its real zeros (after cancellation) determine vertical asymptotes
  • a_n — Leading coefficient of numerator (dimensionless): The coefficient of the highest-degree term in P(x)
  • b_m — Leading coefficient of denominator (dimensionless): The coefficient of the highest-degree term in Q(x); ratio aₙ/bₘ gives the horizontal asymptote when n = m

Worked Example

Problem. Identify all asymptotes of f(x) = (2x² − 8) / (x² − x − 6) and describe the end behaviour.

x=3 (vertical),y=2 (horizontal),hole at x=−2x = 3 \text{ (vertical)}, \quad y = 2 \text{ (horizontal)}, \quad \text{hole at } x = -2

Answer. Vertical asymptote: x = 3; hole at x = −2; horizontal asymptote: y = 2. As x → ±∞, f(x) → 2.

Figure
Diagram
hole at x=−2x = 3y = 2xyO3−22f(x)=2(x−2)/(x−3)
Origins · 1 minLeonhard Euler and how this was discovered
LE
Leonhard Euler
1707–1783 · Swiss

Euler systematised the study of functions and introduced modern function notation f(x). His extensive work on infinite series and analysis laid foundations for understanding the limiting behaviour of expressions like rational functions as variables grow without bound — the very idea underlying asymptotic analysis. Euler continued to produce mathematics at an extraordinary rate even after becoming completely blind in 1771, dictating results to assistants. He published over 850 papers in his lifetime, more than any other mathematician in history.

  • Domain of Rational Functions — The domain excludes exactly the x-values where vertical asymptotes or holes occur, so domain analysis and asymptote analysis are two sides of the same coin.
  • Polynomial Long Division — Polynomial long division is the essential tool for finding oblique asymptotes when the degree of the numerator exceeds that of the denominator by exactly one.
  • Introduction to Limits — Asymptotes are formally defined using limits: a vertical asymptote at x = a means lim_{x→a} |f(x)| = ∞, and horizontal asymptotes describe lim_{x→±∞} f(x).
  • Graphing Rational Functions — Asymptotes are the most important features to establish before plotting any points when sketching a rational function's graph.