This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Bragg's Law and the Fingerprint

Convert X-ray powder diffraction (XRPD) peak positions to lattice d-spacings with Bragg’s law, write an identity criterion on peak positions, and quantify why sample displacement shifts every peak while preferred orientation changes intensities but not positions. Bragg’s law is set beside Beer–Lambert from Week 6: both describe radiation meeting matter, one reading packing, the other amount.

    The one idea

    A diffractogram is a list of lattice spacings written in angles. Peak positions identify the form; peak intensities also depend on how the powder sits in the holder. Write the identity criterion on what the physics makes reliable.

    Thermal analysis showed Compound X·HCl·H₂O losing its water and becoming an anhydrate. Both are the same molecule. X-ray powder diffraction (XRPD) tells them apart because they pack differently.

    Three computed powder patterns from 4 to 32 degrees two-theta with copper K-alpha radiation. Top: the monohydrate reference with its strongest peak at 6.82 degrees. Middle: the same monohydrate with preferred orientation, normalised; peaks are at identical positions but the relative intensities differ, with most peaks much weaker relative to the 6.82 degree peak. Bottom: the anhydrate, whose peaks are all at different positions, beginning at 7.41 degrees.
    Constructed patterns. Preferred orientation changes the intensity profile of the monohydrate but leaves every position unchanged; the anhydrate differs in position, which is what an identity test should look for.

    Bragg’s law

    X-rays scatter from the electron density of a repeating lattice. Waves scattered from parallel lattice planes a distance d apart reinforce only at angles where the path difference is a whole number of wavelengths:

    n·λ = 2·d·sin θ        λ(Cu Kα) = 1.5406 Å
    

    A diffractometer reports the detector angle 2θ. Each peak position is a d-spacing; a pattern is a list of them [1].

    2θ is a scan, not a setting. The “2” is geometry, not 2 degrees. In the usual reflection (Bragg–Brentano) setup, the beam strikes the flat powder surface at θ and the detector sits at θ on the other side, so the angle between the incident and diffracted beams is 2θ. The instrument sweeps θ and 2θ together and records intensity at each step, and Bragg’s law gives the d-spacing for each angle. The scan range is the choice the analyst makes, and for drug substances it is chosen from the physics:

    • Start low, around 2–3° 2θ. Organic unit cells are large, so their most diagnostic long-spacing reflections fall at low angles: Compound X’s strongest peak is at 6.82°. With Cu Kα, 2° 2θ corresponds to a spacing of about 44 Å. Going much lower is limited by the direct beam and air scatter near 0°.
    • Stop around 40° 2θ. That corresponds to about 2.3 Å. Organic crystals scatter weakly at high angle, and their peaks above about 40° crowd together and add little to form identity. The compendial guidance for organic materials is to scan from as low as practical to at least 40° 2θ [2].
    • Step size and time per step set resolution and noise. A typical routine scan steps in increments of about 0.02° 2θ, finer than the ±0.2° identity tolerance used below.
    Form2θ (°)d (Å)Relative intensity
    Monohydrate6.8212.95100
    Monohydrate13.666.4860
    Monohydrate18.314.8480
    Monohydrate24.733.6055
    Anhydrate7.4111.92100
    Anhydrate14.835.9755
    Anhydrate19.424.5770

    The full nine-peak lists are in peak-list.csv. The strongest monohydrate reflection corresponds to a 12.95 Å spacing; losing the water collapses it to 11.92 Å. That is a physical picture of what dehydration does: the layers holding the water move closer together.

    Worked Bragg's law example. Left: computed Compound X monohydrate and anhydrate patterns from 4 to 30 degrees two-theta, with the strongest peaks marked at 6.82 degrees (monohydrate) and 7.41 degrees (anhydrate). Right, worked steps for the monohydrate peak: two-theta 6.82 degrees, theta 3.41 degrees, sine theta 0.05948, d equals 1.5406 divided by twice 0.05948, giving d equals 12.95 angstroms for one family of planes. Bottom: the anhydrate's strongest peak at 7.41 degrees gives 11.92 angstroms, so hydration opens that spacing by 8.6 percent; near 24 degrees the monohydrate peak (24.73 degrees, 3.60 angstroms) sits above the anhydrate's (23.85 degrees, 3.73 angstroms), so a hydrate rearranges the lattice rather than simply swelling it, and pairing peaks across forms needs indexing.
    Bragg's law worked for Compound X's strongest reflections: 6.82° → 12.95 Å (monohydrate) and 7.41° → 11.92 Å (anhydrate). One d-spacing describes one family of planes, not the whole unit cell.
    Interactive worked example

    Bragg's law: from 6.82° to a d-spacing

    Problem: Compound X monohydrate’s strongest peak is at 2θ = 6.82° with Cu Kα radiation (λ = 1.5406 Å). Calculate the d-spacing for n = 1.

    Significant-figure rule: this is multiplication, division and one sine. The measured inputs are 2θ = 6.82° (three significant figures) and λ = 1.5406 Å (five); n = 1 and the 2 are exact. For multiplication and division alone the answer would keep three, but the counting rules don’t carry through a sine, so step 5 checks the precision by propagating the angle reading instead.

    1. Halve the detector angle. θ = 6.82° ÷ 2 = 3.41°. Dividing by the exact 2 keeps three significant figures.
    2. Take the sine. sin 3.41° = 0.059481… (unitless). Carry 0.05948 (one guard digit) into step 4 rather than rounding to 0.0595 here; rounding an intermediate would shift d in its last digit.
    3. Rearrange Bragg’s law. n·λ = 2·d·sin θ, so d = n·λ ÷ (2·sin θ). n and 2 are exact counts; d takes the unit of λ, ångströms (1 Å = 10⁻¹⁰ m).
    4. Substitute. d = (1 × 1.5406 Å) ÷ (2 × 0.05948) = 12.950… Å.
    5. How many figures? Counting digits would allow three (from 6.82°), giving 13.0 Å, but counting rules don’t carry through a sine. Propagate the reading instead: 6.82° means 6.82 ± 0.005°, and recomputing d at 6.815° and 6.825° gives 12.96 Å and 12.94 Å. So d = 12.95 Å (± 0.01 Å).
    6. Interpret. One family of planes is 12.95 Å apart (1.295 nm). The anhydrate’s strongest peak, 7.41°, gives 11.92 Å the same way. One spacing alone does not give the unit cell.

    Light meets matter: Bragg and Beer–Lambert

    You have used a law like this before. In Week 6, A = εbc turned the light a solution absorbed into a concentration. Bragg’s law and Beer–Lambert describe the same kind of event, electromagnetic radiation meeting matter, and the rule for both is that radiation interacts with whatever in the sample it is sized to match:

    • Diffraction happens when the wavelength is comparable to a repeating spacing. Cu Kα X-rays (1.5406 Å) meet Compound X’s 12.95 Å planes and reinforce at 2θ = 6.82°. The signal is an angle, and it reads how the molecules are packed.
    • Absorption happens when the photon energy matches an energy gap in the molecule. A 254 nm photon carries 4.88 eV, the size of an electronic transition in an aromatic molecule. The signal is lost intensity, and it reads how much of the absorbing species is in the light path.
    Figure titled 'One rule, two signals: radiation meets matter'. Top: a logarithmic wavelength axis from below 1 angstrom to beyond 1 metre with four bands. X-ray, Cu K-alpha 1.5406 angstroms, matches lattice spacings, giving diffraction (Bragg, Week 9); a marker shows Compound X's 12.95 angstrom spacing just beside the X-ray band. UV-Vis, 254 nanometres, matches electronic energy gaps, giving absorption (Beer–Lambert, Week 6). Mid-IR, 2.5 to 25 micrometres, matches bond vibrations, giving IR absorption and Raman scatter (Week 6). Radio, 400 megahertz or about 0.75 metres, matches nuclear spins in a magnet, giving resonance (NMR, Week 3). A centre line reads: a UV-Vis spectrometer uses both; its grating diffracts to pick the wavelength, then the cuvette absorbs. Bottom left, diffraction: X-rays reflecting from three lattice planes a distance d apart; for Cu K-alpha, sine theta equals lambda over 2d equals 0.05948, a peak at 6.82 degrees; for 254 nanometre UV, lambda over 2d is 98.1, above 1, so no angle exists and UV cannot diffract; reads how molecules are arranged. Bottom right, absorption: a 4.88 electronvolt arrow between two energy levels and light passing through a cuvette from I-zero to I; the 254 nanometre photon matches an electronic transition; A equals epsilon b c measures how much is in the light path; both forms dissolve to one spectrum; reads how much, not how packed.
    Constructed comparison. The same radiation–matter rule gives diffraction when a wavelength matches a spacing and absorption when a photon energy matches a gap; IR, Raman and NMR are further cases of the same rule.
    Bragg’s law (XRPD)Beer–Lambert law (UV-Vis)
    Equationn·λ = 2·d·sin θA = log₁₀(I₀/I) = ε·b·c
    The radiation must matchA repeating spacing (λ comparable to d)An energy gap (photon energy ≈ ΔE)
    What is measuredAngles (2θ) where scattered waves reinforceIntensity lost on the way through
    SampleThe solid, as it isUsually a solution: the solid is gone
    Question answeredWhich form? (packing)How much? (amount)
    Blind toAmount dissolved; amorphous content below about 5%Crystal form, once dissolved

    The rule doesn’t stop at two techniques. IR and Raman use radiation sized to bond vibrations (Week 6); NMR uses radio waves sized to nuclear spin energies in a magnet (Week 3). Choosing a spectroscopic technique is choosing which property of matter the radiation is sized to meet.

    Interactive worked example

    Why X-rays and not UV light?

    Problem: Could 254 nm UV light diffract from Compound X monohydrate’s 12.95 Å planes? Compare it with Cu Kα (λ = 1.5406 Å).

    Significant-figure rule: this is division only, so each quotient keeps the fewest significant figures among its measured inputs: 254 nm has three, 12.95 Å four, 1.5406 Å five. The 2 in Bragg’s law, n = 1 and the conversion 1 nm = 10 Å are exact and don’t limit anything. The physical test is that sin θ can never exceed 1.

    1. Rearrange Bragg’s law. sin θ = n·λ ÷ (2·d) with n = 1. The result is a ratio of two lengths, so λ and d must be in the same unit and sin θ comes out unitless.
    2. Find the longest wavelength that can diffract. sin θ ≤ 1 means λ ≤ 2·d = 2 × 12.95 Å = 25.90 Å (four significant figures; the 2 is exact).
    3. Cu Kα. sin θ = 1.5406 Å ÷ 25.90 Å = 0.05948 (four significant figures, limited by d). That is below 1, so θ = 3.41° and 2θ = 6.82°: the peak in the table above. (The 12.95 Å came from that peak, so this step is a consistency check.)
    4. Put the UV wavelength in ångströms. 254 nm × 10 Å/nm = 2540 Å. The conversion is exact, so it still has three significant figures.
    5. UV. sin θ = 2540 Å ÷ 25.90 Å = 98.1 (unitless, three significant figures, limited by 254 nm). No angle has a sine of 98.1, so there is no peak at any angle.
    6. Interpret. UV wavelengths are about a hundred times too long for lattice planes, so X-rays are used because their wavelength is the same size as the spacing. The same arithmetic explains the UV-Vis grating: at 1200 lines per mm its lines are 1 mm ÷ 1200 = 833 nm apart, the right size to diffract 200–800 nm light.

    You have already used diffraction. The Week 6 spectrometer runs source → monochromator → sample → detector. In most instruments the monochromator is a grating: evenly ruled lines that send each wavelength off at a different angle, so a slit can pass one narrow band. That is the same wave interference as Bragg’s law, at a different scale and geometry (some instruments use a prism instead). Only then does the light reach the cuvette, where Beer–Lambert applies. The grating chooses the wavelength; the cuvette absorbs it.

    Same molecule, two answers. The monohydrate and anhydrate give different patterns (strongest peaks at 6.82° and 7.41°) because they pack differently. Dissolve either in the same medium and both give the same Compound X cation: one UV spectrum, same λmax, same ε. UV can’t tell you which form you weighed. It can tell you how much drug you weighed: per milligram, the monohydrate gives 5.06% less absorbance than the anhydrate, because 5.06% of its mass is water, the same step the TGA showed in One Ramp, Two Readouts. This is why Discriminating by Design hands the anhydrate to XRPD: the absorbance in a dissolution vessel records how much has dissolved and how fast, but carries no record of the form it came from.

    Worked example: an identity criterion on positions

    Compound X — constructed teaching example. Write the identity test as: every one of the nine reference monohydrate peaks is matched by a sample peak within ±0.2° 2θ. A tolerance of this order is commonly applied for organic crystals [2].

    SampleReference peaks matchedLargest relative-intensity differencePosition criterion
    Monohydrate, reference loading9/90 pointsPass
    Monohydrate, preferred orientation9/953 pointsPass
    Monohydrate, 0.10 mm height error9/90 pointsPass
    Anhydrate0/9—Fail

    The anhydrate fails on position, which is the right reason. The oriented sample passes on position and would have failed an intensity-based criterion by 53 percentage points, which would have been the wrong conclusion.

    Two artifacts, two signatures

    Preferred orientation. Plate- and needle-shaped crystals lie flat in the holder, so some lattice planes are over-represented in reflecting position. Intensities of those reflections rise relative to the others; positions don’t move. Here, enhancing the 6.82° and 13.66° reflections makes every other peak look weak after normalization. Remedies: grind gently, back-load or side-load the holder, spin the sample, or use transmission geometry; then reload and compare [1].

    Sample displacement. If the sample surface sits above or below the goniometer’s focusing circle, every peak shifts systematically. For a goniometer radius of 240 mm:

    Height errorShift at 6.82°Shift at 18.31°Shift at 27.35°
    0.05 mm−0.024°−0.024°−0.023°
    0.10 mm−0.048°−0.047°−0.046°
    0.20 mm−0.095°−0.094°−0.093°

    A 0.2 mm error uses half of a ±0.2° tolerance before any real difference is considered. The signature is a near-uniform shift of every peak, which a true form change does not produce. An internal standard mixed into the sample, or checking a known reference peak, corrects it.

    The running proof

    A certified reference material (for example a corundum or silicon standard) run on a schedule confirms peak positions, intensities and resolution of the instrument [2]. It catches misalignment and detector drift. It cannot catch preferred orientation or displacement in this sample’s preparation; reloading and an internal standard do that.

    Where the analyst sits

    An identity test is only as good as its written criterion. The analyst decides which peaks are diagnostic (ones that distinguish the forms, not ones they share), what tolerance the instrument and preparation can support, and whether intensity is scored at all. Those decisions belong in the method, not in the reviewer’s judgment after the data exist.

    For discussion

    1. Why does preferred orientation change intensities but not positions?
    2. What does the “2” in 2θ mean, and why do pharmaceutical XRPD scans usually start near 2–3° 2θ instead of near 40°?
    3. Every peak in a sample pattern sits 0.08° lower than the reference. Form change or artifact? How do you confirm it?
    4. Which monohydrate peaks would you choose as diagnostic against the anhydrate, and why?
    5. Why does dehydration reduce the d-spacing of the strongest reflection?
    6. When would you require single-crystal diffraction rather than XRPD?
    7. In a UV-Vis spectrometer with a grating monochromator, where does diffraction happen and where does absorption happen? Which of the two does Beer–Lambert describe?
    8. Two lots of Compound X give identical UV spectra after dissolution but different XRPD patterns. Which result shows that the lots differ, and what does the UV result still tell you?

    Bridge to mixtures

    An identity test says which form. It does not say whether 2% of another form is hiding underneath. Mixtures and Limits puts a number on that.

    Data and sources

    Peak lists with d-spacings, computed patterns, identity check, displacement shifts, Bragg beside Beer–Lambert numbers, reproduction script, requirements. Figures: 3840 × 2160 pixels, computed from the peak lists; the radiation–matter comparison is generated by docs/solid-form-bundles/generate-worked-examples.py.

    [1] V. K. Pecharsky and P. Y. Zavalij, Fundamentals of Powder Diffraction and Structural Characterization of Materials, 2nd ed., Springer, 2009.

    [2] United States Pharmacopeia (USP) ⟨941⟩ Characterization of Crystalline and Partially Crystalline Solids by X-Ray Powder Diffraction (XRPD); Ph. Eur. 2.9.33. Licensed compendial text; confirm the operative tolerance and instrument-qualification requirements.

    [3] D. A. Skoog, F. J. Holler and S. R. Crouch, Principles of Instrumental Analysis, 7th ed., Cengage, 2018. Absorption, Beer–Lambert and grating monochromators.

    The compound, peak lists and patterns are constructed teaching examples, not product data.