Chapter 17 · Ordinary Differential Equations
17.01
First-Order Differential Equations
A differential equation relates a function to its derivatives. Solving one means finding every function that fits; an initial condition picks out one.
About 13 minutes
You'll learn to
- →Identify the order of a differential equation and whether it is linear
- →Check whether a function is a solution
- →Use an initial condition to find a particular solution
- →Recognize common models: growth, cooling, motion
Watch
Want another explanation? Search YouTube for “First-Order Differential Equations”
Lesson
A differential equation is an equation involving an unknown function and its derivatives. Instead of asking "which number?", it asks "which function?". For example,
asks for every function whose derivative is twice itself. (The answer: for any constant .)
When the unknown is a function of one variable, it's an ordinary differential equation (ODE). Equations with partial derivatives are partial differential equations (PDEs), the subject of Chapter 18.
Order
The order is the highest derivative that appears.
| Equation | Order |
|---|---|
| 1 | |
| 2 | |
| 3 |
Checking a solution
To check that a function solves an equation, substitute it. Is a solution of ? Its derivative is , which is . Yes.
Is a solution of ? , so . Yes.
General and particular solutions
A first-order equation usually has a whole family of solutions with one arbitrary constant: the general solution. Here are a few members of the family for , drawn on its slope field (a short segment of slope at each point; more in 17.05):
An initial condition such as picks out one curve: , so and . The equation plus the condition is an initial value problem (IVP), and its answer is a particular solution. An th-order equation needs conditions, typically .
Linear equations
An equation is linear if and its derivatives appear only to the first power, multiplied by functions of :
It's homogeneous if . So is linear; and are not. Linear equations have a complete theory (17.03, 17.06–17.08); nonlinear ones often need numerical methods (17.05).
Where they come from
Laws of nature usually say how something changes, which is a differential equation.
| Model | Equation |
|---|---|
| growth or decay at a rate proportional to size | |
| Newton's law of cooling (room temperature ) | |
| falling with air resistance | |
| logistic growth up to a capacity | |
| a mass on a spring |
A constant solution is an equilibrium: for cooling, (the coffee that's already at room temperature stays there).
One solution, and only one
Existence and uniqueness. If and are continuous near , the problem , has exactly one solution near . So solution curves never cross, which is why the curves above stack neatly.
Practice
7 practice problems with instant feedback, hints and worked solutions.
Sign up free to practice