Taylor expansion
Lagrange and Peano remainders, limits with expansions, inequalities from the sign of the remainder, and the inequality ∣f′∣≤2M0M2.
What to know by heart
If f is n+1 times differentiable on an interval containing a and x, there is ξ between them with
f(x)=k=0∑nk!f(k)(a)(x−a)k+(n+1)!f(n+1)(ξ)(x−a)n+1(Lagrange).
If f is only n times differentiable at a, the remainder is o((x−a)n) (Peano).
The expansions at 0 you need without thinking:
ex=1+x+2x2+O(x3),ln(1+x)=x−2x2+O(x3),sinx=x−6x3+O(x5),
cosx=1−2x2+O(x4),(1+x)α=1+αx+2α(α−1)x2+O(x3).
When to use it
- Limits of the form 0/0 where L'Hôpital would need three differentiations. Expand numerator and denominator up to the first term that does not cancel.
- Inequalities from the sign of the remainder. Since eξ>0, ex≥1+x for every x. Since ∣sin(3)∣≤1, ∣sinx−x∣≤∣x∣3/6.
- Bounds for the derivative. If ∣f∣≤M0 and ∣f′′∣≤M2 on all of R, write Taylor from x to x±h and subtract:
2hf′(x)=f(x+h)−f(x−h)−2h2(f′′(ξ1)−f′′(ξ2)),∣f′(x)∣≤hM0+2hM2.
With h=2M0/M2 you get ∣f′(x)∣≤2M0M2 (Landau's inequality).
- Asymptotics of sequences. For xn+1=sinxn, the expansion sinx=x−x3/6+O(x5) gives xn+121−xn21→31. By Stolz–Cesàro, nxn2→3.
Pitfalls
- The Taylor series need not converge to the function. f(x)=e−1/x2, f(0)=0, has all derivatives zero at 0, while f=0.
- ξ depends on x. Don't treat it as a constant when you vary x or pass to a limit.
- Keep enough terms. If you end with x3O(x3), you needed one more term.
Further reading
- Abbott, Understanding Analysis, 2nd ed., §6.6 (Taylor Series)
- Gelca & Andreescu, Putnam and Beyond, §3.2.11 (Taylor and Fourier Series)
Contest problems using these tools
No problems with these tools yet.