[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference rusure::math

Title:Mathematics at DEC
Moderator:RUSURE::EDP
Created:Mon Feb 03 1986
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2083
Total number of notes:14613

1458.0. "Integrate exponential expression" by RUTILE::POTTS () Mon Jun 17 1991 07:36

    Hi,
    
    A question. Can anybody help me to integrate the expression:
    
    	e to the minus half x squared.
    and also tell me how to type it in on one of these keyboards!
    
    This question comes from my brother who wants to be able to find the
    area under a normal distribution curve between N and infinity.
    
    He and I both did Maths degrees but it was so long ago we can't
    remember anything about it!
    
    Oh how the memory fades!
    
    Graham
T.RTitleUserPersonal
Name
DateLines
1458.1re .0EAGLE1::BESTR D Best, sys arch, I/OMon Jun 17 1991 12:3414
This sounds a little bit like
erf(x) = (2/sqrt(pi)) * integral(0, x, exp(-t^2), t)
                                 ^                ^  
(the arguments of operator integral are respectively:
lower limit, upper limit, integrand, and variable of integration)
 
I don't think there is a closed form algebraic formula for this.  This
is a table lookup or numerical integration problem.  There may be approximation
formulae for certain ranges of abscissa values.

For a numerical technique, see 'Numerical Recipes in C', by Press, Flannery,
Teukolsky, and Vetterling, Cambridge University Press, p. 174-176.

If I have time later today, I might try to enter some code.
1458.2No "pure" closed form solutions.CADSYS::COOPERTopher CooperMon Jun 17 1991 14:346
    There is definitely no closed form solution to the cumlative normal
    integral.  It can be solved in terms of the error function (which
    then must be approximated to be useful) or approximated directly.
    In other words, it is no more or less "solvable" than sin(x).

				    Topher
1458.3Analytic solution for special case onlyVMSDEV::HALLYBThe Smart Money was on GoliathMon Jun 17 1991 18:5314