Source
Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree
Modelling means turning a word problem into a first order ODE, then solving it.
Reading the words
- "rate of change" means a derivative
- "proportional to" means (a constant )
- inflow adds (positive), outflow subtracts (negative)
- "initially" gives the initial value at
- checking units helps to build and verify the equation
Exponential growth and decay
If a quantity changes at a rate proportional to its size:
is growth (populations), is decay. Radioactive decay is usually written with , so and the half-life is . The equation is both separable and linear.
Newton's law of cooling
The temperature changes at a rate proportional to the difference from the surroundings :
where is the temperature at and . It works for warming too.
Mixture problems
For = amount of salt in a tank:
where = initial volume + (inflow rate minus outflow rate) .
Worked example: mixing tank
A tank holds L of brine with g of salt. Brine with g/L flows in at L/min, and the mixed solution flows out at L/min. Find the salt after min.
Working:
- Rate in: g/min
- Volume: , so rate out
- Model: ,
This is linear with :
From : . So