🔥 JEE Main 2027 Session 1 is in January — start the JEE Mains Physics Test Series →

CLASS 11 · MATHEMATICAL TOOLS

Integration & Differential Equations

Integration turns a rate into a running total: velocity into displacement, force into work, current into charge. Differential equations go the other way first, by writing down how a quantity's own rate of change depends on the quantity itself, and that single move is what makes SHM oscillate, radioactive nuclei decay, and a pendulum swing.

01 · See it

Watch it happen

dN/dt = −λN
36.79
N(t)
-18.39
dN/dt

Check it yourself: dN/dt here always comes out to exactly −λ times N(t) above, at every t you drag to. That self-referential relationship, the rate of loss depending only on how much is left, is the entire content of the decay law, before you ever solve for N(t).

Toggle between decay and SHM and watch the readout grid: in decay mode, dN/dt always works out to −λ times the current N(t); in SHM mode, d²x/dt² always works out to −ω² times the current x(t). Same kind of self-referential statement, different order of derivative, completely different long-run behaviour.

02 · Derive it

Where it comes from

The Reading Physics Graphs page already established the two moves: slope is differentiation, area is integration, and they’re inverse operations of each other. This page is about putting the area side to work on real physical quantities, and about what happens when a quantity’s rate of change depends on the quantity itself.

Displacement from velocity. Velocity is the slope of a displacement-time graph, v=dx/dtv = dx/dt. Running that backwards, displacement is the area under a velocity-time graph, found by integrating velocity over time:

Displacement from velocity
x(t)=x0+∫t0tv(t) dtx(t) = x_0 + \int_{t_0}^{t} v(t)\,dt

Take a concrete case: v(t)=2+6tv(t) = 2 + 6t (m/s), starting from x0=0x_0 = 0 at t=0t=0. Integrating term by term:

x(t)=∫0t(2+6t′) dt′=[2t′+3t′2]0t=2t+3t2x(t) = \int_0^t (2 + 6t')\,dt' = \left[2t' + 3t'^2\right]_0^t = 2t + 3t^2

At t=3 st = 3\text{ s}, this gives x(3)=6+27=33 mx(3) = 6 + 27 = 33\text{ m}, the exact area under the straight line v(t)v(t) from 0 to 3 seconds, no need to split it into a rectangle-plus-triangle by hand.

Work from force. The same logic applies whenever a varying force acts over a displacement. Work is the area under a force-displacement graph:

Work from a position-dependent force
W=∫x1x2F(x) dxW = \int_{x_1}^{x_2} F(x)\,dx

For instance, a spring’s restoring force is F(x)=−kxF(x) = -kx, so the work done against the spring in stretching it from 00 to xx is:

W=∫0xkx′ dx′=[kx′22]0x=12kx2W = \int_0^x kx'\,dx' = \left[\dfrac{kx'^2}{2}\right]_0^x = \dfrac{1}{2}kx^2

That’s exactly the spring potential energy formula, and here it falls straight out of integrating the force, rather than being handed to you as a rule to memorise.

Charge from current. Current is already defined as a rate, charge flowing per unit time, I=dQ/dtI = dQ/dt. So total charge delivered is the area under a current-time graph:

Charge from current
Q=∫t1t2I(t) dtQ = \int_{t_1}^{t_2} I(t)\,dt

If a wire carries I(t)=3t2−2t+1I(t) = 3t^2 - 2t + 1 (A) starting from t=0t=0, the charge delivered by t=4 st = 4\text{ s} is:

Q=∫04(3t2−2t+1) dt=[t3−t2+t]04=64−16+4=52 CQ = \int_0^4 (3t^2 - 2t + 1)\,dt = \left[t^3 - t^2 + t\right]_0^4 = 64 - 16 + 4 = 52\text{ C}

Now the other direction: differential equations. Instead of integrating a known rate to get a total, sometimes physics hands you an equation relating a quantity to its own derivative, and you have to work out what function could possibly satisfy it.

Radioactive decay is the cleanest example. The number of undecayed nuclei falls at a rate proportional to how many are left (more nuclei around means more decays per second, fewer means fewer):

The decay differential equation
dNdt=−λN\dfrac{dN}{dt} = -\lambda N

This is first-order (only a first derivative appears) and the quantity’s rate of change is proportional to the quantity itself with a negative sign, which is exactly the signature of exponential decay, worked through in full on the Nuclei chapter notes. The point here is just to recognise the shape: rate proportional to the remaining amount, negative sign, first derivative only.

SHM looks similar but isn’t. A mass on a spring feels a restoring force F=−kxF = -kx, and Newton’s second law relates force to acceleration, the second derivative of position:

The SHM differential equation
md2xdt2=−kx⟹d2xdt2=−ω2x,  ω2=kmm\dfrac{d^2x}{dt^2} = -kx \quad\Longrightarrow\quad \dfrac{d^2x}{dt^2} = -\omega^2 x,\ \ \omega^2 = \dfrac{k}{m}

A first-order equation like decay’s can only ever shrink toward zero or grow away from it, it has no way to turn around. SHM needs a restoring acceleration, not a restoring rate, so that overshoot and oscillation become possible: the object doesn’t slow its approach to equilibrium and stop there, it accelerates straight through it. That’s why the spring-mass system above is second-order while decay is first-order, and it’s the same reasoning (force proportional to displacement) that the Oscillations chapter builds its whole treatment of SHM on.

A pendulum starts from the same kind of reasoning but with a complication. Gravity supplies a restoring torque proportional to sin⁡θ\sin\theta, not to θ\theta itself:

The exact pendulum equation
d2θdt2=−gLsin⁡θ\dfrac{d^2\theta}{dt^2} = -\dfrac{g}{L}\sin\theta

That sin⁡θ\sin\theta makes this equation genuinely hard to solve in closed form. But for small swings, the small-angle approximation sin⁡θ≈θ\sin\theta \approx \theta (valid once θ\theta is small and measured in radians) turns it into:

The small-angle (SHM) pendulum equation
d2θdt2≈−gLθ\dfrac{d^2\theta}{dt^2} \approx -\dfrac{g}{L}\theta

which is exactly the SHM form again, with ω2=g/L\omega^2 = g/L. The approximation isn’t a minor simplification tacked on at the end, it’s the single step that converts an unsolvable equation into a solvable one, and it’s why a pendulum’s period formula only holds for small amplitudes.

03 · Break it

Where the shortcut stops working

Dropping the constant of integration is the most common slip. ∫v dt\int v\,dt gives you a displacement relative to wherever you started, not an absolute position, unless you fix the constant using the actual starting condition x(t0)=x0x(t_0) = x_0. Two problems with identical velocity functions but different starting positions have integrals that differ only in this constant, and skipping it silently throws that difference away.

Calling every periodic motion “SHM” is another common shortcut that breaks. Periodic just means it repeats; SHM is the much stronger, specific statement that the restoring acceleration is proportional to displacement and points back toward equilibrium (d2x/dt2=−ω2xd^2x/dt^2 = -\omega^2 x). A bouncing ball under gravity is periodic but not SHM (the acceleration is constant, not proportional to height); a pendulum at large amplitude is periodic but not exactly SHM either, for the reason below.

Trusting the small-angle approximation at large amplitude is the pendulum-specific version of that mistake. Once θ\theta grows large enough that sin⁡θ\sin\theta and θ\theta visibly part ways (beyond roughly 15–20°), the real equation’s period starts increasing with amplitude, something the SHM formula T=2πL/gT = 2\pi\sqrt{L/g} flatly cannot capture, since it has no amplitude dependence at all.

Finally, treating an average value as a substitute for the integral only works when the underlying quantity is constant. Q=Iavg×ΔtQ = I_{\text{avg}} \times \Delta t and Q=∫I dtQ = \int I\,dt agree only because that’s the definition of the average for a varying current; if you instead guess at an “average” current without actually computing 1Δt∫I dt\frac{1}{\Delta t}\int I\,dt, there’s no guarantee your guess matches the true area under the curve.

04 · Master it

Apply it under exam conditions

A wire carries a time-varying current I(t)=3t2−2t+1I(t) = 3t^2 - 2t + 1 (in amperes, tt in seconds). Find the total charge that flows through the wire between t=0t = 0 and t=3 st = 3\text{ s}.

Charge is the area under the current-time graph, so integrate I(t)I(t) over the given interval:

Q=∫03(3t2−2t+1) dtQ = \int_0^3 (3t^2 - 2t + 1)\,dt

Integrate term by term, raising each power by one and dividing by the new power:

Q=[3t33−2t22+t]03=[t3−t2+t]03Q = \left[\dfrac{3t^3}{3} - \dfrac{2t^2}{2} + t\right]_0^3 = \left[t^3 - t^2 + t\right]_0^3

Now substitute the limits:

Q=(33−32+3)−(0−0+0)=(27−9+3)−0=21 CQ = (3^3 - 3^2 + 3) - (0 - 0 + 0) = (27 - 9 + 3) - 0 = \textcolor{#e08a1e}{21\text{ C}}

Cross-check: I(t)I(t) rises from I(0)=1 AI(0) = 1\text{ A} to I(3)=27−6+1=22 AI(3) = 27 - 6 + 1 = 22\text{ A}, so an average current somewhere between those (here, working out to 21/3=7 A21/3 = 7\text{ A}) is plausible for a curve that starts low and climbs steeply, since most of the area piles up in the final second where I(t)I(t) is largest.

05 · FAQs

Quick answers

Why does radioactive decay need a differential equation at all?+

Because the rate of decay depends on how much radioactive material is left right now, not on a fixed external schedule. That self-referential statement, dN/dt proportional to N itself, is a differential equation by definition: an equation relating a function to its own derivative. Solving it is what produces the exponential N(t) = N₀e^(−λt), but the physics is already fully stated the moment you write dN/dt = −λN.

Why is SHM a second-order differential equation instead of first-order?+

Because the defining feature of SHM is a restoring force proportional to displacement (F = −kx), and force relates to position through acceleration, a second derivative: m(d²x/dt²) = −kx. A first-order equation (rate proportional to the quantity itself) only ever grows or decays monotonically; it can never swing back through zero the way an oscillator does. You need the second derivative to get a term that opposes displacement rather than opposing the rate of change.

Is a pendulum's swing exactly SHM?+

No. The exact equation of motion for a pendulum, d²θ/dt² = −(g/L)sinθ, isn't solvable in terms of simple functions because of the sinθ. Only when θ stays small do we approximate sinθ ≈ θ (in radians), which turns the equation into d²θ/dt² = −(g/L)θ, exactly the SHM form. The small-angle approximation isn't a rounding convenience, it's what makes the pendulum SHM at all.

What happens if I forget the constant of integration?+

You get a family of answers collapsed into one, with no way to tell which member of that family actually matches your physical situation. Indefinite integration always introduces a '+C', and you only pin C down using an initial condition (position at t=0, charge already on a capacitor, and so on). Drop it, and two displacement calculations that should differ by a constant offset will look identical, even though one object started from rest at the origin and the other didn't.

Why can't I just multiply average current by total time to get charge, the way I multiply constant velocity by time to get displacement?+

That shortcut only works when the quantity being multiplied is constant. The moment current varies with time, as it almost always does in a real circuit, you're really computing the area under a curve that isn't a flat rectangle, and only Q = ∫I dt sums that area correctly. Average current times time happens to give the same answer only because it's secretly the same integral in disguise, for the special case of a current that never changes.