How can the integral of a normal distribution be solved using substitution?

9 replies · 12K views · last reply
wombat4000
Messages
36
Reaction score
0

Homework Statement



I'm having difficulty integrating something,
click http://en.wikipedia.org/wiki/Normal_distribution
and under Cumulative distribution function, there is an integral - how do you get to the next line?


Homework Equations





The Attempt at a Solution




i have tried the substitution of [tex]t=u-\mu[/tex] which gives
[tex]\int_{-\infty}^{x}e^{-t^{2}/2}dt[/tex]

but can't integrate this.
 
see error functions

wombat4000 said:
i have tried the substitution of [tex]t=u-\mu[/tex] which gives
[tex]\int_{-\infty}^{x}e^{-t^{2}/2}dt[/tex]
but can't integrate this.

Hi wombat! Welcome to PF :smile:

All you need is in http://en.wikipedia.org/wiki/Error_function

Good luck!

[size=-2](if you're happy, don't forget to mark thread "solved"!)[/size]​
 
Still don't really understand what's what - this to clarify this is what i was originally referring to
Three-line derivation of the normal distribution CDF: Phi_{mu,sigma^2}(x) equals the integral from negative infinity to x of phi_{mu,sigma^2}(u) du, then 1 over sigma times the square root of 2 pi times the integral from negative infinity to x of exp(-(u-mu)^2 / (2 sigma^2)) du, then Phi((x-mu)/sigma), for x in the real numbers.

and this is what i got from the error function page
E_n(x) = (n!/√π) ∫ from 0 to x of e^(-t^n) dt = (n!/√π) Σ from p=0 to ∞ of (-1)^p x^(np+1)/((np+1)p!).

but i need to integrate from [tex]-\infty[/tex] to x.
 
Last edited:
An even function!

Ah! You didn't take account of the fact that the integrand is the same for -t as for t (an "even function"), so you can mutiply the limits by -1:

[tex]\int_{-\infty}^{x}e^{-t^{2}/2}dt[/tex]​

is the same as:

[tex]\int_{-x}^{\infty}e^{-t^{2}/2}dt\qquad,[/tex]​

which is (a multiple of) erfc(-x).

Then the top of the wikipedia page gives you the answer! :smile:

[size=-2](if you're happy, don't forget to mark thread "solved"!)[/size]​
 
should i being using this?

[tex]\int_{-x}^{\infty}e^{-t^{2}/2}dt\qquad[/tex] = [tex]\int_{-x}^{\infty}{e^{-t^{2}}e^{t^{2}/2}}dt\qquad[/tex]