Calculating {erf}(x) Without Computers?

  • Thread starter Thread starter LM741
  • Start date Start date
LM741
Messages
130
Reaction score
0
Hi guys...
don't suppose anybody knows how to calculate the error function - erf(x)

I know Matlab can calculate it - but is it possible to evaluate it without computational techniques (i.e. using computers)?

{erf}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2} dt.

Would appreciate any feedback.

thanks.

The link below will direct you to a website where the equation can be viewed...

http://images.planetmath.org:8080/cache/objects/6429/l2h/img2.png
 
Last edited by a moderator:
Physics news on Phys.org
If you mean "Is there an elementary anti-derivative" that can be evaluated directly, the answer is no. The only way to evaluate erf(x) is to do a numerical integration.
 
thanks...
by numerical integration do you mean applying Tayler Series and expansions like that?
 
I was thinking more of Simpson's rule.
 
LM741 said:
thanks...
by numerical integration do you mean applying Tayler Series and expansions like that?

actually, with a computer program to calculate the terms and summation, that is what they do. one thing is that there is a nice closed form expression for the erf(x) for large x.

see http://mathworld.wolfram.com/Erf.html for some detail.
 
thanks guys!
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Prove $$\int\limits_0^{\sqrt2/4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx = \frac{\pi^2}{8}.$$ Let $$I = \int\limits_0^{\sqrt 2 / 4}\frac{1}{\sqrt{x-x^2}}\arcsin\sqrt{\frac{(x-1)\left(x-1+x\sqrt{9-16x}\right)}{1-2x}} \, \mathrm dx. \tag{1}$$ The representation integral of ##\arcsin## is $$\arcsin u = \int\limits_{0}^{1} \frac{\mathrm dt}{\sqrt{1-t^2}}, \qquad 0 \leqslant u \leqslant 1.$$ Plugging identity above into ##(1)## with ##u...
Back
Top