Standing waves occur when two waves of equal amplitude, wavelength, and frequency travel in opposite directions and superimpose. The result is a wave with a position-dependent amplitude described by A(x)=2Asin(kx), where k is the wavenumber. Nodes occur at integer multiples of half wavelengths, where the amplitude is zero. Anti-nodes occur at odd integer multiples of quarter wavelengths, where the amplitude is maximum (2A). The full equation for a standing wave is D(x,t)=2Asin(kx)cos(ωt), relating amplitude to position and time using sines and cosines respectively.