SlideShare a Scribd company logo
1 of 5
Download to read offline
The Normal Distribution: A derivation from basic principles

                                      Dan Teague
                  The North Carolina School of Science and Mathematics

Introduction

        Students in elementary calculus, statistics, and finite mathematics classes often
learn about the normal curve and how to determine probabilities of events using a table for
the standard normal probability density function. The calculus students can work directly
                                                                 F
                                                                1 x− µ
                                                              − G    J   I
                                                                         2


with the normal probability density function p x = bg   1
                                                      σ 2π
                                                             e 2 H σ K and use numerical

integration techniques to compute probabilities without resorting to the tables. In this
article, we will give a derivation of the normal probability density function suitable for
students in calculus. The broad applicability of the normal distribution can be seen from
the very mild assumptions made in the derivation.

Basic Assumptions

        Consider throwing a dart at the origin of the Cartesian plane. You are aiming at
the origin, but random errors in your throw will produce varying results. We assume that:

• the errors do not depend on the orientation of the coordinate system.
• errors in perpendicular directions are independent. This means that being too high
  doesn't alter the probability of being off to the right.
• large errors are less likely than small errors.

In Figure 1, below, we can argue that, according to these assumptions, your throw is more
likely to land in region A than either B or C, since region A is closer to the origin.
Similarly, region B is more likely that region C. Further, you are more likely to land in
region F than either D or E, since F has the larger area and the distances from the origin
are approximately the same.




                                          Figure 1
Determining the Shape of the Distribution

        Consider the probability of the dart falling in the vertical strip from x to x + ∆x .
Let this probability be denoted p ( x )∆ x . Similarly, let the probability of the dart landing in
the horizontal strip from y to y + ∆y be p( y )∆y . We are interested in the characteristics of
the function p. From our assumptions, we know that function p is not constant. In fact,
the function p is the normal probability density function.




                                               Figure 2

          From the independence assumption, the probability of falling in the shaded region
is p( x ) ∆x ⋅p( y ) ∆y . Since we assumed that the orientation doesn't matter, that any region
r units from the origin with area ∆x ⋅∆y has the same probability, we can say that

                                 p( x ) ∆x ⋅p( y ) ∆y = g (r ) ∆x∆y .
This means that
                                         g (r ) = p( x ) p( y ) .

Differentiating both sides of this equation with respect to θ , we have

                                              dp( y )          dp( x )
                                 0 = p( x )           + p( y )         ,
                                               dθ               dθ

since g is independent of orientation, and therefore, θ .

                bg                  bg
Using x = r cos θ and y = r sin θ , we can rewrite the derivatives above as

                       0 = p( x ) p ′ )c r cosbθgh+ p( y ) p ′ )c − r sin bθ gh.
                                    (y                       (x

Rewriting again, we have 0 = p( x ) p′ ) x − p( y ) p′ ) y . This differential equation can
                                      (y               (x
be solved by separating variables,
                                      p′ )
                                        (x     p′ )
                                                 (y
                                             =         .
                                     x p( x ) y p( y )



                                                    2
This differential equation is true for any x and y, and x and y are independent. That can
only happen if the ratio defined by the differential equation is a constant, that is, if

                                                                        p′ )
                                                                          (x      p′ )
                                                                                    (y
                                                                                =         = C.
                                                                       x p ( x ) y p( y )


Solving
            p′ )
              (x
           x p( x )
                    = C , we find that
                                       p′ )
                                        (x
                                       p( x )
                                              = Cx and ln p( x ) =
                                                                   Cx 2
                                                                    2
                                                                        + c and finally,                                   b g
                                                                                                                  C
                                                                                                                      x2
                                                                                    p( x ) = A e 2                         .

Since we assumed that large errors are less likely than small errors, we know that C must
be negative. We can rewrite our probability function as
                                                                                                                  k 2
                                                                                                              −     x
                                                                                p( x ) = A e                      2
                                                                                                                           ,
with k positive.

        This argument has given us the basic form of the normal distribution. This is the
                                                                                 1
classic bell curve with maximum value at x = 0 and points of inflection at x = ±    . We
                                                                                  k
now need to determine the appropriate values of A and k.

Determining the Coefficient A

       For p to be a probability distribution, the total area under the curve must be 1. We
need to adjust A to insure that the area requirement is satisfied. The integral to be
evaluated is


                                                                                    z ∞


                                                                                     −∞
                                                                                           Ae
                                                                                                    −k
                                                                                                         x2
                                                                                                         2
                                                                                                              dx .



If
     z
     ∞


     −∞
          Ae
               − k
                     x2
                     2
                          dx = 1, then
                                                  z ∞


                                                   −∞
                                                        e
                                                            −k
                                                                 x2
                                                                 2
                                                                      dx =
                                                                                     1
                                                                                     A
                                                                                       . Due to the symmetry of the function, this area



                          z
is
                            ∞            x2
                                    −k
                                         2
twice that of                   e             dx , so
                            0



                                                                            z   ∞

                                                                                0
                                                                                     e
                                                                                         − k
                                                                                               x2
                                                                                               2
                                                                                                    dx =
                                                                                                                   1
                                                                                                                  2A
                                                                                                                     .



                                                        z                                       z
Then,
                                                      F      ∞             x2      IF               ∞             y2           I
                                                      G                         dx J⋅G                                         J
                                                                      −k                                    −k                       1
                                                                                                                           dy =
                                                      H                            KH                                          K
                                                                           2                                      2
                                                                 e                                      e                               ,
                                                            0                                       0                              4 A2


                                                                                                    3
since x and y are just dummy variables. Recall that x and y are also independent, so we
can rewrite this product as a double integral


                                                    zz  ∞


                                                        0
                                                                ∞


                                                                0
                                                                     e
                                                                            −
                                                                                2
                                                                                    e
                                                                                k 2 2
                                                                                  x + y   j
                                                                                             dy dx =
                                                                                                                 1
                                                                                                               4 A2
                                                                                                                    .


(Rewriting the product of the two integrals as the double integral of the product of the
integrands is a step that needs more justification than we give here, although the result is
easily believed. It is straightforward to show that

                         F
                         G
                         H    z z
                              M


                              0
                                  f ( x ) dx
                                                        IF
                                                        JG
                                                        KH      0
                                                                    M
                                                                    g ( y ) dy =
                                                                                        I
                                                                                        J
                                                                                        K     zz  0
                                                                                                   M


                                                                                                           0
                                                                                                            M
                                                                                                               f ( x ) g ( y ) dy dx


for finite limits of integration, but the infinite limits create a significant challenge that will
not be taken up.)



                              zz                                            zz
        The double integral can be evaluated using polar coordinates.
                                      ∞     ∞                                                  π/2      ∞
                                                    −       e
                                                        k 2 2
                                                          x + y         j                                          −
                                                                                                                       k 2
                                                                                                                         r
                                                e       2
                                                                         dx dy =                               e       2
                                                                                                                             r dr dθ .
                                  0       0                                                   0        0
To evaluate the polar form requires a u-substitution in an improper integral. Performing
the integration with respect to r, we have


                 zz
                  0
                   π/2    ∞


                          0
                              e
                                  −
                                      k 2
                                      2
                                        r
                                            r dr dθ =
                                                                        z MNz Q z
                                                                           L OP π /2


                                                                                0
                                                                                        −1
                                                                                        k     0
                                                                                                  −∞
                                                                                                   e u du dθ =
                                                                                                                                 π/2


                                                                                                                                 0
                                                                                                                                       dθ π
                                                                                                                                        k
                                                                                                                                          =
                                                                                                                                            2k
                                                                                                                                               .


                          1     π                                                          k
Now we know that            2
                              =    , and so A =                                              . The probability distribution is
                         4A     2k                                                        2π
                                                                                               k
                                                                                           k − 2 x2
                                                                    p( x ) =                 e      .
                                                                                          2π
Determining the Value of k

       A question often asked about probability distributions is "what are the mean and


                                                                                                                                                   z
variance of the distribution?" Perhaps the value of k has something to do with the answer
                                                                                                                                                    ∞
to these questions. The mean, µ , is defined to be the value of the integral                                                                           x p( x ) dx .


                                                                                                      zb
                                                                                                                                                   −∞
                                                                                                       ∞
The variance, σ 2 , is the value of the integral
                                                                                                       −∞
                                                                                                            x− µ         g p( x) dx .
                                                                                                                             2
                                                                                                                                            Since the function

x p( x ) is an odd function, we know the mean is zero. The value of the variance needs
further computation.




                                                                                         4
To evaluate
                      z∞


                       −∞
                          x 2 p( x ) dx = σ 2 , we proceed as before, integrating on only the

positive x-axis and doubling the value. Substituting what we know of p( x ) , we have


                                          2
                                                   k
                                                  2π     z   0
                                                              ∞
                                                                 x2e

The integral on the left is evaluated by parts with u = x and dv = xe
                                                                       −
                                                                           k 2
                                                                           2
                                                                             x
                                                                                 dx = σ 2 .
                                                                                                       −
                                                                                                           k 2
                                                                                                           2
                                                                                                             x
                                                                                                                 to generate the



                                                                                     z
expression
                                k     L lim − x e
                                      MM k                       −
                                                                     k
                                                                       x2
                                                                          M

                                                                                 +
                                                                                   1
                                                                                         ∞
                                                                                         k
                                                                                        − x2     OP
                                                                                                  PQ
                                                                     2
                            2                                                          e 2 dx .
                                2π
                                       N  M→ ∞
                                                                           0
                                                                                   k 0


Simplifying, we know that lim
                               − x − k x2
                          M→ ∞ k
                                  e 2
                                                             M

                                                                     = 0 and we know that
                                                                                          1
                                                                                          k 0
                                                                                                k
                                                                                               − x2
                                                                                              e 2 dx =
                                                                                                       z
                                                                                                       ∞
                                                                                                       1 2π
                                                                                                       k 2 k


                                          z
                                                             0
                                              ∞
                                     k                   −
                                                             k 2
                                                               x                     k 1 2π 1             1
from our work before. So 2                        x 2e       2
                                                                     dx = 2            ⋅ ⋅  = so that k = 2 .
                                     2π       0                                     2π k 2 k k           σ

The Normal Probability Density Function

      Now we have the normal probability distribution derived from our 3 basic
assumptions:
                                                         − G J
                                                                                    F I
                                                                                   1 x
                                                                                         2


                                              px =bg 1
                                                   σ 2π
                                                        e 2 Hσ K .


The general equation for the normal distribution with mean µ and standard deviation σ is
created by a simple horizontal shift of this basic distribution,

                                                       1F x− µI
                                                                                             2
                                                      − G     J
                                          px =bg 1
                                               σ 2π
                                                    e  2H σ K
                                                                .

References:

       Grossman, Stanley, I., Multivariable Calculus, Linear Algebra, and Differential
Equations, 2nd., Academic Press, 1986.
       Hamming, Richard, W. The Art of Probability for Engineers and Scientists,
Addison-Wesley, 1991.




                                                                      5

More Related Content

What's hot

An introduction to quantum stochastic calculus
An introduction to quantum stochastic calculusAn introduction to quantum stochastic calculus
An introduction to quantum stochastic calculusSpringer
 
Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)Matthew Leingang
 
Exponentials integrals
Exponentials integralsExponentials integrals
Exponentials integralsTarun Gehlot
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Matthew Leingang
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)Matthew Leingang
 
