7.4: Taylor Series

Chemical Process Dynamics and Controls · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY 3.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    7.4: Taylor Series

    A Taylor Series is a representation of a function in the form of an infinite sum. Each term is calculated from using a derivative of the function as well as a factorial. The following equation is the defining equation of a Taylor series:

    \[f(x)=\int(a)-\frac{f^{\prime}(a)}{1 !}(x-a)+\frac{f^{\prime \prime \prime}(a)}{2 !}(x-a)^{2}+\frac{f^{(3)}(a)}{3 !}(x-a)^{3}+\cdots-\frac{f^{(n)}(a)}{n !}(x-a)^{n} \label{eq1} \]

    where \(a\) is the point, around which the function is defined.

    The Taylor approximation is most accurate at \(a\), and becomes less precise as the distance from a increases. The following equation is the same as Equation \ref{eq1} mentioned above, in summation notation:

    \[f(x)=\sum_{n=0}^{\infty} \frac{f^{(n)}(a)}{n !}(x-a)^{n} \nonumber \]

    We will first consider a simple example, the function, \(e^x\), defined around the point, 0:

    \[e^{x}=e^{0}+\frac{1}{1 !}(x-0)+\frac{1}{2 !}(x-0)^{2}+\frac{1}{3 !}(x-0)^{3}+\cdots+\frac{1}{n !}(x-0)^{n} \nonumber \]

    The numerators of each equation are all 1, because any level derivative of \(e^x\) is \(e^x\), and \(e^x\), defined at 0 is always 1. The Taylor expansion simplifies to the following equation:

    \[e^{x}=1+\frac{x}{1 !}+\frac{x^{2}}{2 !}+\frac{x^{3}}{3 !}+\cdots+\frac{x^{n}}{n !} \nonumber \]

    Also note that a Taylor series centered around 0 is called a Maclaurin series. In addition to the ex Maclaurin series, some other common, simplified Maclaurin series are listed here:

    \[ \begin{align*} \cos (x) &=1-\frac{1}{2 !} x^{2}+\frac{1}{4 !} x^{4}-\frac{1}{6 !} x^{6}+\cdots \\[4pt]
    \sin (x) &=\frac{1}{1 !} x-\frac{1}{3 !} x^{3}+\frac{1}{5 !} x^{5}-\frac{1}{7 !} x^{7}+\cdots \\[4pt]
    \cosh (x) &=1+\frac{1}{2 !} x^{2}+\frac{1}{4 !} x^{4}+\frac{1}{6 !} x^{6}+\cdots \\[4pt]
    \sinh (x) &=\frac{1}{1 !} x+\frac{1}{3 !} x^{3}+\frac{1}{5 !} x^{5}+\frac{1}{7 !} x^{7}+\cdots \\[4pt]
    \frac{1}{1-x} &=1+x+x^{2}+x^{3}+\cdots+x^{n}\\[4pt]
    \ln (1+x)& =x-\frac{1}{2} x^{2}+\frac{1}{3} x^{3}-\frac{1}{4} x^{4}+\cdots+\frac{(-1)^{n+1}}{n} x^{n} \end{align*}  \nonumber \]

    These Maclaurin series can be modified to become Taylor series when the equation is not centered around zero.

    Expansion of functions using Taylor series may be useful in derivations. Maclaurin series will be useful for when the function is being approximated for small values of x. Using an infinite number of terms is generally unnecessary to model the function around the center point. The first few terms of either a Taylor or Maclaurin series usually sufficiently approximate the function.

    A stimulating discussion of Taylor series may be found in Comtet's "Calcul pratique des coefficients de Taylor d'une fonction algébrique" (Enseign. Math. 10, 267-270, 1964) as well as Whittaker and Watson's landmark treatise, "Forms of the Remainder in Taylor's Series." found in A Course in Modern Analysis, 4th ed.


    This page titled 7.4: Taylor Series was last modified on Sun, 22 May 2022 17:54:04 GMT and is shared under a CC BY 3.0 license and was authored, remixed, and/or curated by Peter Woolf et al. via source content that was edited to the style and standards of the LibreTexts platform.