Learning Objectives
After completing this section you will be able to:
- Define what makes a material crystalline and distinguish crystals from amorphous solids using both structural and experimental criteria.
- Decompose any crystal into its two building blocks — a lattice and a basis — and explain why this decomposition is unique and powerful.
- Write the lattice-vector equation and explain every symbol's physical meaning.
- Identify the experimental signatures of crystallinity in X-ray, electron, and neutron diffraction patterns.
- Explain why translational periodicity enables Bloch's theorem and makes plane-wave DFT codes like VASP computationally feasible.
- Connect crystallographic descriptions to modern materials informatics: DFT input files, crystal-structure databases, and machine-learning representations.
Where this knowledge is used
The Big Picture: From Mineral Cabinets to Quantum Computers
The idea that solids are built from repeating units is surprisingly old. In 1784, the French mineralogist René Just Haüy dropped a calcite crystal, noticed that every fragment broke into perfect rhombohedra, and proposed that all crystals are built by stacking identical "molécules intégrantes" — tiny building blocks repeated in space. He could not see atoms, but his geometric insight was correct.
Over the next century, this idea matured:
- Auguste Bravais (1850) proved mathematically that only 14 fundamentally different lattice types exist in three dimensions, classifying all possible "repetition rules."
- Evgraf Fedorov and Arthur Schoenflies (1891) independently enumerated the 230 space groups — the complete catalog of symmetries a periodic 3D pattern can possess.
- Max von Laue (1912) directed X-rays at a copper sulfate crystal and observed sharp diffraction spots, proving for the first time that crystals really are periodic on the atomic scale and that X-rays are waves.
- William Henry and William Lawrence Bragg (1913) solved the first crystal structures (NaCl, diamond) from diffraction data, launching modern materials science.
The central idea: A crystal is not just "a pretty rock." It is matter with long-range translational order — a precise mathematical symmetry that determines how it diffracts radiation, conducts electrons, vibrates thermally, responds to stress, and interacts with light. Understanding that order is the key to predicting and engineering material properties from first principles.
What Defines a Crystal?
A crystal is a solid whose atoms (or ions, or molecules) are arranged in a pattern that repeats periodically in three dimensions. This periodicity means that if you translate the entire structure by certain specific vectors, it maps exactly onto itself.
The Three Pillars of Crystallinity
- Translation invariance: there exist three non-coplanar vectors such that shifting the structure by any integer combination of these vectors leaves it unchanged.
- Complete tiling: the repeating unit (the unit cell) fills all of three-dimensional space without gaps or overlaps, like bricks in a wall.
- Long-range order: knowing the arrangement in one unit cell lets you predict the arrangement arbitrarily far away. This is what distinguishes a crystal from a liquid or a glass.
The Formal Statement
A structure possesses translational periodicity if there exists a set of translation vectors such that the atomic density satisfies:
Here is the electron density (or, equivalently, the probability of finding an atom) at position . The set of all valid translation vectors forms a lattice, which we will define precisely below.
Real crystals are never perfect
The Wallpaper Analogy
Before jumping to three dimensions, build your intuition with a two-dimensional analogy: wallpaper. A wallpaper pattern has a small motif — a flower, a geometric shape — repeated at regular intervals across a flat surface. If you know the motif and the two repeat vectors, you can reconstruct the entire wall.
A crystal works the same way, extended into three dimensions. There is a small repeating unit (a group of atoms) that tiles all of 3D space without gaps or overlaps. The repeat rule is the lattice, and the motif is the basis.
| Wallpaper (2D) | Crystal (3D) |
|---|---|
| 2 repeat vectors define the tiling | 3 lattice vectors define the tiling |
| Motif: a printed design element | Basis: a group of atoms |
| 17 possible wallpaper groups | 230 possible space groups |
| Motif + grid = wallpaper | Basis + lattice = crystal |
The 17 wallpaper groups classify every possible 2D periodic pattern. They are the two-dimensional analogues of the 230 space groups that classify all possible 3D crystal symmetries (Section 7 of this chapter). The jump from 2D to 3D adds complexity, but the underlying principle is identical: classify all distinct ways a motif can be repeated with translational symmetry.
Lattice + Basis = Crystal
The single most important concept in this entire textbook is the decomposition:
The symbol here means "place a copy of the basis at every lattice point." This is a convolution: the crystal is generated by convolving the lattice (an infinite set of mathematical points) with the basis (a finite set of atoms).
| Component | What It Is | Contains Atoms? | Analogy |
|---|---|---|---|
| Lattice | An infinite set of mathematically equivalent points with translational symmetry | No | The grid of hooks on a wall |
| Basis | A group of atoms (species + positions) attached to each lattice point | Yes | The ornament hung on each hook |
| Crystal | Lattice ⊗ Basis | Yes | The decorated wall |
The distinction matters
The Lattice
A Bravais lattice is the set of all points that can be reached from any one point by integer translations along three linearly independent vectors . The general lattice point is:
Symbol-by-Symbol Explanation
| Symbol | Type | Meaning |
|---|---|---|
| R | 3D vector (Å) | Position of any lattice point in real (direct) space |
| a₁, a₂, a₃ | 3D vectors (Å) | Primitive lattice vectors: the three independent repeat steps. Their choice is not unique. |
| n₁, n₂, n₃ | Integers (ℤ) | Coefficients that select which lattice point. n₁ = 0, n₂ = 0, n₃ = 0 gives the origin. |
What does this equation say in plain language? Starting from any lattice point, you can reach every other lattice point by taking steps along , then steps along , then steps along . The lattice is the set of all points you can reach this way.
Geometric picture: Think of the lattice vectors as the edges of a parallelipiped (a "squished box"). Stacking copies of this box in all three directions fills all of space — that is the lattice.
Key Properties
- Discrete: the points are isolated, not continuous. There is a minimum distance between neighbors.
- Infinite: the lattice extends to infinity in all directions (in VASP, periodic boundary conditions simulate this).
- Identical environment: every lattice point has exactly the same surroundings. This is the defining property of a Bravais lattice.
- Non-unique choice: the lattice vectors are not unique. There are infinitely many valid choices that generate the same lattice. We typically choose the primitive vectors (smallest cell) or the conventional vectors (highest symmetry cell).
The honeycomb is not a Bravais lattice
The Unit Cell
The unit cell is the region of space that, when translated by all lattice vectors, fills all of space exactly once. The primitive cell is the smallest such region (it contains exactly one lattice point). The volume of the primitive cell is:
This is the scalar triple product of the three lattice vectors — geometrically, the volume of the parallelepiped they define.
The Basis
The basis specifies the physical content of each unit cell: which atoms are present and where they sit. It is a list of atoms, each described by:
- Species: the chemical element (e.g., Cd, Se, Mn, O).
- Position: expressed in fractional coordinates relative to the lattice vectors.
If the -th basis atom has fractional coordinates , its Cartesian position within the unit cell at lattice site is:
| Symbol | Type | Meaning |
|---|---|---|
| rⱼ | 3D vector (Å) | Absolute position of the j-th atom in the crystal |
| R | 3D vector (Å) | Which unit cell this atom is in (lattice translation) |
| xⱼ, yⱼ, zⱼ | Real numbers ∈ [0, 1) | Fractional coordinates: how far along each lattice vector the atom sits, measured as a fraction of that vector’s length |
Why fractional coordinates? They are dimensionless and lattice-independent. If you change the lattice constant (e.g., under pressure), the fractional coordinates stay the same while the Cartesian positions scale accordingly. This makes them the natural choice for crystal structure databases and VASP input files.
Simple vs Complex Bases
| Material | Lattice | Basis | Atoms per Cell |
|---|---|---|---|
| Copper (Cu) | FCC | 1 Cu at (0, 0, 0) | 1 |
| NaCl | FCC | Na at (0,0,0) + Cl at (½,½,½) | 2 |
| Diamond (C) | FCC | C at (0,0,0) + C at (¼,¼,¼) | 2 |
| CdSe zinc blende | FCC | Cd at (0,0,0) + Se at (¼,¼,¼) | 2 |
| Perovskite (BaTiO₃) | Simple cubic | Ba + Ti + 3 O | 5 |
| Protein crystals | Various | Thousands of atoms | 10⁴–10⁶ |
The basis can range from a single atom (elemental metals) to hundreds of thousands of atoms (protein crystals). The lattice + basis decomposition works for all of them.
Interactive: Build a Crystal
Use the interactive visualization below to explore how the lattice + basis decomposition works. Select a crystal type, then step through the three stages: first the abstract lattice, then the basis atoms in one unit cell, and finally the full crystal.
Interactive: Crystal = Lattice + Basis
Step through the decomposition of a crystal into its two building blocks.
An infinite set of mathematically equivalent points. No atoms here — only abstract positions with perfect translational symmetry.
Things to try
Examples Across Materials and Experiments
The lattice + basis framework is not just a textbook abstraction. It is the language used every day by experimentalists and computational scientists across physics, chemistry, and engineering.
From Simple Metals to Complex Oxides
| Material | Application | Lattice System | Atoms/Cell | Why It Matters |
|---|---|---|---|---|
| Cu (copper) | Wiring, electronics | FCC | 1 | Simplest metallic crystal; benchmark for DFT |
| Si (silicon) | Semiconductors | Diamond cubic (FCC + 2-atom basis) | 2 | Foundation of the electronics industry |
| NaCl (rock salt) | Table salt, IR optics | FCC + 2-atom basis | 2 | Prototype ionic crystal |
| GaAs | LEDs, solar cells | Zinc blende (FCC + 2-atom basis) | 2 | III-V semiconductor |
| CdSe | Quantum dots | Zinc blende or wurtzite | 2–4 | Our target material for VASP |
| BaTiO₃ (perovskite) | Capacitors, ferroelectrics | Simple cubic + 5-atom basis | 5 | Prototype ferroelectric; piezoelectric sensors |
| YBa₂Cu₃O₇ | High-Tᶜ superconductors | Orthorhombic | 13 | Complex oxide with layered structure |
The Same Framework Everywhere
Whether you are indexing powder diffraction peaks in a geology lab, designing a new solar cell absorber, or running a VASP calculation on a supercomputer, you always start the same way: specify the lattice vectors and the basis. The framework is universal.
Example: Zinc Blende CdSe
Cadmium selenide in the zinc blende structure is the prototype material for this textbook. Let us dissect it completely using the lattice + basis framework.
Structure Description
- Lattice: Face-centered cubic (FCC) with lattice constant Å.
- Basis: Two atoms — Cd at and Se at in fractional coordinates.
- Coordination: Each Cd is tetrahedrally surrounded by 4 Se atoms, and each Se by 4 Cd. The nearest-neighbor Cd–Se distance is Å.
- Space group: (number 216).
VASP POSCAR File
The POSCAR file is the first input VASP reads. It encodes the lattice vectors and atomic positions — exactly our lattice + basis decomposition. Click on any line to see a detailed explanation.
Conventional vs primitive cell
Experimental Evidence: How Do We Know?
How do we know that crystals are really periodic? The answer is diffraction: when waves (X-rays, electrons, or neutrons) scatter from a periodic structure, they produce sharp, discrete peaks at specific angles. This is the experimental fingerprint of crystallinity.
X-Ray Diffraction (XRD)
The workhorse of crystallography. X-ray wavelengths (~1 Å) are comparable to interatomic distances, so crystals act as natural diffraction gratings. The positions of the diffraction peaks give the lattice parameters; the intensities give information about the basis (which atoms are where). For CdSe zinc blende, the strongest peaks appear at angles corresponding to the (111), (220), and (311) Miller planes.
Electron Diffraction (TEM/SAED)
In a transmission electron microscope, a focused electron beam produces a selected-area electron diffraction (SAED) pattern — a 2D array of spots that is a direct image of the reciprocal lattice (Chapter 3). Each spot corresponds to a set of crystal planes satisfying the Bragg condition. Single-crystal SAED patterns are used to determine crystal orientation and identify unknown phases.
Neutron Diffraction
Neutrons scatter from atomic nuclei (not electrons), making them sensitive to light atoms (hydrogen, lithium) and to magnetic order. Neutron diffraction is essential for determining the positions of light atoms in metal hydrides and the magnetic structure of materials like MnO.
| Technique | Probe | Scatters From | Best For |
|---|---|---|---|
| XRD | X-rays (λ ~ 1 Å) | Electron density | Lattice parameters, phase identification, crystallite size |
| Electron diffraction | Electrons (λ ~ 0.02 Å) | Electrostatic potential | Thin films, nanoparticles, local structure |
| Neutron diffraction | Neutrons (λ ~ 1 Å) | Nuclear scattering lengths | Light atoms (H, Li), magnetic structures |
The key signature
Crystalline vs Amorphous
Not all solids are crystals. Amorphous materials (glasses, many polymers, amorphous silicon) lack long-range translational order. They may have short-range order — nearest-neighbor bond lengths and angles are well-defined — but no periodicity beyond a few atomic distances.
| Property | Crystalline | Amorphous |
|---|---|---|
| Long-range order | Yes — extends to macroscopic scales | No — only short-range (1–3 coordination shells) |
| Diffraction pattern | Sharp Bragg peaks at discrete angles | Broad halos (diffuse scattering) |
| Melting behavior | Sharp melting point | Gradual glass transition (Tᵍ) |
| Described by lattice + basis | Yes | No |
| VASP-friendly (periodic) | Yes — small unit cell suffices | Requires large supercells (100+ atoms) |
| Example | Quartz (crystalline SiO₂) | Window glass (amorphous SiO₂) |
| Pair distribution function | Sharp peaks at well-defined distances | Peaks broaden and merge with distance |
Use the interactive below to see how introducing atomic disorder transforms a perfect crystal into an amorphous solid. Pay attention to how the simulated diffraction pattern changes.
Interactive: Crystalline vs Amorphous
Drag the slider to add disorder. Watch how the diffraction pattern changes.
Amorphous materials in VASP
Why Periodicity Enables Computation
The central promise of crystallography for computational physics is this: because a crystal is periodic, we only need to solve the quantum-mechanical equations for one unit cell — not for the ~ atoms in a macroscopic sample. This is not just a convenience; it is the difference between possible and impossible.
Bloch's Theorem (Preview)
In a periodic potential, the solutions to the Schrödinger equation take a special form known as Bloch states:
| Symbol | Type | Meaning |
|---|---|---|
| ψₙₖ(r) | Complex function | The electronic wave function for band n at wave vector k |
| e^{ik·r} | Complex phase | A plane wave that carries the crystal momentum k |
| uₙₖ(r) | Periodic function | Has the same periodicity as the lattice: u(r + R) = u(r) |
| k | 3D vector (Å⁻¹) | Crystal momentum, lives in reciprocal space (Chapter 3) |
| n | Integer | Band index, labels different energy levels at the same k |
What does Bloch's theorem say in plain language? Because the crystal potential is periodic, the wave function at any point in the crystal can be reconstructed from the wave function in just one unit cell, multiplied by a plane-wave phase . Different choices of probe different wavelengths of electronic oscillation through the crystal.
The computational miracle
From One Cell to Infinity: The VASP Workflow
- Define the unit cell in the POSCAR file (lattice vectors + basis).
- VASP imposes periodic boundary conditions: the cell is replicated infinitely in all three directions.
- Expand wave functions in a plane-wave basis set up to an energy cutoff (set in INCAR via ENCUT).
- Solve the Kohn–Sham equations at each -point on a discrete grid (the KPOINTS file).
- Integrate over -space to obtain total energy, forces, band structure, density of states, and other properties.
Modern Computing & Materials Informatics
Crystallography is not a relic of the 19th century. It is the natural language of periodic matter, and as such it appears at the foundation of every modern computational and data-driven approach to materials science.
DFT and Periodic Boundary Conditions
All major DFT codes (VASP, Quantum ESPRESSO, ABINIT, CASTEP) assume periodicity. The lattice vectors define the simulation box; the basis defines the atomic content. When you run a DFT calculation, you are exploiting the crystal structure at every step:
- -space sampling: the Brillouin zone (the unit cell of the reciprocal lattice) is sampled with a discrete grid. More symmetry in the crystal means fewer -points are needed — symmetry reduces computational cost.
- Plane-wave basis: the periodic part of Bloch states is expanded in plane waves, which are natural eigenfunctions of the translation operator.
- Symmetry reduction: space-group operations reduce the irreducible Brillouin zone, cutting the number of independent -points by up to 48× for cubic crystals.
Crystal Structure Databases
The crystallographic description (lattice + basis) is how all structure databases store materials:
| Database | Content | Entries |
|---|---|---|
| ICSD | Inorganic crystal structures (experimental) | ~280,000 |
| Materials Project | DFT-computed properties for known and predicted crystals | ~150,000 |
| AFLOW | Automated DFT workflows and structure prototypes | ~3,600,000 |
| OQMD | DFT formation energies | ~1,000,000 |
| COD | Organic and inorganic structures (open access) | ~530,000 |
Machine Learning for Materials
Modern ML approaches to materials discovery rely heavily on crystallographic representations:
- Graph neural networks (GNNs) such as CGCNN, MEGNet, and M3GNet represent crystals as graphs where nodes are atoms and edges encode distances and lattice periodicity. The lattice vectors are essential for correctly handling periodic boundary conditions.
- Symmetry-aware descriptors like SOAP, Smooth Overlap of Atomic Positions, encode local atomic environments in a way that respects the translational and rotational symmetry of the crystal.
- Crystal structure prediction algorithms (USPEX, CALYPSO, AIRSS) explore the space of possible lattice + basis combinations to find new stable phases.
- Generative models (DiffCSP, CDVAE) learn to generate new crystal structures by operating directly on lattice parameters and fractional coordinates — exactly the quantities defined in this section.
Why crystallography is the language of materials ML
Computational Exploration: Building a Crystal in Python
Let us put theory into practice. The Python code below uses the Atomic Simulation Environment (ASE) to build the zinc blende CdSe crystal, inspect its structure, create a supercell, and export it in formats ready for VASP and crystallographic databases. Click on any line to see a detailed explanation.
Try it yourself
pip install ase and run this script. Then open the generated POSCAR file and verify it matches the one shown above. Try building other crystal structures:bulk('Si', 'diamond', a=5.43),bulk('NaCl', 'rocksalt', a=5.64),bulk('GaAs', 'zincblende', a=5.65).Summary
In this section we established the foundational vocabulary of crystallography:
- A crystal is a solid with long-range translational order. Its atomic density satisfies for all lattice translations .
- Every crystal decomposes uniquely into a lattice (abstract grid) and a basis (atoms per grid point): Crystal = Lattice Basis.
- The lattice is generated by three primitive vectors: , where .
- The basis specifies atom types and fractional coordinates within the unit cell.
- Zinc blende CdSe is an FCC lattice ( Å) with a two-atom basis: Cd at and Se at .
- Experimentally, crystallinity is detected by sharp diffraction peaks (XRD, electron, neutron). Amorphous materials show broad halos.
- Periodicity enables Bloch's theorem, which reduces the infinite crystal to a finite computation — the foundation of all VASP and plane-wave DFT calculations.
- Modern materials informatics (databases, ML, crystal structure prediction) all operate on the lattice + basis representation defined here.
In the next section, we will make the lattice concrete by defining lattice vectors, unit cells, and the six parameters that fully characterize the geometry of any lattice.