Home▸Articles▸Physics & Mechanics

Crystal Diffraction: Understanding the Mathematics Behind X-Ray Crystallography

Bragg's Law is a cornerstone of solid-state physics, enabling scientists to determine atomic structures from diffraction patterns.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What Crystal Diffraction Is

Crystal diffraction involves the scattering of waves, such as X-rays or electrons, by a crystalline solid. When these waves encounter the periodic arrangement of atoms within a crystal, they interfere constructively at certain angles, creating observable patterns.

This phenomenon is crucial for determining the atomic and molecular structure of materials, which has applications ranging from pharmaceuticals to advanced materials science.

Bragg's Law: The Governing Principle

Bragg's Law describes the conditions under which constructive interference occurs between diffracted waves. It is given by the equation nλ = 2d·sinθ, where n is an integer representing the order of diffraction, λ is the wavelength of the incident wave, d is the spacing between crystal planes, and θ is the angle of incidence.

This law allows us to calculate the positions of these constructive interference points, which correspond to specific angles at which diffracted beams are observed.

live demo · related simulation● LIVE

Why It Matters

Crystal diffraction techniques, particularly X-ray crystallography, have revolutionized our understanding of molecular structures. They provide non-destructive methods for determining the arrangement of atoms in a material, which is essential for developing new materials and pharmaceuticals.

Moreover, these techniques are fundamental in fields such as chemistry, biology, and materials science, where detailed knowledge of atomic structure can lead to breakthroughs in technology and medicine.

Real-World Applications

Bragg's Law is used extensively in X-ray crystallography to determine the three-dimensional structures of proteins, viruses, and other biological macromolecules. This has led to numerous Nobel Prizes and significant advancements in drug discovery.

In materials science, it helps in developing new alloys, semiconductors, and superconductors by optimizing their atomic arrangements for desired properties.

Frequently asked questions

What is the significance of the integer n in Bragg's Law?

The integer n represents the order of diffraction. It indicates how many times the wavelength fits into the distance between crystal planes, and it determines which angles will produce constructive interference.

How does changing the lattice constant affect the diffraction pattern?

Increasing the lattice constant decreases the spacing d in Bragg's Law, leading to a shift in the positions of the diffraction peaks. This means that for the same wavelength and angle, the diffracted beams will be observed at different angles.

Can any crystal structure be used with X-ray diffraction?

Yes, but not all structures are equally useful. Simple cubic (SC), body-centered cubic (BCC), and face-centered cubic (FCC) structures are common choices because they have well-defined interplanar spacings that can be easily calculated using Bragg's Law.

What happens if the grazing angle is too high or too low?

If the grazing angle is too high, it may exceed the critical angle for total internal reflection, and no diffraction will occur. If the angle is too low, the constructive interference conditions specified by Bragg's Law are not met, resulting in no observable diffracted beams.

Try it live

Everything above runs in your browser — open Crystal Diffraction (Bragg's Law) Simulator and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Crystal Diffraction (Bragg's Law) Simulator simulation

What did you find?

Add reproduction steps (optional)