Taylor Series and Maclaurin Series
📂CalculusTaylor Series and Maclaurin Series
Build-Up
Assume that the given function f is expressed as a power series.
f(x)=c0+c1(x−a)+c2(x−a)2+c3(x−a)3+⋯∣x−a∣<R(1)
In this context, finding the power series representation of the function f is equivalent to determining the coefficients of each term cn. By substituting x=a into both sides, we can obtain c0.
f(a)=c0+c1(a−a)+c2(a−a)2+c3(a−a)3+⋯=c0
Differentiating (1), we obtain the following:
f′(x)=c1+2c2(x−a)+3c3(x−a)2+⋯∣x−a∣<R(2)
Substituting x=a into both sides, we can find c1.
f′(a)=c1
Differentiating (2) again and substituting x=a,
f′′(x)=2c2+3⋅2c3(x−a)+⋯∣x−a∣<R(3)
f′′(a)=2c2
Repeating once more,
f′′′(x)=3⋅2c3+4⋅3⋅2c4(x−a)+⋯∣x−a∣<R
f′′′(a)=3⋅2c3
Following this pattern, we find that cn can be expressed as follows:
f(n)(a)=n!⋅cn⟹cn=n!f(n)(a)
Therefore, (1) is expressed as follows:
f(x)=f(a)+1!f′(a)(x−a)+2!f′′(a)(x−a)2+3!f′′′(a)(x−a)3+⋯=n=0∑∞n!f(n)(a)(x−a)n
Here, the series on the right is defined as the Taylor series of f.
Definition
The Taylor series of a function f, which is infinitely differentiable, at a is defined as follows:
n=0∑∞n!f(n)(a)(x−a)n=f(a)+1!f′(a)(x−a)+2!f′′(a)(x−a)2+3!f′′′(a)(x−a)3+⋯
Explanation
Specifically, the series at a=0 is called the Maclaurin series.
If f can be expressed as a power series, then the power series of f and the Taylor series of f are identical. However, the Taylor series of f does not always match f itself. It has been proven that the power series of f and the Taylor series of f are the same under certain conditions.
An Example Where the Taylor Series of f Differs from f
The following function f is given.
f(x)={e−1/x20x=0x=0
Let us find f′(0) to determine the coefficients of the series.
h→0limhf(0+h)−f(0)=h→0limhe−1/h2−0=h→0limh1⋅e−1/h2
By organizing the equation and using L’Hôpital’s rule,
h→0limh1⋅e−1/h2=h→0lime1/h21/h=h→0lim−2e1/h2/h3−1/h2=h→0lim2e1/h2h=0
Similarly, it can be shown that n∈N corresponds to f(n)=0. Therefore, the Maclaurin series of f is as follows:
n=0∑∞n!f(n)(0)xn=n=0∑∞n!0xn=0
However, it is evident that x=0 leads to f(x)=0, indicating that the Maclaurin series of f and f are not the same.