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

  1. Complex Numbers
  2. Calculus Refresher
  3. Linear Algebra I: Vectors and Matrices
  4. Linear Algebra II: Eigenvalues and Diagonalization
  5. Linear Algebra III: Inner Products and Orthogonality
  6. Linear Algebra IV: Hermitian and Unitary Operators
  7. Dirac (Bra-Ket) Notation
  8. Ordinary Differential Equations
  9. Partial Differential Equations
  10. Fourier Analysis
  11. Probability and Statistics
  12. Special Functions (Survey)
  13. Hilbert Spaces: Bringing It All Together
  14. 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

z=a+bi,i2=1z = a + bi, \qquad i^2 = -1

where a=Re(z)a = \text{Re}(z) is the real part and b=Im(z)b = \text{Im}(z) is the imaginary part.

Arithmetic

  • Addition: (a+bi)+(c+di)=(a+c)+(b+d)i(a + bi) + (c + di) = (a+c) + (b+d)i
  • Multiplication: (a+bi)(c+di)=(acbd)+(ad+bc)i(a + bi)(c + di) = (ac - bd) + (ad + bc)i
  • Complex conjugate: z=abiz^* = a - bi (flip the sign of the imaginary part)
  • Modulus: z=a2+b2=zz|z| = \sqrt{a^2 + b^2} = \sqrt{z z^*}

The conjugate is critical in QM. For any complex number:

zz=z2=a2+b2(always real and non-negative)z z^* = |z|^2 = a^2 + b^2 \quad \text{(always real and non-negative)}

This is why probability densities are defined as Ψ2=ΨΨ|\Psi|^2 = \Psi^* \Psi; it guarantees a real, non-negative number.

Polar Form and Euler’s Formula

Any complex number can be written as

z=reiθ=r(cosθ+isinθ)z = r e^{i\theta} = r(\cos\theta + i\sin\theta)

where r=zr = |z| and θ=arg(z)=arctan(b/a)\theta = \arg(z) = \arctan(b/a) (with quadrant care). The relation

eiθ=cosθ+isinθ\boxed{e^{i\theta} = \cos\theta + i\sin\theta}

is Euler’s formula; arguably the most useful identity in all of physics. Special cases:

eiπ=1,eiπ/2=i,e2πi=1e^{i\pi} = -1, \qquad e^{i\pi/2} = i, \qquad e^{2\pi i} = 1

Why Polar Form Matters

Multiplication becomes trivial:

z1z2=r1r2ei(θ1+θ2)z_1 z_2 = r_1 r_2 \, e^{i(\theta_1 + \theta_2)}

Multiplying scales by moduli and adds phases. Plane waves ei(kxωt)e^{i(kx - \omega t)}; the building blocks of QM; are pure phases with r=1r = 1; time evolution rotates them.

Trig Identities from Euler

Writing cosθ=12(eiθ+eiθ)\cos\theta = \tfrac{1}{2}(e^{i\theta} + e^{-i\theta}) and sinθ=12i(eiθeiθ)\sin\theta = \tfrac{1}{2i}(e^{i\theta} - e^{-i\theta}) reproduces every trig identity you ever memorized. For example:

cos(A+B)=12(ei(A+B)+ei(A+B))\cos(A+B) = \tfrac{1}{2}(e^{i(A+B)} + e^{-i(A+B)})

Expanding using ei(A+B)=eiAeiBe^{i(A+B)} = e^{iA}e^{iB} and collecting real/imaginary parts gives the addition formula.

Roots of Unity

The nn solutions of zn=1z^n = 1 are

zk=e2πik/n,k=0,1,,n1z_k = e^{2\pi i k/n}, \quad k = 0, 1, \ldots, n-1

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:

ddxxn=nxn1,ddxeax=aeax,ddxlnx=1x\frac{d}{dx} x^n = n x^{n-1}, \quad \frac{d}{dx} e^{ax} = a e^{ax}, \quad \frac{d}{dx} \ln x = \frac{1}{x}

ddxsinx=cosx,ddxcosx=sinx\frac{d}{dx} \sin x = \cos x, \quad \frac{d}{dx} \cos x = -\sin x

Product rule: (fg)=fg+fg(fg)' = f'g + fg'

Quotient rule: (f/g)=(fgfg)/g2(f/g)' = (f'g - fg')/g^2

Chain rule: ddxf(g(x))=f(g(x))g(x)\frac{d}{dx} f(g(x)) = f'(g(x)) g'(x)

Integrals

xndx=xn+1n+1+C(n1)\int x^n \, dx = \frac{x^{n+1}}{n+1} + C \quad (n \neq -1)

eaxdx=eaxa+C\int e^{ax} \, dx = \frac{e^{ax}}{a} + C

