Physics equations are almost always differential equations — relations between a function and its derivatives. Knowing how to solve them is knowing how to solve physics.
Solve first-order linear ODEs using the integrating factor method.
Solve second-order ODEs with constant coefficients by finding roots of the characteristic equation.
Classify damped oscillators as underdamped, overdamped, or critically damped from their parameters.
Find the steady-state amplitude of a driven oscillator and identify the resonance condition.
Use separation of variables to solve first-order separable ODEs and apply initial conditions.
26.1 What Is a Differential Equation?
A differential equation (DE) is an equation involving an unknown function and one or more of its derivatives. The order is the highest derivative that appears. An ordinary DE (ODE) has one independent variable; apartial DE (PDE) has multiple.
Every fundamental law of physics is a differential equation. Newton's second law: m d²x/dt² = F(x,t). Faraday's law: ∂B/∂t = −∇×E. Schrödinger's equation: iℏ ∂ψ/∂t = Ĥψ. Solving these equations — finding the function x(t) or ψ(x,t) consistent with initial conditions — is the central technical task of theoretical physics.
26.2 First-Order Linear ODEs
Definition 26.1 — First-Order Linear ODE
Standard form: dy/dx+P(x)y=Q(x). The general solution uses an integrating factorμ(x)=e∫Pdx:d/dx[μ(x)y]=μ(x)Q(x)→y=(1/μ)∫μQdx+C/μ
The most important first-order ODE in physics is exponential growth/decay: dy/dt = ky. Its solution is y = y₀ eᵏᵗ. For k < 0 (decay): radioactive decay (N=N0e−t/τ), capacitor discharge (q=q0e−t/RC), Newton's law of cooling (ΔT=ΔT0e−kt).
Example 26.1 — RC Circuit — Capacitor Charging
A capacitor (capacitance C) charges through a resistor R from a battery of EMFε. The loop equation gives ε=IR+q/C, with I=dq/dt. Solve for q(t).
Rewrite:dq/dt+q/(RC)=ε/R (first-order linear ODE)
Integrating factor:μ=et/RC
Multiply through:dtd[qet/RC]=Rεet/RC
Integrate:qet/RC=Cεet/RC+A→q(t)=Cε+Ae−t/RC
Initial condition:q(0)=0→A=−Cε→q(t)=Cε(1−e−t/RC)
Result:q(t)=Cε(1−e−t/τ) where τ=RC is the time constant. ✓
26.3 Second-Order Linear ODEs with Constant Coefficients
The equation m ẍ + b ẋ + kx = F(t) governs every oscillating system in physics: springs, LC circuits, pendulums, sound resonators. The general approach: try the ansatz x=ert, substitute, and solve the characteristic equation.
Physics:An exponentially decaying envelope × oscillation. Amplitude halves every t1/2=ln2/γ.
26.4 Particular Solutions and Resonance
For a driven oscillator mẍ + bẋ + kx = F₀ cos(ωt), the particular solution(steady-state response) has the form xp=Xcos(ωt−δ), where the amplitude is:
X=(k−mω2)2+(bω)2F0(26.1)
This is maximum when the driving frequency ω equals the natural frequency ω₀ = √(k/m) — this is resonance. At resonance (weak damping), the amplitude grows enormously: Xres=F0/(bω0). The quality factor Q = mω₀/b measures the sharpness of resonance — high Q means narrow, tall peak; low Q means broad, flat response.
Resonance is why bridges can be destroyed by rhythmic marching (Angers Bridge, 1850), why wine glasses shatter at their resonant frequency, and why MRI machines work (nuclear magnetic resonance). The mathematics is identical in all cases.
26.5 Separation of Variables
Many first-order ODEs can be solved by separating the variables:
Definition 26.3 — Separation of Variables
Ifdy/dx=f(x)g(y), rewrite as dy/g(y)=f(x)dx, then integrate both sides:∫dy/g(y)=∫f(x)dx+CThis directly yields y as a function of x (or implicitly). Works whenever the equation is separable — the right-hand side factors into a function of x times a function of y.
Example 26.4 — Radioactive Decay
Carbon-14 decays with half-life t1/2=5730 years. A bone sample contains 30% of the original C-14. Find its age.
ODE:dN/dt=−λN, where λ=ln2/t1/2=ln2/5730yr−1
Separate:dN/N=−λdt→∫dN/N=−λ∫dt→lnN=−λt + const
Solution:N(t)=N0e−λt
Apply N/N0=0.30:0.30=e−λt→−λt=ln(0.30)=−1.204
Age:t=1.204/λ=1.204×5730/ln2=1.204×8267 = 9,950 years
Definition 26.4 — Common Traps
General solutions need constants: initial or boundary conditions choose the physical solution.
Homogeneous and particular parts both matter: driven systems need the forced response.
Stability comes from eigenvalues: signs and real parts determine growth or decay.
Separation is not always valid: only separable equations allow variables to be split cleanly.
Exercises — 26.1–26.5 Differential Equations
1.
A sample retains 30% of its original C-14 (half-life 5730 years). Find its age.
years
Straightforward
2.
A mass–spring system has k=400N/m and m=10kg. Find the angular frequency ω0.
rad/s
Straightforward
3.
Att=RC (one time constant), what fraction of the maximum charge has a capacitor accumulated?
Intermediate
4.A spring-mass system has m=1kg,k=4N/m. Classify and solve for x(t) for: (a)b=0.5,(b)b=4,(c)b=10N⋅s/m.
Intermediate
5.Derive the steady-state amplitude X(ω) for a driven oscillator mx¨+bx˙+kx=F0cos(ωt). At what frequency is X maximum? Define the quality factor Q and explain its physical meaning.
Challenging
Key Takeaways
A differential equation relates a function to its derivatives; every physics law is a DE.