Lesson 9: What a Differential Equation Says
Equations That Involve a Derivative
A differential equation is an equation that involves a derivative. It describes how a quantity changes, rather than what the quantity is. The equation dy/dx equals 2x says that the slope of y at any point is twice the x-value there. The equation dy/dx equals k y says that the rate of change of y is proportional to y itself, which is the signature of exponential growth or decay. Reading a differential equation means asking what it says about the slope, and therefore about the shape of the solution.
The order of a differential equation is the highest derivative in it, and this course deals with first-order equations, which involve only dy/dx. A solution is a function that satisfies the equation everywhere, and a general solution has a constant in it, one constant for a first-order equation. An initial condition, such as y(0) equals 3, picks out one particular solution from the family. Without an initial condition there is a whole family of solutions, all with the same shape but shifted.
Worked example with a shifted equation: solve dy/dx equals 2 times y minus 3 with y(0) equals 5. Let u equal y minus 3, so du/dx equals dy/dx and the equation becomes du/dx equals 2u, with u(0) equals 2. The solution is u equals 2 e to the 2x, so y equals 3 plus 2 e to the 2x. The equilibrium is y equals 3, where the derivative is zero, and solutions above it grow away, because the derivative is positive there. The shift does not change the exponential shape, it only moves the equilibrium, and that is the general rule: an equation of the form dy/dx equals k times y minus a has solutions that approach or leave the value a exponentially, depending on the sign of k.
Verifying a Solution
To check whether a function solves a differential equation, differentiate it and substitute both the function and its derivative into the equation. If the two sides match, it is a solution. Worked example: does y equals 3 e to the 2x solve dy/dx equals 2y? The derivative is 6 e to the 2x, and 2y is 2 times 3 e to the 2x, which is also 6 e to the 2x, so it does. The same check with y equals 5 e to the 2x also works: the constant in front is fixed by the initial condition, not by the equation.
This check is a reliable way to answer questions that ask whether a given function is a solution, and it is also a way to catch your own errors after solving. If the two sides do not match, either the derivative is wrong or the function is not a solution. A common slip is to forget the chain rule when differentiating an exponential with a coefficient in the exponent, such as e to the 3x, whose derivative is 3 e to the 3x.
Growth, Decay and Proportional Change
The equation dy/dx equals k y is the most important in this course. Its solutions are exponentials: y equals C e to the k x. If k is positive, y grows; if k is negative, y decays. The constant C is the value of y when x is zero. Worked example: a population grows at a rate proportional to its size with k equal to 0.05 per year, starting from 100. Then y equals 100 e to the 0.05 t, and after 10 years it is 100 e to the 0.5, about 165. The doubling time is the natural log of 2 divided by 0.05, about 13.9 years.
The same equation describes radioactive decay, cooling, and the discharge of a capacitor, with a negative k. The key recognition is the phrase rate proportional to the amount present: whenever you see it, the model is dy/dx equals k y, and the solution is exponential. If the rate is proportional to the difference from a fixed value instead, such as cooling towards room temperature, the equation is dy/dt equals k times the difference, and the solution approaches the fixed value exponentially.
Key Terms
- Differential equation
- An equation involving a derivative, describing how a quantity changes.
- General solution
- The family of all solutions, containing a constant fixed by an initial condition.
- Particular solution
- The one solution that also satisfies a given initial condition.
- Initial condition
- A known value of the solution at one point, such as y(0) equals 3, used to find the constant.
- Order
- The highest derivative appearing in a differential equation.
- Exponential model
- The solution y equals C e to the k x of the equation dy/dx equals k y.
Discussion Questions
- What does a differential equation describe that an ordinary equation does not?
- Why does a first-order equation need exactly one initial condition?
- How do you recognise a situation that should be modelled by dy/dx equals k y?
Practice Questions
- Does y equals 3 e to the 2x solve dy/dx equals 2y?
- A population starts at 100 and grows with k equal to 0.05 per year. What is it after 10 years?
- What is the doubling time for that population?
- What is the general solution of dy/dx equals k y?
- What does an initial condition do?
Show answers
- Yes, because its derivative is 6 e to the 2x and 2y is also 6 e to the 2x.
- About 165, from 100 e to the 0.5.
- About 13.9 years, from the natural log of 2 divided by 0.05.
- y equals C e to the k x, where C is a constant.
- It picks one particular solution out of the general family.