Integration by parts:

udv=uvvdu\int u \, dv = uv - \int v \, du

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:

eαx2dx=πα\int_{-\infty}^{\infty} e^{-\alpha x^2} \, dx = \sqrt{\frac{\pi}{\alpha}}

x2eαx2dx=12απα\int_{-\infty}^{\infty} x^2 e^{-\alpha x^2} \, dx = \frac{1}{2\alpha}\sqrt{\frac{\pi}{\alpha}}

eαx2+βxdx=παeβ2/(4α)\int_{-\infty}^{\infty} e^{-\alpha x^2 + \beta x} \, dx = \sqrt{\frac{\pi}{\alpha}} \, e^{\beta^2/(4\alpha)}

Partial Derivatives

For f(x,y,z)f(x, y, z):

fxy,z\frac{\partial f}{\partial x}\bigg|_{y,z}

means differentiate with respect to xx holding yy and zz fixed.

Mixed partials commute for smooth functions:

2fxy=2fyx\frac{\partial^2 f}{\partial x \partial y} = \frac{\partial^2 f}{\partial y \partial x}

Gradient, Divergence, Laplacian

f=(fx,fy,fz)\nabla f = \left(\frac{\partial f}{\partial x}, \frac{\partial f}{\partial y}, \frac{\partial f}{\partial z}\right)

F=Fxx+Fyy+Fzz\nabla \cdot \vec{F} = \frac{\partial F_x}{\partial x} + \frac{\partial F_y}{\partial y} + \frac{\partial F_z}{\partial z}

2f=2fx2+2fy2+2fz2\nabla^2 f = \frac{\partial^2 f}{\partial x^2} + \frac{\partial^2 f}{\partial y^2} + \frac{\partial^2 f}{\partial z^2}

The Laplacian 2\nabla^2 is central; it appears in Schrödinger’s equation as the kinetic energy operator.

Taylor Series

f(x)=n=0f(n)(a)n!(xa)nf(x) = \sum_{n=0}^\infty \frac{f^{(n)}(a)}{n!} (x-a)^n

The essential ones (around zero):

ex=1+x+x22!+x33!+e^x = 1 + x + \frac{x^2}{2!} + \frac{x^3}{3!} + \ldots

sinx=xx33!+x55!\sin x = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \ldots

cosx=1x22!+x44!\cos x = 1 - \frac{x^2}{2!} + \frac{x^4}{4!} - \ldots

11x=1+x+x2+x3+(x<1)\frac{1}{1-x} = 1 + x + x^2 + x^3 + \ldots \quad (|x|<1)

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 VV over a field FF (we’ll use C\mathbb{C}, the complex numbers) is a set where:

  • Vectors can be added: u+vV\vec{u} + \vec{v} \in V
  • Vectors can be scaled by scalars: cvVc\vec{v} \in V for cCc \in \mathbb{C}
  • These operations satisfy associativity, commutativity, distributivity, and identity properties

Examples relevant to QM:

  • Cn\mathbb{C}^n: columns of nn complex numbers (for finite-dimensional systems like spin)
  • Square-integrable functions on R\mathbb{R}: ψ(x)\psi(x) with ψ2dx<\int |\psi|^2 dx < \infty (for particles on a line)

Basis

A set of vectors {e1,,en}\{\vec{e}_1, \ldots, \vec{e}_n\} is a basis if every vector can be written uniquely as

v=iciei\vec{v} = \sum_i c_i \vec{e}_i

The coefficients cic_i are the components of v\vec{v} 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 civi=0\sum c_i \vec{v}_i = 0 is ci=0c_i = 0 for all ii. A basis is always linearly independent.

Matrices

An m×nm \times n matrix is a rectangular array of numbers:

A=(a11a12a21a22)A = \begin{pmatrix} a_{11} & a_{12} & \cdots \\ a_{21} & a_{22} & \cdots \\ \vdots & & \ddots \end{pmatrix}

Addition: entry-by-entry.

Matrix-vector multiplication:

(Av)i=jaijvj(A\vec{v})_i = \sum_j a_{ij} v_j

Matrix-matrix multiplication:

(AB)ij=kaikbkj(AB)_{ij} = \sum_k a_{ik} b_{kj}

Critically: matrices do not commute in general. ABBAAB \neq BA most of the time. The commutator

[A,B]=ABBA[A, B] = AB - BA

measures how much they fail to commute. Non-commutativity is the mathematical root of the uncertainty principle.

