In this problem, we will derive the Bragg equation, Equation 29.12. William and Lawrence Bragg (father and son) assumed that X-rays are scattered by successive planes of atoms within a crystal (see the following figure).
Each set of planes reflects the X-rays specularly; that is, the angle of incidence is equal to the angle of reflection, as shown in the figure. The X-radiation reflected from the lower plane in the figure travels a distance $P Q R$ longer than the $\mathrm{X}$-radiation reflected by the upper layer. Show that $P Q R=2 d \sin \theta$, and argue that $2 d \sin \theta$ must be an integral number of wavelengths for constructive interference and hence a diffraction pattern to be observed.