This Demonstration considers a Gaussian wavepacket

,

in the position and momentum representations, respectively. The top-left panel shows the position-space probability density

, position expectation value

, and position uncertainty

. The top-right panel shows the momentum-space probabiity density

, momentum expectation value

, and momentum uncertainty

. The lower two panels show the complex wavepackets, where the shape is its modulus and the coloring represents the argument (the range

to

corresponding to colors from red to magenta).