Differential EquationsModeling with First-Order Equations1 of 6
Modeling with First-Order Equations · 1
Exponential Growth and Decay
Many things in nature, like a colony of bacteria or a dose of medicine in the bloodstream, change at a speed that depends on how much is currently there, and we want an equation for the amount y at any time t.
1
Proportional Change: dtdy=ky
Instead of changing by the same fixed amount every hour, a population of cells or a decaying substance changes at a speed that is proportional to how much is there right now.
Proportional Change: dy/dt = ky
Each individual cell dividing or atom decaying has the same continuous rate k, so multiplying k by the total amount y gives the rate of change for the whole group:
rate of changedtdy=continuous ratek⋅current amounty
When the amount grows, dtdy is positive, so k>0. When the amount shrinks, dtdy is negative, so k<0.
2
From dtdy=ky to y=y0ekt
Now we want to turn this rule about speed into a formula that gives the amount y at any time t:
dtdy=ky⟶y(t)=?
From dy/dt = ky to y = y₀eᵏᵗ
dtdyy(t)=k⋅y=?
Because y is part of its own rate of change, we need a function whose derivative gives back the same function multiplied by k. Separating the variables shows why base e works here:
Divide by y and multiply by dt to separate the variables. Grouping y on the left and t on the right puts y1dy on one side and time on the other.
∫y1dy=∫kdt
Integrate both sides.
ln∣y∣=kt+C
Raise e to both sides and split the exponent. Since y is an amount, it is positive, so ∣y∣=y. Using the exponent rule ea+b=ea⋅eb turns the added constant +C in the exponent into a constant multiplier eC in front, which we call A.
y=ekt+C=eC⋅ekt=Aekt
Plug in t=0 to find the front constant. Since ek(0)=1, the constant in front is simply the starting amount at t=0, which we write as y0.
y(0)=A⋅e0=A
This gives the formula for exponential growth and decay:
y=starting amountat t=0y0multiplierekt
At every point along y=y0ekt, the tangent slope dtdy grows right along with the current height y. Doubling the height doubles the steepness, so the curve keeps bending upward instead of following a straight line.
Watch how the slope grows in lockstep with the height, bending the curve upward away from any straight-line path.
3
Solving a Growth Problem
The equation y=y0ekt has two unknown constants, y0 and k, so we need two measurements to find the formula for a specific population.
Example: A dish starts with 500 bacteria at t=0. At t=2 hours, there are 1,500 bacteria. How many bacteria will there be at t=5 hours?
Solving a Growth Problem
Text solution
Use the t=0 measurement for the starting amount y0 Because the dish starts with 500 bacteria at t=0, we have y0=500 right away without any algebra.
y=500ekt
Plug in the second measurement and divide by 500 to isolate the multiplier Dividing by the starting amount cancels the 500 in front and shows that the population tripled over the 2 hours.
150050015003=500e2k=e2k=e2k
Take the natural log of both sides to solve for k Since ln(ex)=x, taking the natural log brings the exponent 2k down.
ln(3)k=2k=2ln(3)≈0.5493
Substitute t=5 to find the population at 5 hours Keep k=2ln(3) exact in the exponent (or use all calculator digits) until the final step, because rounding k early inside an exponent can throw off the final count.
y(5)=500e2ln(3)⋅5≈7,794
So after 5 hours, there are about 7,794 bacteria in the dish.
4
Exponential Decay and Half-Life
When a substance shrinks over time, we are often given its half-life instead of a second count. Half-life is the time it takes for half of a substance to decay away.
Example: You take 200 mg of caffeine, and the half-life of caffeine in your body is 5 hours. How long does it take until 25 mg remains, and how long until 30 mg remains?
Exponential Decay and Half-Life
Text solution
Count halving steps for 25 mg Because 25 mg lands right on a halving step, we can cut 200 mg in half every 5 hours in our head instead of setting up an equation.
200 mg5 hr100 mg5 hr50 mg5 hr25 mg
Set the 5-hour multiplier to 0.5 to find the decay rate k Because 30 mg sits between 50 mg (10 hours) and 25 mg (15 hours) on a bending curve, we need the formula. Losing half in 5 hours means the 5-hour multiplier is 0.5, no matter what the starting dose is.
0.5ln(0.5)k=e5k=5k=5ln(0.5)≈−0.1386
Set y=30 and divide by 200 to find the remaining fraction Dividing by the starting dose shows we are waiting until 15% of the original caffeine remains.
30200300.15=200e−0.1386t=e−0.1386t=e−0.1386t
Take the natural log of both sides to solve for t Bringing the exponent down gives the exact time when the curve reaches 30 mg.
ln(0.15)t=−0.1386t=−0.1386ln(0.15)≈13.69
So 25 mg remains after 15 hours, and 30 mg remains after about 13.69 hours, right between 10 and 15 hours as expected.
Over any 5-hour span along the caffeine curve, fewer milligrams are lost at later times, but the amount at the end of the 5 hours is always half the amount at the start of those 5 hours.
Over any 5-hour window on the caffeine decay curve, fewer milligrams are lost at later times, but the ending amount is always half the starting amount.
5
Finding y0 and k from Two Later Measurements
So far, every problem gave us the starting amount y0 right at t=0. When both measurements are taken at later times, neither one gives y0 directly, leaving two equations with two unknowns.
Example: A scientist checks a dish of bacteria at t=2 hours and counts 600 cells, then returns at t=5 hours and counts 4,800 cells. Find the continuous growth rate k, the starting amount y0 at t=0, and the equation for y(t).
Finding y₀ and k from Two Later Measurements
Text solution
Write an equation for each measurement Plugging both points into y=y0ekt gives two equations with the unknown y0 in front.
6004800=y0e2k=y0e5k
Divide the second equation by the first to cancel y0 Using the exponent rule ebea=ea−b, dividing cancels y0 and shows that the population multiplied by 8 across the 3 hours from t=2 to t=5.
600480088=y0e2ky0e5k=e5k−2k=e3k
Take the natural log of both sides to solve for k Bringing the exponent down gives the continuous growth rate per hour.
ln(8)k=3k=3ln(8)≈0.6931
Plug k back into one measurement to solve for y0 Substituting k into the t=2 equation gives the multiplier over the first 2 hours (e2k=4), so we can divide by 4 to find the starting count at t=0.
600600y0=y0e2⋅(ln(8)/3)=y0⋅4=4600=150
So the dish started with 150 cells at t=0, and the population at any hour t is y=150e0.6931t.
With the t=2 count fixed at 600 cells, a higher count at t=5 means a larger 3-hour multiplier and a steeper curve, which means the population must have started from a smaller amount y0 at t=0.
With the 2-hour count fixed at 600 cells, a higher count at 5 hours means faster 3-hour growth and a smaller starting amount at the beginning.
In every y=y0ekt decay problem, the amount y shrinks toward 0. When something instead cools or warms toward the temperature of the room around it, the curve levels off at room temperature instead of 0, which gives Newton's Law of Cooling.
Key concepts
Whenever a quantity changes at a speed proportional to how much is currently present (dtdy=ky), the amount follows the same formula:
dtdy=ky⟺y=y0ekt
Here y0 is the starting amount at t=0,k is the continuous rate per unit of time (k>0 for growth, k<0 for decay), and ekt is the multiplier over time t. How you start a problem depends on what measurements you are given:
When you already have y0 and k
(such as y0=1,000 and a continuous rate of 8% per hour, k=0.08), you do not need natural logs. Use dtdy=ky if the question asks how fast the amount is changing right then (dtdy=0.08(1000)=80 cells/hr), and use y=1000e0.08t if it asks for the amount at time t.
When a target amount lands right on halving (or tripling) steps
(such as 200 mg with a 5-hour half-life dropping to 25 mg), skip the algebra and count the steps (200→100→50→25 takes 3×5=15 hours). Save y=y0ekt for amounts in between, like 30 mg.
When you have y0 and a second measurement or half-life
divide by y0 first so the left side is the multiplier over that time span, then take ln to solve for k: tripling in 2 hours gives 3=e2k⟹k=2ln(3), and a half-life of 5 hours gives 0.5=e5k⟹k=5ln(0.5).
When neither measurement is at t=0
(such as 600=y0e2k and 4800=y0e5k), divide the second equation by the first to cancel y0 (6004800=e5k−2k⟹8=e3k), solve for k using the time between them, and plug k back into one measurement to find y0.
6
Practice
1
A dish of bacteria starts with 1,000 cells at t=0 and grows at a continuous rate of 8% per hour (dtdy=0.08y). How fast is the population growing, in cells per hour, right at t=0, and how many cells are in the dish at t=10 hours?
Which equation gives the speed of growth right now (dtdy), and which equation gives the total cell count at time t (y)?
To find how fast the population is growing right at t=0, plug y=1,000 into the rate equation dtdy=0.08y:
dtdy=0.08(1,000)=80 cells per hour
To find the cell count at t=10 hours, use the population formula y=1,000e0.08t (do not just add 80 cells/hour for 10 hours to get 1,800, because the growth speeds up as the population gets larger):
y(10)=1,000e0.08(10)=1,000e0.8≈2,226 cells
2
A yeast culture starts with 300 cells at t=0. After 4 hours, the population reaches 1,200 cells. Find the continuous growth rate k and the number of cells at t=10 hours.
By what factor does the population multiply during the first 4 hours, and what must e4k equal?
With y0=300, plug in t=4 and y=1,200 and divide by 300 to find the 4-hour multiplier:
1,2004k=300e4k=e4k=4ln(4)≈0.3466 per hour
Plug t=10 and the exact rate k=4ln(4) into y=300ekt (if you round k early to 0.35,300e3.5 gives 9,935 cells, and if you multiply 300×4×2.5 instead of raising the multiplier to a power, you get 3,000 cells):
y(10)=300e(ln(4)/4)⋅10=300⋅42.5=9,600 cells
3
A patient takes an 80 mg dose of a medicine that has a half-life of 6 hours in the bloodstream. How long does it take until 10 mg remains, and how long until 18 mg remains?
Be careful not to divide 1080=8 and multiply 8×6=48 hours, which counts 8 halvings instead of 3.
Does 10 mg land on a whole number of halving steps from 80 mg? What about 18 mg?
For 10 mg, count halving steps from 80 mg:80→40→20→10 mg is 3 halving steps (be careful not to divide 1080=8 and multiply 8×6=48 hours, which counts 8 halvings instead of 3):
3×6=18 hours
For 18 mg, use the 6-hour half-life to find k:
0.5=e6k⟹k=6ln(0.5)≈−0.1155 per hour
Set y=18 in y=80ekt and divide by 80 (estimating along a straight line between 20 mg at 12 hours and 10 mg at 18 hours would give 13.2 hours, ignoring the bend of the curve):
180.225t=80ekt=ekt=kln(0.225)≈12.91 hours
4
A radioactive sample loses 30% of its mass in 4 days, leaving 70% of the original amount. Find the continuous decay rate k and the half-life of the sample.
Setting e4k=0.30 uses the fraction lost instead of the fraction remaining, which gives k≈−0.3010 and a wrong half-life of 2.30 days.
Does the multiplier ekt represent the fraction lost or the fraction remaining at time t?
Because 70% of the sample remains at t=4 days, set the 4-day multiplier e4k equal to 0.70 (setting e4k=0.30 uses the fraction lost instead of the fraction remaining, which gives k≈−0.3010 and a wrong half-life of 2.30 days):
e4kk=0.70=4ln(0.70)≈−0.0892 per day
To find the half-life, set the multiplier ekt equal to 0.5:
ektt=0.5=kln(0.5)=ln(0.70)4ln(0.5)≈7.77 days
5
A scientist checks a decaying chemical sample at t=2 hours and measures 360 mg. At t=6 hours, 90 mg remain. Find the continuous rate k, the starting amount y0 at t=0, and the equation for y(t).
Be sure to subtract the times 6−2=4 in the exponent; using e6k=0.25 treats the 360 mg measurement as if it were taken at t=0 and gives k≈−0.2310.
Neither measurement is at t=0. How can you combine 360=y0e2k and 90=y0e6k to cancel y0?
Write both measurement equations and divide the t=6 equation by the t=2 equation (be sure to subtract the times 6−2=4 in the exponent; using e6k=0.25 treats the 360 mg measurement as if it were taken at t=0 and gives k≈−0.2310):
360900.25k=y0e2ky0e6k=e4k=4ln(0.25)≈−0.3466 per hour
Plug k=4ln(0.25) back into the t=2 equation 360=y0e2k, where e2(ln(0.25)/4)=0.5, and divide by 0.5 (multiplying 360×0.5=180 mg goes forward in time instead of backward; since the sample is decaying, y0 at t=0 must be larger than 360 mg):