Tutorials › AP Calculus › Limits at Infinity for Rational Functions

Infinite Limits and Continuity · Tutorial 65 of 999

Limits at Infinity for Rational Functions

Compare degrees and leading coefficients to evaluate rational-function limits at both ends of the real line.

Intermediate 9 min read

What You'll Learn

  • Identify the degree and leading coefficient of each polynomial in a rational function
  • Evaluate limits at positive and negative infinity when the numerator degree is smaller than the denominator degree
  • Find finite nonzero limits when the polynomial degrees are equal
  • Determine the direction of infinite limits when the numerator degree is larger
  • Use the degree difference to track signs at negative infinity
  • Check conclusions by factoring out the leading powers of x

Why Compare Degrees?

A rational function is a quotient of polynomials. When \(x\) becomes very large in magnitude, the terms with the greatest powers of \(x\) determine the function’s end behavior. Comparing those powers gives a systematic way to find a limit at positive or negative infinity.

The comparison must account for both the degrees and the leading coefficients. If the numerator degree is smaller, the quotient approaches zero. If the degrees match, the quotient approaches the ratio of the leading coefficients. If the numerator degree is larger, the quotient grows without bound in magnitude; its sign can differ at positive and negative infinity.

Definition: The degree of a nonzero polynomial is the greatest exponent of \(x\) with a nonzero coefficient. The coefficient of that term is its leading coefficient.

The Degree-Comparison Rule

Let \(P(x)\) and \(Q(x)\) be nonzero polynomials, with degrees \(m\) and \(n\), and leading coefficients \(a_m\) and \(b_n\), respectively. The rational function \(P(x)/Q(x)\) is defined for all sufficiently large positive and negative \(x\): the leading term of \(Q(x)\) ensures that \(Q(x)\) is nonzero once \(|x|\) is large enough.

Theorem: For \(f(x)=P(x)/Q(x)\):
  • If \(m<n\), then \(\displaystyle\lim_{x\to\infty}f(x)=0\) and \(\displaystyle\lim_{x\to-\infty}f(x)=0\).
  • If \(m=n\), then both limits equal \(a_m/b_n\).
  • If \(m>n\), put \(d=m-n\). The quotient grows without bound in magnitude. At positive infinity its sign is the sign of \(a_m/b_n\). At negative infinity its sign is the sign of \((a_m/b_n)(-1)^d\).
A positive sign means the limit is \(+\infty\); a negative sign means it is \(-\infty\).

Here, a limit of \(+\infty\) means that the function’s values eventually exceed every fixed positive bound. A limit of \(-\infty\) means that they eventually fall below every fixed negative bound. These are statements about unbounded behavior, not finite real-number values.

Why the Rule Works

Write each polynomial as its leading term times a factor. For example, the lower-degree terms of \(P\), after factoring out \(x^m\), become powers of \(1/x\):

$$ P(x)=a_mx^m\left(1+\frac{a_{m-1}}{a_mx}+\cdots\right). $$

Every term after \(1\) in the parentheses approaches zero as \(x\) approaches either positive or negative infinity. The same reasoning applies to \(Q(x)\). Therefore, for sufficiently large \(|x|\),

$$ \frac{P(x)}{Q(x)} = \frac{a_m}{b_n}x^{m-n} \frac{1+\text{terms approaching }0}{1+\text{terms approaching }0}. $$

The last factor approaches \(1\). The remaining power \(x^{m-n}\) determines whether the limit is zero, finite, or unbounded. When the exponent is positive, its sign at negative infinity depends on whether that exponent is even or odd.

Key takeaway: After factoring out the leading powers, a rational function has the form \(\frac{a_m}{b_n}x^{m-n}\) multiplied by a factor approaching \(1\). The degree difference controls the power; the leading coefficients control its scale and sign.

Worked Examples

Worked Example: Numerator Degree Less Than Denominator Degree

