Prerequisites: Are You Ready for This Book?

Quantum mechanics builds on a foundation of physics, mathematics, and (optionally) programming. This section describes what you need to know before you begin, and includes a self-assessment quiz so you can honestly evaluate your readiness.

The prerequisites are not arbitrary — every single one will be called upon in the first few chapters. If you have significant gaps, filling them before you start will be far more efficient than trying to learn the prerequisites and the quantum mechanics simultaneously.

Physics Prerequisites

Two Semesters of Introductory Physics

You need a solid foundation in classical mechanics and electromagnetism at the level of a standard introductory physics sequence (Halliday/Resnick, Serway, Knight, or equivalent).

From mechanics, you should be comfortable with: - Newton's laws and their application to one-dimensional and two-dimensional motion - Energy conservation: kinetic energy, potential energy, and the work-energy theorem - The classical harmonic oscillator: equation of motion, angular frequency, energy, and damping - Central force motion and the basic idea of angular momentum - Wave motion: wavelength, frequency, wave speed, superposition, and interference

From electromagnetism, you should be comfortable with: - Coulomb's law and the electrostatic potential - The basic structure of electromagnetic waves: E and B fields, speed of light, energy carried by waves - The relationship between frequency, wavelength, and energy for electromagnetic radiation

You do not need an advanced mechanics course (Lagrangian or Hamiltonian mechanics), though if you have that background, Chapters 6-7 will feel very natural. You do not need a full course in electrodynamics at the Griffiths E&M level — the introductory sequence is sufficient.

Modern Physics Survey

You need exposure to the key experimental results and conceptual ideas that motivated quantum mechanics. A standard "modern physics" or "physics III" course covers this material. Specifically, you should have seen:

  • The photoelectric effect and Einstein's explanation in terms of photons (E = hf)
  • The Bohr model of the hydrogen atom: quantized orbits, energy levels, the Rydberg formula
  • De Broglie waves: the idea that matter has wavelike properties, with wavelength λ = h/p
  • Wave-particle duality: the double-slit experiment for both photons and electrons
  • The Heisenberg uncertainty principle: Δx Δp ≥ ℏ/2, at least at a conceptual level
  • Blackbody radiation and Planck's quantization hypothesis (conceptual familiarity is enough — you do not need to derive the Planck distribution)

Chapter 1 of this book reviews this material, so modest familiarity is sufficient. You do not need to have mastered it — you need to have encountered it.

Mathematics Prerequisites

Multivariable Calculus

Quantum mechanics in three dimensions requires comfort with:

  • Partial derivatives: ∂f/∂x, ∂f/∂y, the chain rule for multiple variables
  • Multiple integrals: double and triple integrals, including in polar, cylindrical, and spherical coordinates
  • The gradient, divergence, and curl: you should recognize ∇f, ∇·F, and ∇×F, though you will not need vector calculus at the level of an E&M course
  • Integration techniques: integration by parts, substitution, and the Gaussian integral ∫exp(-ax²)dx = √(π/a) — this integral appears everywhere in quantum mechanics

The spherical coordinate system (r, θ, φ) is particularly important. The hydrogen atom lives in spherical coordinates, and you will be working in them extensively starting in Chapter 5. Make sure you are comfortable with the volume element r²sin(θ)dr dθ dφ and with the ranges of the coordinates.

Ordinary Differential Equations

The Schrodinger equation is a differential equation, and solving it is the central technical task of quantum mechanics. You need:

  • Separation of variables: the technique of splitting a PDE into ODEs by assuming a product solution. This is introduced in Chapter 2 and used throughout the book.
  • Second-order linear ODEs with constant coefficients: characteristic equation, real and complex roots, general solutions
  • Series solutions (Frobenius method): at least a basic introduction. Series solutions appear when we solve the hydrogen atom (Chapter 5) and the angular momentum eigenvalue problem (Chapter 12). The book walks through these derivations carefully, but prior exposure makes them much easier to follow.
  • Boundary conditions and eigenvalue problems: the idea that requiring a solution to satisfy certain conditions restricts the allowed values of a parameter. This is the mathematical heart of quantization.

