---
title: "Integrating over the standard normal distribution"
author:
  - name: "Fan Wang"
    affiliation: "Department of Economics, University of Houston"
    url: "https://fanwangecon.github.io/"
date: "2026-11-30"
---

**Part of [Math Camp: An Introduction to Mathematics and Statistics with Applications in Economics](https://fanwangecon.github.io/Stam4Econ/).**  
[Main Stam4Econ site](https://fanwangecon.github.io/Stam4Econ/) | [View this section in the book](https://fanwangecon.github.io/Stam4Econ/math_integration/overview.html#integrating-over-the-standard-normal-distribution) | [Author: Fan Wang](https://fanwangecon.github.io/) | [DOI: 10.5281/zenodo.24696926](https://doi.org/10.5281/zenodo.24696926)  
Date: 2026-11-30 | [HTML](https://fanwangecon.github.io/Stam4Econ/htmlpdfq/math_integration/distributional_integration_normal.html) | [PDF](https://fanwangecon.github.io/Stam4Econ/htmlpdfq/math_integration/distributional_integration_normal.pdf) | [QMD](https://fanwangecon.github.io/Stam4Econ/htmlpdfq/math_integration/distributional_integration_normal.qmd)

## Integrating over the standard normal distribution

### Standard normal interval expectation integration by substitution

Consider the truncated (finite-interval) expectation integral against the standard normal density,

$$
\int_{a}^{b} x \cdot \phi(x)\, dx, \qquad \phi(x) = \frac{1}{\sqrt{2\pi}} e^{-x^2/2}.
$$

Unlike the full-line integral $\int_{-\infty}^{\infty} x\phi(x)\,dx$, which is zero by oddness, a finite interval $[a,b]$ need not be symmetric, so the integral is generally nonzero. We evaluate it by substitution.

Let $u = x^2/2$. Then $du = x\, dx$, and

$$
\int x \cdot \phi(x)\, dx = \int \frac{1}{\sqrt{2\pi}} e^{-x^2/2}\, x\, dx = \frac{1}{\sqrt{2\pi}} \int e^{-u}\, du = -\frac{1}{\sqrt{2\pi}} e^{-u} + C = -\phi(x) + C.
$$

Therefore, on a definite interval,

$$
\int_{a}^{b} x \cdot \phi(x)\, dx = \Bigl[-\phi(x)\Bigr]_{a}^{b} = -\phi(b) + \phi(a) = \phi(a) - \phi(b).
$$

### Standard normal interval expectation integration by parts

Now compute the same integral by parts, without using the identity

$$
\phi'(x)=-x\phi(x)
$$

inside this section.

$$
I(a,b):=\int_a^b x\phi(x)\,dx
$$

Choose

$$
u=1,\qquad dv=x\phi(x)\,dx.
$$

Then

$$
du=0,\qquad v=\int x\phi(x)\,dx.
$$

To find $v$ directly (within this method), compute:

$$
v=\int x\phi(x)\,dx
=\frac{1}{\sqrt{2\pi}}\int x e^{-x^2/2}\,dx.
$$

Let $t=x^2/2$, so $dt=x\,dx$. Then

$$
v=\frac{1}{\sqrt{2\pi}}\int e^{-t}\,dt
=-\frac{1}{\sqrt{2\pi}}e^{-t}+C
=-\phi(x)+C.
$$

We can take $v=-\phi(x)$ (constants do not affect integration by parts).

Apply integration by parts:

$$
\int_a^b u\,dv=\big[u v\big]_a^b-\int_a^b v\,du.
$$

Therefore,

$$
I(a,b)=\Big[1\cdot(-\phi(x))\Big]_a^b-\int_a^b (-\phi(x))\cdot 0\,dx
=\Big[-\phi(x)\Big]_a^b
=\phi(a)-\phi(b).
$$

This matches the substitution result.

### Standard normal interval expectation using the normal-pdf identity

Now use the identity specific to the standard normal density:

$$
\phi'(x)=\frac{d}{dx}\left(\frac{1}{\sqrt{2\pi}}e^{-x^2/2}\right)=-x\phi(x).
$$

Then

$$
I(a,b)=\int_a^b x\phi(x)\,dx=-\int_a^b \phi'(x)\,dx.
$$

Evaluate directly by the Fundamental Theorem of Calculus:

$$
I(a,b)=-\big[\phi(x)\big]_a^b=\phi(a)-\phi(b).
$$

This is usually the fastest method once the normal-pdf identity is known.

