Hand Calculations logo Hand Calculations All help pages ▾

Normal Distribution PDF⚠ unverified

General Calculations / Statistics · Probability density of a normal distribution at x

Parameters

InputSymbolUnitDefaultDescription
xx0.0Value
muμ0.0Mean
sigmaσ1.0Standard deviation
OutputSymbolUnitDescription
ff(x)Probability density

The science & history

Understanding the Parameters

Derivation (Approaching a Proof)

The normal PDF can be motivated several ways; the cleanest is the requirement that the total probability integrate to $1$. Start from the Gaussian kernel $e^{-\frac{(x-\mu)^2}{2\sigma^2}}$ — a bell-shaped function peaked at $\mu$ whose width is controlled by $\sigma$. To be a valid density it must integrate to unity, so we need the normalising constant $C$ such that

$$C\int_{-\infty}^{\infty} e^{-\frac{(x-\mu)^2}{2\sigma^2}}\,dx = 1.$$

The integral is the classic Gaussian integral. Substituting $u = (x-\mu)/(\sigma\sqrt2)$ turns it into $\sigma\sqrt2\int_{-\infty}^{\infty}e^{-u^2}\,du = \sigma\sqrt2\cdot\sqrt\pi = \sigma\sqrt{2\pi}$, using the famous result $\int_{-\infty}^{\infty}e^{-u^2}du = \sqrt\pi$ (proved by squaring the integral and evaluating in polar coordinates). Therefore $C = 1/(\sigma\sqrt{2\pi})$, giving

$$f(x) = \frac{1}{\sigma\sqrt{2\pi}}\,e^{-\frac{(x-\mu)^2}{2\sigma^2}}. \qquad\blacksquare$$

One can further show $\mu$ is the mean (by symmetry) and $\sigma^2$ the variance (by integrating $x^2 f$), so the two parameters are exactly the distribution's centre and spread. The deeper reason the normal appears everywhere is the central limit theorem: the normalised sum of many independent, finite-variance random variables converges to this density regardless of their individual distributions.

Dimensional check. The exponent $(x-\mu)^2/\sigma^2$ is dimensionless; the prefactor $1/\sigma$ carries units of "per unit $x$", so $f(x)$ is a density (probability per unit $x$) and $\int f\,dx$ is dimensionless. $\checkmark$

History and Development

Related Concepts: Process Capability Cpk, Weibull Distribution PDF, Coverage Factor, Expanded Uncertainty, Sample Normal, Relative Uncertainty

Notes: Registry calculator normal-pdf (unverified). Gaussian PDF — correct as shipped. A probability density (integrate for probabilities); total area $= 1$. 68–95–99.7 rule at $\pm1,2,3\sigma$. Fully specified by $\mu$ (location) and $\sigma$ (scale); ubiquitous via the central limit theorem. Returns $0$ if $\sigma\le0$.

← Back to the workspace  ·  All help pages  ·  Getting started