Math ClubMath Club
v1 · padrão canônico

Lesson 65 — Taylor Polynomials

Local approximation of smooth functions by polynomials: Taylor/Maclaurin series, Lagrange remainder, and classic series for e^x, sin x, cos x.

Used in: 2nd year advanced HS · Japanese Equiv. Math III · German Equiv. Leistungskurs Analysis · University Calculus I

Pn(x)=k=0nf(k)(a)k!(xa)kP_n(x) = \sum_{k=0}^{n} \frac{f^{(k)}(a)}{k!}(x - a)^k
Choose your door

Rigorous notation, full derivation, hypotheses

Rigorous Definition and Properties

Taylor Polynomial

"If ff has nn derivatives at x=ax = a, then the nnth-order Taylor polynomial of ff centered at aa is pn(x)=k=0nf(k)(a)k!(xa)kp_n(x) = \sum_{k=0}^n \frac{f^{(k)}(a)}{k!}(x-a)^k." — APEX Calculus §8.6

Lagrange Remainder

"Let ff have n+1n + 1 derivatives on an open interval II and let aIa \in I. For each xIx \in I there exists a value cc between aa and xx such that Rn(x)=f(n+1)(c)(n+1)!(xa)n+1R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x-a)^{n+1}." — OpenStax Calculus Vol. 2 §6.3

Classic Maclaurin Series

FunctionMaclaurin SeriesRadius
exe^x1+x+x22!+x33!+=k=0xkk!1 + x + \tfrac{x^2}{2!} + \tfrac{x^3}{3!} + \cdots = \displaystyle\sum_{k=0}^\infty \tfrac{x^k}{k!}\infty
sinx\sin xxx33!+x55!=k=0(1)kx2k+1(2k+1)!x - \tfrac{x^3}{3!} + \tfrac{x^5}{5!} - \cdots = \displaystyle\sum_{k=0}^\infty \tfrac{(-1)^k x^{2k+1}}{(2k+1)!}\infty
cosx\cos x1x22!+x44!=k=0(1)kx2k(2k)!1 - \tfrac{x^2}{2!} + \tfrac{x^4}{4!} - \cdots = \displaystyle\sum_{k=0}^\infty \tfrac{(-1)^k x^{2k}}{(2k)!}\infty
ln(1+x)\ln(1+x)xx22+x33=k=1(1)k+1xkkx - \tfrac{x^2}{2} + \tfrac{x^3}{3} - \cdots = \displaystyle\sum_{k=1}^\infty \tfrac{(-1)^{k+1} x^k}{k}(1,1](-1,1]
11x\dfrac{1}{1-x}1+x+x2+x3+=k=0xk1 + x + x^2 + x^3 + \cdots = \displaystyle\sum_{k=0}^\infty x^k(1,1)(-1,1)
arctanx\arctan xxx33+x55=k=0(1)kx2k+12k+1x - \tfrac{x^3}{3} + \tfrac{x^5}{5} - \cdots = \displaystyle\sum_{k=0}^\infty \tfrac{(-1)^k x^{2k+1}}{2k+1}[1,1][-1,1]

Solved Examples

Exercise list

40 exercises · 10 with worked solution (25%)

22 8 4 2 4
  1. Ex. 65.1

    Write the Maclaurin polynomial for f(x)=exf(x) = e^x up to x4x^4.

  2. Ex. 65.2Answer key

    Write the Maclaurin polynomial for f(x)=sinxf(x) = \sin x up to x7x^7.

  3. Ex. 65.3Answer key

    Write the Maclaurin polynomial for f(x)=cosxf(x) = \cos x up to x6x^6.

  4. Ex. 65.4Answer key

    Write the Maclaurin polynomial for f(x)=ln(1+x)f(x) = \ln(1+x) up to x4x^4.

  5. Ex. 65.5

    Maclaurin for f(x)=1/(1x)f(x) = 1/(1-x) up to x5x^5—it's simply the geometric series.

  6. Ex. 65.6

    Maclaurin for f(x)=(1+x)1/2f(x) = (1+x)^{1/2} up to x3x^3. Calculate ff', ff'', ff''' at x=0x = 0.

  7. Ex. 65.7

    Maclaurin for arctanx\arctan x up to x5x^5 (via integration of 1/(1+x2)1/(1+x^2)).

  8. Ex. 65.8Answer key

    Maclaurin for sinhx\sinh x and coshx\cosh x up to x5x^5.

  9. Ex. 65.9

    Maclaurin for exe^{-x} up to x4x^4 (direct substitution into exe^x).

  10. Ex. 65.10

    Maclaurin for tanx\tan x up to x5x^5 using sin/cos\sin/\cos.

  11. Ex. 65.11

    Maclaurin for cos(2x)\cos(2x) up to x4x^4 via substitution.

  12. Ex. 65.12Answer key

    Maclaurin for ex2e^{x^2} up to x6x^6.

  13. Ex. 65.13

    Maclaurin for cos(x2)\cos(x^2) up to x8x^8.

  14. Ex. 65.14

    Maclaurin for ln(1x2)\ln(1 - x^2) up to x6x^6.

  15. Ex. 65.15

    Maclaurin for 1/(1+x2)1/(1+x^2) up to x6x^6 (geometric series with u=x2u = -x^2).

  16. Ex. 65.16

    Maclaurin for exsinxe^x \sin x up to x4x^4.

  17. Ex. 65.17

    Maclaurin for sinxcosx\sin x \cos x up to x5x^5 (or use sin(2x)/2\sin(2x)/2).

  18. Ex. 65.18

    Maclaurin for xexx e^{-x} up to x4x^4.

  19. Ex. 65.19

    Taylor for lnx\ln x around a=1a = 1, order 4.

  20. Ex. 65.20

    Taylor for x\sqrt{x} around a=1a = 1, order 3.

  21. Ex. 65.21Answer key

    Taylor for 1/x1/x around a=1a = 1, order 3.

  22. Ex. 65.22

    Taylor for cosx\cos x around a=π/4a = \pi/4, order 4.

  23. Ex. 65.23

    Calculate limx0ex1xx2\displaystyle\lim_{x \to 0} \frac{e^x - 1 - x}{x^2} using Taylor.

  24. Ex. 65.24

    Calculate limx0sinxxx3\displaystyle\lim_{x \to 0} \frac{\sin x - x}{x^3} using Taylor.

  25. Ex. 65.25

    Calculate limx0cosx1+x2/2x4\displaystyle\lim_{x \to 0} \frac{\cos x - 1 + x^2/2}{x^4}.

  26. Ex. 65.26

    Calculate limx0sinxtanxx3\displaystyle\lim_{x \to 0} \frac{\sin x - \tan x}{x^3}.

  27. Ex. 65.27

    Estimate ln(1.1)\ln(1.1) with error less than 10410^{-4} using the Maclaurin series. State the order needed.

  28. Ex. 65.28Answer key

    Approximate sin(0.1)\sin(0.1) with error less than 10610^{-6}. State the order used.

  29. Ex. 65.29

    Approximate 1.1\sqrt{1.1} using Taylor of 1+x\sqrt{1+x} at a=0a = 0 up to order 2.

  30. Ex. 65.30

    Relativistic energy: E=mc2/1v2/c2E = mc^2/\sqrt{1 - v^2/c^2}. Expand in powers of v/cv/c and identify the terms E0=mc2E_0 = mc^2 and Ek=12mv2E_k = \frac{1}{2}mv^2.

  31. Ex. 65.31

    What makes PnP_n the "best polynomial approximation of degree nn" at aa?

  32. Ex. 65.32

    Show that if ff is a polynomial of degree n\leq n, then Pn=fP_n = f exactly (not just an approximation).

  33. Ex. 65.33Answer key

    Justify that exe^x has an infinite radius of convergence using Lagrange remainder estimation.

  34. Ex. 65.34

    In finance, (1+r/n)ner(1 + r/n)^n \to e^r as nn \to \infty (continuous compounding). Use Taylor expansion of ere^r to estimate the annual growth factor with r=12%r = 12\% and compare with simple interest.

  35. Ex. 65.35

    Derive Euler's formula eix=cosx+isinxe^{ix} = \cos x + i\sin x by separating even and odd terms from the series for eze^z.

  36. Ex. 65.36

    Show that f(x)=e1/x2f(x) = e^{-1/x^2} (with f(0)=0f(0) = 0) has all derivatives zero at 00—thus Pn=0P_n = 0 for all nn, but fPnf \neq P_n.

  37. Ex. 65.37Answer key

    Prove that the Maclaurin series for exe^x converges to exe^x for all xRx \in \mathbb{R} (use Lagrange remainder estimation).

  38. Ex. 65.38Answer key

    Prove the multivariate Taylor expansion of order 2 (with Hessian) by reducing it to a 1D Taylor expansion along a parametric line.

  39. Ex. 65.39

    Prove the Lagrange form of the remainder using the Generalized Mean Value Theorem.

  40. Ex. 65.40

    Integrate the series 1/(1+t2)=(1)kt2k1/(1+t^2) = \sum (-1)^k t^{2k} to obtain arctanx\arctan x as a series. Use this to derive Leibniz's formula: π/4=11/3+1/51/7+\pi/4 = 1 - 1/3 + 1/5 - 1/7 + \cdots

Sources

  • Active Calculus — Boelkins · 2024 · §8.5 Taylor Polynomials and Taylor Series · CC-BY-NC-SA. Primary source.
  • Calculus Volume 2 — OpenStax · 2016 · §6.3 Taylor and Maclaurin Series · CC-BY-NC-SA.
  • APEX Calculus — Hartman et al. · 2024 · v5.0 · §8.6 Taylor Polynomials · CC-BY-NC.

Updated on 2024-07-27 · Author(s): Clube da Matemática

Found an error? Open an issue on GitHub or submit a PR — open source forever.