The classic Herschel-Maxwell derivation (originally conceptualized by John Herschel in 1850 and formalized by James Clerk Maxwell in 1860). It is one of the most elegant and intuitive proofs in all of statistics because it builds the entire bell curve out of just two logical assumptions.
Here is how Herschel first built that argument from scratch.
The Setup
Imagine you are throwing a dart at a 2D plane, aiming for the bullseye at the origin (0, 0). The coordinates of where the dart actually lands are .
To figure out the probability distribution of where the darts land, we only need to make two reasonable, common-sense postulates.
The Two Golden Assumptions
1. Orthogonal Independence Your error in the horizontal direction has absolutely no effect on your error in the vertical direction. They are completely independent. Because of this, the joint probability of landing at a specific coordinate is simply the product of their individual probabilities:
2. Rotational Symmetry (Isotropy) The probability of the dart landing at any point depends only on its total distance from the bullseye, not the angle. A dart 2 inches strictly right of the bullseye has the exact same probability of occurring as a dart 2 inches strictly above it. Therefore, the joint probability can also be written as a function of the radius :
Building the Argument
Step 1: Equate the two perspectives Because both of our assumptions describe the exact same joint probability , we can set them equal to each other:
Step 2: Logarithmic transformation To make the math easier to manipulate, take the natural log of both sides.
To clean up the notation, let's invent two new functions. Let and let . The equation simplifies to:
Step 3: The calculus trick Now we take the partial derivative of both sides with respect to . Since is independent, the term treats as a constant and becomes 0. Using the chain rule on the right side:
Divide both sides by to isolate the functions:
Here is the "aha!" moment. If we had taken the partial derivative with respect to instead, we would have found:
Since both expressions equal the same right-hand side, we can set them equal to each other:
Step 4: The constant of proportionality Look closely at that last equation. The left side depends entirely on . The right side depends entirely on . Since and are completely independent variables, the only mathematical way a function of purely can always equal a function of purely is if they are both equal to the exact same constant. Let's call that constant .
Step 5: Solving the differential equation Multiply by :
Integrate both sides with respect to :
Remembering our earlier substitution, :
Exponentiate both sides to solve for our final probability distribution :
Are we clueless about these constants though? Think of more logical arguments, because they might help us constraint these currently arbitrary constant factors.
The Final Form
We can clean up those constants. Let's call a new constant .
We also know that the total probability of the dart landing somewhere must be 1. For the area under the curve to be finite, the probability must decay toward 0 as gets infinitely far away from the bullseye. This forces our constant to be a negative number. We can replace with a negative constant, .
This gives us the foundational equation for the normal curve:
To complete it, welcome one of the most famous and clever tricks in calculus: solving the Gaussian integral.
Step 1: Solving for (The Gaussian Integral)
We know the total probability must equal 1. So, the area under our foundational curve from to must be 1:
The integral is notoriously impossible to solve using standard antiderivatives. The trick is to square the integral and solve it in 2D space. Let's call the integral :
If we multiply it by the exact same integral (just using as a dummy variable), we get :
Combine them into a double integral:
Now we use the rotational symmetry we established at the very beginning. We convert this from Cartesian coordinates to polar coordinates .
- The area element becomes
- The limits change: an infinite plane means the radius goes from to , and the angle goes from to .
Now it's easily solvable using standard u-substitution. Let , which means . Evaluating the inner integral for :
Now plug that into the outer integral for :
Since , we take the square root to find our original integral :
Plug this back into our very first equation:
So our probability density function is now:
Step 2: Swapping for Variance ()
In statistics, variance () is the expected value of the squared deviation from the mean. Since our dartboard bullseye is at 0, the mean is 0. The formula for variance is:
Plug in our new function:
You solve this using integration by parts. Let and . After applying the integration by parts formula and calculating the boundaries, it simplifies beautifully to:
Solving for , we get:
Step 3: The Final Textbook Formula
Now we just plug into everything.
First, update our constant :
Next, update the exponent:
Put it all together, and the completed derivation yields the exact modern textbook definition of the normal distribution: