Why would we even ask for a new mechanics?
Imagine an electron source aimed at a barrier with two narrow slits. Behind the barrier is a screen that records each arrival as a tiny, localized flash. If the electrons were ordinary classical particles, the prediction would seem obvious: some pass through the left slit, some pass through the right slit, and the screen shows two broad piles aligned with the openings.
Now reduce the source intensity until the electrons are fired one at a time. Each electron still arrives at one definite point. There is never half an electron on one side of the screen and half on the other. At first the impacts look random. But after hundreds, then thousands, then millions of arrivals, a pattern emerges: alternating bright and dark bands, the unmistakable signature of interference.
That is the puzzle. The electrons arrive like particles, one localized event at a time, but their accumulated distribution behaves like a wave passing through both slits. The pattern remains even when only one electron is in the apparatus at once. There is no second electron with which it could be interfering.
Close either slit and the interference disappears. Open both, and it returns. Try to determine which slit each electron passed through, and the interference is lost. Classical mechanics asks us to assign the electron a trajectory through one slit or the other. The experiment refuses to cooperate.
Cracks in the classical picture
The double-slit experiment is not an isolated trick. By the early twentieth century, several experiments were pointing toward the same uncomfortable conclusion: classical particles and classical waves were not the final categories of nature.
Consider the photoelectric effect. Shine light on a metal and electrons may be ejected. Classical wave theory suggests that making the light more intense should eventually give an electron enough energy to escape, regardless of the light's frequency. Instead, below a threshold frequency, no electrons are emitted, however intense the light becomes.
Einstein proposed that light transfers energy in discrete packets, later called photons. The energy of one packet is
where is the light frequency and is Planck's constant. Increasing the intensity supplies more photons, but increasing the frequency increases the energy carried by each photon. Light, the model wave, was behaving in particle-like transactions.
Then de Broglie reversed the question. If light can behave like particles, might matter behave like waves? He associated a wavelength with a particle of momentum :
For a baseball, this wavelength is too small to notice. For an electron, it is large enough to produce measurable diffraction and interference. The double-slit pattern is therefore not a decorative analogy. It is evidence that the state of an electron has genuinely wave-like structure.
But we must be careful. An electron is not merely a tiny classical particle riding on a classical wave, nor is it a classical wave smeared through space. What we need is a mathematical framework in which interference and localized detection are both natural consequences.
What becomes of phase space?
Here is where the mechanics you already know becomes useful.
In Hamiltonian mechanics, the state of a one-dimensional particle is represented by a point in phase space. Position and momentum live side by side as independent coordinates, and the Hamiltonian determines their evolution through Hamilton's equations:
For a particle of mass moving in a potential ,
Quantum mechanics does not throw this structure away. It changes what the quantities mean.
Position and momentum are promoted from ordinary numbers to operators, and , which act on a state. Unlike classical numbers, these operators do not commute. Their order matters:
where
This is the quantum resolution of the classical phase-space idea. Classically, one may specify and simultaneously and regard them as coordinates of a single point. Quantum mechanically, position and momentum remain the central dynamical variables, but they are noncommuting operators. There is no quantum state corresponding to an arbitrarily sharp classical phase-space point.
The familiar uncertainty relation follows from this operator structure:
This is not a claim about clumsy laboratory equipment. It says that no state can possess both an arbitrarily narrow position distribution and an arbitrarily narrow momentum distribution. Classical phase space survives, but not as a set of simultaneously definite values.
The wave function
For a particle moving along one dimension, we describe the state by a complex-valued wave function
The wave function itself is not a directly measured material wave. Its physical meaning enters through the Born rule:
Here is the probability density for detecting the particle at position at time . Thus the probability of finding it between and is
If the particle is certain to be found somewhere, the wave function must be normalized:
This lets us say precisely what the double-slit experiment displays. The alternatives associated with the two slits contribute amplitudes, not ordinary probabilities. If is the amplitude associated with the left slit and the amplitude associated with the right slit, then with both slits open,
The observed probability density is therefore
The last two terms are the interference terms. They can increase the probability at one location and cancel it at another. If we had merely added classical probabilities, those terms would never appear, and neither would the fringes.
Dynamics: the Schrödinger equation
A state is useful only if we know how it changes. In quantum mechanics, time evolution is governed by the time-dependent Schrödinger equation:
The operator is the Hamiltonian. This is the point at which the connection to classical mechanics becomes especially satisfying.
For a classical particle in one dimension,
For the quantum particle, we use exactly the same Hamiltonian structure, but position and momentum are reinterpreted as operators. In the position representation,
Therefore
Substituting this into the Schrödinger equation gives
So the Hamiltonian you met in classical mechanics has not vanished. It is still the generator of time evolution. The expression
becomes
with replaced by the differential operator . The classical function on phase space has become an operator acting on wave functions.
You can verify the central commutator directly. Acting on any sufficiently smooth function ,
Since this holds for every such ,
The noncommuting structure and the wave equation are therefore not separate decorations. They fit together in one representation.
Stationary states and energy
If the potential does not depend explicitly on time, we can look for separated solutions of the form
Substitution into the Schrödinger equation leads to
and
Thus a state of definite energy has the form
The equation
is the time-independent Schrödinger equation. It is an eigenvalue equation: allowed energies are eigenvalues of the Hamiltonian, and the corresponding spatial wave functions are its eigenfunctions.
Whether the possible energies form a continuous range or a discrete set depends on the Hamiltonian and the boundary conditions. Quantization is not imposed by announcing that nature likes integers. It emerges when only certain wave functions are compatible with the physical constraints.
Worked example
A particle of mass is trapped in a one-dimensional infinite square well of width . What wave functions are allowed, and what are its possible energies? (click to reveal the solution)
Setting up: Put the walls at and . The potential is
The particle cannot exist outside the box, so its wave function vanishes there. Continuity then requires the boundary conditions
Inside the box, , so the time-independent Schrödinger equation is
Rearrange it as
where
Solving the spatial equation: The general solution is
Apply the condition at the left wall:
Therefore
Now apply the condition at the right wall:
We do not want the trivial solution , which would give zero probability of finding the particle anywhere. Therefore
This occurs only when
so
The allowed spatial states are standing waves:
Normalization fixes . We require
which gives
Thus
Seeing the wavelength condition: A standing wave that vanishes at both walls must fit an integer number of half-wavelengths into the box:
Therefore
Using de Broglie's relation ,
The same result follows from .
Finding the energies: Inside the box there is no potential energy, so
Substituting gives
Equivalently,
The full stationary states are
This is quantization appearing as a mathematical consequence. We never assumed that the energy must come in discrete levels. We wrote the Schrödinger equation and required the wave function to vanish at both walls. Those boundary conditions admit only certain standing wavelengths, hence only certain momenta and energies.
Notice also that the lowest allowed energy is not zero:
A zero-energy solution would have and would be linear in ; vanishing at both walls would force it to be zero everywhere. The confined particle therefore cannot sit motionless at the bottom of the well.
Where this leads
Quantum mechanics begins by replacing phase-space points with states, classical observables with noncommuting operators, and deterministic trajectories with amplitudes whose squared magnitudes predict experimental outcomes. From here, this track develops quantum angular momentum and spin, where the operator structure becomes even more striking, and eventually joins a separate track on special relativity on the road toward quantum field theory.