First observed by Arthur Compton in 1923, the Compton effect occurs when an incident X-ray photon scatters with an electron. The X-ray loses energy depending on the angle of scattering; the total momentum and energy of the photon and electron are conserved.
where is the wavelength of the incident X-ray (in this example, ), is the wavelength of the scattered X-ray, is Planck's constant, is the rest mass of the electron, is the speed of light, and is the scattering angle.