Evaluate both limits of \(f(x)=\frac{3x^2-5x+1}{2x^4+x-7}\).

The numerator has degree \(2\) and leading coefficient \(3\). The denominator has degree \(4\) and leading coefficient \(2\). Since \(2<4\), the rule predicts zero at both ends. Factoring out \(x^2\) from the numerator and \(x^4\) from the denominator gives

$$ \frac{3x^2-5x+1}{2x^4+x-7} = \frac{x^2\left(3-\frac5x+\frac1{x^2}\right)} {x^4\left(2+\frac1{x^3}-\frac7{x^4}\right)} = \frac1{x^2} \frac{3-\frac5x+\frac1{x^2}} {2+\frac1{x^3}-\frac7{x^4}}. $$

As \(x\) approaches either infinity, the second factor approaches \(3/2\), while \(1/x^2\) approaches zero. Thus

$$ \lim_{x\to\infty}\frac{3x^2-5x+1}{2x^4+x-7}=0, \qquad \lim_{x\to-\infty}\frac{3x^2-5x+1}{2x^4+x-7}=0. $$

Check: the denominator factor in parentheses approaches \(2\), so it stays away from zero for sufficiently large \(|x|\). The other factor approaches the finite value \(3/2\), and multiplication by \(1/x^2\) makes the entire expression approach zero at both ends.

Worked Example: Equal Degrees

Evaluate both limits of \(g(x)=\frac{-6x^3+4x-5}{3x^3-2x^2+9}\).

Both polynomials have degree \(3\), so the limit at each end is the ratio of their leading coefficients, \(-6/3=-2\). Dividing every term by \(x^3\) makes this comparison explicit:

$$ \frac{-6x^3+4x-5}{3x^3-2x^2+9} = \frac{-6+\frac4{x^2}-\frac5{x^3}} {3-\frac2x+\frac9{x^3}}. $$

As \(x\to\infty\), every displayed reciprocal-power term approaches zero, so the quotient approaches \(-6/3=-2\). The same terms approach zero as \(x\to-\infty\). Therefore,

$$ \lim_{x\to\infty}\frac{-6x^3+4x-5}{3x^3-2x^2+9} = \lim_{x\to-\infty}\frac{-6x^3+4x-5}{3x^3-2x^2+9} =-2. $$

Check: the denominator after division approaches \(3\), which is nonzero, and the numerator approaches \(-6\). Their quotient is \(-6/3=-2\), confirming the result at both ends.

Worked Example: A Larger Numerator Degree with an Even Difference

Evaluate both limits of \(h(x)=\frac{4x^4-x+2}{-2x^2+3x+1}\).

The degree difference is \(4-2=2\), which is even. The leading-coefficient ratio is \(4/(-2)=-2\). Factoring out the leading powers gives

$$ \frac{4x^4-x+2}{-2x^2+3x+1} = x^2 \frac{4-\frac1{x^3}+\frac2{x^4}} {-2+\frac3x+\frac1{x^2}}. $$

The fraction multiplying \(x^2\) approaches \(4/(-2)=-2\). Since \(x^2\) grows without bound and is positive at both ends, the product decreases without bound at both ends:

$$ \lim_{x\to\infty}\frac{4x^4-x+2}{-2x^2+3x+1}=-\infty, \qquad \lim_{x\to-\infty}\frac{4x^4-x+2}{-2x^2+3x+1}=-\infty. $$

Check: the fraction in the factored expression approaches a negative number, \(-2\), while \(x^2\) is positive and becomes arbitrarily large. Thus the product is negative with arbitrarily large magnitude at both ends.

Worked Example: A Larger Numerator Degree with an Odd Difference

Evaluate both limits of \(r(x)=\frac{x^3+2x+1}{-2x^2+x-3}\).

The degree difference is \(3-2=1\), which is odd, and the leading-coefficient ratio is \(1/(-2)=-1/2\). Factoring out the leading powers yields