Common derivatives integrals_reduced
Common derivatives integrals_reducedCommon derivatives integrals_reduced
Common derivatives integrals_reducedKyro Fitkry
 
Calculus cheat sheet_integrals
Calculus cheat sheet_integralsCalculus cheat sheet_integrals
Calculus cheat sheet_integralsUrbanX4
 
Calculus Cheat Sheet All
Calculus Cheat Sheet AllCalculus Cheat Sheet All
Calculus Cheat Sheet AllMoe Han
 
Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)Matthew Leingang
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Matthew Leingang
 
Form 5 formulae and note
Form 5 formulae and noteForm 5 formulae and note
Form 5 formulae and notesmktsj2
 
Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)Matthew Leingang
 
Stuff You Must Know Cold for the AP Calculus BC Exam!
Stuff You Must Know Cold for the AP Calculus BC Exam!Stuff You Must Know Cold for the AP Calculus BC Exam!
Stuff You Must Know Cold for the AP Calculus BC Exam!A Jorge Garcia
 
Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)Matthew Leingang
 
Ian.petrow【transcendental number theory】.
Ian.petrow【transcendental number theory】.Ian.petrow【transcendental number theory】.
Ian.petrow【transcendental number theory】.Tong Leung
 
Lesson 4: Calcuating Limits (slides)
Lesson 4: Calcuating Limits (slides)Lesson 4: Calcuating Limits (slides)
Lesson 4: Calcuating Limits (slides)Matthew Leingang
 
some thoughts on divergent series
some thoughts on divergent seriessome thoughts on divergent series
some thoughts on divergent seriesgenius98
 

What's hot (19)

An introduction to quantum stochastic calculus
An introduction to quantum stochastic calculusAn introduction to quantum stochastic calculus
An introduction to quantum stochastic calculus
 
Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)Lesson 15: Exponential Growth and Decay (slides)
Lesson 15: Exponential Growth and Decay (slides)
 
Exponentials integrals
Exponentials integralsExponentials integrals
Exponentials integrals
 
Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)Lesson 20: Derivatives and the Shapes of Curves (slides)
Lesson 20: Derivatives and the Shapes of Curves (slides)
 
Prml
PrmlPrml
Prml
 
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
Lesson 14: Derivatives of Logarithmic and Exponential Functions (slides)
 
Common derivatives integrals_reduced
Common derivatives integrals_reducedCommon derivatives integrals_reduced
Common derivatives integrals_reduced
 
Calculus cheat sheet_integrals
Calculus cheat sheet_integralsCalculus cheat sheet_integrals
Calculus cheat sheet_integrals
 
Calculus Cheat Sheet All
Calculus Cheat Sheet AllCalculus Cheat Sheet All
Calculus Cheat Sheet All
 
Session 6
Session 6Session 6
Session 6
 
Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)Lesson 6: Limits Involving Infinity (slides)
Lesson 6: Limits Involving Infinity (slides)
 
Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)Lesson 5: Continuity (slides)
Lesson 5: Continuity (slides)
 
Form 5 formulae and note
Form 5 formulae and noteForm 5 formulae and note
Form 5 formulae and note
 
Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)Lesson 18: Maximum and Minimum Values (slides)
Lesson 18: Maximum and Minimum Values (slides)
 
Stuff You Must Know Cold for the AP Calculus BC Exam!
Stuff You Must Know Cold for the AP Calculus BC Exam!Stuff You Must Know Cold for the AP Calculus BC Exam!
Stuff You Must Know Cold for the AP Calculus BC Exam!
 
Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)Lesson 8: Basic Differentation Rules (slides)
Lesson 8: Basic Differentation Rules (slides)
 
Ian.petrow【transcendental number theory】.
Ian.petrow【transcendental number theory】.Ian.petrow【transcendental number theory】.
Ian.petrow【transcendental number theory】.
 
Lesson 4: Calcuating Limits (slides)
Lesson 4: Calcuating Limits (slides)Lesson 4: Calcuating Limits (slides)
Lesson 4: Calcuating Limits (slides)
 
some thoughts on divergent series
some thoughts on divergent seriessome thoughts on divergent series
some thoughts on divergent series
 

Viewers also liked

Lab test 2
Lab test 2Lab test 2
Lab test 2altwirqi
 
