Mangoes
- 92
- 1
Homework Statement
Find the maclaurin series of:
f(x) = \int_{0}^{x}(e^{-t^2}-1) dt
The Attempt at a Solution
I know e^t = \sum_{n=0}^{∞} \frac{t^n}{n!}
Simple substitution gives me:
e^{-t^2} = \sum_{n=0}^{∞}\frac{(-t^2)^n}{n!}
Which I rewrote as
e^{-t^2} = \sum_{n=0}^∞\frac{(-1)^n(t^{2n})}{n!}
Since I notice that when n = 0, the term simplifies to 1,
e^{-t^2} - 1 = \sum_{n=1}^∞ \frac{(-1)^n(t^{2n})}{n!}
Going back to the original expression and substituting the infinite series
\int_0^x\sum_{n=1}^∞ \frac{(-1)^n(t^{2n})}{n!} dt
Now, I'm integrating with respect to t, so after using the power rule and applying the upper limit (lower limit simplifies to 0)
\sum_{n=1}^∞\frac{(-1)^nx^{2n+1}}{n!(2n+1)}
And this is what I would think is the maclaurin representation of the function, but it's wrong and I have no idea why. Would anyone please point to where I'm going wrong with this?
Last edited: