🌀Differential Equations

Equations about change — the form almost every law of physics takes.

What is a differential equation?

An equation that relates a function to its derivatives. Newton's second law is one: m x¨=F(x,x˙,t)m\,\ddot x = F(x, \dot x, t).

Three you will meet everywhere

  1. Exponential growth/decay   N˙=−λN⇒N(t)=N0e−λt\;\dot N = -\lambda N \Rightarrow N(t) = N_0 e^{-\lambda t} (radioactive decay, capacitor discharge).
  2. Simple harmonic motion   x¨=−ω2x⇒x(t)=Acos⁡(ωt+φ)\;\ddot x = -\omega^2 x \Rightarrow x(t) = A\cos(\omega t + \varphi) (springs, pendulums, LC circuits).
  3. The wave equation   ∂2y∂t2=v2∂2y∂x2\;\dfrac{\partial^2 y}{\partial t^2} = v^2 \dfrac{\partial^2 y}{\partial x^2} (strings, sound, light).

Solving numerically

Computers step forward in tiny time steps (Euler / Verlet / Runge–Kutta): vn+1=vn+an Δt,xn+1=xn+vn+1 Δtv_{n+1} = v_n + a_n\,\Delta t,\qquad x_{n+1} = x_n + v_{n+1}\,\Delta t Every simulation in this book works exactly like that!

Key formulas

Decay

dNdt=−λN  ⇒  N=N0e−λt\frac{dN}{dt}=-\lambda N \;\Rightarrow\; N=N_0e^{-\lambda t}

SHM

x¨=−ω2x  ⇒  x=Acos⁡(ωt+φ)\ddot x=-\omega^2x \;\Rightarrow\; x=A\cos(\omega t+\varphi)

Wave equation

∂2y∂t2=v2∂2y∂x2\frac{\partial^2 y}{\partial t^2}=v^2\frac{\partial^2 y}{\partial x^2}

Videos

Differential equations, a tourist's guide — 3Blue1Brown
Search more on YouTube

Further resources

Check your understanding

1. The solution of ẍ = −ω²x is…

Score: 0 / 1

My notes