the principle that when a beam of X-rays of wavelength λ enters a crystal, the maximum intensity of the reflected ray occurs when sin θ = nλ/2d, where θ is the complement of the angle of incidence, n is a whole number, and d is the distance between layers of atoms