There are two methods to take d/dx [ ∫t=0x exp(-t^2) dt].
First method: using the relationship of integral and antiderivative, one gets
(exp(-t^2) , from t = 0 to x, so exp(-x^2) - 1.
Second method: the integral is (1/2)sqrt(pi)*erf(t) from 0 to x, which is (1/2)sqrt(pi)*erf(x), and the derivative of this is exp(-x^2).
So, which answer is correct, and what is wrong with the other method?
First method: using the relationship of integral and antiderivative, one gets
(exp(-t^2) , from t = 0 to x, so exp(-x^2) - 1.
Second method: the integral is (1/2)sqrt(pi)*erf(t) from 0 to x, which is (1/2)sqrt(pi)*erf(x), and the derivative of this is exp(-x^2).
So, which answer is correct, and what is wrong with the other method?