Estimating Error Functions for very large values

  • Context: Graduate 
  • Thread starter Thread starter raymo39
  • Start date Start date
  • Tags Tags
    Error Functions
Click For Summary
SUMMARY

The discussion centers on estimating error functions for extremely large values, specifically calculating 1 - Erf(7.79x1019), which is equivalent to Erfc(7.79x1019). The participants highlight the challenge of approximating this value due to its minuscule nature. An asymptotic expansion is recommended as an effective method for such calculations, with a specific formula provided for large x: 1 - erf(x) ~ (e-x2/√π) [1/x - 1/(2x3) + 3/(4x5) - 15/(8x7) + 105/(16x9) + ...].

PREREQUISITES
  • Understanding of error functions, specifically Erf and Erfc.
  • Familiarity with asymptotic expansions in calculus.
  • Proficiency in mathematical software such as Mathematica or MATLAB.
  • Knowledge of Taylor series and their applications in approximating functions.
NEXT STEPS
  • Research the derivation and applications of asymptotic expansions in calculus.
  • Learn how to implement error function calculations in Mathematica.
  • Explore MATLAB functions for computing Erfc and related approximations.
  • Study the properties and behavior of the error function for large arguments.
USEFUL FOR

Mathematicians, physicists, and engineers dealing with statistical mechanics or quantum physics, particularly those interested in advanced probability calculations and numerical methods for approximating error functions.

raymo39
Messages
50
Reaction score
0
Hey guys,
I was posed an interesting problem which relates to upsizing quantum physics, that boils down to a math problem. I was trying to calculate the probability that a 1000 tonne bridge would be found 1m from its resting position, if you model it as having the ground energy of a harmonic oscillator.
Eventually the problem boils down to calculating 1 - Erf(7.79x10[itex]^{19}[/itex])
which is the same as calculating Erfc of 7.79x10[itex]^{19}[/itex]
as you might be able to figure out the number is unbelievably small.
i was womdering if anyone might have a good approximation to it, or an interesting way to calculate it on mathematica/matlab?
ive given a few approximations a try already, but have been rather disappointed with the results.
 
Physics news on Phys.org
You are dealing with a very small number.
An asymptotic_expansion is a good choice here, read about it in any nice calculus book. We can think of it as almost the Taylor expansion of f(1/x) about x=0 of of f(x) about x=infinity.
for large x
1-erf(x)~(e^-x^2/sqr(pi)) [1/x-1/(2x^3)+3/(4x^5)-15/(8x^7)+105/(16x^9)+...]
The general term being (-1)^n (2n-1)!/[x(2x^2)^n] for n=0,1,2,...

http://en.wikipedia.org/wiki/Error_function
 

Similar threads

  • · Replies 65 ·
3
Replies
65
Views
9K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 9 ·
Replies
9
Views
8K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
6K
  • · Replies 2 ·
Replies
2
Views
2K