01 intro erp using gbi 1.0, stefan weidner, nov 2009
01 intro erp using gbi 1.0, stefan weidner, nov 200901 intro erp using gbi 1.0, stefan weidner, nov 2009
01 intro erp using gbi 1.0, stefan weidner, nov 2009altwirqi
 
Presentation1
Presentation1Presentation1
Presentation1f721
 
Design portfolio waugh
Design portfolio waughDesign portfolio waugh
Design portfolio waughpatricktwaugh
 
50 common-english-phrasal-verbs
50 common-english-phrasal-verbs50 common-english-phrasal-verbs
50 common-english-phrasal-verbsaltwirqi
 
persoonlijke effectiviteit in de installatie branche alg
persoonlijke effectiviteit in de installatie branche algpersoonlijke effectiviteit in de installatie branche alg
persoonlijke effectiviteit in de installatie branche algDe Zwerm Groep
 
Designing informationfinalwaugh
Designing informationfinalwaughDesigning informationfinalwaugh
Designing informationfinalwaughpatricktwaugh
 
Reesbook presentation
Reesbook presentationReesbook presentation
Reesbook presentationandresipm
 
Slide07 repetitions
Slide07 repetitionsSlide07 repetitions
Slide07 repetitionsaltwirqi
 
Chapter 1-hr-overview
Chapter 1-hr-overviewChapter 1-hr-overview
Chapter 1-hr-overviewaltwirqi
 
Trimetrix talenten ontwikkling
Trimetrix talenten ontwikklingTrimetrix talenten ontwikkling
Trimetrix talenten ontwikklingDe Zwerm Groep
 
Persoonlijke effectiviteit met een focus op houding en gedrag
Persoonlijke effectiviteit met een focus op houding en gedragPersoonlijke effectiviteit met een focus op houding en gedrag
Persoonlijke effectiviteit met een focus op houding en gedragDe Zwerm Groep
 
Brandstorm Creative Group Portfolio
Brandstorm Creative Group PortfolioBrandstorm Creative Group Portfolio
Brandstorm Creative Group Portfolioandresipm
 

Viewers also liked (19)

Lab test 2
Lab test 2Lab test 2
Lab test 2
 
Methode GoldenBox
Methode GoldenBoxMethode GoldenBox
Methode GoldenBox
 
01 intro erp using gbi 1.0, stefan weidner, nov 2009
01 intro erp using gbi 1.0, stefan weidner, nov 200901 intro erp using gbi 1.0, stefan weidner, nov 2009
01 intro erp using gbi 1.0, stefan weidner, nov 2009
 
Presentation1
Presentation1Presentation1
Presentation1
 
Design portfolio waugh
Design portfolio waughDesign portfolio waugh
Design portfolio waugh
 
50 common-english-phrasal-verbs
50 common-english-phrasal-verbs50 common-english-phrasal-verbs
50 common-english-phrasal-verbs
 
0104testr
0104testr0104testr
0104testr
 
Exam1 011
Exam1 011Exam1 011
Exam1 011
 
persoonlijke effectiviteit in de installatie branche alg
persoonlijke effectiviteit in de installatie branche algpersoonlijke effectiviteit in de installatie branche alg
persoonlijke effectiviteit in de installatie branche alg
 
Designing informationfinalwaugh
Designing informationfinalwaughDesigning informationfinalwaugh
Designing informationfinalwaugh
 
Coachi online coachen
Coachi online coachenCoachi online coachen
Coachi online coachen
 
Reesbook presentation
Reesbook presentationReesbook presentation
Reesbook presentation
 
Slide07 repetitions
Slide07 repetitionsSlide07 repetitions
Slide07 repetitions
 
Chapter 1-hr-overview
Chapter 1-hr-overviewChapter 1-hr-overview
Chapter 1-hr-overview
 
Trimetrix talenten ontwikkling
Trimetrix talenten ontwikklingTrimetrix talenten ontwikkling
Trimetrix talenten ontwikkling
 
CS Unit Project
CS Unit ProjectCS Unit Project
CS Unit Project
 
Design info work
Design info workDesign info work
Design info work
 
Persoonlijke effectiviteit met een focus op houding en gedrag
Persoonlijke effectiviteit met een focus op houding en gedragPersoonlijke effectiviteit met een focus op houding en gedrag
Persoonlijke effectiviteit met een focus op houding en gedrag
 
Brandstorm Creative Group Portfolio
Brandstorm Creative Group PortfolioBrandstorm Creative Group Portfolio
Brandstorm Creative Group Portfolio
 

Similar to Normal

Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equationsAhmed Haider
 
Lattices and codes
Lattices and codesLattices and codes
Lattices and codesSpringer
 
SOME THOUGHTS ON DIVERGENT SERIES
SOME THOUGHTS ON DIVERGENT SERIESSOME THOUGHTS ON DIVERGENT SERIES
SOME THOUGHTS ON DIVERGENT SERIESgenius98
 
Quantum modes - Ion Cotaescu
Quantum modes - Ion CotaescuQuantum modes - Ion Cotaescu
Quantum modes - Ion CotaescuSEENET-MTP
 
Class 10 Maths Ch Polynomial PPT
Class 10 Maths Ch Polynomial PPTClass 10 Maths Ch Polynomial PPT
Class 10 Maths Ch Polynomial PPTSanjayraj Balasara
 
Linear conformal mapping
Linear conformal mappingLinear conformal mapping
Linear conformal mappingTarun Gehlot
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxoptcerezaso
 
Physics of Algorithms Talk
Physics of Algorithms TalkPhysics of Algorithms Talk
Physics of Algorithms Talkjasonj383
 
Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)Julyan Arbel
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcupatrickpaz
 
Talk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniquesTalk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniquesPierre Jacob
 
Jam 2006 Test Papers Mathematical Statistics
Jam 2006 Test Papers Mathematical StatisticsJam 2006 Test Papers Mathematical Statistics
Jam 2006 Test Papers Mathematical Statisticsashu29
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers IIMatthew Leingang
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IIguestf32826
 
Emat 213 study guide
Emat 213 study guideEmat 213 study guide
Emat 213 study guideakabaka12
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...ijceronline
 

Similar to Normal (20)

Ordinary differential equations
Ordinary differential equationsOrdinary differential equations
Ordinary differential equations
 
Lattices and codes
Lattices and codesLattices and codes
Lattices and codes
 
SOME THOUGHTS ON DIVERGENT SERIES
SOME THOUGHTS ON DIVERGENT SERIESSOME THOUGHTS ON DIVERGENT SERIES
SOME THOUGHTS ON DIVERGENT SERIES
 
Quantum modes - Ion Cotaescu
Quantum modes - Ion CotaescuQuantum modes - Ion Cotaescu
Quantum modes - Ion Cotaescu
 
Figures
FiguresFigures
Figures
 
Figures
FiguresFigures
Figures
 
Class 10 Maths Ch Polynomial PPT
Class 10 Maths Ch Polynomial PPTClass 10 Maths Ch Polynomial PPT
Class 10 Maths Ch Polynomial PPT
 
Linear conformal mapping
Linear conformal mappingLinear conformal mapping
Linear conformal mapping
 
Cs229 cvxopt
Cs229 cvxoptCs229 cvxopt
Cs229 cvxopt
 
Physics of Algorithms Talk
Physics of Algorithms TalkPhysics of Algorithms Talk
Physics of Algorithms Talk
 
Em03 t
Em03 tEm03 t
Em03 t
 
Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)Poster DDP (BNP 2011 Veracruz)
Poster DDP (BNP 2011 Veracruz)
 
Project in Calcu
Project in CalcuProject in Calcu
Project in Calcu
 
Talk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniquesTalk at CIRM on Poisson equation and debiasing techniques
Talk at CIRM on Poisson equation and debiasing techniques
 
