Applications and initial-value problems
The reason differential equations matter outside the classroom is that nature respects rates. Whenever the rate of change of a quantity depends on the quantity itself , exponential growth, exponential decay, Newtonian cooling, mixing problems , you have a differential equation. This section is about modelling: translating a story into a DE, solving with the appropriate method, and applying the initial condition to pin down the constant.
Pattern 1: Growth and decay
"The rate of change of a quantity is proportional to the quantity itself."
Translation: where for growth and for decay. Separable. Solution: .
Examples: population growth (when resources are abundant), radioactive decay (with ), bacterial cultures, compound interest. The doubling time for growth is ; the half-life for decay is .
Pattern 2: Newton's law of cooling
"The rate of cooling of a body is proportional to the difference between its temperature and the surroundings' temperature."
Translation: , with and .
This is separable: . Solution: .
As , , as expected. The constant is determined by additional data (e.g. the temperature at one specific time).
Pattern 3: Mixing problems
A tank holds litres of brine with kilograms of salt at time . Brine of concentration flows in at L/min, and well-mixed brine flows out at L/min.
Rate of salt in . Rate of salt out , where .
If , volume is constant, and the DE is linear with constant coefficients. If they differ, is linear in , and the DE is linear with variable coefficients , but still linear, so the integrating-factor method applies.
Pattern 4: RC and RL circuits
A capacitor of capacitance in series with a resistor and a voltage source : . Linear in , integrating-factor method.
A coil of inductance in series with and voltage source: . Linear in .
Pattern 5: Bacterial doubling and radioactive half-life
If a population doubles in time , then , so . Similarly half-life: .
Worked examples
Example 1. A population of bacteria doubles every 3 hours. Find its size after 10 hours if initially there are bacteria.
Model: , so . Doubling: . At : .
Example 2. A body cools from to in minutes in a environment. What temperature does it reach after minutes?
Newton's cooling: (since ). At : . So . Hence .
Example 3. A radioactive substance has a half-life of years. How long does it take to decay to of its initial mass?
with . Solve years.
Example 4. A tank contains L of brine with kg salt. Fresh water enters at L/min, and the mixture leaves at L/min. Find the amount of salt at time .
Volume constant at L. Salt in . Salt out . So . Solution: .
Example 5. A curve passes through and at every point its slope is . Find the equation of the curve.
DE: . Separable. Solution . Apply IC: , so . Curve: .
Example 6. A curve in the first quadrant has the property that the slope at any point equals , and passes through . Find it.
DE: . Homogeneous. Substitute : , so , integrate: , hence . Apply IC: , so . Curve: .
Try it yourself
- A bacterial culture doubles in 4 hours. How many will there be in 12 hours if it starts with ?
- A radioactive isotope has half-life 7 days. After 21 days, what fraction remains?
- Newton's cooling: a cup of coffee at cools to in 5 minutes (room ). Find at min.
- A tank of L brine, initially salt-free, has brine of concentration kg/L flowing in at L/min and mixture out at L/min. Find .
- Find the curve passing through with .
- A curve in the first quadrant passes through and has slope . Find it.
- Money grows at per year compounded continuously. Time to triple?
- A snowball melts at a rate proportional to its surface area. If is volume and surface area, model . (Use , , so leads to a DE for .)
- A tank of L contains pure water. Brine of kg/L flows in at L/min; mixture out at L/min. Find until the tank is empty.
- A curve has the property that the tangent at any point passes through . What is the curve? (Hint: form a DE.)
- The half-life of carbon-14 is years. A bone has of its original carbon-14. Estimate its age.
- An RL circuit: (constant). Solve with .
- The slope of a curve at equals minus . Find the family of curves.
- A population of fish in a lake follows (logistic-like, but linear). Find if .
Pitfalls and tricks
- Translate carefully. Read the problem, identify the rate and what it's proportional to, and write the DE before solving.
- Pick the right method. Most growth/decay/cooling problems are separable. Mixing problems with non-constant volume often need integrating factor.
- Apply IC last. Solve the general form, then substitute initial values.
- Check units. Make sure rates and times are in consistent units.
- Sanity check the answer. As , does the solution behave physically? Growth diverges, cooling approaches ambient, mixing approaches the inflow concentration. If your answer says otherwise, suspect an error.