Question
Question: How to do Taylor series expansion of \[{e^{\dfrac{{^{ - {x^2}}}}{2}}}\] ?...
How to do Taylor series expansion of e2−x2 ?
Solution
In the above given question, we are given an exponential function as e2−x2 . We have to expand the given exponential function into its Taylor series expansion. In order approach the Taylor series expansion of the given exponential function, first we have to find some of the initial derivatives of e2−x2 . After that, we can substitute them in the Taylor series which is given by the formula ∑n!f(n)(a)(x−a)n .
Complete answer:
Given expression is e2−x2 .
We have to find the Taylor series expansion of the given expression e2−x2 .
Now, let us find some initial derivatives of e2−x2 .
Here we have,
⇒f(0)(x)=f(x)=e−2x2
And,
⇒f′(x)=e−2x2⋅x=−xe−2x2
Also,
i.e.
Similarly,
⇒f′′′(x)=(x2−1)−xe−2x2+e−2x2(2x)
That gives us,
⇒f′′′(x)=(−x3+x)e−2x2+2xe−2x2
That is,
⇒f′′′(x)=(−x3+3x)e−2x2
Also,
⇒f′′′′(x)=(−x3+3x)−xe−2x2+2xe−2x2
That gives us,
⇒f′′′′(x)=(x4+3x2)e−2x2−3x2e−2x2+3e−2x2
That is,
⇒f′′′′(x)=(x4−6x2+3)e−2x2
Now, we have the values up to the fourth derivative of e2−x2 .
Now putting these values in the Taylor series expansion, we can write the expansion of e2−x2 as,
Substituting the above values of derivatives, we get
⇒∑n!f(n)(a)(x−a)n=e−2a2+−ae−2a2(x−a)+ 2!(a2−1)e−2a2(x−a)2+3!(−a3+3a)e−2a2(x−a)3+4!(a4−6a2+3)e−2a2(x−a)4+...Now, since the value of a is not given, so if a=0 then we have the above equation as,
⇒∑n!f(n)(a)(x−a)n=1−2x2+8x4−48x6+...
Watching the pattern of the above series, we can write the next steps of series in the following manner as,
⇒∑n!f(n)(a)(x−a)n=1−2x2+8x4−48x6+384x8−3840x10+...
Here, the nth term of the series is given by,
⇒Tn=n!f(n)(a)(x−a)n=(−1)n2nn!x2n
Therefore, the Taylor series expansion can be written as,
⇒∑n!f(n)(a)(x−a)n=∑(−1)n2nn!x2n
Hence, the required Taylor series expansion of the expression e2−x2 can be written as,
⇒e2−x2=∑n!f(n)(a)(x−a)n=∑(−1)n2nn!x2n
Therefore, the Taylor series expansion of the expression e2−x2 is ∑(−1)n2nn!x2n .
Note: The Taylor Series is also known as the Taylor Polynomial. It is the representation of a function as an infinite sum of terms calculated from the values of its derivatives at a single point a . A Maclaurin series or Maclaurin Polynomial is a special case of the Taylor Series. It has one difference and that is, it uses zero as the single point i.e. a=0 .