Special Matrices and Operations

  • Identity II: ones on diagonal, zeros elsewhere. IA=AI=AIA = AI = A.
  • Transpose ATA^T: flip rows and columns. (AT)ij=aji(A^T)_{ij} = a_{ji}.
  • Complex conjugate AA^*: conjugate each entry.
  • Adjoint (Hermitian conjugate) A=(A)T=(AT)A^\dagger = (A^*)^T = (A^T)^*: conjugate transpose. This is the matrix operation in QM.
  • Inverse A1A^{-1}: satisfies AA1=A1A=IAA^{-1} = A^{-1}A = I. Exists iff detA0\det A \neq 0.
  • Trace Tr(A)=iaii\text{Tr}(A) = \sum_i a_{ii}: sum of diagonal. Satisfies Tr(AB)=Tr(BA)\text{Tr}(AB) = \text{Tr}(BA).

Determinant

For a 2×22 \times 2 matrix:

det(abcd)=adbc\det\begin{pmatrix} a & b \\ c & d \end{pmatrix} = ad - bc

For larger matrices, expand along a row or column using cofactors. Properties:

  • det(AB)=det(A)det(B)\det(AB) = \det(A)\det(B)
  • det(AT)=det(A)\det(A^T) = \det(A)
  • AA is invertible iff det(A)0\det(A) \neq 0

4. Linear Algebra II: Eigenvalues and Diagonalization

This is the single most important topic for quantum mechanics.

The Eigenvalue Equation

A nonzero vector v\vec{v} is an eigenvector of matrix AA with eigenvalue λ\lambda if

Av=λvA \vec{v} = \lambda \vec{v}

Geometrically: AA acts on v\vec{v} by just stretching it (by λ\lambda) without rotating it.

In QM: the Schrödinger equation H^ψ=Eψ\hat{H}\psi = E\psi is an eigenvalue equation. Energies are eigenvalues. Stationary states are eigenvectors.

Finding Eigenvalues

Rewrite Av=λvA\vec{v} = \lambda \vec{v} as (AλI)v=0(A - \lambda I)\vec{v} = 0. For a nontrivial v\vec{v} to exist, the matrix AλIA - \lambda I must be singular:

det(AλI)=0\det(A - \lambda I) = 0

This is the characteristic equation. Its roots are the eigenvalues. An n×nn \times n matrix has nn eigenvalues (counted with multiplicity, in C\mathbb{C}).

Finding Eigenvectors

Once you have λ\lambda, solve (AλI)v=0(A - \lambda I)\vec{v} = 0 for v\vec{v}. There’s always a family (scalar multiples); pick a convenient representative and normalize.

Example: The Pauli Matrix σz\sigma_z

σz=(1001)\sigma_z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}

Characteristic equation: (1λ)(1λ)=0(1-\lambda)(-1-\lambda) = 0, so λ=±1\lambda = \pm 1.

Eigenvectors: (10)\begin{pmatrix} 1 \\ 0 \end{pmatrix} for λ=+1\lambda = +1, and (01)\begin{pmatrix} 0 \\ 1 \end{pmatrix} for λ=1\lambda = -1.

These are spin-up and spin-down along the zz-axis.

Diagonalization

If AA has a full set of linearly independent eigenvectors, it can be written as

A=PDP1A = P D P^{-1}

where DD is diagonal (eigenvalues on the diagonal) and PP has the eigenvectors as columns. In this basis, AA is simply “multiply component ii by λi\lambda_i.”

Powers and functions of AA become trivial:

An=PDnP1,f(A)=Pf(D)P1A^n = P D^n P^{-1}, \qquad f(A) = P f(D) P^{-1}

This is why diagonalization matters: eiHt/e^{-iHt/\hbar} (time evolution) is computed by diagonalizing HH.

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 nn (not \ell or mm) 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 u,v\langle \vec{u}, \vec{v} \rangle satisfies:

  1. Conjugate symmetry: u,v=v,u\langle \vec{u}, \vec{v}\rangle = \langle \vec{v}, \vec{u}\rangle^*
  2. Linearity in the second argument: u,av+bw=au,v+bu,w\langle \vec{u}, a\vec{v} + b\vec{w}\rangle = a\langle\vec{u},\vec{v}\rangle + b\langle\vec{u},\vec{w}\rangle
  3. Positive definiteness: v,v0\langle \vec{v}, \vec{v}\rangle \geq 0, with equality iff v=0\vec{v} = 0

(Physicists are linear in the second slot; mathematicians often use the first. Stay consistent.)

On Cn\mathbb{C}^n:

u,v=iuivi\langle \vec{u}, \vec{v} \rangle = \sum_i u_i^* v_i

For functions on R\mathbb{R}:

f,g=f(x)g(x)dx\langle f, g \rangle = \int_{-\infty}^{\infty} f^*(x) g(x) \, dx

Norm

v=v,v\|\vec{v}\| = \sqrt{\langle \vec{v}, \vec{v}\rangle}

