Why Does the Taylor Series of exp(-x^2) at x = 0 Start with 1 - x^2?

In summary: That term is not in the Taylor series for e^{-x^2}.In summary, the Taylor series of f(x) = exp(-x^2) at x = 0 is 1-x^2 because the second derivative term has a coefficient of 0 and the x^4 term comes from a different method of finding the Taylor series.
  • #1
cytochrome
166
3
The Taylor Series of f(x) = exp(-x^2) at x = 0 is 1-x^2...

Why is this?

The formula for Taylor Series is f(x) = f(0) + (x/1!)(f'(0)) + (x^2/2!)(f''(0)) + ...

and f'(x) = -2x(exp(-x^2)) therefore f'(0) = 0?

Can someone please explain why it is 1-x^2?
 
Mathematics news on Phys.org
  • #2
Although f'(0) = 0, yet f''(0) will NOT be zero.
 
  • #3
The formula is (x^n)/n! (with the sigma crap in front)
0! is 1 and x^0 is 1

Just substitute x=-t^2 and you get the series for e^-t^2
 
  • #4
HomogenousCow said:
The formula is (x^n)/n! (with the sigma crap in front)
0! is 1 and x^0 is 1

Just substitute x=-t^2 and you get the series for e^-t^2

Then why doesn't the second derivative term have an x^4?
 
  • #5
Here's what HomogenousCow is trying to say. Consider the expansion of ##\exp(t)## where ##t=-x^2##. The Taylor expansion of ##\exp(t)## is $$\sum_{n=0}^\infty \frac{t^n}{n!},$$ so substituting gives you $$e^{-x^2}=\sum_{n=0}^\infty \frac{(-x^2)^n}{n!}=\sum_{n=0}^\infty \frac{(-1)^n x^{2n}}{n!}.$$

The second derivative term does not have an ##x^4## by its definition: Each term is given by ##\frac{f^{(n)}(0)x^n}{n!}## (for MacLaurin; for Taylor about ##c##, it's ##\frac{f^{(n)}(c)(x-c)^n}{n!}##). When you plug in 2, you get $$\frac{f''(0)x^2}{2!}.$$ In this case, ##f''(0)=-2##. This cancels with the ##2!## in the denominator, so you end up with ##1-x^2## as the first two nontrivial terms of the expansion.
 
Last edited:
  • #6
cytochrome said:
Then why doesn't the second derivative term have an x^4?
It looks like you are trying to combine two different ways of finding the Taylor series of [itex]e^{-x^2}[/itex]

1) Using the basic definition: the "[itex]x^2[/itex]" term has coefficient f''(0)/2 so that the second derivative term, by definition, involves [itex]x^2[/itex], not [itex]x^4[/itex].

2) Replacing x in the Taylor's series for [itex]e^x[/itex] with [itex]-x^2[/itex]. In that case, the term that you get from the second derivative of [itex]e^x[/itex] has [itex]x^4[/itex] but that has nothing to do with the second derivative of [itex]e^{-x^2}[/itex]. That term comes from replacing x with [itex]-x^2[/itex] in the [itex]f'(0) x[/itex] term of the Taylor series for [itex]e^x[/itex].
 

FAQ: Why Does the Taylor Series of exp(-x^2) at x = 0 Start with 1 - x^2?

What is a Taylor series?

A Taylor series is a mathematical representation of a function as an infinite sum of terms that are calculated from the values of the function's derivatives at a single point. It is named after mathematician Brook Taylor.

Why are Taylor series useful?

Taylor series are useful because they allow us to approximate complicated functions with simpler ones, making it easier to solve complex mathematical problems. They also provide a way to estimate the behavior of a function at values where it is difficult or impossible to calculate directly.

How do you find the coefficients of a Taylor series?

The coefficients of a Taylor series can be found by taking the derivatives of the function at the chosen point and evaluating them at that point. These coefficients are then used to construct the series, with each term being a multiple of the corresponding derivative.

What is the difference between Taylor series and Maclaurin series?

A Taylor series is a generalization of the Maclaurin series, which is a special case where the chosen point is 0. In other words, a Maclaurin series is a Taylor series centered at 0. This makes the Maclaurin series easier to calculate and use for certain functions.

Can a Taylor series accurately represent any function?

No, a Taylor series can only accurately represent functions that are infinitely differentiable at the chosen point. If the function is not infinitely differentiable, the Taylor series will be an approximation and may not accurately represent the behavior of the function. In some cases, the Taylor series may not even converge to the function at all.

Similar threads

Replies
5
Views
2K
Replies
33
Views
2K
Replies
5
Views
689
Replies
10
Views
541
Replies
4
Views
2K
Back
Top