JOVANA
Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

What Is a Differential Equation?

An ordinary equation asks 'what number?'; a differential equation asks 'what function?'. Here is what that shift means, why so much of the world speaks this language, and what it means to solve one.

From 'what number?' to 'what function?'

In all the algebra you have met so far, an equation hides a number. Solve x^2 - 5x + 6 = 0 and you find x = 2 or x = 3 — two values that make the statement true. A differential equation changes the prize. Now the unknown is not a number but a whole function, and the equation is a sentence about that function and its rate of change. Instead of 'find the number x', it asks 'find the function y(x) whose slope behaves like this'.

The simplest example you can already half-solve from your calculus class: dy/dx = 2x. This says 'I am looking for a function whose slope at every point x equals 2x'. You know one such function — y = x^2, because its derivative is exactly 2x. But so is y = x^2 + 1, and y = x^2 - 7. The single equation has not one answer but a whole family of them, differing by a constant. That multiplicity is not a flaw; it is the defining feature of the subject, and we will tame it later with an extra condition.

The anatomy of the equation

Every differential equation has a cast of two characters. One is the independent variable — the thing you are free to dial, usually x (a position) or t (time). The other is the dependent variable — the unknown function whose values ride along, written y or y(t), because its value depends on where you set the independent one. Keeping these two roles straight is the first habit of the trade; the whole grammar of dependent and independent variables rests on it.

When there is exactly one independent variable, so the only derivatives are ordinary ones like dy/dx, we call it an ordinary differential equation, or ODE — the subject of this whole ladder. If the unknown function depends on several variables at once (say temperature varying in both space and time), you get partial derivatives instead and a partial differential equation. PDEs are a richer, harder world we leave for later; here, one independent variable is the rule.

dy/dx = 2x            (ODE: one variable, x)
m*y'' + b*y' + k*y = 0  (ODE: y is a function of t)
du/dt = c * d^2u/dx^2    (PDE: u depends on x AND t)
One independent variable gives an ODE; two or more give a PDE. This ladder lives in the first line and a half.

Why the world is full of them

Differential equations are everywhere because nature rarely tells you a quantity directly — it tells you how that quantity is changing. A thermometer does not announce tomorrow's temperature; physics tells you the rate at which a hot cup cools. A bank does not hand you next year's balance; it gives you the rate at which interest accrues. Whenever a law of nature or a rule of a system relates a quantity to its own rate of change, you have written a differential equation, often without noticing.

The most famous example is the law of exponential growth and decay, dy/dt = k y: 'the rate of change is proportional to how much you have'. Money compounding, a bacterial colony, a chunk of radioactive rock — all obey this one short sentence. Newton's second law, F = m a, is secretly a differential equation too, because acceleration a is the second derivative of position. The reason ODEs deserve a whole ladder of study is that this pattern — define a thing by its rate of change — is how an astonishing share of science is actually written down.

What does it mean to solve one?

A solution of an ODE is a function that, when you plug it in along with its derivatives, makes the equation a true statement for every value of the variable. Crucially, you do not need to know where a candidate came from to check it: substitute, differentiate, and see whether the two sides match. This act of plugging in and confirming is called verifying a solution by substitution, and it is the one move in this entire subject that is never in doubt.

Take dy/dt = k y and the proposed solution y(t) = C e^(kt), where C is any constant. Differentiate: y'(t) = C k e^(kt) = k * (C e^(kt)) = k y(t). The left side equals the right side for every t and every C — so it genuinely solves the equation. Notice the constant C again: just as with dy/dx = 2x, there is a whole one-parameter family of solutions, and only an extra fact ('the colony started at 1000 cells') can pin down which one is yours.

First glimpses: order, families, and one chosen curve

Two ideas peek over the horizon already and will fill the next guides. The first is order: the order of an equation is simply the highest derivative that appears. dy/dx = 2x is first order; the spring equation m y'' + b y' + k y = 0 is second order because of that y''. Order roughly measures how much memory a system has, and it controls how many constants its solution family carries — first order brings one constant, second order brings two.

The second idea answers the nagging constant. To select one curve out of the infinite family, you supply a starting value — say y(0) = 1000. An equation paired with such a condition is an initial value problem, and it is what real problems almost always look like: a law of change plus a known starting point. Geometrically, the family of solutions is a stack of non-crossing curves filling the plane, and the initial condition just names the one point your curve must pass through.

That geometric picture is no accident, and it gives a way to understand a differential equation before solving anything. The equation dy/dx = f(x, y) assigns a slope to every point of the plane; sketch a tiny tangent dash at each point and you get a slope field, with the solutions threading through it like streamlines. Order, families, the initial value problem, and that slope-field picture are exactly the four ideas the rest of this rung unfolds — you have now met every one of them in miniature.