Differential Equations in Physics — A Beginner's Introduction

What differential equations are, why Newton's laws are really differential equations, and how to solve the two most important ones: exponential decay and…

Quick answer

A differential equation relates a function to its own rates of change — its derivatives. Instead of solving for a number, you solve for a whole function of time. Physics runs on them: F = ma is really m·d²x/dt² = F, an equation dictating how position evolves.

dNdt=−λN  ⇒  N(t)=N0e−λt\frac{dN}{dt} = -\lambda N \;\Rightarrow\; N(t) = N_0 e^{-\lambda t}

Example: With decay constant λ = 0.10 s⁻¹, N(t) = N₀e^(−0.10t): after 10 s only e^(−1) ≈ 37% of the sample remains.

What you will learn

  • Explain what makes an equation a differential equation
  • Identify the order of a differential equation
  • Solve dN/dt = −λN and interpret exponential decay
  • Verify that x = A cos(ωt) solves the harmonic oscillator equation
  • Use initial conditions to pick one solution from a family

What a differential equation actually is

An ordinary equation like 2x+3=112x + 3 = 11 asks for a number. A differential equation asks for a function — usually a function of time — and it involves that function's derivatives. The unknown is not xx but x(t)x(t), the whole motion.

The order of the equation is the highest derivative in it. dv/dt=gdv/dt = g is first order; m d2x/dt2=Fm\,d^2x/dt^2 = F is second order. Order matters: roughly speaking, each order adds one constant you must fix with initial conditions.

Why physics runs on differential equations

Newton's second law is usually written F=maF = ma, but acceleration is the second derivative of position. Written honestly, the law is the equation below: force now determines the curvature of the position-time graph.

Give me the starting position and velocity, and this equation generates the entire future motion. That is why differential equations are the language of prediction — they turn 'what are the forces?' into 'what happens next?'

First-order star: exponential decay

Radioactive nuclei, a discharging capacitor, and a cooling cup of coffee all obey one idea: the rate of loss is proportional to the amount present. As a differential equation, with λ\lambda the decay constant:

Solving it: guess and verify

The solution is the exponential N(t)=N0e−λtN(t) = N_0 e^{-\lambda t}, where N0N_0 is the starting amount. You do not need fancy methods to trust it — differentiate and check: dN/dt=−λN0e−λt=−λNdN/dt = -\lambda N_0 e^{-\lambda t} = -\lambda N. It satisfies the equation exactly.

The half-life follows immediately: set N=N0/2N = N_0/2 and solve e−λt=1/2e^{-\lambda t} = 1/2, giving t1/2=ln⁡2/λ≈0.693/λt_{1/2} = \ln 2 / \lambda \approx 0.693/\lambda. A bigger decay constant means a shorter half-life — the equation says in symbols what intuition says in words.

Second-order star: the harmonic oscillator

A mass on a spring obeys Hooke's law F=−kxF = -kx inside Newton's law, giving the second-order equation below. Try the guess x(t)=Acos⁡(ωt)x(t) = A\cos(\omega t): differentiating twice gives d2x/dt2=−ω2Acos⁡(ωt)=−ω2xd^2x/dt^2 = -\omega^2 A\cos(\omega t) = -\omega^2 x. Substituting, the equation is satisfied exactly when ω=k/m\omega = \sqrt{k/m}.

So springs oscillate at f=ω/2π=(1/2π)k/mf = \omega/2\pi = (1/2\pi)\sqrt{k/m} — stiffer spring or lighter mass, faster vibration. One guessed cosine unlocks every clock, guitar string, and molecular vibration.

Mass attached to a horizontal spring oscillating back and forthmFspring constantx = stretch
A mass on a spring: its motion obeys m·d²x/dt² + kx = 0.

Initial conditions choose the real motion

Notice the solutions came with free constants: N0N_0 in the decay, and amplitude AA (plus a phase shift ϕ\phi if we write Acos⁡(ωt+ϕ)A\cos(\omega t + \phi)) in the oscillator. A differential equation alone gives a family of possible motions.

Initial conditions — the position and velocity at t=0t = 0, or the starting amount — select the one member of the family that actually happens. This is deep: the laws of physics plus the starting state determine everything after. Laplace's famous 'demon' is just this idea taken to its limit.

The pattern

Equation gives the family; initial conditions pick the member. Whenever a physics problem states 'released from rest at x = 5 m', it is handing you initial conditions for a differential equation.

Where the famous equations live

Once you see the pattern, you spot differential equations everywhere: Maxwell's equations relate electric and magnetic fields to their space and time derivatives; the Schrödinger equation iℏ ∂ψ/∂t=H^ψi\hbar\,\partial\psi/\partial t = \hat{H}\psi governs quantum waves; Einstein's field equations relate spacetime curvature to matter.

You do not need to solve any of these yet — recognizing that they are differential equations, and therefore machines that evolve a starting state forward in time, is the real insight of this article.

Variables and units

SymbolNameUnitMeaning
ttTimesIndependent variable; functions evolve in time
x(t)x(t)Position functionmThe unknown function in mechanics problems
λλDecay constant1/sFractional loss rate in dN/dt = −λN
ωωAngular frequencyrad/sOscillation rate; ω = √(k/m) for a spring
kkSpring constantN/mStiffness in Hooke's law F = −kx
N0,AN₀, AIntegration constantsvariesFixed by initial conditions

Common mistakes

✗ There is one method that solves every differential equation.

Guessing plus verification is a legitimate strategy, and many equations cannot be solved in closed form at all — then physicists solve them numerically, step by step.

✗ A differential equation has a single solution.

It has a family of solutions; initial conditions select the physical one. Forgetting them leaves the answer undetermined.

✗ Derivatives in physics are just notation.

d²x/dt² = F/m is a claim about the world: the forces acting now fix how the motion curves now. The notation is the physics.

Real-world applications

  • Radioactive dating uses the decay solution N = N₀e^(−λt) to age archaeological finds and rocks.

  • Engineers simulate car suspensions by numerically integrating second-order equations for every bump.

  • Circuit designers predict how RC circuits charge and discharge using first-order equations.

  • Climate models are gigantic systems of differential equations stepped forward in time on supercomputers.

Frequently asked questions

What is the difference between a differential equation and a regular equation?

A regular equation solves for a number; a differential equation solves for a function. In 2x + 3 = 11 the unknown is the number 4. In dN/dt = −λN the unknown is the entire function N(t) — the complete history of the quantity, not one value.

What does 'order' mean, and why does it matter?

Order is the highest derivative present. First-order equations need one initial condition (like a starting amount); second-order need two (like starting position and velocity). In general, an nth-order equation's solution family has n free constants waiting for n pieces of starting data.

Do I have to solve every differential equation with pen and paper?

No — and professionals usually don't. Guessing a form and verifying it (as with the cosine above) is standard practice, and most real-world equations are integrated numerically by computer. The skill that matters is setting up the right equation and interpreting its solution.

Why is F = ma called a differential equation?

Because acceleration is the second time derivative of position, a = d²x/dt². So F = ma really reads m·d²x/dt² = F: a relation between the position function and its second derivative. Every trajectory ever computed from Newton's laws was a solution of this differential equation.