Standard normal distribution function (source code)

= Standard normal distribution function
{title2=$\Phi$}

= Standard normal cumulative distribution function
{synonym}

The <standard normal distribution function> is the <cumulative distribution function> of a <standard normal random variable> $Z$:
$$
\Phi(x)=\mathbb P(Z\leq x)=\int_{-\infty}^x\phi(t)\,dt
=\frac12\left(1+\operatorname{erf}\left(\frac{x}{\sqrt2}\right)\right).
$$
Here $\phi$ is the <standard normal density> and $\operatorname{erf}$ is the <error function>. The <symmetric probability distribution> gives $\Phi(-x)=1-\Phi(x)$ and $\Phi(0)=1/2$, while <differentiation> gives $\Phi'(x)=\phi(x)$. For $X\sim N(\mu,\sigma^2)$ with $\sigma>0$, <standardization of a normal random variable> gives $\mathbb P(X\leq x)=\Phi((x-\mu)/\sigma)$; subtracting two values calculates an <interval> <probability>.