Skip to main content
Mathematics LibreTexts

4.1: Taylor Series

  • Page ID
    8357
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    One series you have encountered before is Taylor’s series,

    \[f(x) = \sum_{n=0}^{\infty} f^{(n)}(a)\frac{(x-a)^n}{n!}, \label{eq:IV:taylor} \]

    where \(f^{(n)}(x)\) is the \(n\)th derivative of \(f\). An example is the Taylor series of the cosine around \(x=0\) (i.e., \(a=0\)),

    \[\begin{aligned} &&\qquad&\cos(0) &= 1,\nonumber\\ \cos'(x) &= -\sin(x),&&\cos'(0)&=0,\nonumber\\ \cos^{(2)}(x) &= -\cos(x),&&\cos^{(2)}(0)&=-1,\\ \cos^{(3)}(x) &= \sin(x),&&\cos^{(3)}(0)&=0,\nonumber\\ \cos^{(4)}(x) &= \cos(x),&&\cos^{(4)}(0)&=1.\end{aligned} \nonumber \]

    Notice that after four steps we are back where we started. We have thus found (using \(m=2n\) in (\(\PageIndex{1}\))) )

    \[\cos x = \sum_{m=0}^\infty \frac{(-1)^m}{(2m)!} x^{2m}, \nonumber \]

    Exercise \(\PageIndex{1}\)

    Show that \[\sin x = \sum_{m=0}^\infty \frac{(-1)^m}{(2m+1)!} x^{2m+1}. \nonumber \]

    Answer

    TBA


    This page titled 4.1: Taylor Series is shared under a CC BY-NC-SA 2.0 license and was authored, remixed, and/or curated by Niels Walet via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.