Proposition (expectation value of measurement)
Following the notation here,
the expectation value of an observable $O$ in a state $\psi$ is
$$ \begin{align*}
\langle O\rangle_\psi := \sum_{n=1}^{\infty} \lambda_n|a_n|^2 = \int_{\R^3} \psi^\ast(\v x) \,\hat O \psi(\v x) \d V.
\end{align*} $$
Proof