Crystal
Reflecting planes (hkl)
X-rays and sample
Playback
Reflections of this crystal
Click a row to select it.
Model check
The science
What is modelled
X-rays are electromagnetic waves with wavelengths (about 0.5 to 2.5 angstrom) comparable to atomic spacings, so a crystal acts as a three-dimensional diffraction grating. Atoms in a plane scatter the beam like a mirror; scattering from successive planes interferes. This page models cubic crystals with an explicit list of atoms in the unit cell and computes where and how strongly they diffract.
Equations
- Bragg's law:
n λ = 2 d sinθ, with plane spacing for a cubic latticed = a / √(h² + k² + l²). Reflection needs n λ ≤ 2d, so at most floor(2d/λ) orders exist. - Many planes: the N scattered waves have phase step
φ = 4π d sinθ / λ, the intensity is[sin(Nφ/2) / (N sin(φ/2))]², peaks of height 1 at the Bragg angles and width about λ/(2 N d cosθ). - Structure factor:
F(hkl) = ∑j fj exp[2πi (h xj + k yj + l zj)]; the intensity is proportional to |F|². Atoms at special positions cancel some reflections: BCC needs h+k+l even, FCC needs h,k,l all odd or all even, diamond additionally forbids h+k+l = 4n+2. - Powder pattern:
I ∝ m |F|² (1 + cos²2θ)/(sin²θ cosθ) e−2B s², with multiplicity m, the Lorentz-polarisation factor and a Debye-Waller factor (s = sinθ/λ). - Peak width: Scherrer formula
FWHM = 0.9 λ / (L cosθ)for crystallites of size L.
Checks run in the page
- An explicit sum of 24 scattered waves finds its maximum at the Bragg angle with relative intensity 1 and almost none between the orders.
- Structure-factor sums are compared with the textbook extinction rules for all eight crystals (hundreds of reflections), and with the sequences of allowed h²+k²+l² for BCC, FCC and diamond.
- Calculated Cu Kα1 powder peaks of Al, Si and Cu are compared with the published 2θ positions, and the Al lattice constant is recovered from a peak.
- The width of a drawn peak is measured and compared with the Scherrer formula.
Honest simplifications
- The atomic scattering factor is the rough form f = Z exp(−4 s²) (Z = electron count, ions for NaCl and CsCl), not tabulated Cromer-Mann values, so relative intensities are qualitative even though positions and extinctions are exact. Real patterns also include absorption, preferred orientation and Kα2 lines. The wave picture is schematic: the plane spacing is scaled to fit the screen while keeping 2 d sinθ/λ exact.
- Real crystals are cubic only in these examples; lower symmetry lattices need the general d-spacing formula.
What to try
- Pick Al, press Snap: the phasors line up and the intensity is 100%. Move the angle slightly away and watch it collapse.
- Switch Fe to Cu: the strongest reflections change and the BCC and FCC sequences differ (the sin²θ ratio graph shows it).
- Choose NaCl and compare (111) with (200): the first is weak because Na+ and Cl- nearly cancel.
- Shrink the crystallite size to see peaks broaden.