X-Ray Powder Diffraction and Crystallography

A three-reading path through X-ray powder diffraction, following Compound X hydrochloride monohydrate: Bragg’s law and the peak-position fingerprint, quantifying a minor form and the amorphous blind spot, and watching forms change with humidity — with single-crystal diffraction, polarised light microscopy and solid-state NMR placed around them.
One-page overview titled 'X-Ray Diffraction and Crystallography', following Compound X hydrochloride monohydrate. Left: XRPD basics, with Bragg's law n lambda equals 2 d sine theta drawn as X-rays reflecting from lattice planes a distance d apart, and a diffraction pattern described as a fingerprint whose peak positions reflect lattice spacings of a specific crystal form. Centre: Compound X hydrochloride monohydrate, a salt with about one water per molecule (about 5% w/w), drawn as a unit cell of organic cations, chloride ions and lattice water held by hydrogen bonds. Right: the three readings, Bragg's law and the peak-position fingerprint, quantifying a minor form and the amorphous blind spot, and watching forms change with humidity using variable-humidity XRPD. Bottom: complementary techniques, single-crystal X-ray diffraction for atomic structure and water location, polarised light microscopy for crystal habit and birefringence, and solid-state NMR for local environment and hydrate confirmation, with an integrated story combining XRPD, DSC, TGA, single-crystal diffraction, PLM and solid-state NMR.
The XRPD section on one page. The minor-form panel's '~3–5%' is generic; for Compound X, Mixtures and Limits computes a detection limit of about 0.6% for the anhydrate and about 5% for amorphous content.

A molecule’s connectivity doesn’t change between crystal forms. Its packing does, and packing is what changes a drug’s solubility, dissolution rate, stability and even its patentability. Thermal analysis infers packing from what heat and humidity do to the solid. X-ray diffraction reads it directly.

The one idea

Every distinct crystal form of a molecule scatters X-rays into its own pattern of peak positions, which makes a diffractogram a reference-pattern identity test in the same family as the infrared (IR) and Raman identity checks from molecular spectroscopy, reading packing instead of bonds. Positions identify the form; intensities are easily distorted by how the powder was loaded.

The running case continues Compound X·HCl·H₂O, a constructed teaching example, with an anhydrate (formed by dehydration) and the free base (formed by salt disproportionation) as the forms to tell apart. Every diffraction pattern is computed from an invented peak list.

Read in order

ReadingQuestion it answersRecord retained
1. Bragg’s Law and the FingerprintIs this lot the monohydrate, and what can distort the answer?Peak list with d-spacings, identity check, displacement and orientation effects
2. Mixtures and LimitsHow little of another form, or of amorphous material, can X-ray powder diffraction (XRPD) see?Calibration, limit of detection (LOD) and limit of quantitation (LOQ), amorphous-halo limit
3. Forms That ChangeHow do you catch a form change as it happens, and what happens when you miss one?Variable-humidity series, disproportionation detectability, the ritonavir case

The technique family

TechniqueWhat it needsWhat it gives youTypical role
X-ray powder diffraction (XRPD)A bulk powder samplePeak positions (2θ) and relative intensities characteristic of the crystal formThe routine method for polymorph, hydrate and salt-form identity
Single-crystal X-ray diffractionOne suitable single crystalAbsolute molecular structure and packingDecisive when you can get it; growing a diffraction-quality crystal is often the limiting step
Polarised light microscopy (PLM)A few particles on a slideBirefringence: is this crystalline, and does it look like the reference?The cheap first triage before requesting XRPD
Solid-state NMR (ssNMR)A bulk powder sampleForm identification and quantitation, including amorphous contentThe same physics as the solution NMR sessions, applied to a rigid lattice

Where the analyst sits

“Matches the reference pattern” needs a stated acceptance criterion before it means anything: which peaks, what 2θ tolerance, and whether intensity is scored at all. A screening report that shows a “new” pattern is a triage problem first: rule out sample-loading artifacts (grind and reload to randomize orientation) before concluding a new form has appeared.

On the job

  • PLM is usually the first thing run on an unknown solid. It tells you in minutes whether XRPD is even likely to be informative (a fully amorphous sample shows no birefringence).
  • Reading a polymorph-screening report means knowing which candidate form is the marketed one and why: usually the most stable form under the conditions the product will see, defended with the whole panel (XRPD, DSC/TGA, dynamic vapour sorption (DVS), PLM).
  • “Peak intensity looks off” is far more often preferred orientation or particle size than a real form change. Ask about sample loading before escalating.

For discussion

  • A generic manufacturer’s XRPD pattern matches the reference in peak position but not in relative intensity. Polymorph difference or artifact? What would settle it?
  • Solid-state nuclear magnetic resonance (NMR) detects 3% amorphous content that XRPD calls “fully crystalline.” Which do you trust, and why does the disagreement not mean one technique is wrong?
  • A batch fails dissolution with no assignable manufacturing deviation. Trace an investigation through this section and thermal analysis to a plausible root cause, then compare your path with When a Batch Fails.

Source note. Each reading carries its own sources. Compendial basis: United States Pharmacopeia (USP) ⟨941⟩ (characterization of crystalline and partially crystalline solids by X-ray powder diffraction), Ph. Eur. 2.9.33 (characterisation of crystalline and partially crystalline solids by XRPD). Regulatory framing: International Council for Harmonisation (ICH) Q6A decision tree #4 (polymorphism). The reproduction script for the XRPD and thermal readings is kept in docs/solid-form-bundles/.


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.

Mixtures and Limits

Build a calibration for anhydrate in Compound X monohydrate from a form-specific reflection, compute its detection and quantitation limits, and quantify why an amorphous fraction below about 5% hides under the background.

Forms That Change

Watch Compound X monohydrate convert to the anhydrate in a computed variable-humidity X-ray powder diffraction (XRPD) series, compare XRPD and ion chromatography as detectors of salt disproportionation, and use the ritonavir Form II case to see what a missed form change costs.