# 10.2: Expectation Values

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

You can also use the matrix representation of operators to figure out expectation values. Suppose that you have an electron in the state:

$|\psi\rangle=\sqrt{\frac{1}{3}}|+z\rangle+\sqrt{\frac{2}{3}}|-z\rangle\tag{10.5}$

What are the expectation values of for spin along the $$x$$-axis??

First, we construct the column vector representation of this state $$|\psi\rangle$$:

$|\psi\rangle=\left[\begin{array}{l} \sqrt{1 / 3} \\ \sqrt{2 / 3} \end{array}\right]\tag{10.6}$

The corresponding bra vector is represented by a row vector:

$\langle\psi|=\left[\begin{array}{ll} \sqrt{1 / 3} & \sqrt{2 / 3} \end{array}\right]\tag{10.7}$

To figure out the expectation value of $$x$$-spin, we sandwich the $$\hat{S}_{x}$$ operator in between the bra and ket vectors for this state:

\begin{aligned} \left\langle s_{x}\right\rangle &=\left\langle\psi\left|\hat{S}_{x}\right| \psi\right\rangle \\ &=\left[\begin{array}{ll} \sqrt{1 / 3} & \sqrt{2 / 3} \end{array}\right]\left(\frac{\hbar}{2}\right)\left[\begin{array}{ll} 0 & 1 \\ 1 & 0 \end{array}\right]\left[\begin{array}{l} \sqrt{1 / 3} \\ \sqrt{2 / 3} \end{array}\right] \\ &=\left(\frac{\hbar}{2}\right)\left[\begin{array}{ll} \sqrt{1 / 3} & \sqrt{2 / 3} \end{array}\right]\left[\begin{array}{ll} 0 & 1 \\ 1 & 0 \end{array}\right]\left[\begin{array}{c} \sqrt{1 / 3} \\ \sqrt{2 / 3} \end{array}\right] \end{aligned}\tag{10.8}

(all we did between the last two lines was pull the scalar constant $$\hbar / 2$$ out front). We’ve got a row vector times a matrix times a column vector. That may look intimidating, but we know how to do the matrix times the column vector, so let’s do that first. That will leave us with a row vector times a column vector; we know how to work that out as well, leaving us with just a scalar. A scalar is what we need for an expectation value.

\begin{aligned} \left\langle s_{x}\right\rangle &=\left(\frac{\hbar}{2}\right)[\sqrt{1 / 3} \sqrt{2 / 3}]\left[\begin{array}{c} \sqrt{2 / 3} \\ \sqrt{1 / 3} \end{array}\right] \\ &=\left(\frac{\hbar}{2}\right)\left(\sqrt{\frac{1}{3}}\right)\left(\sqrt{\frac{2}{3}}\right)+\left(\sqrt{\frac{2}{3}}\right)\left(\sqrt{\frac{1}{3}}\right) \\ &=\left(\frac{\hbar}{2}\right) \frac{2 \sqrt{2}}{3} \\ &=\frac{\sqrt{2}}{3} \hbar \end{aligned}\tag{10.9}

That’s a plausible expectation value. It’s neither $$\hbar / 2$$ nor $$-\hbar / 2$$, which means that this is not a definite state for $$x$$ spin. That’s good, because the state is clearly not the same as $$|+x\rangle$$ when you write out that state in terms of $$|+z\rangle$$ and $$|-z\rangle$$. It’s between those two. However, from just looking at the state, while you can fairly quickly see that $$|-z\rangle$$ has more amplitude than $$|+z\rangle$$, and thus a measurement of $$z$$ spin will yield $$-\hbar / 2$$ more often than $$+\hbar / 2$$, it’s not obvious at all just looking at the state which value of $$x$$ spin would be more common, and thus whether the $$x$$ expectation value should be positive or negative. In this case, you have to perform the calculation. The matrix formulation of the spin operators makes the calculations faster and easier than they would be when you explicit writing out everything in terms of the $$z$$ basis states.

We could also quickly figure out what the amplitude for measuring positive $$x$$ spin is with this formalism. Remember that for a particle in state $$|\psi\rangle$$, the amplitude for finding positive $$x$$ spin is $$\langle+x \mid \psi\rangle$$. Putting together the $$\langle+x|$$ bra vector with the column vector for $$|\psi\rangle$$ above, we get:

\begin{aligned} \langle+x \mid \psi\rangle &=\left[\begin{array}{ll} 1 / \sqrt{2} & 1 / \sqrt{2} \end{array}\right]\left[\begin{array}{c} \sqrt{1 / 3} \\ \sqrt{2 / 3} \end{array}\right] \\ &=\left(\sqrt{\frac{1}{2}}\right)\left(\sqrt{\frac{1}{3}}\right)+\left(\sqrt{\frac{1}{2}}\right)\left(\sqrt{\frac{2}{3}}\right) \\ &=\sqrt{\frac{1}{6}}+\sqrt{\frac{1}{3}} \\ &=0.9856 \end{aligned}\tag{10.10}

That’s a high positive amplitude, corresponding to a probability of 0.97 that positive $$x$$ spin will be measured for this state. Again, without performing the calculations, this is not at all obvious. However, this high probability for positive $$x$$ spin is consistent with the fact that the $$x$$ spin expectation value $$\left\langle s_{x}\right\rangle$$ is positive and only a little bit less than $$\hbar / 2$$.

This page titled 10.2: Expectation Values is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Pieter Kok via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.