If you have taken a full course in ODEs, you are well prepared. If your ODE experience is limited to what you encountered in your calculus and introductory physics courses, you will be able to follow the book, but you should plan to work through the mathematical derivations more carefully.

Linear Algebra Fundamentals

Linear algebra is the mathematical language of quantum mechanics. Starting in Chapter 6 and expanding dramatically in Chapter 8, everything is expressed in terms of vectors, operators, eigenvalues, and inner products.

You should know: - What a vector is and how to add and scalar-multiply vectors - Dot products (inner products) and what orthogonality means - Matrices: multiplication, transpose, determinant, inverse - Eigenvalues and eigenvectors: what they are, how to find them for 2×2 and 3×3 matrices - The concept of a basis and change of basis

It is helpful but not strictly required to know: - Hermitian and unitary matrices - Diagonalization - Vector spaces as abstract structures (not just ℝⁿ)

If your linear algebra background is limited to a few weeks in a calculus or differential equations course, consider working through a primer before or alongside the early chapters. Chapter 8 provides a self-contained development of the linear algebra needed for quantum mechanics, but it moves faster if you have seen the basics before.

Complex Numbers

This is non-negotiable. Quantum mechanics is inherently a theory of complex numbers — the wave function is complex-valued, operators can have complex matrix elements, and the fundamental equation (the Schrodinger equation) has an explicit factor of i.

You must be comfortable with: - The imaginary unit i, where i² = -1 - Complex arithmetic: addition, multiplication, division - The complex conjugate z and the modulus |z| - Euler's formula: e^(iθ) = cos(θ) + i sin(θ) - The polar form of complex numbers: z = re^(iθ) - The fact that |ψ|² = ψψ is always real and non-negative — this is how we extract physical probabilities from complex wave functions

If complex numbers still feel mysterious to you, spend a few hours reviewing them before Chapter 2. Euler's formula in particular will appear on nearly every page of this book.

The computational track of this book uses Python. If you plan to engage with the code examples, the Quantum Simulation Toolkit project, or the computational exercises, you need:

  • Basic Python syntax: variables, data types, loops (for, while), conditionals (if/elif/else), functions (def)
  • NumPy basics: creating arrays, array arithmetic, basic operations like np.linspace, np.zeros, np.dot
  • Basic plotting: creating a simple plot with Matplotlib (plt.plot, plt.xlabel, plt.show)

You do not need to be an experienced programmer. The code in this book is written for physicists, not software engineers, and it prioritizes clarity over elegance. If you can write a Python function that takes an array of x-values and returns an array of f(x) values, and then plot the result, you have enough programming skill to begin.

If you have never programmed at all, Appendix F includes setup instructions and a minimal Python tutorial. You could also work through the first few chapters of any introductory Python resource before starting the computational exercises.

Programming is not required to use this book. The physics is primary, and every concept, derivation, and result is presented in mathematical form independent of the code. The computational exercises are an enhancement, not a requirement.

Self-Assessment Quiz

Answer the following 15 questions honestly. You do not need to get them all correct, but you should be able to make a reasonable attempt at most of them. If more than 4 or 5 feel completely unfamiliar, consider reviewing the relevant prerequisite material before beginning Chapter 1.

Physics

  1. A mass m is attached to a spring with spring constant k. Write down the equation of motion and the angular frequency of oscillation. What is the total energy of the oscillator in terms of the amplitude A?

  2. In the photoelectric effect, light of frequency f strikes a metal surface with work function W. Write down the maximum kinetic energy of the emitted electrons. Below what frequency is no electron emitted, regardless of the light's intensity?

  3. An electron has a de Broglie wavelength of 0.1 nm. Estimate its kinetic energy in eV. (You may use the approximation ℏ ≈ 1.055 × 10⁻³⁴ J·s, mₑ ≈ 9.11 × 10⁻³¹ kg, and 1 eV ≈ 1.6 × 10⁻¹⁹ J.)

  4. What are the energy levels of the hydrogen atom according to the Bohr model? What is the ground-state energy in eV?

