The Heisenberg Uncertainty Principle is a relationship between certain types of physical variables like position and momentum, which roughly states that you can never simultaneously know both variables exactly. Informally, this means that both the position and momentum of a particle in quantum mechanics can never be exactly known.
Mathematically, the Heisenberg uncertainty principle is a lower bound on the product of uncertainties of a pair of conjugate variables. The most well-known expression takes the position and momentum to be the conjugate variables:
Suppose the position of a particle is known to very high precision, so that is very small. Then the uncertainty principle shows that must be large, i.e. the momentum is not known precisely. Furthermore, neither uncertainty can vanish, so neither position nor momentum can ever be exactly measured.
States that saturate the inequality in the Heisenberg uncertainty principle are called squeezed states, of which coherent states like the photon states in a laser are a subclass.
The uncertainty principle relates the standard deviations of two conjugate variables, which are any two variables related to each other by the Fourier transform. For example, the wavefunction of a free particle is:
where the are states of definite momentum, i.e. eigenstates of the momentum operator.
If we let , the integral becomes
Therefore, the position-space wavefunction is indeed the Fourier transform of another wavefunction that is dependent on momentum instead. This wavefunction, , is called the momentum-space wavefunction.
The momentum-space wavefunction can be recovered given the position-space wavefunction by taking the inverse Fourier transform:
This Fourier analysis achieves the interesting result of displaying the direct relationship between two variables and that describe the same wave-packet in different spaces. In this example, a free particle is measured in the position space by , but measured in the momentum space by . Regardless of which space one chooses to measure the particle, the physics doesn't change. Therefore, this relationship of conjugate variables allows one to measure particles in physical experiments in two ways. In fact, much of crystallography and solid-state physics relies on measurements made in momentum space in lieu of position space.
The standard deviation of some variable is defined by
That is, gives the average squared difference from the mean .
The uncertainty principle holds for any quantum mechanical state . To derive the uncertainty principle thus requires consideration of the expectation value of in some arbitrary state . This expectation value is given by:
Since is Hermitian, setting gives .
Similarly, the momentum uncertainty is written:
A clever application of the Cauchy-Schwarz inequality gives the rough form of the Heisenberg uncertainty principle:
To obtain the final expression, compute the right-hand side above:
Taking the complex conjugate,
Using the following property of complex numbers:
replacing with and with yields
Substituting back in for all of the inner products previously computed, this translates to
This is the generalized Heisenberg uncertainty principle. Note that no part of the above derivation uses the fact that and represent position and momentum, only the fact that they are conjugate variables. Therefore, the above inequality holds for any two conjugate variables.
The canonical commutation relation gives . Substituting in above and taking the square root yields the most well-known form of the Heisenberg uncertainty principle:
Another uncertainty relation which is often referenced in discussion of quantum mechanics is the energy-time uncertainty principle,
It is tempting to interpret this equation as the statement that a system may fluctuate in energy by an arbitrarily large amount over a sufficiently short time scale. This explanation is often given as a description for particle-antiparticle production and annihilation, where a particle and its antiparticle appear spontaneously from the vacuum briefly via "borrowed" energy before colliding and returning to vacuum. However, this explanation is not very precise and the given inequality is not so well-defined in quantum mechanics despite the nice physical interpretation. The reason it is not well-defined is because there is no operator in quantum mechanics corresponding to the measurement of time, although the Hamiltonian is the operator corresponding to energy. Nevertheless, as explained in this section, there is some way to make sense of an energy-time uncertainty principle by considering how the measurement of an arbitrary operator changes in time.
Since time is not an operator, it is unclear how time enters quantum mechanics at all. The answer is that time is incorporated into the Schrödinger equation, where it describes the time rate of change of a wavefunction. Physically, the passage of time is recorded by noting that certain physical observables are changing over time: for instance, perhaps the position of a particle is changing, which one interprets as motion over time, or the momentum of a particle is changing, which one interprets as accelerating or decelerating over time.
To quantify this statement, consider the Ehrenfest theorem governing the dynamics of the expectation value of an operator in terms of the commutator with the Hamiltonian:
Assuming that does not depend explicitly on time (which is typically the case), the second term vanishes and the expectation value of the is generally nonzero. Therefore, and satisfy the generalized Heiseinberg uncertainty relation:
Notably, since the Hamiltonian is the energy operator, corresponds to the uncertainty in energy.
Taking square roots now gives the relation:
Define by the relation:
In other words, corresponds to the time it takes the measured value of to shift by , for any operator .
Given this definition, substituting in yields the relation:
which is a more rigorous expression of the energy-time uncertainty principle. Formally, using the definition of one can see that if the energy changes slowly, the rate of change of all expectation values of any observable operator must also be slow. This makes sense because if the energy (i.e., the Hamiltonian) changes slowly, the wavefunction itself that is evolved by the Hamiltonian changes slowly, so the expectation value of observables corresponding to measurements of that wavefunction must change slowly as well.
The energy of an electron in a magnetic field is, in some unit system:
where choice of positive or negative sign corresponds to spin-down or spin-up respectively, and is the spin magnetic moment of the electron.
In an adiabatic transition, the parameters of a quantum system are gradually changed to bring a system smoothly from one state to another state. Suppose an electron starts in the spin-up ground state in a magnetic field of strength . The magnetic field is then reduced slowly to strength and then increased slowly again back to strength . Find the minimum time for the process of tuning the magnetic field to occur for which the electron is expected to remain in the spin-up ground state after the process ends. Hint: consider the energy-time uncertainty principle.
Note: this is a very simple demonstration of the fact that adiabatically tuning electron spins requires relatively long time scales.
 Griffiths, David J. Introduction to Quantum Mechanics. Second Edition. Pearson: Upper Saddle River, NJ, 2006.