Skip to main content
Chemistry LibreTexts

Lecture 10: Expectation values, 2D-PIB and Heisenberg Uncertainty Principle

  • Page ID
  • Recap of Lecture 9:

    Last lecture focused on gaining an intuition of wavefunctions with an emphasis on the energies of the particle in the box. We continued the discussion of the PIB and the intuition we want from the model system. We revised the time-dependent solutions to the model system (which is always there). We emphasized that the total wavefunction must be oscillating in time (although we often ignore that in this class) and that it has both a real and imaginary component (we will revisit that again later on). We discussion symmetry of functions and integration over odd integrands. We used that fact to justify (in part) orthogonality, which is a powerful (blow your mind) fact that the eigenstates of an operator will be orthogonal.

    \[\int_{0}^{L}\psi _{m}(x)\psi _{n}(x)dx=0\: \: \: if\: \: \: m \neq n \label{3.5.19}\]

    This is really cool as we will see. So, ideal we want wavefunctions to be normalized and they are intrinsically orthogonal (this is an intrinsic property from solving the eigenvalue/vector problem).

    Back to Expectation Values

    The expectation value is the probabilistic expected value of the result (measurement) of an experiment. It is not the most probable value of a measurement; indeed the expectation value may have zero probability of occurring. The expected value (or expectation, mathematical expectation, mean, or first moment) refers to the value of a variable one would "expect" to find if one could repeat the random variable process an infinite number of times and take the average of the values obtained. More formally, the expected value is a weighted average of all possible values.

    The quantum mechanical expectation value \(\langle o \rangle\) for an observable, \(o\), associated with an operator, \(\hat{O}\), is given by

    \[ \langle o \rangle = \int _{-\infty}^{+\infty} \psi^* \hat{O} \psi \, dx \label{expect}\]

    where \(x\) is the range of space that is integrated over (i.e., an integration over all possible probabilities). The expectation value changes as the wavefunction changes and the operator used (i.e, which observable you are averaging over).

    Change the wavefunction changes the expectation value for that operator.

    Expectation Value of Position of Particle in a Box (with n=1)

    For the ground-state particle in a box wavefunction with \(n=1\):

    \[\psi_{n=1} = \sqrt{\dfrac{2}{L}} \sin \left(\dfrac{\pi x}{L} \right) \label{PIB}\]

    This state has the following probability distribution:

    \[\psi^*_{n=1} \psi_{n=1} = \dfrac{2}{L} \sin^2 \left(\dfrac{\pi x}{L} \right)\]

    (left) The ground-state (n=1) wavefunction for a particle in a box. (right) The ground-state (n=1) probability for a particle in a box.

    The expectation value for position with the \(\hat{x} = x\) operation for this any wavefunction (Equation \(\ref{expect}\)) is

    \[ \langle x \rangle = \int _{-\infty}^{+\infty} \psi^* x \psi \, dx \]

    which for the ground-state wavefunction (Equation \(\ref{PIB}\)) shown in Figure \(\PageIndex{1}\) is

    \[ \langle x \rangle = \int _{-\infty}^{+\infty} \sqrt{\dfrac{2}{L}} \sin \left(\dfrac{\pi x}{L} \right) x \sqrt{\dfrac{2}{L}} \sin \left(\dfrac{\pi x}{L} \right) \, dx \]

    \[= \dfrac{2}{L} \int _{-\infty}^{+\infty} x \sin^2 \left(\dfrac{\pi x}{L} \right) \label{GSExpect}\]

    You can do this equation, but you can see via symmetry that

    \[ \langle x \rangle = \dfrac{L}{2}\]

    limits of Integration

    A wavefunction gives you the probability of a particle to be seen somewhere. If it's not confined to be in some region, like a potential well or something, then it has a probability to be seen anywhere in the space. That's why the integration runs from \(−∞\) to \(+∞\) (remember that you could never pinpoint a quantum mechanical particle in space). That can be converted to a finite volume of space if the confinement is strong. For example, in the case of a particle in an infinite potential well, the boundary condition is that the wavefunction should vanish at the potential well boundaries.

    Expectation Value of Momentum of Particle in a Box

    What is the average momentum of a particle in the box? We start with Equation \(\ref{expect}\) and use the momentum operator

    \[\hat{p}_{x}=-i\hbar\dfrac{\partial}{\partial x}\label{3.2.3a}\]

    We note that the particle-in-a-box wavefunctions are not eigenfunctions of the momentum operator (Exercise \(\PageIndex{4}\)). However, this does not mean that Equation \(\ref{expect}\) is inapplicable as Example \(\PageIndex{2}\) demonstrates.

    Example \(\PageIndex{2}\): The Average Momentum of a Particle in a Box is Zero

    Even though the wavefunctions are not momentum eigenfunctions, we can calculate the expectation value for the momentum. Show that the expectation or average value for the momentum of an electron in the box is zero in every state (i.e., arbitrary values of \(n\)).


    First write the expectation value integral (Equation \(\ref{expect}\)) with the momentum operator. Then insert the expression for the wavefunction and evaluate the integral as shown here.


    \[\left \langle P \right \rangle = \int \limits ^L_0 \psi ^*_n (x) \left ( -i\hbar \dfrac {d}{dx} \right ) \psi _n (x) dx\]

    \[ = \int \limits ^L_0 \left (\dfrac {2}{L} \right )^{1/2} \sin (\dfrac {n \pi x}{L}) \left ( -i\hbar \dfrac {d}{dx} \right ) \left (\dfrac {2}{L} \right )^{1/2} \sin (\dfrac {n \pi x }{L} ) dx \]

    \[ = -i \hbar \left (\dfrac {2}{L} \right ) \int \limits ^L_0 \sin (\dfrac {n \pi x}{L}) \left ( \dfrac {d}{dx} \right ) \sin (\dfrac {n \pi x}{L}) dx\]

    \[ = -i \hbar \left (\dfrac {2}{L} \right ) \left ( \dfrac {n \pi}{L} \right ) \int \limits ^L_0 \sin (\dfrac {n \pi x}{L}) \cos (\dfrac {n \pi x}{L}) dx\]

    \[= 0\]

    Note that this makes sense since the particles spends an equal amount of time traveling in the \(+x\) and \(–x\) direction.


    It may seem that this means the particle in a box does not have any momentum, which is incorrect because we know the energy is never zero. In fact, the energy that we obtained for the particle-in-a-box is entirely kinetic energy because we set the potential energy at 0. Since the kinetic energy is the momentum squared divided by twice the mass, it is easy to understand how the average momentum can be zero and the kinetic energy finite

    Time to Bring in the Heavy Guns: Dirac Notation


    In Dirac’s notation what is known is put in a ket, \(| \, \rangle\). So, for example, \(| p \rangle\) expresses the fact that a particle has momentum \(p\). It could also be more explicit: \(| p=2 \rangle\), the particle has momentum equal to 2; \(| x=1.23 \rangle\), the particle has position 1.23. \(| \Psi \rangle\) represents a system in the state \( \Psi \) and is therefore called the state vector. The ket can also be interpreted as the initial state in some transition or event.


    The bra \(\langle \, | \) represents the final state or the language in which you wish to express the content of the ket \(| \, \rangle\). For example,\( \langle 0.25 | \Psi \rangle\) is the probability amplitude that a particle in state \( \Psi\) will be found at position \(x = 0.25\). In conventional notation we write this as \( \Psi(x=0.25) \), the value of the function \( \Psi \) at \(x\)=0.25. The absolute square of the probability amplitude, \( \left| \langle x=0.25| \Psi \rangle \right|^2\), is the probability density that a particle in state \( \Psi \) will be found at \(x\) = 0.25. Thus, we see that a bra-ket pair can represent an event, the result of an experiment. In quantum mechanics an experiment consists of two sequential observations - one that establishes the initial state (ket) and one that establishes the final state (bra).

    Bra-Ket Pairs

    If we write \( \langle x| \Psi \rangle \), we are expressing \( \Psi \) in coordinate space without being explicit about the actual value of \(x\). \(\langle 0.25 | \Psi \rangle \) is a number, but the more general expression \(\rangle x | \Psi \rangle \) is a mathematical function, a mathematical function of \(x\), or we could say a mathematical algorithm for generating all possible values of \( \langle x| \Psi \rangle \), the probability amplitude that a system in state \( | \Psi \rangle \) has position \(x\).

    Heisenberg's Uncertainty Principle Redux

    This Heisenberg Uncertainty Principles was originally introduces as

    \[\Delta{p_x}\Delta{x} \ge \dfrac{h}{4\pi} = \dfrac{\hbar}{2} \label{1.9.5}\]

    with \(\hbar = \frac{h}{2\pi}= 1.0545718 \times 10^{-34}\; m^2 \cdot kg / s\).


    Figure \(\PageIndex{1}\): The animation shows the relevant spreads in the uncertainty for position and momentum of light/photons (light wave's corresponding photon particle). From the result of de Broglie, we know that for a particle with known momentum, \(p\) will have a precise value for its de Broglie wavelength can be determined (and hence a specific color of the light).

    Calculating Uncertainties

    Equation \(\ref{1.9.5}\) relates the uncertainty of momentum and position. An immediate questions that arise is if \(\Delta x\) represents the full range of possible \(x\) values or if it is half (e.g., \(\langle x \rangle \pm \Delta x\)). \(\Delta x\) is the standard deviation and is a statistic measure of the spread of \(x\) values. The use of half the possible range is more accurate estimate of \(\Delta x\). Later, we can show that once a wavefunction can be constructed to describe the system, then both \(x\) and \(\Delta x\) can be explicitly derived.

    In quantum mechanics,\(\langle x \rangle\) is the expected value of \(x\), which is the idea of a mean value in statistics. The expected value \(\langle x \rangle\) is equal to

    \[\langle x \rangle = \int_{-\infty}^{\infty} \psi^* x \psi \,dx\]

    where the wavefunctions are normalized (to satisfy the Born interpretation of wavefunctions)

    \[\int_{-\infty}^{\infty} \psi^* \psi \,dx = 1 \]

    This can be generalized to any operator such that

    \[\langle \hat{A} \rangle= \int_{-\infty}^{\infty} \psi^* \hat{A} \psi \, dx \label{5}\]

    The expected value of \(x\) in the 1D Particle in a Box problem can be found, because we know \(\psi (x)\), and we are given the operator \(\hat{x}\). Thus,

    \[\langle x \rangle = \int_{-\infty}^{\infty} \psi^* (x) \hat{x} \psi (x) dx = \int_0^a \sqrt{\frac {2}{a}} \sin \left(\frac{n\pi x}{a}\right) x \sqrt{\frac {2}{a}} \sin \left(\frac{n\pi x}{a} \right)dx = \frac {2}{a} \int_0^a x\cdot \sin^2\left(\frac {n\pi x}{a}\right)dx \label{6}\]

    Following through with the integral ultimately results in \(\langle x \rangle = a/2\), for all \(n\) values. The variance of the expected value of \(x\), represented as \(\sigma^2_x\) can be found by taking the difference of \(\langle x^2 \rangle\) and \(\langle x \rangle^2\), which is a measure of the "spread of the distribution" (see Worksheet #1) and is given by

    \[ \langle \sigma_x^2 \rangle = \int_{a}^{b} (x-\langle x \rangle )^2 \psi^* \psi dx \label{5eq}\]

    By using the same method to find \(\langle x \rangle\), Equation \(\ref{6}\) is solved to equal

    \[\langle x^2 \rangle = \dfrac {a^2}{3} - \dfrac {a^2}{2n^2 \pi^2}\]

    Square rooting the variance gives the standard deviation

    \[\sigma_x = \sqrt{ \left(\dfrac {a}{2\pi n} \right)^2 \left(\dfrac{\pi^2 h^2}{3} -2\right)}.\]

    The standard deviation for momentum is found in a similar fashion. Multiplying the resulting \(\sigma_p\) and \(\sigma_x\) gives Heisenberg's uncertainty principle:

    \[\sigma_x \sigma_p \geq \hbar/2\]

    We can substitute the standard deviation for the uncertainty in the Heisenberg expression

    \[\sigma_x = \Delta x\]

    which provides a quantitative mechanism to interpret the uncertainty relationship.

    Example \(\PageIndex{1}\):

    The uncertainty of a position of a particle (\(\Delta x\)) is defined as

    \[ \Delta x = \sqrt{ \langle x^2 \rangle - \langle x \rangle ^2} \]

    For the particle in the box at the ground eigenstate (\(n=1\)), what is the uncertainty in the value \( x \)?

    Step 1: expectation value of the position

    The expectation value of the position operator is:

    \[\langle \hat{x}\rangle = \int_{0}^{a}\psi_n^*\hat{x}\psi_n dx\label{1}\]

    or in Dirac notation

    \[\langle \hat{x}\rangle = \langle n | \hat{x} | n \rangle\]

    which expands to

    \[\langle \hat{x}\rangle = \dfrac{2}{a}\int_{0}^{a}x\sin^2\dfrac{\pi x}{a}dx = \dfrac{a}{2}\tag{2}\]

    Where we used the half angle formula and integration by parts to compute the integral.

    Step 2: expectation value of the position operator squared

    The expectation value of the position operator squared is:

    \[\langle \hat{x^2}\rangle = \int_{0}^{a}\psi_n^*\hat{x^2}\psi_n dx\label{3}\]

    or in Dirac notation

    \[\langle \hat{x}\rangle = \langle n | \hat{x^2} | n \rangle\]

    which expands to

    \[\langle \hat{x^2}\rangle = \dfrac{2}{a}\int_{0}^{a}x^2\sin^2\dfrac{\pi x}{a}dx = \dfrac{a^2}{3} - \dfrac{a^2}{2\pi^2}\tag{4}\]

    Again we used the half angle formula and integration by parts to compute this integral.


    \[\Delta x = \sqrt{\langle \hat{x^2}\rangle - \langle \hat{x}\rangle^2 } \label{12}\]

    Now insert \(\langle \hat{x^2}\rangle\) and \(\langle \hat{x}\rangle^2\).

    \[\Delta x =\sqrt{\dfrac{a^2}{3} - \dfrac{a^2}{2\pi^2} - \dfrac{a^2}{4}}=a\sqrt{\dfrac{1}{12}-\dfrac{1}{2\pi^2} }=0.18a\]

    Exercise \(\PageIndex{3}\)

    Prove the following equality

    \[ \langle \sigma_x^2 \rangle = \langle x^2 \rangle - \langle x \rangle^2\]

    3D Boxes

    The 1D particle in the box problem can be expanded to consider a particle within a 3D box for three lengths \(a\), \(b\), and \(c\). When there is NO FORCE (i.e., no potential) acting on the particles inside the box.

    Figure used with permission (CC-SA-BY-NC; Information and Communication Technology)

    The potential for the particle inside the box

    \[V(\vec{r}) = 0\]

    • \(0 \leq x \leq a\)
    • \(0 \leq y \leq b\)
    • \(0 \leq z \leq c\)
    • \(a < x < 0\)
    • \(b < y < 0\)
    • \(c < z < 0\)

    \(\vec{r}\) is the vector with all 3 components along the 3 axis of the 3-D box: \(\vec{r} = a\hat{x} + b\hat{y} + c\hat{z}\). When the potential energy is infinite, then the wave function equals zero. When the potential energy is zero, then the wavefunction obeys the Schrödinger equation.

    \[\psi(r) = \sqrt{\dfrac{8}{v}}\sin \left( \dfrac{n_{x} \pi x}{a} \right) \sin \left(\dfrac{n_{y} \pi y}{b}\right) \sin \left(\dfrac{ n_{z} \pi z}{c} \right)\]

    \[v = a \times b \times c = volume \; of \; box\]

    with Total Energy levels:

    \[E_{n_x,n_y,x_z} = \dfrac{h^{2}}{8m}\left(\dfrac{n_{x}^{2}}{a^{2}} + \dfrac{n_{y}^{2}}{b^{2}} + \dfrac{n_{z}^{2}}{c^{2}}\right) \label{3.9.10}\]

    As with 1-D boxes, the quantum numbers \(n_x\), \(n_y\), and \(n_z\) go from 1 to infinity.

    The wavefunction of a 2D well with \(n_x=4\) and \(n_y=4\). image used with permission (Public Domain; Keenan pepper )

    Exercise \(\PageIndex{1}\)

    What is the energy of the ground state of a 3D box that is \(a\) by \(a\) by \(a\)?


    This is when \(n_x=1\), \(n_y=1\), and \(n_z=1\). So from Equation \(\ref{3.9.10}\), this is

    \[E_{1,1,1}= \dfrac{h^{2}}{8m}\left(\dfrac{1}{a^{2}} + \dfrac{1}{a^{2}} + \dfrac{1}{a^{2}}\right) = \dfrac{3h^{2}}{8ma^{2}} \]

    Exercise \(\PageIndex{2}\)

    What is the energy of the 1st excited state of a 3D box that is \(a\) by \(a\) by \(a\)?


    This is trickier, since there is a degeneracy in the system with three wavefunctions having the same energy:

    • \(\Psi_{2,1,1}\)
    • \(\Psi_{1,2,1}\)
    • \(\Psi_{1,1,2}\)

    Each of these wavefunctions have the same energy (via Equation \(\ref{3.9.10}\)) of

    \[E= \dfrac{6h^{2}}{8ma^{2}}\]

    Postulates of Quantum Mechanics

    There are five assumptions made for the purpose of reasoning in quantum mechanics. These assumptions are called postulates, and they set the groundwork for quantum mechanics.

    Postulate 1

    The state of the system is completely specified by \(\psi\). All possible information about the system can be found in the wavefunction \(\psi\). For valid, well-behaved wavefunctions, normalized probability holds true, such that the integral over all space is equal to 1.

    \[\int_{-\infty}^\infty \psi^*(x)\psi(x)\;dx=1.\]

    What this means is that the chance to find a particle is 100% over all space. Wavefunctions must be
    • single valued,
    • continuous, and
    • finite.
    That means that the function must be One-to-One, it cannot have an undefined slope, and the function cannot go to \(-\infty\) or \(+\infty\).

    Postulate 2

    For every observable in classical mechanics, there is a corresponding operator in quantum mechanics.
    Name Observable Symbol Operator Symbol Operation
    Table: Some common Operators in Quantum Mechanics
    Position \(x\) \(\hat{X}\) Multiply by \(x\)
    \(r\) \(\hat{R}\) Multiply by \(r\)
    Momentum \(p_{x}\) \(\hat{P_{x}}\) -\(\imath \hbar \dfrac{d}{dx}\)
    \(p\) \(\hat{P}\) -\(\imath\)\(\hbar\)[\(\text{i}\)\(\dfrac{d}{dx}\)+\(\text{j}\)\(\dfrac{d}{dy}\)+\(\text{k}\)\(\dfrac{d}{dz}\)]
    Kinetic Energy \(K_{x}\) \(\hat{K_{x}}\) \(\dfrac{-(\hbar^{2})}{2m}\)\(\dfrac{d^{2}}{dx^{2}}\)
    \(K\) \(\hat{K}\)


    Which can be simplified to

    Potential Energy \(V(x)\) \(\hat{V(x)}\) Multiply by \(V(x)\)
    \(V(x,y,z)\) \(\hat{V(x,y,z)}\) Multiply by \(V(x,y,z)\)
    Total Energy \(E\) \(\hat{E}\) \(\dfrac{-(\hbar^{2})}{2m}\)\(\bigtriangledown^{2}\) + \(V(x,y,z)\)
    Angular Momentum \(L_{x}\) \(\hat{L_{x}}\) -\(\imath\)\(\hbar\)[\(\text{y}\)\(\dfrac{d}{dz}\) - \(\text{z}\)\(\dfrac{d}{dy}\)]
    \(L_{y}\) \(\hat{L_{y}}\) -\(\imath\)\(\hbar\)[\(\text{z}\)\(\dfrac{d}{dx}\) - \(\text{x}\)\(\dfrac{d}{dz}\)]
    \(L_{z}\) \(\hat{L_{z}}\) -\(\imath\)\(\hbar\)[\(\text{x}\)\(\dfrac{d}{dy}\) - \(\text{y}\)\(\dfrac{d}{dx}\)]

    Postulate 3

    If \(\hat{A}\)\(\psi(x)\) produces eigenvalues \(\{a\}\), where

    \[\hat{A} \psi_n(x) = a_n \psi_n(x)\]

    then the set \(\{a_n\}\) is the set of values (and only those values) that can be observed.

    Postulate 4

    For a normalized wavefunction, the average value of any observable with operation \(\hat{A}\) is given by

    \[\langle a \rangle = \int_{-\infty}^\infty \psi^*(x) \hat{A}\ \psi(x) dx\]

    Postulate 5

    Wavefunctions evolve in time, given by the Time-dependent Schrödinger Equation

    \[\hat{H}\Psi(x,t) = \imath \hbar \dfrac{d(\Psi(x,t))}{dt}\]


    \[\Psi(x,t) = \psi(x)f(t)\]

    Using the Separation of Variables technique results in

    \[f(t)= e^\frac {-iEt}{\hbar} = e^{-it\omega}\]

    Commuting Operators

    One important property of operators is that the order of operation matters. Thus:

    \[\hat{A}{\hat{E}f(x)} \not= \hat{E}{\hat{A}f(x)} \label{4.6.3}\]

    unless the two operators commute. Two operators commute if the following equation is true:

    \[\left[\hat{A},\hat{E}\right] = \hat{A}\hat{E} - \hat{E}\hat{A} = 0 \label{4.6.4}\]

    To determine whether two operators commute first operate \(\hat{A}\hat{E}\) on a function \(f(x)\). Then operate\(\hat{E}\hat{A}\) the same function \(f(x)\). If the same answer is obtained subtracting the two functions will equal zero and the two operators will commute.

    Example \(\PageIndex{1}\)

    Do \(\hat{A}\) and \(\hat{E} \) commute if

    \[\hat{A} = \dfrac{d}{dx}\]


    \[\hat{E} = x^2\]


    This requires evaluating \(\left[\hat{A},\hat{E}\right]\), which requires solving for \(\hat{A} \{\hat{E} f(x)\} \) and \(\hat{E} \{\hat{A} f(x)\}\) for arbitrary wavefunction \(f(x)\) and asking if they are equal.

    \[\hat{A} \{\hat{E} f(x)\} = \hat{A}\{ x^2 f(x) \}= \dfrac{d}{dx} \{ x^2 f(x)\} = 2xf(x) + x^2 f'(x)\]

    From the product rule of differentiation.

    \[\hat{E} \{\hat{A}f(x)\} = \hat{E}\{f'(x)\} = x^2 f'(x)\]

    Now ask if they are equal

    \[\left[\hat{A},\hat{E}\right] = 2x f(x) + x^2 f'(x) - x^2f'(x) = 2x f(x) \not= 0\]

    Therefore the two operators do not commute.

    Example \(\PageIndex{2}\)

    Do \(\hat{B}\) and \(\hat{C} \) commute if

    \[\hat{B}= \dfrac {h} {x}\]


    \[\hat{C}\{f(x)\} = f(x) +3\]

    This requires evaluating \(\left[\hat{B},\hat{C}\right]\) like in Example \(\PageIndex{1}\).

    \[\hat{B} \{\hat{C}f(x)\} = \hat{B}\{f(x) +3\} = \dfrac {h}{x} (f(x) +3) = \dfrac {h f(x)}{x} + \dfrac{3h}{x} \]

    \[\hat{C} \{\hat{B}f(x)\} = \hat{C} \{ \dfrac {h} {x} f(x)\} = \dfrac {h f(x)} {x} +3\]

    Now ask if they are equal

    \(\left[\hat{B},\hat{C}\right] = \dfrac {h f(x)} {x} + \dfrac {3h} {x} - \dfrac {h f(x)} {x} -3 \not= 0\)

    The two operators do not commute.

    Heisenberg Uncertainty Principle Redux (Redux Redux)

    Although it will not be proven here, there is a general statement of the uncertainty principle in terms of the commutation property of operators. If two operators \(\hat {A}\) and \(\hat {B}\) do not commute, then the uncertainties (standard deviations σ) in the physical quantities associated with these operators must satisfy

    \[\sigma _A \sigma _B \ge \left| \int \psi ^* [ \hat {A} \hat {B} - \hat {B} \hat {A} ] \psi d\tau \right| \label{4-52}\]

    where the integral inside the square brackets is called the commutator, and ││signifies the modulus or absolute value. If \(\hat {A}\) and \(\hat {B}\) commute, then the right-hand-side of equation \(\ref{4-52}\) is zero, so either or both \(σ_A\) and \(σ_B\) could be zero, and there is no restriction on the uncertainties in the measurements of the eigenvalues a and b.

    Quantum harmonic oscillator on a Shoestring Budget

    A graph of the potential U of x and energy E is shown. The vertical axis is energy and the horizontal axis is x. The energy E is positive and constant. The potential U of x is the function one half k times x squared, a concave up parabola whose value is zero at x=0. The region below the U of x curve is shaded. U of x is equal to E at x equal to minus A and x equal to plus A.The harmonic potential V of x and the wave functions for the n=0 through n=4 quantum states of the potential are shown. Each wave function is displaced vertically by its energy, measured in units of h nu sub zero. The vertical energy scale runs from 0 to 5. The potential V of x is an upward opening parabola, centered and equal to zero at x = 0. The region below the curve, outside the potential, is shaded. The energy levels are indicated by horizontal dashed lines and are regularly spaced at energy of 0.5, 1.2, 2.5, 3.5 and 4.5 h nu sub 0. The n=0 state is even. It is symmetric, positive and peaked at x=0. The n = 1 state is odd. It is negative for x less than zero, positive for x greater than zero, zero at the origin. It has one negative minimum and one positive minimum. The n=2 state is even. It is symmetric, with a negative minimum at x=0 and two positive maxima, one at positive x and the other at negative x. The n = 3 state is odd. It is zero at the origin. It has, from left to right, a negative minimum and positive maximum on the left of the origin, then a positive maximum and negative minimum to the right of the origin. The n=4 state is even. It has a maximum at the origin, a negative minimum on either side, and a positive maximum outside of the minima. All of the states are clearly nonzero in the shaded region and go asymptotically to zero as x goes to plus and minus infinity. The minima and maxima are all inside the potential, in the unshaded region. Vertical dashed lines show the values of x where the potential is equal to the energy of the state, that is, where the horizontal dashed lines cross the V of x curve.