$$ \frac{x^3+2x+1}{-2x^2+x-3} = x \frac{1+\frac2{x^2}+\frac1{x^3}} {-2+\frac1x-\frac3{x^2}}. $$

The fraction multiplying \(x\) approaches \(-1/2\). At positive infinity, \(x\) is positive and grows without bound, so the product approaches \(-\infty\). At negative infinity, \(x\) is negative and its product with a factor approaching \(-1/2\) is positive and grows without bound. Hence

$$ \lim_{x\to\infty}\frac{x^3+2x+1}{-2x^2+x-3}=-\infty, \qquad \lim_{x\to-\infty}\frac{x^3+2x+1}{-2x^2+x-3}=+\infty. $$

Check: the denominator factor in parentheses approaches \(-2\), so it is nonzero for sufficiently large \(|x|\). The remaining fraction approaches \(-1/2\), confirming that its product with \(x\) has the stated opposite signs at the two ends.

A Reliable Process

For each limit, identify the two degrees first. If the numerator degree is greater, also track the degree difference and the leading-coefficient ratio. This sequence keeps the magnitude and sign decisions separate.

1
Find the degrees and leading coefficients.
Use the highest-power nonzero term in each polynomial.
2
Compare the degrees.
Smaller numerator degree gives zero; equal degrees give a finite ratio; larger numerator degree gives unbounded magnitude.
3
For an unbounded limit, determine the sign.
At positive infinity, use the sign of the leading-coefficient ratio. At negative infinity, also account for whether the degree difference is odd or even.
4
Check by factoring leading powers.
Confirm that the remaining factor approaches the predicted leading-coefficient ratio.

Common Mistake: Ignoring Negative Infinity

A frequent error is to find the sign at positive infinity and copy it to negative infinity without checking the degree difference. For example, for \(r(x)=\frac{x^3+2x+1}{-2x^2+x-3}\), one might incorrectly say that both limits are \(-\infty\), because the leading-coefficient ratio is negative.

$$ \frac{x^3+2x+1}{-2x^2+x-3} \sim -\frac12x. $$

The degree difference is \(1\), so the remaining power \(x\) changes sign between the two ends. At positive infinity, \(-\frac12x\) is negative and unbounded; at negative infinity, it is positive and unbounded. The corrected limits are \(-\infty\) and \(+\infty\), respectively.

Another useful check is to avoid treating a quotient’s leading-coefficient ratio as the whole answer when the degrees differ. That ratio alone gives the limit only when the degrees are equal. If the numerator degree is larger, the remaining power of \(x\) cannot be discarded.

Why This Comparison Is Useful

Degree comparison turns a complicated-looking rational expression into a small number of decisions: compare two integers, divide two leading coefficients, and, when needed, check the parity of their degree difference. It also explains why lower-degree terms do not change these limits: after factoring out the leading powers, those terms become reciprocal powers that approach zero.

The same reasoning works if numerator and denominator share a polynomial factor. Cancelling a common factor does not change the degree difference or the ratio of the leading coefficients: the factor’s degree is subtracted from both degrees, and its leading coefficient cancels from the ratio. Factoring the original polynomials directly therefore leads to the same limit rule.

Check Your Understanding

For each question, identify the degrees before deciding what happens at each end.

  1. Evaluate the limits of \(\frac{5x+1}{x^3-4}\) as \(x\to\infty\) and \(x\to-\infty\).
  2. What are both limits of \(\frac{7x^2-3}{-2x^2+x+1}\)?
  3. Evaluate both limits of \(\frac{3x^5+x}{6x^2-1}\), and explain why the signs differ or agree.
  4. For a rational function with numerator degree \(6\) and denominator degree \(3\), how does the degree difference affect the sign at negative infinity?
  5. Why does dividing numerator and denominator by the denominator’s highest power of \(x\) help when the polynomial degrees are equal?

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon