Tutorials › AP Calculus › Resolving Cancellations in Taylor-Series Limits

Taylor Series and Error Bounds · Tutorial 896 of 999

Resolving Cancellations in Taylor-Series Limits

When subtraction hides the leading behavior, expand far enough to reveal the first nonzero terms and use their orders and coefficients to evaluate the limit.

Advanced 10 min read

What You'll Learn

  • Identify which Taylor terms cancel in a numerator or denominator.
  • Expand each expression through its first surviving term.
  • Use leading powers and coefficients to evaluate a quotient limit.
  • Justify the quotient by factoring out the shared variable power.
  • Recognize when the limit is zero or has no finite value.
  • Avoid drawing conclusions from truncated expansions that hide the answer.

Why Cancellation Requires More Terms

Some limits appear to have the form \(0/0\) because several terms in both the numerator and denominator cancel. In those cases, the first terms of the familiar Taylor expansions may tell us nothing about the quotient. We must continue until each expression has a nonzero term, then compare the powers and coefficients of those first surviving terms.

This is not a matter of expanding as far as possible. The goal is to expand far enough to determine the leading behavior. Once that behavior is known, a short factoring argument gives the limit and explains why the calculation works.

First Surviving Terms

Write \(h=x-a\) when considering a limit as \(x\) approaches \(a\). If an expression has its first nonzero Taylor term equal to \(Ch^m\), where \(C\ne 0\), then near \(a\) it behaves like \(Ch^m\). More precisely, under the appropriate Taylor expansion, it can be written as \(Ch^m+o(h^m)\). Here \(o(h^m)\) denotes a remainder whose quotient by \(h^m\) tends to zero as \(h\) tends to zero.

Key idea: For a quotient, find the first nonzero term in the numerator and the first nonzero term in the denominator separately. Compare their powers, then their coefficients if the powers match.

For example, if the numerator begins with \(Ah^4\) and the denominator with \(Bh^4\), their quotient approaches \(A/B\), provided \(B\ne 0\) and the denominator is nonzero sufficiently close to \(a\), except possibly at \(a\) itself. If the powers differ, the power of \(h\) left after cancellation determines whether the quotient tends to zero or fails to have a finite limit.

The Quotient Rule for Leading Taylor Terms

The following result makes that comparison precise. It applies whenever the stated local expansions hold; Taylor's theorem supplies such expansions when the functions have sufficient derivatives near the point. For standard functions represented by convergent Taylor series, the series can be used directly within their interval of convergence.

Theorem: Suppose, as \(h\to 0\), \(f(a+h)=Ah^m+o(h^m)\) and \(g(a+h)=Bh^n+o(h^n)\), where \(A\ne 0\), \(B\ne 0\), and \(m,n\) are nonnegative integers. Assume \(g(a+h)\ne 0\) for all sufficiently small nonzero \(h\). Then:
  • If \(m=n\), \(\displaystyle\lim_{h\to0}\frac{f(a+h)}{g(a+h)}=\frac{A}{B}\).
  • If \(m>n\), \(\displaystyle\lim_{h\to0}\frac{f(a+h)}{g(a+h)}=0\).
  • If \(m<n\), the quotient has no finite limit; its magnitude grows without bound, though its sign may differ on the two sides.

Why the Comparison Works

The proof is a factorization of the dominant powers. By the definition of little-oh notation, there are functions \(\varepsilon(h)\) and \(\delta(h)\) that tend to zero as \(h\to0\) and satisfy

$$ f(a+h)=h^m\bigl(A+\varepsilon(h)\bigr), \qquad g(a+h)=h^n\bigl(B+\delta(h)\bigr). $$

For sufficiently small \(h\), \(B+\delta(h)\) is nonzero, because it approaches the nonzero number \(B\). Thus, for nonzero \(h\) in that neighborhood,

$$ \frac{f(a+h)}{g(a+h)} = h^{m-n}\frac{A+\varepsilon(h)}{B+\delta(h)}. $$

The second factor approaches \(A/B\), a finite nonzero number. If \(m=n\), the power factor is \(1\), so the quotient approaches \(A/B\). If \(m>n\), the factor \(h^{m-n}\) tends to zero, so the whole quotient tends to zero. If \(m<n\), its absolute value grows without bound because the nonzero second factor approaches \(A/B\), while \(|h|^{m-n}\) grows without bound. The sign can depend on the parity of \(m-n\) and on which side of zero is considered, so a two-sided infinite limit is not guaranteed.

Worked Example: Equal Orders After Several Cancellations

Worked Example: Equal Orders After Several Cancellations

Evaluate \(\displaystyle\lim_{x\to0}\frac{e^x-1-x-\frac{x^2}{2}-\frac{x^3}{6}}{1-\cos x-\frac{x^2}{2}}\).

In the numerator, the constant and the terms through degree three have been subtracted. Expand through the first remaining term:

$$ e^x=1+x+\frac{x^2}{2}+\frac{x^3}{6}+\frac{x^4}{24}+O(x^5), $$

so the numerator is \(\frac{x^4}{24}+O(x^5)\). For the denominator,

$$ \cos x=1-\frac{x^2}{2}+\frac{x^4}{24}+O(x^6), $$

and therefore

$$ 1-\cos x-\frac{x^2}{2} = -\frac{x^4}{24}+O(x^6). $$

Both expressions have order four. Factor out \(x^4\) from each:

$$ \frac{x^4\left(\frac{1}{24}+O(x)\right)} {x^4\left(-\frac{1}{24}+O(x^2)\right)} = \frac{\frac{1}{24}+O(x)} {-\frac{1}{24}+O(x^2)}. $$

The denominator of this last quotient approaches \(-1/24\), which is nonzero. Taking the limit gives

$$ \lim_{x\to0}\frac{e^x-1-x-\frac{x^2}{2}-\frac{x^3}{6}} {1-\cos x-\frac{x^2}{2}} = \frac{1/24}{-1/24} =-1. $$

Check: The quotient of the leading terms is \((x^4/24)/(-x^4/24)=-1\) for \(x\ne0\). The factored remainder terms approach those same nonzero coefficients, confirming that no higher-order terms change the limit.

Worked Example: The Numerator Has Higher Order

Worked Example: The Numerator Has Higher Order

Evaluate \(\displaystyle\lim_{x\to0}\frac{\sin x-x+\frac{x^3}{6}-\frac{x^5}{120}}{1-\cos x-\frac{x^2}{2}+\frac{x^4}{24}}\).

Use the sine expansion through degree seven. After the displayed cancellations, the first surviving term is degree seven:

$$ \sin x=x-\frac{x^3}{6}+\frac{x^5}{120}-\frac{x^7}{5040}+O(x^9), $$
$$ \sin x-x+\frac{x^3}{6}-\frac{x^5}{120} = -\frac{x^7}{5040}+O(x^9). $$

For the denominator, use the cosine expansion through degree six:

$$ \cos x=1-\frac{x^2}{2}+\frac{x^4}{24}-\frac{x^6}{720}+O(x^8), $$

which gives

$$ 1-\cos x-\frac{x^2}{2}+\frac{x^4}{24} = \frac{x^6}{720}+O(x^8). $$

The numerator has order seven and the denominator order six. Factoring their leading powers yields

$$ \frac{x^7\left(-\frac{1}{5040}+O(x^2)\right)} {x^6\left(\frac{1}{720}+O(x^2)\right)} = x\, \frac{-\frac{1}{5040}+O(x^2)} {\frac{1}{720}+O(x^2)}. $$

The fraction after \(x\) approaches a finite number, since its denominator approaches \(1/720\ne0\), while \(x\to0\). Therefore,

$$ \lim_{x\to0}\frac{\sin x-x+\frac{x^3}{6}-\frac{x^5}{120}} {1-\cos x-\frac{x^2}{2}+\frac{x^4}{24}} =0. $$

Check: The leading-term quotient is \(\left(-x^7/5040\right)/(x^6/720)=-x/7\), which tends to zero. This agrees with the limit obtained after including the remainders.

Worked Example: Comparing Two Different Taylor Expansions

Worked Example: Comparing Two Different Taylor Expansions

Evaluate \(\displaystyle\lim_{x\to0}\frac{\ln(1+x)-x+\frac{x^2}{2}-\frac{x^3}{3}}{e^x-1-x-\frac{x^2}{2}-\frac{x^3}{6}}\).

The logarithm expansion near zero begins

$$ \ln(1+x)=x-\frac{x^2}{2}+\frac{x^3}{3}-\frac{x^4}{4}+O(x^5), $$

so the numerator simplifies to

$$ \ln(1+x)-x+\frac{x^2}{2}-\frac{x^3}{3} = -\frac{x^4}{4}+O(x^5). $$

Expand the exponential through degree four as well:

$$ e^x=1+x+\frac{x^2}{2}+\frac{x^3}{6}+\frac{x^4}{24}+O(x^5), $$

and obtain

$$ e^x-1-x-\frac{x^2}{2}-\frac{x^3}{6} = \frac{x^4}{24}+O(x^5). $$

The orders match, so factor \(x^4\) and compare the coefficients:

$$ \frac{x^4\left(-\frac{1}{4}+O(x)\right)} {x^4\left(\frac{1}{24}+O(x)\right)} = \frac{-\frac{1}{4}+O(x)} {\frac{1}{24}+O(x)} \longrightarrow \frac{-1/4}{1/24} =-6. $$

Check: The ratio of the first surviving terms is \((-x^4/4)/(x^4/24)=-6\) for \(x\ne0\). Both factored expressions approach nonzero coefficients, so the higher-order remainders do not alter the limit.

A Common Mistake: Stopping Before Anything Survives

A truncation is useful only if it retains the first nonzero term needed for the limit. For instance, in the first worked example, using Taylor polynomials only through degree three makes both the numerator and denominator appear to be zero. That does not show that the original quotient is zero, nor does it determine its limit. It shows only that the chosen truncations were too short.

Common mistake: Replace both expressions by their degree-three Taylor polynomials and conclude that the quotient is \(0/0\), or that it equals zero. The correction is to continue the expansions: the numerator first survives at degree four with coefficient \(1/24\), and the denominator first survives at degree four with coefficient \(-1/24\). The limit is their coefficient ratio, \(-1\).

Another error is to compare coefficients before checking the powers. If the leading powers differ, the quotient includes a remaining power of \(x-a\); coefficient division alone then gives the wrong conclusion. Always record both the first surviving power and its coefficient.

A Reliable Procedure

1
Locate the limit point.
Set \(h=x-a\) when the limit is as \(x\to a\), so the expansion is organized in powers of the quantity approaching zero.
2
Track the cancellations.
For the numerator and denominator separately, subtract the specified terms and find the first term that remains nonzero.
3
Expand far enough.
Include the remainder at an order that confirms the claimed leading term, rather than stopping at a truncation that vanishes entirely.
4
Compare orders, then coefficients.
Equal powers give a coefficient ratio; a higher numerator power gives zero; a lower numerator power prevents a finite limit.
5
Check the quotient conditions.
Confirm that the denominator's leading coefficient is nonzero and that the original denominator is nonzero for nearby points where the quotient is evaluated.

Check Your Understanding

For each question, identify the first surviving terms before deciding what the quotient does.

  1. If a numerator begins with \(5h^6+o(h^6)\) and a denominator begins with \(-2h^6+o(h^6)\), what is the quotient limit as \(h\to0\)?
  2. If the numerator begins with \(3h^8+o(h^8)\) and the denominator with \(4h^5+o(h^5)\), what is the limit?
  3. Why does a degree-three Taylor truncation that makes both numerator and denominator zero fail to determine a quotient limit?
  4. What additional condition on the denominator is needed to form the quotient near, but not necessarily at, the limit point?
  5. If the numerator and denominator have different leading powers, why is dividing only their leading coefficients insufficient?

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