Always real and non-negative. A normalized vector has v=1\|\vec{v}\| = 1. Wave functions are normalized so that ψ2dx=1\int |\psi|^2 dx = 1.

Orthogonality

Two vectors are orthogonal if u,v=0\langle \vec{u}, \vec{v} \rangle = 0. An orthonormal basis has mutually orthogonal vectors, each of unit norm:

ei,ej=δij\langle \vec{e}_i, \vec{e}_j \rangle = \delta_{ij}

where δij\delta_{ij} is the Kronecker delta: 1 if i=ji = j, else 0.

Expanding in an Orthonormal Basis

If {ei}\{\vec{e}_i\} is orthonormal and v=iciei\vec{v} = \sum_i c_i \vec{e}_i, then

ci=ei,vc_i = \langle \vec{e}_i, \vec{v}\rangle

(Take the inner product with ei\vec{e}_i; orthogonality kills all terms but the iith.) This is how you extract components.

And:

v2=ici2\|\vec{v}\|^2 = \sum_i |c_i|^2

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

u,vuv|\langle \vec{u}, \vec{v}\rangle| \leq \|\vec{u}\| \|\vec{v}\|

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 A=AA = A^\dagger. In components: aij=ajia_{ij} = a_{ji}^*.

Fundamental theorem: Hermitian matrices have

  1. Real eigenvalues
  2. Orthogonal eigenvectors (for distinct eigenvalues)
  3. 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 x^\hat{x}: multiplication by xx on wave functions
  • Momentum p^=iddx\hat{p} = -i\hbar \frac{d}{dx}
  • Hamiltonian H^=p^22m+V(x^)\hat{H} = \frac{\hat{p}^2}{2m} + V(\hat{x})
  • Pauli matrices (spin operators)

Proof that p^\hat{p} 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 UU=UU=IU^\dagger U = UU^\dagger = I, i.e., U1=UU^{-1} = U^\dagger.

Properties:

  1. Preserves inner products: Uu,Uv=u,v\langle U\vec{u}, U\vec{v}\rangle = \langle \vec{u}, \vec{v}\rangle
  2. Preserves norms: Uv=v\|U\vec{v}\| = \|\vec{v}\|
  3. Eigenvalues have modulus 1 (lie on the unit circle)

In QM: time evolution is unitary,

U(t)=eiH^t/U(t) = e^{-i\hat{H}t/\hbar}

Unitarity preserves probability; total probability stays 1 for all time.

Commuting and Non-Commuting Operators

If [A,B]=0[A, B] = 0, then AA and BB share a complete set of simultaneous eigenvectors. Physically: the corresponding observables can be measured simultaneously to arbitrary precision.

If [A,B]0[A, B] \neq 0, they cannot. The generalized uncertainty principle says

ΔAΔB12[A,B]\Delta A \, \Delta B \geq \frac{1}{2}|\langle [A, B]\rangle|

From [x^,p^]=i[\hat{x}, \hat{p}] = i\hbar, you immediately get ΔxΔp/2\Delta x \, \Delta p \geq \hbar/2.

Spectral Theorem (Informal)

Every Hermitian operator AA with eigenvalues λi\lambda_i and orthonormal eigenvectors i|i\rangle can be written

A=iλiiiA = \sum_i \lambda_i |i\rangle\langle i|

This spectral decomposition is the bridge from matrices to measurement: measuring AA yields some λi\lambda_i with probability iψ2|\langle i|\psi\rangle|^2.

Projection Operators

Pi=iiP_i = |i\rangle\langle i| satisfies Pi2=PiP_i^2 = P_i (idempotent) and is Hermitian. It projects any vector onto the i|i\rangle subspace. The set of projectors for a complete basis sums to the identity:

iii=I\sum_i |i\rangle\langle i| = I