Jam 2006 Test Papers Mathematical Statistics
Jam 2006 Test Papers Mathematical StatisticsJam 2006 Test Papers Mathematical Statistics
Jam 2006 Test Papers Mathematical Statistics
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange  Multipliers IILesson 28: Lagrange  Multipliers II
Lesson 28: Lagrange Multipliers II
 
Lesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers IILesson 28: Lagrange Multipliers II
Lesson 28: Lagrange Multipliers II
 
Igv2008
Igv2008Igv2008
Igv2008
 
Emat 213 study guide
Emat 213 study guideEmat 213 study guide
Emat 213 study guide
 
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...IJCER (www.ijceronline.com) International Journal of computational Engineerin...
IJCER (www.ijceronline.com) International Journal of computational Engineerin...
 

Normal

  • 1. The Normal Distribution: A derivation from basic principles Dan Teague The North Carolina School of Science and Mathematics Introduction Students in elementary calculus, statistics, and finite mathematics classes often learn about the normal curve and how to determine probabilities of events using a table for the standard normal probability density function. The calculus students can work directly F 1 x− µ − G J I 2 with the normal probability density function p x = bg 1 σ 2π e 2 H σ K and use numerical integration techniques to compute probabilities without resorting to the tables. In this article, we will give a derivation of the normal probability density function suitable for students in calculus. The broad applicability of the normal distribution can be seen from the very mild assumptions made in the derivation. Basic Assumptions Consider throwing a dart at the origin of the Cartesian plane. You are aiming at the origin, but random errors in your throw will produce varying results. We assume that: • the errors do not depend on the orientation of the coordinate system. • errors in perpendicular directions are independent. This means that being too high doesn't alter the probability of being off to the right. • large errors are less likely than small errors. In Figure 1, below, we can argue that, according to these assumptions, your throw is more likely to land in region A than either B or C, since region A is closer to the origin. Similarly, region B is more likely that region C. Further, you are more likely to land in region F than either D or E, since F has the larger area and the distances from the origin are approximately the same. Figure 1
  • 2. Determining the Shape of the Distribution Consider the probability of the dart falling in the vertical strip from x to x + ∆x . Let this probability be denoted p ( x )∆ x . Similarly, let the probability of the dart landing in the horizontal strip from y to y + ∆y be p( y )∆y . We are interested in the characteristics of the function p. From our assumptions, we know that function p is not constant. In fact, the function p is the normal probability density function. Figure 2 From the independence assumption, the probability of falling in the shaded region is p( x ) ∆x ⋅p( y ) ∆y . Since we assumed that the orientation doesn't matter, that any region r units from the origin with area ∆x ⋅∆y has the same probability, we can say that p( x ) ∆x ⋅p( y ) ∆y = g (r ) ∆x∆y . This means that g (r ) = p( x ) p( y ) . Differentiating both sides of this equation with respect to θ , we have dp( y ) dp( x ) 0 = p( x ) + p( y ) , dθ dθ since g is independent of orientation, and therefore, θ . bg bg Using x = r cos θ and y = r sin θ , we can rewrite the derivatives above as 0 = p( x ) p ′ )c r cosbθgh+ p( y ) p ′ )c − r sin bθ gh. (y (x Rewriting again, we have 0 = p( x ) p′ ) x − p( y ) p′ ) y . This differential equation can (y (x be solved by separating variables, p′ ) (x p′ ) (y = . x p( x ) y p( y ) 2
  • 3. This differential equation is true for any x and y, and x and y are independent. That can only happen if the ratio defined by the differential equation is a constant, that is, if p′ ) (x p′ ) (y = = C. x p ( x ) y p( y ) Solving p′ ) (x x p( x ) = C , we find that p′ ) (x p( x ) = Cx and ln p( x ) = Cx 2 2 + c and finally, b g C x2 p( x ) = A e 2 . Since we assumed that large errors are less likely than small errors, we know that C must be negative. We can rewrite our probability function as k 2 − x p( x ) = A e 2 , with k positive. This argument has given us the basic form of the normal distribution. This is the 1 classic bell curve with maximum value at x = 0 and points of inflection at x = ± . We k now need to determine the appropriate values of A and k. Determining the Coefficient A For p to be a probability distribution, the total area under the curve must be 1. We need to adjust A to insure that the area requirement is satisfied. The integral to be evaluated is z ∞ −∞ Ae −k x2 2 dx . If z ∞ −∞ Ae − k x2 2 dx = 1, then z ∞ −∞ e −k x2 2 dx = 1 A . Due to the symmetry of the function, this area z is ∞ x2 −k 2 twice that of e dx , so 0 z ∞ 0 e − k x2 2 dx = 1 2A . z z Then, F ∞ x2 IF ∞ y2 I G dx J⋅G J −k −k 1 dy = H KH K 2 2 e e , 0 0 4 A2 3
  • 4. since x and y are just dummy variables. Recall that x and y are also independent, so we can rewrite this product as a double integral zz ∞ 0 ∞ 0 e − 2 e k 2 2 x + y j dy dx = 1 4 A2 . (Rewriting the product of the two integrals as the double integral of the product of the integrands is a step that needs more justification than we give here, although the result is easily believed. It is straightforward to show that F G H z z M 0 f ( x ) dx IF JG KH 0 M g ( y ) dy = I J K zz 0 M 0 M f ( x ) g ( y ) dy dx for finite limits of integration, but the infinite limits create a significant challenge that will not be taken up.) zz zz The double integral can be evaluated using polar coordinates. ∞ ∞ π/2 ∞ − e k 2 2 x + y j − k 2 r e 2 dx dy = e 2 r dr dθ . 0 0 0 0 To evaluate the polar form requires a u-substitution in an improper integral. Performing the integration with respect to r, we have zz 0 π/2 ∞ 0 e − k 2 2 r r dr dθ = z MNz Q z L OP π /2 0 −1 k 0 −∞ e u du dθ = π/2 0 dθ π k = 2k . 1 π k Now we know that 2 = , and so A = . The probability distribution is 4A 2k 2π k k − 2 x2 p( x ) = e . 2π Determining the Value of k A question often asked about probability distributions is "what are the mean and z variance of the distribution?" Perhaps the value of k has something to do with the answer ∞ to these questions. The mean, µ , is defined to be the value of the integral x p( x ) dx . zb −∞ ∞ The variance, σ 2 , is the value of the integral −∞ x− µ g p( x) dx . 2 Since the function x p( x ) is an odd function, we know the mean is zero. The value of the variance needs further computation. 4
  • 5. To evaluate z∞ −∞ x 2 p( x ) dx = σ 2 , we proceed as before, integrating on only the positive x-axis and doubling the value. Substituting what we know of p( x ) , we have 2 k 2π z 0 ∞ x2e The integral on the left is evaluated by parts with u = x and dv = xe − k 2 2 x dx = σ 2 . − k 2 2 x to generate the z expression k L lim − x e MM k − k x2 M + 1 ∞ k − x2 OP PQ 2 2 e 2 dx . 2π N M→ ∞ 0 k 0 Simplifying, we know that lim − x − k x2 M→ ∞ k e 2 M = 0 and we know that 1 k 0 k − x2 e 2 dx = z ∞ 1 2π k 2 k z 0 ∞ k − k 2 x k 1 2π 1 1 from our work before. So 2 x 2e 2 dx = 2 ⋅ ⋅ = so that k = 2 . 2π 0 2π k 2 k k σ The Normal Probability Density Function Now we have the normal probability distribution derived from our 3 basic assumptions: − G J F I 1 x 2 px =bg 1 σ 2π e 2 Hσ K . The general equation for the normal distribution with mean µ and standard deviation σ is created by a simple horizontal shift of this basic distribution, 1F x− µI 2 − G J px =bg 1 σ 2π e 2H σ K . References: Grossman, Stanley, I., Multivariable Calculus, Linear Algebra, and Differential Equations, 2nd., Academic Press, 1986. Hamming, Richard, W. The Art of Probability for Engineers and Scientists, Addison-Wesley, 1991. 5