The toolkit you need to stop feeling like quantum mechanics is magic.
This completes the reference series (Physics 101 → 102 → Modern Physics). The gap between “reading about quantum mechanics” and “doing quantum mechanics” is mostly mathematical. Quantum mechanics is, structurally, linear algebra on infinite-dimensional complex vector spaces; and until that sentence means something to you, the subject feels mystical rather than precise.
This document covers what you need. It is not a substitute for dedicated math courses; it is a focused tour of the specific topics, in the specific form, that quantum mechanics uses constantly.
Table of Contents
- Complex Numbers
- Calculus Refresher
- Linear Algebra I: Vectors and Matrices
- Linear Algebra II: Eigenvalues and Diagonalization
- Linear Algebra III: Inner Products and Orthogonality
- Linear Algebra IV: Hermitian and Unitary Operators
- Dirac (Bra-Ket) Notation
- Ordinary Differential Equations
- Partial Differential Equations
- Fourier Analysis
- Probability and Statistics
- Special Functions (Survey)
- Hilbert Spaces: Bringing It All Together
- Appendix: Notational Conventions and Identities
1. Complex Numbers
Wave functions are complex-valued. There is no avoiding complex numbers in quantum mechanics.
Definition
A complex number has the form
where is the real part and is the imaginary part.
Arithmetic
- Addition:
- Multiplication:
- Complex conjugate: (flip the sign of the imaginary part)
- Modulus:
The conjugate is critical in QM. For any complex number:
This is why probability densities are defined as ; it guarantees a real, non-negative number.
Polar Form and Euler’s Formula
Any complex number can be written as
where and (with quadrant care). The relation
is Euler’s formula; arguably the most useful identity in all of physics. Special cases:
Why Polar Form Matters
Multiplication becomes trivial:
Multiplying scales by moduli and adds phases. Plane waves ; the building blocks of QM; are pure phases with ; time evolution rotates them.
Trig Identities from Euler
Writing and reproduces every trig identity you ever memorized. For example:
Expanding using and collecting real/imaginary parts gives the addition formula.
Roots of Unity
The solutions of are
They sit evenly spaced on the unit circle. Useful in symmetry analysis.
2. Calculus Refresher
QM uses calculus fluently. You should be comfortable with the following without looking anything up.
Derivatives
Basics:
Product rule:
Quotient rule:
Chain rule:
Integrals
Integration by parts:
Used constantly in QM to shift derivatives from one factor to another.
Useful Gaussian Integrals
Memorize these. They come up everywhere, especially in the harmonic oscillator and wave packets:
Partial Derivatives
For :
means differentiate with respect to holding and fixed.
Mixed partials commute for smooth functions:
Gradient, Divergence, Laplacian
The Laplacian is central; it appears in Schrödinger’s equation as the kinetic energy operator.
Taylor Series
The essential ones (around zero):
The first three verify Euler’s formula instantly.
3. Linear Algebra I: Vectors and Matrices
Quantum mechanics is linear algebra. Not “uses”; is. States are vectors, observables are matrices (operators), measurements extract eigenvalues. If you internalize one chapter of math, make it this one.
Vector Spaces
A vector space over a field (we’ll use , the complex numbers) is a set where:
- Vectors can be added:
- Vectors can be scaled by scalars: for
- These operations satisfy associativity, commutativity, distributivity, and identity properties
Examples relevant to QM:
- : columns of complex numbers (for finite-dimensional systems like spin)
- Square-integrable functions on : with (for particles on a line)
Basis
A set of vectors is a basis if every vector can be written uniquely as
The coefficients are the components of in that basis. Different bases → different component representations of the same vector.
Dimension = number of basis vectors. Spin-½: 2-dimensional. Position on a line: infinite-dimensional.
Linear Independence
Vectors are linearly independent if the only solution to is for all . A basis is always linearly independent.
Matrices
An matrix is a rectangular array of numbers:
Addition: entry-by-entry.
Matrix-vector multiplication:
Matrix-matrix multiplication:
Critically: matrices do not commute in general. most of the time. The commutator
measures how much they fail to commute. Non-commutativity is the mathematical root of the uncertainty principle.
Special Matrices and Operations
- Identity : ones on diagonal, zeros elsewhere. .
- Transpose : flip rows and columns. .
- Complex conjugate : conjugate each entry.
- Adjoint (Hermitian conjugate) : conjugate transpose. This is the matrix operation in QM.
- Inverse : satisfies . Exists iff .
- Trace : sum of diagonal. Satisfies .
Determinant
For a matrix:
For larger matrices, expand along a row or column using cofactors. Properties:
- is invertible iff
4. Linear Algebra II: Eigenvalues and Diagonalization
This is the single most important topic for quantum mechanics.
The Eigenvalue Equation
A nonzero vector is an eigenvector of matrix with eigenvalue if
Geometrically: acts on by just stretching it (by ) without rotating it.
In QM: the Schrödinger equation is an eigenvalue equation. Energies are eigenvalues. Stationary states are eigenvectors.
Finding Eigenvalues
Rewrite as . For a nontrivial to exist, the matrix must be singular:
This is the characteristic equation. Its roots are the eigenvalues. An matrix has eigenvalues (counted with multiplicity, in ).
Finding Eigenvectors
Once you have , solve for . There’s always a family (scalar multiples); pick a convenient representative and normalize.
Example: The Pauli Matrix
Characteristic equation: , so .
Eigenvectors: for , and for .
These are spin-up and spin-down along the -axis.
Diagonalization
If has a full set of linearly independent eigenvectors, it can be written as
where is diagonal (eigenvalues on the diagonal) and has the eigenvectors as columns. In this basis, is simply “multiply component by .”
Powers and functions of become trivial:
This is why diagonalization matters: (time evolution) is computed by diagonalizing .
Degeneracy
When multiple eigenvectors share the same eigenvalue, the eigenvalue is degenerate. The set of vectors with that eigenvalue forms a subspace (the eigenspace). Physically, degeneracy often reflects symmetry; the hydrogen atom’s energy depending only on (not or ) is a consequence of extra symmetry.
5. Linear Algebra III: Inner Products and Orthogonality
A vector space with just addition and scaling isn’t enough; QM needs a notion of “overlap” between states.
Inner Product (Complex)
For complex vector spaces, the inner product satisfies:
- Conjugate symmetry:
- Linearity in the second argument:
- Positive definiteness: , with equality iff
(Physicists are linear in the second slot; mathematicians often use the first. Stay consistent.)
On :
For functions on :
Norm
Always real and non-negative. A normalized vector has . Wave functions are normalized so that .
Orthogonality
Two vectors are orthogonal if . An orthonormal basis has mutually orthogonal vectors, each of unit norm:
where is the Kronecker delta: 1 if , else 0.
Expanding in an Orthonormal Basis
If is orthonormal and , then
(Take the inner product with ; orthogonality kills all terms but the th.) This is how you extract components.
And:
Parseval’s theorem. The squared norm equals the sum of squared component magnitudes.
Gram-Schmidt
Given any basis, you can produce an orthonormal one. Iteratively subtract off components already accounted for, then normalize.
Cauchy-Schwarz Inequality
A cornerstone inequality. The uncertainty principle is a direct consequence of it.
6. Linear Algebra IV: Hermitian and Unitary Operators
Two classes of operators dominate quantum mechanics.
Hermitian Operators (Observables)
A matrix is Hermitian (or self-adjoint) if . In components: .
Fundamental theorem: Hermitian matrices have
- Real eigenvalues
- Orthogonal eigenvectors (for distinct eigenvalues)
- A complete orthonormal basis of eigenvectors (diagonalizable)
These properties are precisely why observables in QM are represented by Hermitian operators: measurement outcomes (eigenvalues) must be real, and eigenstates form a basis for expanding any state.
Examples:
- Position : multiplication by on wave functions
- Momentum
- Hamiltonian
- Pauli matrices (spin operators)
Proof that is Hermitian requires integration by parts, plus the fact that physical wave functions vanish at infinity; good exercise.
Unitary Operators (Time Evolution, Transformations)
A matrix is unitary if , i.e., .
Properties:
- Preserves inner products:
- Preserves norms:
- Eigenvalues have modulus 1 (lie on the unit circle)
In QM: time evolution is unitary,
Unitarity preserves probability; total probability stays 1 for all time.
Commuting and Non-Commuting Operators
If , then and share a complete set of simultaneous eigenvectors. Physically: the corresponding observables can be measured simultaneously to arbitrary precision.
If , they cannot. The generalized uncertainty principle says
From , you immediately get .
Spectral Theorem (Informal)
Every Hermitian operator with eigenvalues and orthonormal eigenvectors can be written
This spectral decomposition is the bridge from matrices to measurement: measuring yields some with probability .
Projection Operators
satisfies (idempotent) and is Hermitian. It projects any vector onto the subspace. The set of projectors for a complete basis sums to the identity:
(The completeness relation or resolution of the identity.)
7. Dirac (Bra-Ket) Notation
A compact, basis-independent notation invented by Dirac. Once it clicks, it’s hard to go back.
Kets and Bras
A ket is a vector in the Hilbert space (a quantum state). A bra is the corresponding element of the dual space.
In matrix language:
- Ket = column vector
- Bra = row vector with entries conjugated
Inner Product: the Bra-Ket
is a complex number; the “amount of along .” Properties:
Outer Product
is an operator (column times row = matrix). It sends to .
Basis Expansions
With an orthonormal basis :
Insert the identity freely using the completeness relation:
Operators in Dirac Notation
Matrix elements:
Expectation value:
Adjoint: .
Continuous Bases
For position:
The wave function is just the components of in the position basis. It is not the state itself; the ket is.
8. Ordinary Differential Equations
Schrödinger’s equation is a differential equation. You need to be able to solve the standard ones.
First-Order Linear ODE
Multiply by integrating factor :
Integrate and solve for .
Second-Order Linear ODE with Constant Coefficients
Guess ; get characteristic equation .
- Two real roots :
- Repeated real root :
- Complex roots :
The last case is key: the equation has solutions , or equivalently .
The Equations You’ll See in QM
Free particle / harmonic waves:
Exponential decay (tunneling regions):
Harmonic oscillator (after substitution):
Solved by series methods; gives the Hermite polynomials.
Boundary and Initial Conditions
A second-order ODE has a 2-parameter family of solutions. Physical conditions fix the constants:
- Normalizability (wave functions must be square-integrable)
- Continuity across boundaries
- Boundary values (e.g., for infinite square well)
Quantization emerges because only certain values of yield solutions satisfying all conditions. The discreteness of atomic spectra is a boundary-value problem.
Series Solutions
For equations that can’t be solved in closed form, write
plug in, and derive a recursion relation for . This is how Hermite, Legendre, and Laguerre polynomials are generated.
9. Partial Differential Equations
Schrödinger’s equation in 3D is a PDE.
Separation of Variables
For independent of time, try . Plugging into the time-dependent Schrödinger equation and dividing by gives
Both sides must equal a constant (since one depends only on , the other only on ).
Result:
- (phase oscillation)
- (time-independent Schrödinger equation; an eigenvalue problem)
This maneuver; separating variables, reducing a PDE to coupled ODEs; is used constantly.
Separation in Cartesian Coordinates
For a potential , write and get three independent 1D problems.
Separation in Spherical Coordinates
For central potentials , write . The angular part gives spherical harmonics ; the radial part gives an ODE for . This is how the hydrogen atom solves.
The Laplacian in Spherical Coordinates
Or more compactly,
where is the squared angular momentum operator.
10. Fourier Analysis
Position and momentum are Fourier transforms of each other. This is the math behind wave-particle duality.
Fourier Series
Any reasonable periodic function on expands as
with coefficients
The key idea: the exponentials form an orthonormal basis for periodic functions. Every function is a sum of pure frequencies.
Fourier Transform
Letting gives the continuous version:
(Various conventions differ on the factor of ; physicists usually symmetrize as shown.)
Parseval / Plancherel Theorem
Normalization is preserved. In QM: and are both probability distributions; position space and momentum space; for the same state.
Key Transform Pairs
Critical observation: differentiating in position space = multiplying by in momentum space. The momentum operator becomes simple multiplication after Fourier transform.
Also critical: Gaussians transform to Gaussians. If a wave packet has width in position, its Fourier transform has width . Their product is minimized: , giving . The uncertainty principle saturates for Gaussians.
The Dirac Delta Function
Not strictly a function; a distribution. Defined by:
Useful identities:
Think of it as an infinitely tall, infinitely thin spike of unit area. In QM, is the “position eigenstate”; a particle perfectly localized at (with, correspondingly, infinite momentum uncertainty).
11. Probability and Statistics
The interpretation of QM is probabilistic; you need the basic machinery.
Probability Distributions
Discrete: probability of outcome , with .
Continuous: probability density , with and
Expectation Values
In QM:
For position in the basis:
Variance and Standard Deviation
In QM we write .
The Gaussian Distribution
Has mean and standard deviation . The ground state of the harmonic oscillator is Gaussian; free wave packets are often Gaussian. Familiarity rewards.
Probability Amplitudes (the Quantum Twist)
In QM, you don’t add probabilities; you add amplitudes (complex numbers), then square the sum:
The last cross term is the interference term. It’s the whole reason quantum mechanics produces different predictions than classical probability.
12. Special Functions (Survey)
Solutions to specific ODEs that show up again and again in QM. You don’t need to derive these from scratch; you need to recognize them.
Hermite Polynomials
Arise in the quantum harmonic oscillator. Defined by:
First few:
Orthogonality:
Oscillator eigenfunctions: .
Legendre Polynomials and Spherical Harmonics
Arise from the angular part of the Schrödinger equation in spherical coordinates.
Legendre polynomials :
Associated Legendre functions : generalizations for .
Spherical harmonics :
They are simultaneous eigenfunctions of and :
They form a complete orthonormal basis on the sphere; the “Fourier basis” for angular functions.
Laguerre Polynomials
Arise in the radial part of the hydrogen atom:
Associated Laguerre polynomials give the radial hydrogen wave functions.
Bessel Functions
Arise in problems with cylindrical symmetry. Less prominent in introductory QM, but show up in waveguides, 2D wells, and scattering. Denoted .
The Gamma Function
Generalizes factorial to non-integers:
Shows up in normalization constants.
13. Hilbert Spaces: Bringing It All Together
All the pieces above combine into the setting of quantum mechanics: an infinite-dimensional complex vector space with an inner product, called a Hilbert space.
Formal Definition (Loose)
A Hilbert space is:
- A complex vector space
- Equipped with an inner product
- Complete with respect to the norm (every Cauchy sequence converges)
The completeness condition is the new thing; it ensures that infinite sums of vectors actually converge to a vector in the space.
The Hilbert Space of Quantum Mechanics
For a particle on a line, the Hilbert space is : square-integrable complex-valued functions on the real line,
with inner product
For spin-½: (finite-dimensional).
For particles in 3D: (tensor product structure).
Operators on Hilbert Space
Most QM operators are unbounded; they don’t have a finite norm, and care is needed regarding their domains. Position and momentum are unbounded; Pauli matrices are not. For introductory QM you can usually proceed formally and things work out; rigorous treatment is part of functional analysis.
The Bridge: Postulates of Quantum Mechanics in This Language
- States are unit vectors (up to a global phase).
- Observables are Hermitian operators on .
- Measurement of observable yields eigenvalue with probability , where is the corresponding eigenvector.
- State after measurement is the corresponding eigenvector (collapse).
- Time evolution between measurements is governed by the Schrödinger equation, which generates unitary evolution with .
Every single word in these postulates is mathematical machinery from the previous sections. This is what “quantum mechanics is linear algebra” means.
Appendix: Notational Conventions and Identities
Common Symbols
| Symbol | Meaning |
|---|---|
| Real, complex numbers | |
| -tuples of complex numbers | |
| Square-integrable functions | |
| Complex conjugate | |
| Hermitian conjugate (adjoint) | |
| Commutator | |
| Anticommutator | |
| Kronecker delta | |
| Dirac delta | |
| $\langle \cdot | \cdot \rangle$ |
| Norm | |
| Tensor product |
Pauli Matrices (Indispensable)
Properties:
- All Hermitian and unitary
- All satisfy
- Anticommute:
- Commute:
- Eigenvalues
(Here is the Levi-Civita symbol: for even permutations of 123, for odd, if any index repeats.)
Useful Commutator Identities
Baker-Campbell-Hausdorff (Simplified)
If commutes with both and :
Useful for computing products of exponentiated operators.
Gaussian Integrals (Expanded)
Integration by Parts Variants
Standard:
For wave functions vanishing at infinity:
(The boundary term vanishes.) This is how is shown to be Hermitian.
Closing Note
If you’ve worked through this document, you have the mathematical vocabulary to read a real quantum mechanics textbook. The subject will still take effort; QM requires rewiring intuition as much as building calculation skill; but the math will no longer be the obstacle.
A realistic study sequence to Griffiths-level QM:
- Strengthen linear algebra; work through Strang’s Introduction to Linear Algebra or Axler’s Linear Algebra Done Right. Solve eigenvalue problems by hand until they’re automatic.
- Solidify ODEs; a standard text (Boyce & DiPrima, or Tenenbaum & Pollard) covers what you need.
- Get comfortable with Fourier analysis; any text covering the continuous Fourier transform at the level of physics applications.
- Read Griffiths’ Introduction to Quantum Mechanics; with this background, it should feel accessible rather than forbidding. Work the problems.
From there, if you want to go further: Shankar’s Principles of Quantum Mechanics (takes a bra-ket-first approach, some prefer it), then Sakurai’s Modern Quantum Mechanics (graduate-level, rigorous), and then into quantum field theory if that’s where you’re headed.
The door to understanding the strangest and most beautiful theory in physics runs through this math. It’s work, but it’s finite work; and on the other side is a view of nature that no amount of popular science can give you.