



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




H* The un - normalized Gaussian is given by: L g @ x _D : = Exp @- x ^ 2 D g @ x D ‰-x^2 H It looks like this: *L Plot @ g @ x D , 8 x, - 3 , 3 <D
H* The area under the curve is: L area = Integrate @ g @ x D , 8 x, - Infinity, Infinity <D p H Note this is equal to Euler Gamma @ 1 ê 2 D : L Gamma @ 1 ê 2 D p H We can define a normalized Gaussian with area one as: L G @ x _D : = g @ x D ê Sqrt @ Pi D G @ x D ‰-x 2 p H It looks like this: *L
Plot @ G @ x D , 8 x, - 3 , 3 <D
H* The area under the curve is: L Integrate @ G @ x D , 8 x, - Infinity, Infinity <D 1 H We can estimate the width as the distance between the inflection points, which we find by setting the second derivative to zero: *L Solve @ D @ D @ G @ x D , x D , x D ã 0 , x D ::x Ø -
, :x Ø
H* The standard normal distribution is defined to have both area and width of one: L phi @ x _D : = Exp @- x ^ 2 ê 2 D ê Sqrt @ 2 ***** Pi D phi @ x D ‰-^ x^2 2 2 p Integrate @ phi @ x D , 8 x, - Infinity, Infinity <D 1 Solve @ D @ D @ phi @ x D , x D , x D ã 0 , x D 88 x Ø - 1 <, 8 x Ø 1 << H The erf function is: L erf @ x _D : = Integrate @ 2 ***** G @ t D , 8 t, 0 , x <D H This is a built in function in Mathematica called Erf @ x D. Note that Erf @ x D is antisymmetric or odd with special values Erf @-¶D=- 1 , Erf @ 0 D= 0 , Erf @¶D= 1. The plot is: *L
Plot @ Erfc @ x D , 8 x, - 3 , 3 <D
H* The imaginary error function is Erfi with Erfi @-¶D=-¶ , Erfi @ 0 D= 0 , Erfi @¶D=¶ and the plot looks like: L Plot @ Erfi @ x D , 8 x, - 3 , 3 <D
2 x^3 3 p
x^5 5 p
x^7 21 p
x^9 108 p
p x
2 p x^3
4 p x^5
8 p x^7
16 p x^9
x
11 H* This is Boas Eq.10.4 with some rearrangement of terms. Use this series for x >> 1. L H Compare to Taylor seriex of ArcTanh @ x D about zero: *L
Plot @ ArcTan @ x D , 8 x, - 5 , 5 <D
Series @ ArcTan @ x D , 8 x, 0 , 10 <D x - x^3 3
x^5 5
x^7 7
x^9 9
x
3 x^3
5 x^5
7 x^7
9 x^9
x
11 H* Finally we can apply this to the Euler Gamma to get: *L FullSimplify @ Series @ Gamma @ p + 1 D , 8 p, Infinity, 3 <DD ‰J-^1 - LogB^ 1 p FN^ p+OB^ 1 p F 4 2 p p + p 2 6 p
p 2 144 p^3 ê^2
139 p 2 25 920 p^5 ê^2
p
7 ê 2 H* With some simplification this also reduces to Boas Eq.11.5, which are the first few terms of the asymptotic series expansion for Sterling's Formula. We can pick out just the first term and simplify it: *L FullSimplify @ Exp @H- 1 - Log @ 1 ê p DL p *D *** Sqrt @ 2 ***** Pi ***** p D , p > 0 D ‰-p^ p 1 2 +p^2 p H With a bit of algebra this is equal to p p e - p^ 2 p p that is just Eq.11.1 or Sterling's Formula. *L