(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 ψ|\psi\rangle is a vector in the Hilbert space (a quantum state). A bra ψ\langle\psi| is the corresponding element of the dual space.

In matrix language:

  • Ket = column vector
  • Bra = row vector with entries conjugated
  • ψ=(ψ)\langle \psi | = (|\psi\rangle)^\dagger

Inner Product: the Bra-Ket

ϕψ\langle \phi | \psi \rangle

is a complex number; the “amount of ψ|\psi\rangle along ϕ|\phi\rangle.” Properties:

  • ϕψ=ψϕ\langle \phi | \psi \rangle^* = \langle \psi | \phi \rangle
  • ϕ(aψ1+bψ2)=aϕψ1+bϕψ2\langle \phi | (a|\psi_1\rangle + b|\psi_2\rangle) = a \langle\phi|\psi_1\rangle + b\langle\phi|\psi_2\rangle

Outer Product

ψϕ|\psi\rangle\langle\phi|

is an operator (column times row = matrix). It sends α|\alpha\rangle to ψϕα=ϕαψ|\psi\rangle\langle\phi|\alpha\rangle = \langle\phi|\alpha\rangle \cdot |\psi\rangle.

Basis Expansions

With an orthonormal basis {n}\{|n\rangle\}:

ψ=ncnn,cn=nψ|\psi\rangle = \sum_n c_n |n\rangle, \quad c_n = \langle n | \psi\rangle

Insert the identity freely using the completeness relation:

ψ=I^ψ=nnnψ|\psi\rangle = \hat{I}|\psi\rangle = \sum_n |n\rangle\langle n | \psi\rangle

Operators in Dirac Notation

A^ψ=ϕ\hat{A} |\psi\rangle = |\phi\rangle

Matrix elements:

Amn=mA^nA_{mn} = \langle m | \hat{A} | n\rangle

Expectation value:

A^=ψA^ψ\langle \hat{A} \rangle = \langle \psi | \hat{A} | \psi \rangle

Adjoint: (A^ψ)=ψA^(\hat{A}|\psi\rangle)^\dagger = \langle\psi|\hat{A}^\dagger.

Continuous Bases

For position:

ψ=dxψ(x)x,ψ(x)=xψ|\psi\rangle = \int dx\, \psi(x) |x\rangle, \quad \psi(x) = \langle x | \psi\rangle

xx=δ(xx)\langle x | x' \rangle = \delta(x - x')

The wave function ψ(x)\psi(x) is just the components of ψ|\psi\rangle in the position basis. It is not the state itself; the ket ψ|\psi\rangle 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

dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x) y = Q(x)

Multiply by integrating factor μ(x)=ePdx\mu(x) = e^{\int P \, dx}:

ddx[μy]=μQ\frac{d}{dx}[\mu y] = \mu Q

Integrate and solve for yy.

Second-Order Linear ODE with Constant Coefficients

ay+by+cy=0a y'' + b y' + c y = 0

Guess y=erxy = e^{rx}; get characteristic equation ar2+br+c=0ar^2 + br + c = 0.

  • Two real roots r1,r2r_1, r_2: y=C1er1x+C2er2xy = C_1 e^{r_1 x} + C_2 e^{r_2 x}
  • Repeated real root rr: y=(C1+C2x)erxy = (C_1 + C_2 x) e^{rx}
  • Complex roots α±iβ\alpha \pm i\beta: y=eαx(C1cosβx+C2sinβx)y = e^{\alpha x}(C_1 \cos\beta x + C_2 \sin\beta x)

The last case is key: the equation y+ω2y=0y'' + \omega^2 y = 0 has solutions y=Acosωx+Bsinωxy = A\cos\omega x + B\sin\omega x, or equivalently Ceiωx+DeiωxCe^{i\omega x} + De^{-i\omega x}.

The Equations You’ll See in QM

Free particle / harmonic waves:

ψ+k2ψ=0    ψ=Aeikx+Beikx\psi'' + k^2 \psi = 0 \implies \psi = A e^{ikx} + B e^{-ikx}

Exponential decay (tunneling regions):

ψκ2ψ=0    ψ=Aeκx+Beκx\psi'' - \kappa^2 \psi = 0 \implies \psi = A e^{\kappa x} + B e^{-\kappa x}

Harmonic oscillator (after substitution):

ψ+(ϵξ2)ψ=0\psi'' + (\epsilon - \xi^2) \psi = 0

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., ψ(0)=ψ(L)=0\psi(0) = \psi(L) = 0 for infinite square well)

Quantization emerges because only certain values of EE 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

y=n=0anxny = \sum_{n=0}^\infty a_n x^n

plug in, and derive a recursion relation for ana_n. 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 H^\hat{H} independent of time, try Ψ(r,t)=ψ(r)T(t)\Psi(\vec{r}, t) = \psi(\vec{r}) T(t). Plugging into the time-dependent Schrödinger equation and dividing by ψT\psi T gives

iTdTdt=H^ψψ=E\frac{i\hbar}{T}\frac{dT}{dt} = \frac{\hat{H}\psi}{\psi} = E

Both sides must equal a constant EE (since one depends only on tt, the other only on r\vec{r}).

