What is ex2dx?

1 Answer
Nov 14, 2015

ex2dx=π2erf(x)+C

=n=0(1)n(n!)(2n+1)x2n+1+C

Explanation:

The error function erf(x) is defined as follows:

erf(x)=2πx0et2dt

So ex2dx=π2erf(x)+C

Can we find out the value of the integral without using this special non-elementary function?

We can at least express it in terms of a power series:

et=n=0tnn!

Substituting t=x2 we get:

ex2=n=0(1)nn!x2n

So:

ex2dx=(n=0(1)nn!x2n)dx

=n=0(1)n(n!)(2n+1)x2n+1+C

Hence the power series for erf(x) is simply given by:

erf(x)=2πn=0(1)n(n!)(2n+1)x2n+1

since erf(x) is the integral from 0 to x and this sum is 0 when x=0.