Applications of Differential Equations
A differential equation is not really about and — it is a statement about change. It says: "the rate at which this quantity changes right now depends on how much of it there is right now." That single idea turns out to describe cooling coffee, spreading rumors, charging capacitors, decaying isotopes, vibrating bridges, and shrinking populations of fish. When you learn to read a physical situation and translate "the rate of change is proportional to ..." into an equation, you gain one of the most powerful modeling tools in all of science.
This page walks through four of the classic, must-know applications — logistic population growth, Newton's law of cooling, RC electrical circuits, and mechanical vibrations — and shows you not just the formulas but why each equation looks the way it does and how to solve it end to end.
Learning Objectives
- Translate a described physical process ("rate of change is proportional to...") into a differential equation.
- Set up and solve the logistic growth model and interpret the carrying capacity.
- Apply Newton's law of cooling to temperature problems and find unknown times.
- Model RC circuits and compute charging/discharging behavior and time constants.
- Set up the equation for mechanical vibrations and classify the motion (undamped, under-, over-, and critically damped).
- Recognize the shared mathematical structure behind physically different phenomena.
Quick Answer
Differential equations model any system where change depends on the current state. Logistic growth, , describes populations that grow fast when small but level off at a carrying capacity . Newton's law of cooling, , says an object's temperature approaches its surroundings exponentially. RC circuits obey , giving exponential charging and discharging governed by the time constant . Mechanical vibrations follow , a second-order equation whose damping term decides whether the system oscillates. The remarkable lesson is that these four unrelated fields share the same handful of equation types.
Where It Came From
The story begins with Isaac Newton and Gottfried Leibniz in the late 1600s. Newton did not invent calculus for its own sake — he invented it because he needed to describe motion. To state his second law, , precisely, he needed a language for instantaneous rate of change, and acceleration is literally the second derivative of position. From the very start, then, calculus and differential equations were the native language of physics.
Through the 1700s a spectacular generation of mathematicians — the Bernoullis, Leonhard Euler, Joseph-Louis Lagrange, and Pierre-Simon Laplace — realized that almost every physical law, once stated as "this rate depends on that quantity," became a differential equation. Euler's work on vibrating strings and beams, and later Jean le Rond d'Alembert's wave equation, showed that the same mathematics governed sound, elasticity, and fluid flow. Newton himself, in Principia, effectively used the law of cooling in his study of how bodies lose heat.
The nineteenth century made the language universal. When physicists needed to describe heat (Fourier), electricity and magnetism (Maxwell), and later quantum systems (Schrödinger), each of them arrived at a differential equation. The logistic equation came from a different need: in 1838 the Belgian mathematician Pierre François Verhulst was dissatisfied with Thomas Malthus's prediction of unlimited exponential population growth, which clearly could not continue forever. Verhulst added a braking term to capture the finite resources of the real world. The deep reason differential equations became the core language of engineering and physics is simple: nature's laws are almost never about how much there is, but about how fast it changes — and that is exactly what a derivative expresses.
Logistic Population Growth
Pure exponential growth, , assumes each individual reproduces at the same rate no matter how crowded things get. Real populations run into limited food, space, and other resources. Verhulst's fix multiplies the growth rate by a factor that shrinks as the population approaches a maximum sustainable size , called the carrying capacity:
When is small, and growth is nearly exponential. As , the bracket and growth stalls. The solution (by separation of variables and partial fractions) is the S-shaped logistic curve:
Worked example. A fish population in a lake has carrying capacity , intrinsic growth rate per year, and starts at . Find the population after 5 years.
First, . Then
Since , the denominator is , so
The population has more than quadrupled but is nowhere near yet — it is in the steepest part of the S-curve.
Newton's Law of Cooling
Newton observed that a hot object loses heat at a rate proportional to how much hotter it is than its surroundings. If is the object's temperature and the (constant) ambient temperature:
The minus sign encodes that a hotter object () cools down. Separating variables gives the solution:
The temperature difference decays exponentially; the object asymptotically approaches room temperature.
Worked example. A cup of coffee at sits in a room. After 5 minutes it has cooled to . When will it reach ?
Here , , so . Use the 5-minute data to find :
So , giving per minute. Now solve for the time when :
Then , so minutes. The coffee reaches about 18 to 19 minutes after it was poured.
RC Electrical Circuits
A resistor () and capacitor () in series with a voltage source is one of the most important circuits in electronics. Kirchhoff's voltage law says the source voltage equals the sum of the voltage drops across the resistor () and the capacitor (). Because current is the rate of change of charge, :
This is a first-order linear ODE. For a capacitor charging from toward a battery voltage , the solution is:
The quantity is the time constant: after one the capacitor reaches about of full charge; after it is over charged, effectively "full." For discharging (no source, initial charge ), the equation becomes with solution .
Worked example. A circuit has , , and a battery. The time constant is
The final charge is . After (one time constant):
about , which is indeed of the full .
Mechanical Vibrations
A mass on a spring is the archetype of oscillation. Newton's second law balances three forces: the spring's restoring force (, Hooke's law), a damping (friction) force proportional to velocity (), and any external driving force :
This second-order linear ODE governs an enormous range of systems: car suspensions, building responses to earthquakes, and even electrical LC circuits (which are mathematically identical). The behavior depends entirely on the damping, judged by the discriminant of the characteristic equation :
- Undamped (): pure sinusoidal oscillation forever at natural frequency .
- Underdamped (): oscillation with decaying amplitude — a car door swinging shut with a couple of bounces.
- Critically damped (): returns to rest as fast as possible without oscillating — the design goal for a good shock absorber.
- Overdamped (): returns to rest slowly, no oscillation — like a screen door with a heavy closer.
Worked example (undamped). A mass on a spring with stiffness , no damping, is pulled and released from rest. The equation is , i.e. . The natural frequency is . With and , the solution is
The mass oscillates with amplitude and period , returning to its starting position every seconds.
Real-World Applications
- Epidemiology. The logistic equation and its cousins (SIR models) predict how diseases spread and level off, guiding vaccination targets.
- Pharmacology. Drug concentration in the bloodstream decays much like Newton's cooling, setting safe dosing intervals.
- Forensic science. Investigators use Newton's law of cooling on a body's temperature to estimate time of death.
- Electronics and signal processing. RC circuits form the timing elements in clocks, filters that remove noise, and the smoothing stages of power supplies.
- Structural and automotive engineering. Vibration analysis prevents resonance disasters (like the Tacoma Narrows Bridge) and tunes suspensions toward critical damping for a smooth, safe ride.
- Ecology and fisheries management. Carrying-capacity models set sustainable harvest quotas.
Common Mistakes
-
Confusing exponential with logistic growth. Misconception: populations grow exponentially forever. Why wrong: resources are finite, so growth must slow. Correction: use the logistic model when there is a carrying capacity; exponential is only a good approximation while .
-
Getting the sign wrong in cooling. Misconception: writing with a plus sign. Why wrong: that predicts a hot object gets hotter, which is nonsense. Correction: the rate must be negative when , so the equation is with .
-
Mishandling units in RC circuits. Misconception: plugging in when the capacitance is . Why wrong: microfarads are ; using raw numbers inflates by a million. Correction: always convert to base SI units (farads, ohms, seconds) before computing .
-
Assuming vibrations always oscillate. Misconception: a mass-spring system always bounces. Why wrong: enough damping () kills all oscillation. Correction: check the discriminant before deciding whether the solution has a / part.
Comparison and Connections
Although these phenomena come from biology, thermodynamics, electronics, and mechanics, their equations rhyme. The first three are first-order; vibrations is second-order, which is why only it can oscillate on its own.
| Application | Governing equation | Order | Typical behavior |
|---|---|---|---|
| Logistic growth | 1st (nonlinear) | S-curve to | |
| Newton cooling | 1st (linear) | Exponential decay to | |
| RC circuit | 1st (linear) | Exponential charge/discharge | |
| Vibrations | 2nd (linear) | Oscillation, possibly damped |
Notice that cooling and the discharging RC circuit are the same equation, , wearing different physical clothes. This is the great economy of differential equations: master a handful of equation types and you understand dozens of fields.
Practice Questions
Recall
State the logistic differential equation and identify what and represent.
Answer: ; is the intrinsic (small-population) growth rate and is the carrying capacity, the maximum sustainable population.
Understanding
Explain why Newton's law of cooling has a negative sign but the temperature never goes below the surroundings.
Guidance: The factor shrinks toward zero as . When the rate is zero, so cooling stops exactly at ambient — the object asymptotes to rather than overshooting.
Application
A capacitor with and discharges from . Find the charge after .
Answer: . So .
Analysis
A mass sits on a spring with . What damping coefficient makes the system critically damped, and why might an engineer want exactly this value?
Answer: Critical damping needs , so . Engineers target it because the system then returns to equilibrium in the shortest possible time with no overshoot — ideal for shock absorbers and instrument needles.
FAQ
Do I always have to solve the differential equation to use it? No. Often the equation itself answers the question — for example, setting finds equilibrium populations ( or ) without any integration.
Why is called a "time constant" — it's a product of ohms and farads, not seconds? Work out the units: ohms farads (volts/amp) (coulombs/volt) coulombs/amp seconds. The units genuinely come out to time.
How do I know whether to use exponential or logistic growth? If the population is far below any resource limit and you only need a short-term forecast, exponential is fine. If you care about long-term behavior or the population is a sizeable fraction of , use logistic.
What's the difference between the damping cases in real life? Underdamped bounces a few times (a plucked guitar string). Critically damped snaps to rest fastest without bouncing (a good car shock). Overdamped oozes back slowly (a hydraulic door closer set too stiff).
Why does the same equation describe cooling and a discharging capacitor? Both are systems where the rate of decrease is proportional to the current amount — . Nature reuses this pattern constantly, which is exactly why learning ODEs pays off across so many subjects.
Quick Revision
- Logistic: , solution , .
- Cooling: , solution .
- RC charging: ; discharging: ; time constant .
- Vibrations: ; natural frequency ; critical damping at .
- Cooling and RC discharge are both — pure exponential decay.
Related Topics
Prerequisites
Related Topics
Next Topics
- Laplace Transforms
- Systems of differential equations and predator-prey models