Differential Equations: Definitions
A differential equation tells you how an unknown function changes, by tying it to its own derivatives, and solving it means finding that function. You never have to take a solution on faith: plug it in and see if the equation holds.
What the symbols mean
- Highest derivative
Its order n is the order of the equation.
- Forcing
Everything not involving y. If it's zero, the equation is homogeneous.
Explanation
A differential equation is simply an equation where the unknown is a whole function, and the equation tells you how that function changes. It's called "differential" because it's built from derivatives, and and , the pieces of the derivative , are called differentials. It's how scientists write down nearly every law about change. The general linear one in the formula box looks like a wall of symbols, but all it says is: take and some of its derivatives, up to (the th derivative, the highest one present), multiply each by a coefficient like (a number or a function of ), add them up, and set the total equal to (the outside push, which has no in it). It's just a few simple parts added together, so bear with it.
You've already met a few of these without the name. Newton's second law, , is a differential equation: it doesn't hand you the position , it tells you what its second derivative has to be. Population growth is another one: it says the population grows at a rate proportional to its current size. Most of physics, biology, economics and engineering is written this way, because it's usually much easier to say how something changes than to say what it is.
Vocabulary. There are a handful of words you'll see all course long. They're just ways of sorting equations by how hard they are and which methods work on them.
- Dependent and independent variable: the unknown function is the dependent variable, and what it's a function of is the independent variable. The letters don't matter, only the roles: in , the unknown function is , so is dependent and is independent.
- Ordinary (one independent variable) vs partial (several, with partial derivatives).
- Order: the highest derivative. is third order.
- Linear: and its derivatives appear only to the first power, not multiplied together or inside other functions. Their coefficients may depend on the independent variable. is linear; and are not.
- Homogeneous (for a linear equation): every term contains the unknown function or one of its derivatives. A leftover term with no in it, even a constant, makes it nonhomogeneous.
- Constant coefficients: the coefficients of are all constants. has constant coefficients; doesn't.
- Autonomous: the independent variable never appears on its own, as in or . Any lone , like in , makes it nonautonomous.
A common mistake. In , it's tempting to think the equation is nonlinear because of the multiplying and the on the right. It isn't. Linearity is only about how shows up. The is just a coefficient, and has no in it at all. What breaks linearity is doing something to itself, like squaring it in or putting it inside a sine in .
Solutions. A function is a solution if substituting it makes the equation true. Think about what that means for : any works, whatever is. That's typical. The general solution contains arbitrary constants (one per order). An initial value problem (IVP) adds conditions like that pin them down, and what you get is a particular solution.
Checking is easy. Plug the candidate in. That's how you'll verify every answer in this course.
See it
Worked examples
Show that solves , and find the solution with .
- 1
Differentiate and compare: . ✓
Practice
Type your answer and check it. Solve them all to complete the lesson.
What is the order of ?
Is linear?
Is a solution of ?
For which values of is a solution of ?
Find the solution of with .
A colony of bacteria grows at a rate equal to of its current size per hour. Write a differential equation for the population after hours, and solve it.
Classify , where is a constant (with ).
For which constant is a solution of the initial value problem , ?
For which values of is a solution of ? List all of them.
True or false: a second order, linear equation with constant coefficients must be autonomous.
True or false: a linear, autonomous equation must be homogeneous.
The hardest one here. Get it, and you've got this lesson.
Find the two powers for which solves . Then find the solution with and .
Where it's used
Every simulation, from weather forecasts to epidemics to the spring in a car's suspension, starts by writing down a differential equation for how things change.