Spontaneous symmetry breaking occurs when the Lagrangian of a field theory has a symmetry that is not shared by the ground state (vacuum). The classic example is the Mexican hat potential, where the Lagrangian has rotational symmetry but the vacuum state picks a definite direction. This mechanism generates massless Goldstone bosons and, when combined with gauge invariance, gives mass to gauge bosons via the Higgs mechanism.
Spontaneous symmetry breaking is one of the most important concepts in modern physics. The idea is simple but profound: a system's ground state can have less symmetry than the laws governing it. A ball at the top of a Mexican hat has rotational symmetry, but it must roll down to some point on the brim, picking a direction and breaking the symmetry. The potential is symmetric; the state is not.
In quantum field theory, the "ball" is a scalar field and the "hat" is its potential energy. Consider a complex scalar field phi with potential V = -mu^2 |phi|^2 + lambda |phi|^4 (with mu^2, lambda > 0). This potential has U(1) symmetry (invariance under phi -> e^{i alpha} phi) and its minimum is not at phi = 0 but on a circle |phi| = v = mu/sqrt(2 lambda). The field settles into a vacuum expectation value <phi> = v, breaking the U(1) symmetry. Small fluctuations around the vacuum decompose into a radial mode (massive, with mass sqrt(2) mu) and an angular mode (massless, the Goldstone boson).
Goldstone's theorem states that for each spontaneously broken continuous symmetry generator, there is one massless scalar particle. For a global U(1) symmetry, one generator is broken, producing one Goldstone boson. For a global SU(2) symmetry broken completely, three generators are broken, producing three Goldstone bosons. These massless excitations correspond to the "flat directions" of the potential -- rotations along the vacuum manifold that cost no energy. In condensed matter physics, Goldstone bosons appear as phonons (broken translation symmetry), magnons (broken rotation symmetry), and superfluidity modes (broken U(1) symmetry).
The power of spontaneous symmetry breaking in particle physics comes from combining it with gauge invariance. In a gauge theory, the Goldstone bosons are not physical particles -- they are "eaten" by the gauge bosons, which acquire mass. This is the Higgs mechanism, which gives mass to the W and Z bosons while keeping the photon massless. The essential point is that the Lagrangian remains gauge-invariant (ensuring renormalizability and theoretical consistency), but the vacuum state is not invariant, generating masses for the particles that interact with the broken-symmetry sector.