Three Differential Equations

MAT - NYB -- Spring 2001

> restart:with(DEtools):

Exponential Decay

A radioactive sample decays at a rate that is proportional to the amount present at time t . That is, if A is the amount of a radioactive element present at time t then [Maple Math] .

e.g. (#8, page 610)

Polonium-210 has a half-life of 140 days.

a) If a sample has a mass of 200 mg, find a formula for the mass that remains after t days.

b) Find the mass after 100 days.

c) When will the mass be reduced to 10 mg?

d) Sketch the graph of the mass function.

a)

> DE:=diff(A(t),t)=k*A(t);

[Maple Math]

> dsolve(DE);

[Maple Math]

Next line puts the solution A(t) into an easier to handle functional form:

> M:=t->K*exp(1)^(k*t);

[Maple Math]

Find K :

> K:=solve(M(0)=200,K);

[Maple Math]

> print(M(t));

[Maple Math]

Find k :

> k:=solve(M(140)=100);

[Maple Math]

> print(M(t));

[Maple Math]

b)

> M(100);evalf(%);

[Maple Math]

[Maple Math]

=> About 122 gm after 100 days

c)

> solve(M(t)=10,t);evalf(%);

[Maple Math]

[Maple Math]

=> It will take about 605 days (a little over 1.5 years) for the sample to decay to a mass of 10 gm.

d)

> plot(M(t),t=0..1000,thickness=2,title=`Decay of Polonium-210` );

[Maple Plot]

> restart:with(DEtools):

Newton's Law of Cooling

The rate of cooling of an object is proportional to the temperature difference between the object and its surroundings, provided that this difference is not "too large."

e.g. A (dead) body (a victime of foul circumstances) is found at 12 noon in a temperature controlled room. The body's core temperature is measured to be 32 degrees C. Thirty minutes later it is 31 degrees. When was the dirty deed performed if the room is at the constant temperature of 25 degrees C. You may assume that the person was a healthy individual with a normal body temperatuire of 36.6 degrees C.

Let T be the temperature of the body at time t

> DE:=diff(T(t),t)=k*(T(t)-25);

[Maple Math]

> dsolve(DE);

[Maple Math]

> Temp:=t->25+K*exp(k*t);

[Maple Math]

> K:=solve(Temp(0)=32);

[Maple Math]

> Temp(t);

[Maple Math]

> k:=solve(Temp(30)=31);evalf(%);

[Maple Math]

[Maple Math]

> Temp(t);

[Maple Math]

> solve(Temp(t)=36.6);

[Maple Math]

=> The deed was done around 10:30 A.M. (98 minutes before noon)

> plot({Temp(t),37},t=-120..600,y=25..38,thickness=2,colour=[red,blue]);

[Maple Plot]

> restart:with(DEtools):

Logistic Growth

This model assumes that a population is growing at a rate that is jointly proportional to the population at time t and the difference between the population at time t and the maximum possible population (the "carrying capacity" of the environment in question). The differential equation modelling this behaviour is therefore [Maple Math] where K is the carrying capacity and k is a proportionality constant.

e.g. The world population was about 1.608 billions in 1900 and 2.517 billions in 1950. Use a logistic model to predict the 1992 population assuming a carrying capacity of 100 billion. Assume t = 0 refers to 1900.

> DE:=diff(P(t),t)=k*P(t)*(K-P(t));

[Maple Math]

> dsolve(DE);

[Maple Math]

> Pop1:=t->K/(1+C*K*exp(1)^(-k*K*t));

[Maple Math]

> K:=100;

[Maple Math]

> Pop1(t);

[Maple Math]

> C:=solve(Pop1(0)=1.608);

[Maple Math]

> Pop1(t);

[Maple Math]

> k:=solve(Pop1(50)=2.517);

[Maple Math]

> Pop1(t);

[Maple Math]

> Pop1(92);evalf(%);

[Maple Math]

[Maple Math]

=> 3.7 billion in 1992 (actual = 5.4 billion)

> plot({Pop1(t),100},t=0..1000,thickness=2);

[Maple Plot]

>

Now, repeat all the steps except assuming exponential growth

> DE2:=diff(P2(t),t)=k2*P2(t);

[Maple Math]

> dsolve(DE);

[Maple Math]

> Pop2:=t->K2*exp(1)^(k2*t);

[Maple Math]

> K2:=solve(Pop2(0)=1.608);

[Maple Math]

> Pop2(t);

[Maple Math]

> k2:=solve(Pop2(50)=2.517);

[Maple Math]

> Pop2(t);

[Maple Math]

> Pop2(92);evalf(%);

[Maple Math]

[Maple Math]

> plot({Pop2(t),Pop1(t),100},t=0..1000,y=0..150,thickness=3,colour=[red,blue,black]);

>

[Maple Plot]