Sub topic 12
Horizontal Asymptotes and End Behavior
Prerequisites and the main idea
Assume you can factor polynomials, identify a rational function’s domain, and compare polynomial degrees. A rational function has the form
\[ f(x)=\frac{P(x)}{Q(x)}, \qquad Q(x)\ne 0. \]
The end behavior describes what happens to \(f(x)\) as \(x\) becomes very large or very negative. A horizontal asymptote is a horizontal line that the graph approaches at one or both ends.
For end behavior, the highest-power terms usually determine the answer. Lower-power terms become relatively small as \(\lvert x\rvert\) increases.
Degree rules
Let \(n\) be the degree of the numerator and \(m\) be the degree of the denominator.
| Degree comparison | Horizontal asymptote |
|---|---|
| \(n<m\) | \(y=0\) |
| \(n=m\) | \(y=\dfrac{\text{leading numerator coefficient}}{\text{leading denominator coefficient}}\) |
| \(n>m\) | No horizontal asymptote from degree comparison |
For example,
\[ f(x)=\frac{4x^2-7x+1}{2x^2+3}. \]
Both polynomials have degree \(2\). The leading coefficients are \(4\) and \(2\), so
\[ y=\frac{4}{2}=2 \]
is the horizontal asymptote.
The function approaches \(2\) as \(x\to\infty\) and as \(x\to-\infty\):
\[ \lim{x\to\infty}f(x)=2, \qquad \lim{x\to-\infty}f(x)=2. \]
A horizontal asymptote describes end behavior. It does not necessarily describe every part of the graph. A rational function can cross its horizontal asymptote.
Why the rules work
For
\[ g(x)=\frac{5x+2}{x^2-1}, \]
the denominator has the greater degree. Dividing the leading terms gives
\[ \frac{5x}{x^2}=\frac{5}{x}, \]
and \(\frac{5}{x}\) approaches \(0\) at both ends. Therefore, \(y=0\) is the horizontal asymptote.
If the degrees are equal, divide the numerator and denominator by the highest power of \(x\). For
\[ h(x)=\frac{6x^3-x}{3x^3+4}, \]
divide by \(x^3\):
\[ h(x)=\frac{6-\frac{1}{x^2}}{3+\frac{4}{x^3}}. \]
As \(x\) approaches either infinity, the fractions containing \(x\) in the denominator approach \(0\). Thus,
\[ h(x)\to\frac{6}{3}=2. \]
from sympy import symbols, limit, oo
x = symbols("x")
f = (6*x**3 - x) / (3*x**3 + 4)
print(limit(f, x, oo)) # 2
print(limit(f, x, -oo)) # 2Common errors
- Using the constant terms instead of the leading coefficients.
- Assuming a horizontal asymptote cannot be crossed.
- Forgetting that \(n>m\) may produce a slant or polynomial asymptote, which requires division to find.
- Confusing a horizontal asymptote with a vertical asymptote. Horizontal asymptotes describe \(x\)-values moving toward infinity; vertical asymptotes describe the function near excluded finite \(x\)-values.
Exercise
Find the horizontal asymptote of f(x) = (7x^2 - 4)/(5x^2 + x - 1), and state the end behavior.
Show answer
The degrees are equal, so divide the leading coefficients: y = 7/5. Thus f(x) approaches 7/5 as x approaches both infinity and negative infinity.