⚛ Computational physics
Fields and waves: vector calculus, Fourier analysis and partial differential equations, up to fluids.
- 01
Derivative
is the instantaneous rate of change of at : the slope of the tangent line to the graph, defined as the limit of slopes of secant lines.
- 02
Ordinary differential equations
An equation relating an unknown function to its derivatives, . Its solutions are trajectories: given where you start, the equation says where you go next — the mathematical model of anything that evolves in time.
- 03
Second-order linear equations (oscillations)
: springs, pendulums, circuits, suspensions. The roots of the characteristic equation decide whether the system oscillates (complex roots), returns smoothly (real roots) or resonates.
- 04
Gradient
: the vector of all partial derivatives. It points in the direction of steepest ascent, its length is that steepest slope, and it is perpendicular to the level sets. Walk against it and you go downhill fastest.
- 05
Divergence
: the net outflow per unit volume at a point. Positive at sources, negative at sinks, zero for incompressible flow.
- 06
Curl
: a vector measuring the local rotation of a field — its axis is the axis of spin, its length twice the angular speed. Fields that are gradients have zero curl.
- 07
Laplacian
: how much at a point differs from the average of its neighbours. It appears in the heat, wave, Laplace, Poisson and Schrödinger equations, and its discrete version smooths meshes and detects edges.
- 08
Divergence theorem (Gauss)
The total divergence inside a region equals the flux out through its boundary: what is produced inside must leave through the surface. It is the foundation of conservation laws and finite-volume methods.
- 09
Fourier series
Any reasonable periodic function is a sum of sines and cosines of multiples of a base frequency: . The coefficients — the spectrum — say how much of each harmonic it contains.
- 10
Fourier transform
The continuous version for non-periodic signals: gives the amount of each frequency . It turns convolution into multiplication and differentiation into multiplication by — which is why filtering, compression and solving linear PDEs are easier in frequency space.
- 11
Partial differential equations
Equations for fields that depend on space and time, involving partial derivatives: heat diffusion, waves, fluid flow, electromagnetism, quantum mechanics. Solved numerically by discretizing space (finite differences, finite volumes, finite elements, spectral methods).
- 12
Heat equation and diffusion
: temperature (or concentration, or probability) flows from high to low and smooths out. Solved by finite differences or Fourier series; Gaussian blur of an image is exactly running this equation.
- 13
Wave equation
: disturbances travel at speed . Sound, vibrating strings, seismic waves and light obey it; games use discretized versions for water ripples and room acoustics.
- 14
Fluid dynamics and CFD
The Navier–Stokes equations for a velocity field and pressure . Engineering CFD solves them on meshes with finite volumes; film and games use "stable fluids" (Stam, 1999): advect, add forces, and project to zero divergence by solving a Poisson equation.