Introduction to differential equations
What is an ODE
Describing change through derivatives; existence and uniqueness of solutions.
about 8 min
Start from a problem
A cup of hot water cools on a table. We do not know the temperature function ; we only know the law of its change: it cools at a rate proportional to how far it is above room temperature.
Many laws of nature come this way: not the quantity itself, but a relation between its rate of change and its value. We need a mathematical object to express such laws, and a way to recover the function from the law.
A cup of hot water sits on a table. It does not cool at a constant rate: fast while hot, slowly as it nears room temperature. We do not know the temperature as a function of time, , but we do know the law of its change:
In the experiment below choose "Exponential growth", make negative and vary the initial value. What you see are solutions of this kind of equation.
Many natural laws do not hand us the quantity itself but a relation between its rate of change and its value. Such a relation is an equation containing an unknown function and its derivatives. If we can recover the function from the equation, we can predict the future.
Definitions
An ordinary differential equation (ODE) of order is an equation for an unknown function of one variable. The order is the highest derivative that appears. If it can be solved for that derivative, , the equation is explicit.
A function on an interval is a solution if substituting makes the equation hold for every . An initial value problem adds (for order , the values of at ).
If the equation can be written , so that and its derivatives appear only to the first power and never multiplied together, it is linear; if it is homogeneous.
is third order and nonlinear (because of ). Order and linearity are independent attributes.
Derivation: the simplest equation
The solutions of are exactly , .
is a solution by direct differentiation. Conversely let be any solution and set . Then so is a constant and .
We used the central fact from The derivative, and that a function with zero derivative is constant (a corollary of the mean value theorem). The initial condition fixes .
Back to the cooling cup: with , , so and
Existence and uniqueness
An equation only states a law. Must it have a solution? Is the solution unique? These questions decide whether "predicting the future with a differential equation" is legitimate.
Let be continuous on the rectangle and Lipschitz in : there is with . Then the initial value problem has a unique solution on some neighbourhood of .
We prove uniqueness, which shows what the Lipschitz condition is for. Let be solutions and . Integrating the equation (see The integral) gives and likewise for , so for Let . Then and , so : is non-increasing, starts at and is non-negative, hence and .
Existence is obtained by Picard iteration and a uniform convergence argument; this is one of the roots of Numerical solutions.
. Both and (for ) are solutions. is not Lipschitz near .
The general solution of is , not . Where the constant goes is dictated by the derivation: here comes from " is constant". Also, the existence–uniqueness theorem guarantees only a local solution; the solution of blows up at .
Application
satisfies the theorem and has the unique local solution , which blows up at . The theorem guarantees a local solution. This is the first exercise of First-order equations.
Three levels of working with differential equations: modelling (writing the law), solving (finding the function), analysis (knowing things without solving). Existence and uniqueness belongs to the third level: under broad conditions, the present state completely determines the future. This is the mathematical form of Newtonian determinism.