Indefinite Integral of the Form e^{x^2}
📂LemmasIndefinite Integral of the Form e^{x^2}
Theorem
∫ex2dx=n=0∑∞(2n+1)n!x2n+1+C
Explanation
Just like the form e−x2, it is difficult to integrate using general methods. There is a method to integrate by defining the error function, imaginary error function, erfi, but this article introduces solving it using Taylor series expansion.
Proof
By the method of Taylor series expansion,
ex=n=0∑∞n!xn=1+x+2!x2+⋯+n!xn+⋯
Inserting x2 instead of x gives
ex2=n=0∑∞n!x2n=1+x2+2!x4+⋯+n!x2n+⋯
Integrating both sides indefinitely gives
∫ex2dx== ∫(1+x2+2!x4+⋯+n!x2n+⋯)dx x+3⋅1!x3+5⋅2!x5+7⋅3!x7+⋯+(2n+1)n!x2n+1+⋯+C
Therefore
∫ex2dx=n=0∑∞(2n+1)n!x2n+1+C
■