Mathematics

  1. Evaluate the integral ∫₀^∞ x² e^(-x) dx. (Hint: integration by parts, twice, or recognize the gamma function Γ(3).)

  2. Convert the integral ∫∫∫ f(x,y,z) dx dy dz to spherical coordinates (r, θ, φ). Write down the correct volume element.

  3. Find the eigenvalues and eigenvectors of the matrix:

A = [[2, 1], [1, 2]]

  1. Verify that e^(iπ) = -1 using Euler's formula.

  2. Solve the differential equation y'' + 4y = 0 with initial conditions y(0) = 1, y'(0) = 0.

  3. Compute the partial derivative ∂/∂x of f(x,y) = x²y + sin(xy).

Complex Numbers and Wave Physics

  1. If z = 3 + 4i, compute |z|², z, and z/z.

  2. Write the complex number z = 2e^(iπ/3) in the form a + bi.

  3. Two waves with the same amplitude A and frequencies ω₁ and ω₂ are superposed. Write the result as a product of a slowly varying envelope and a rapidly oscillating carrier. (This is the "beats" formula.)

Programming (Optional)

  1. Write a Python function that takes an integer n and returns the nth Fibonacci number. (Pseudocode is fine.)

  2. Using NumPy, write a one-line expression that creates an array of 1000 evenly spaced points between 0 and 2π and computes sin(x) for each point.

Interpreting Your Results

  • 13-15 correct: You are well prepared. Begin Chapter 1 with confidence.
  • 10-12 correct: You are mostly prepared. Note which areas were weak and plan to review those specific topics during the first few weeks.
  • 7-9 correct: You have some gaps. Before starting, spend 1-2 weeks reviewing the topics you struggled with. The mathematical prerequisites (questions 5-10) are particularly important to shore up.
  • Below 7: You likely need more preparation. Consider taking or reviewing a modern physics course and/or a linear algebra and ODE course before beginning this book. This is not a judgment — it is practical advice. Quantum mechanics with an inadequate mathematical foundation is an exercise in frustration, not learning.

Answers to Self-Assessment Quiz

  1. Equation of motion: m d²x/dt² = -kx. Angular frequency: ω = √(k/m). Total energy: E = ½kA².

  2. KEₘₐₓ = hf - W. The threshold frequency is f₀ = W/h.

  3. p = h/λ = (6.63 × 10⁻³⁴)/(10⁻¹⁰) ≈ 6.63 × 10⁻²⁴ kg·m/s. KE = p²/(2m) ≈ 2.41 × 10⁻¹⁷ J ≈ 150 eV.

  4. Eₙ = -13.6 eV / n². Ground state (n=1): E₁ = -13.6 eV.

  5. ∫₀^∞ x² e⁻ˣ dx = Γ(3) = 2! = 2.

  6. dx dy dz → r² sin(θ) dr dθ dφ, with r ∈ [0,∞), θ ∈ [0,π], φ ∈ [0,2π).

  7. Eigenvalues: λ = 3 and λ = 1. Eigenvectors: (1,1)/√2 for λ=3, (1,-1)/√2 for λ=1.

  8. e^(iπ) = cos(π) + i sin(π) = -1 + 0 = -1.

  9. y(t) = cos(2t).

  10. ∂f/∂x = 2xy + y cos(xy).

  11. |z|² = 9 + 16 = 25. z = 3 - 4i. z/z = (3+4i)²/25 = (-7+24i)/25.

  12. z = 2[cos(π/3) + i sin(π/3)] = 2(1/2 + i√3/2) = 1 + i√3.

  13. y = 2A cos[(ω₁-ω₂)t/2] cos[(ω₁+ω₂)t/2] — slow envelope times fast carrier.

  14. (Example) def fib(n): a, b = 0, 1; for _ in range(n): a, b = b, a+b; return a

  15. np.sin(np.linspace(0, 2*np.pi, 1000))


If you have worked through this self-assessment and feel ready, turn to Chapter 1: The Quantum Revolution. If you would like more guidance on how to navigate the book, see How to Use This Book.