The document discusses X-ray diffraction and the structure factor in determining crystal structures. It provides background on how X-rays were first used by Max Von Laue and William Bragg to diffract off crystal planes. Bragg's law relates the wavelength of X-rays to the diffraction pattern. The structure factor describes the amplitude and phase of diffracted waves from crystal lattice planes and is essential for determining 3D electron density and crystal structures. Methods for X-ray diffraction including Laue, rotating crystal, and powder are described. Expressions for calculating the structure factor of simple cubic, body-centered cubic, and face-centered cubic unit cells are also provided.