Result:

  • T(t)=eiEt/T(t) = e^{-iEt/\hbar} (phase oscillation)
  • H^ψ=Eψ\hat{H}\psi = E\psi (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 V(x,y,z)=Vx(x)+Vy(y)+Vz(z)V(x, y, z) = V_x(x) + V_y(y) + V_z(z), write ψ=X(x)Y(y)Z(z)\psi = X(x) Y(y) Z(z) and get three independent 1D problems.

Separation in Spherical Coordinates

For central potentials V(r)V(r), write ψ=R(r)Y(θ,ϕ)\psi = R(r) Y(\theta, \phi). The angular part gives spherical harmonics YmY_\ell^m; the radial part gives an ODE for R(r)R(r). This is how the hydrogen atom solves.

The Laplacian in Spherical Coordinates

2=1r2r(r2r)+1r2sinθθ(sinθθ)+1r2sin2θ2ϕ2\nabla^2 = \frac{1}{r^2}\frac{\partial}{\partial r}\left(r^2 \frac{\partial}{\partial r}\right) + \frac{1}{r^2 \sin\theta}\frac{\partial}{\partial \theta}\left(\sin\theta \frac{\partial}{\partial \theta}\right) + \frac{1}{r^2 \sin^2\theta}\frac{\partial^2}{\partial \phi^2}

Or more compactly,

2=1r2r(r2r)L^22r2\nabla^2 = \frac{1}{r^2}\partial_r(r^2 \partial_r) - \frac{\hat{L}^2}{\hbar^2 r^2}

where L^2\hat{L}^2 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 [L,L][-L, L] expands as

f(x)=n=cneinπx/Lf(x) = \sum_{n=-\infty}^\infty c_n e^{i n \pi x / L}

with coefficients

cn=12LLLf(x)einπx/Ldxc_n = \frac{1}{2L}\int_{-L}^{L} f(x) e^{-i n \pi x/L} \, dx

The key idea: the exponentials form an orthonormal basis for periodic functions. Every function is a sum of pure frequencies.

Fourier Transform

Letting LL \to \infty gives the continuous version:

f~(k)=12πf(x)eikxdx\tilde{f}(k) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} f(x) e^{-ikx} \, dx

f(x)=12πf~(k)eikxdkf(x) = \frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \tilde{f}(k) e^{ikx} \, dk

(Various conventions differ on the factor of 2π2\pi; physicists usually symmetrize as shown.)

Parseval / Plancherel Theorem

f(x)2dx=f~(k)2dk\int |f(x)|^2 dx = \int |\tilde{f}(k)|^2 dk

Normalization is preserved. In QM: ψ(x)2dx|\psi(x)|^2 dx and ψ~(p)2dp|\tilde\psi(p)|^2 dp are both probability distributions; position space and momentum space; for the same state.

Key Transform Pairs

f(x)f(x)f~(k)\tilde{f}(k)
δ(x)\delta(x)1/2π1/\sqrt{2\pi}
112πδ(k)\sqrt{2\pi} \delta(k)
eαx2e^{-\alpha x^2}12αek2/(4α)\frac{1}{\sqrt{2\alpha}} e^{-k^2/(4\alpha)}
eik0xe^{ik_0 x}2πδ(kk0)\sqrt{2\pi}\delta(k - k_0)
ddxf(x)\frac{d}{dx} f(x)ikf~(k)ik \tilde{f}(k)
xf(x)x f(x)iddkf~(k)i \frac{d}{dk}\tilde{f}(k)

Critical observation: differentiating in position space = multiplying by ikik in momentum space. The momentum operator p^=ix\hat{p} = -i\hbar \partial_x becomes simple multiplication k\hbar k after Fourier transform.

Also critical: Gaussians transform to Gaussians. If a wave packet has width σx\sigma_x in position, its Fourier transform has width σk=1/(2σx)\sigma_k = 1/(2\sigma_x). Their product is minimized: σxσk=1/2\sigma_x \sigma_k = 1/2, giving ΔxΔp=/2\Delta x \, \Delta p = \hbar/2. The uncertainty principle saturates for Gaussians.

The Dirac Delta Function

Not strictly a function; a distribution. Defined by:

f(x)δ(xa)dx=f(a)\int_{-\infty}^{\infty} f(x) \delta(x - a) \, dx = f(a)

Useful identities:

δ(x)=12πeikxdk\delta(x) = \frac{1}{2\pi} \int_{-\infty}^{\infty} e^{ikx} \, dk

δ(ax)=1aδ(x)\delta(ax) = \frac{1}{|a|}\delta(x)

δ(xa)dx=1\int \delta(x - a) \, dx = 1

Think of it as an infinitely tall, infinitely thin spike of unit area. In QM, δ(xx)\delta(x - x') is the “position eigenstate”; a particle perfectly localized at xx' (with, correspondingly, infinite momentum uncertainty).


11. Probability and Statistics

The interpretation of QM is probabilistic; you need the basic machinery.

Probability Distributions

Discrete: probability PiP_i of outcome ii, with iPi=1\sum_i P_i = 1.

Continuous: probability density ρ(x)\rho(x), with ρ(x)dx=1\int \rho(x) dx = 1 and

P(axb)=abρ(x)dxP(a \leq x \leq b) = \int_a^b \rho(x) dx

Expectation Values

x=xρ(x)dx,f(x)=f(x)ρ(x)dx\langle x \rangle = \int x \rho(x) dx, \quad \langle f(x) \rangle = \int f(x) \rho(x) dx

In QM:

A^=ψA^ψ\langle \hat{A} \rangle = \langle \psi | \hat{A} | \psi \rangle

For position in the {x}\{|x\rangle\} basis:

x^=xψ(x)2dx\langle \hat{x} \rangle = \int x |\psi(x)|^2 dx

Variance and Standard Deviation

σA2=A2A2=(AA)2\sigma_A^2 = \langle A^2 \rangle - \langle A \rangle^2 = \langle (A - \langle A \rangle)^2 \rangle

σA=σA2\sigma_A = \sqrt{\sigma_A^2}

In QM we write (ΔA)2=σA2(\Delta A)^2 = \sigma_A^2.

The Gaussian Distribution

ρ(x)=1σ2πe(xμ)2/(2σ2)\rho(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-(x - \mu)^2 / (2\sigma^2)}

Has mean μ\mu and standard deviation σ\sigma. 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:

P=A1+A22=A12+A22+2Re(A1A2)P = |A_1 + A_2|^2 = |A_1|^2 + |A_2|^2 + 2\text{Re}(A_1^* A_2)

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:

Hn(ξ)=(1)neξ2dndξneξ2H_n(\xi) = (-1)^n e^{\xi^2} \frac{d^n}{d\xi^n} e^{-\xi^2}

First few:

H0=1,H1=2ξ,H2=4ξ22,H3=8ξ312ξH_0 = 1, \quad H_1 = 2\xi, \quad H_2 = 4\xi^2 - 2, \quad H_3 = 8\xi^3 - 12\xi

Orthogonality:

Hm(ξ)Hn(ξ)eξ2dξ=2nn!πδmn\int_{-\infty}^\infty H_m(\xi) H_n(\xi) e^{-\xi^2} d\xi = 2^n n! \sqrt{\pi} \, \delta_{mn}

Oscillator eigenfunctions: ψn(x)Hn(αx)eα2x2/2\psi_n(x) \propto H_n(\alpha x) e^{-\alpha^2 x^2/2}.

Legendre Polynomials and Spherical Harmonics

Arise from the angular part of the Schrödinger equation in spherical coordinates.

Legendre polynomials P(cosθ)P_\ell(\cos\theta):

P0=1,P1=cosθ,P2=12(3cos2θ1)P_0 = 1, \quad P_1 = \cos\theta, \quad P_2 = \tfrac{1}{2}(3\cos^2\theta - 1)

Associated Legendre functions PmP_\ell^m: generalizations for m0m \neq 0.

Spherical harmonics Ym(θ,ϕ)Y_\ell^m(\theta, \phi):

Ym(θ,ϕ)=(constants)Pm(cosθ)eimϕY_\ell^m(\theta, \phi) = (\text{constants}) \cdot P_\ell^m(\cos\theta) \, e^{im\phi}

They are simultaneous eigenfunctions of L^2\hat{L}^2 and L^z\hat{L}_z:

L^2Ym=(+1)2Ym,L^zYm=mYm\hat{L}^2 Y_\ell^m = \ell(\ell+1)\hbar^2 Y_\ell^m, \quad \hat{L}_z Y_\ell^m = m\hbar Y_\ell^m

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:

Ln(x)=exn!dndxn(xnex)L_n(x) = \frac{e^x}{n!} \frac{d^n}{dx^n}(x^n e^{-x})

Associated Laguerre polynomials LnkL_n^k 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 Jn(x)J_n(x).

The Gamma Function

Generalizes factorial to non-integers:

Γ(n)=0xn1exdx,Γ(n+1)=nΓ(n),Γ(n+1)=n! for integer n\Gamma(n) = \int_0^\infty x^{n-1} e^{-x} dx, \quad \Gamma(n+1) = n\Gamma(n), \quad \Gamma(n+1) = n! \text{ for integer } n

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 H\mathcal{H} is:

  1. A complex vector space
  2. Equipped with an inner product ,\langle \cdot, \cdot \rangle
  3. Complete with respect to the norm ψ=ψ,ψ\|\psi\| = \sqrt{\langle \psi, \psi \rangle} (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 L2(R)L^2(\mathbb{R}): square-integrable complex-valued functions on the real line,

H={ψ:ψ(x)2dx<}\mathcal{H} = \left\{ \psi : \int_{-\infty}^\infty |\psi(x)|^2 dx < \infty \right\}

with inner product

ϕ,ψ=ϕ(x)ψ(x)dx\langle \phi, \psi \rangle = \int_{-\infty}^\infty \phi^*(x) \psi(x) dx

For spin-½: H=C2\mathcal{H} = \mathbb{C}^2 (finite-dimensional).

For NN particles in 3D: H=L2(R3N)\mathcal{H} = L^2(\mathbb{R}^{3N}) (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

  1. States are unit vectors ψH|\psi\rangle \in \mathcal{H} (up to a global phase).
  2. Observables are Hermitian operators on H\mathcal{H}.
  3. Measurement of observable A^\hat{A} yields eigenvalue λi\lambda_i with probability iψ2|\langle i | \psi \rangle|^2, where i|i\rangle is the corresponding eigenvector.
  4. State after measurement is the corresponding eigenvector (collapse).
  5. Time evolution between measurements is governed by the Schrödinger equation, which generates unitary evolution ψ(t)=U(t)ψ(0)|\psi(t)\rangle = U(t) |\psi(0)\rangle with U(t)=eiH^t/U(t) = e^{-i\hat{H} t/\hbar}.

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

SymbolMeaning
R,C\mathbb{R}, \mathbb{C}Real, complex numbers
Cn\mathbb{C}^nnn-tuples of complex numbers
L2L^2Square-integrable functions
zz^*Complex conjugate
AA^\daggerHermitian conjugate (adjoint)
[A,B][A, B]Commutator ABBAAB - BA
{A,B}\{A, B\}Anticommutator AB+BAAB + BA
δij\delta_{ij}Kronecker delta
δ(x)\delta(x)Dirac delta
$\langle \cdot\cdot \rangle$
\|\cdot\|Norm
\otimesTensor product

Pauli Matrices (Indispensable)

σx=(0110),σy=(0ii0),σz=(1001)\sigma_x = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}, \quad \sigma_y = \begin{pmatrix} 0 & -i \\ i & 0 \end{pmatrix}, \quad \sigma_z = \begin{pmatrix} 1 & 0 \\ 0 & -1 \end{pmatrix}

Properties:

  • All Hermitian and unitary
  • All satisfy σi2=I\sigma_i^2 = I
  • Anticommute: {σi,σj}=2δijI\{\sigma_i, \sigma_j\} = 2\delta_{ij} I
  • Commute: [σi,σj]=2iϵijkσk[\sigma_i, \sigma_j] = 2i\epsilon_{ijk}\sigma_k
  • Eigenvalues ±1\pm 1

(Here ϵijk\epsilon_{ijk} is the Levi-Civita symbol: +1+1 for even permutations of 123, 1-1 for odd, 00 if any index repeats.)

Useful Commutator Identities

[A,BC]=[A,B]C+B[A,C][A, BC] = [A, B]C + B[A, C]

[AB,C]=A[B,C]+[A,C]B[AB, C] = A[B, C] + [A, C]B

[A,B]=[B,A][A, B] = -[B, A]

[A,B]=[B,A][A, B]^\dagger = [B^\dagger, A^\dagger]

Baker-Campbell-Hausdorff (Simplified)

If [A,B][A, B] commutes with both AA and BB:

eAeB=eA+B+12[A,B]e^A e^B = e^{A + B + \tfrac{1}{2}[A, B]}

Useful for computing products of exponentiated operators.

Gaussian Integrals (Expanded)

eαx2+βx+γdx=παeβ2/(4α)+γ\int_{-\infty}^\infty e^{-\alpha x^2 + \beta x + \gamma} dx = \sqrt{\frac{\pi}{\alpha}} \, e^{\beta^2/(4\alpha) + \gamma}

x2neαx2dx=(2n)!n!(4α)nπα\int_{-\infty}^\infty x^{2n} e^{-\alpha x^2} dx = \frac{(2n)!}{n! (4\alpha)^n} \sqrt{\frac{\pi}{\alpha}}

x2n+1eαx2dx=0(odd)\int_{-\infty}^\infty x^{2n+1} e^{-\alpha x^2} dx = 0 \quad \text{(odd)}

Integration by Parts Variants

Standard:

udv=uvvdu\int u \, dv = uv - \int v \, du

For wave functions vanishing at infinity:

fdgdxdx=dfdxgdx\int_{-\infty}^\infty f^* \frac{dg}{dx} dx = -\int_{-\infty}^\infty \frac{df^*}{dx} g \, dx

(The boundary term vanishes.) This is how p^\hat{p} 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:

  1. 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.
  2. Solidify ODEs; a standard text (Boyce & DiPrima, or Tenenbaum & Pollard) covers what you need.
  3. Get comfortable with Fourier analysis; any text covering the continuous Fourier transform at the level of physics applications.
  4. 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.