← Back to Math 055

3.1 Linear Models: Class Notes

3.1a

Various situations are modeled by differential equations.

If t0=0, then x0 is an initial population or amount.

Used for populations, radioactive decay, and drug concentrations.

dx/dtx=k: a constant relative growth/decay rate. k is the relative growth/decay rate as a decimal (k>0 for growth, k<0 for decay).

T is the temperature and t is time. Tm is the surrounding temperature (the temperature of the medium), so T−Tm is the temperature difference, and k<0.

L: inductance (henries, h); R: resistance (ohms, Ω); E: impressed voltage (volts, V); i: current (amperes, A).

C: capacitance (farads, f); q: charge (coulombs, C); i=dqdt.

Example

A population of bacteria in a culture grows at a rate proportional to the number of bacteria present at time t. After 3 hours it is observed that 400 bacteria are present. After 10 hours 2000 bacteria are present. What was the initial number of bacteria?

Solution

The growth rate is proportional to the population:

dPdt=kP(separable, linear)

dPdt−kP=0,μ=e−kt

ddt(e−ktP)=0⇒e−ktP=C⇒P=Cekt

The population at time t=0 is the initial population, P0 (so C=P0). The solution to the model is

P(t)=P0ekt.

Graphs of P = P0 e^(kt): increasing when k is positive, decreasing when k is negative

Two graphs of P(t)=P0ekt, each crossing the P-axis at P0. Left, k>0: the curve increases (growth). Right, k<0: the curve decreases toward 0 (decay).

Use the two observations, P(3)=400 and P(10)=2000:

2000=P0e10k,400=P0e3k

Divide the first equation by the second (P0 cancels):

5=e7k⇒k=17ln⁡5≈0.2299

The growth rate is about 23%. Then

400=P0e0.2299(3)⇒P0≈200.69

Answer: P0≈201 bacteria

Side note: half-life

For decay, the half-life λ (lambda) is the time for the amount to fall to half: P(λ)=12P0. Then

12P0=P0eλk⇒k=1λln⁡12.

3.1b

Example

A thermometer is taken from an inside room to the outside, where the air temperature is 5∘ F. After 1 minute the thermometer reads 55∘ F, and after 5 minutes it reads 30∘ F. What is the initial temperature of the inside room?

Solution

Thermometer temperature T(t) decreasing toward the outside temperature of 5 degrees

Sketch of the temperature T(t): it starts at the unknown room temperature, passes through 55∘ at t=1 and 30∘ at t=5, and decreases toward the horizontal asymptote Tm=5. The initial gap between T and Tm is D0.

dTdt=k(T−Tm)(separable, linear)

dTT−Tm=kdt⇒ln⁡|T−Tm|=kt+C⇒T−Tm=D0ekt

T(t)=Tm+D0ekt

D0 is the initial temperature difference: D0=T0−Tm.

Newton cooling and heating curves approaching the medium temperature Tm

Left, cooling: T starts D0 degrees above Tm and decreases toward Tm (here D0>0). Right, heating: T starts below Tm and increases toward it (here D0<0). In both, k<0.

Here Tm=5, so

T(t)=5+D0ekt.

Use T(1)=55 and T(5)=30:

55=5+D0ek⇒50=D0ek

30=5+D0e5k⇒25=D0e5k

Dividing gives

2=e−4k⇒k=14ln⁡12=−14ln⁡2≈−0.1733

Then, from 50=D0ek:

D0=50e0.1733≈59.5

Since D0=T0−Tm and Tm=5, the initial thermometer temperature is 59.5∘+5∘.

Answer: T0≈64.5∘ F

3.1c

Example

A large tank is filled to capacity with 500 gallons of pure water. Brine containing 2 pounds of salt per gallon is pumped into the tank at a rate of 5 gal/min. The well-mixed solution is pumped out at the same rate. Find the number A(t) of pounds of salt in the tank at time t.

Solution

The tank starts with pure water, so A(0)=0.

Mixing tank: 500 gallons, brine in at 5 gal/min, solution out at 5 gal/min

A tank initially holding 500 gallons of pure water. Brine with 2 lb of salt per gallon flows in at 5 gal/min; the well-mixed solution flows out at 5 gal/min, so the volume stays 500 gallons.

Rate salt in: 2lbgal·5galmin=10lbmin

Rate salt out: A lb500 gal·5galmin=A100lbmin

dAdt=rate in−rate out=10−1100A,A(0)=0

This is linear:

dAdt+1100A=10,μ=et/100

ddt[et/100A]=10et/100

et/100A=1000et/100+C

A(t)=1000+Ce−t/100

A(0)=0 gives C=−1000.

Answer: A(t)=1000−1000e−t/100

In the long run, limt→∞A(t)=1000 lb.

Example

Solve the previous problem under the assumption that the solution is pumped out at a faster rate of 10 gal/min. When is the tank empty?

Solution

Still A(0)=0 with a 500-gallon tank and salt coming in at 10 lb/min. The tank gains 5 gal/min and loses 10 gal/min, so it is losing 5 gal/min: the volume at time t is 500−5t gallons, and the tank is empty in 100 min.

Mixing tank: 500 gallons, brine in at 5 gal/min, solution out at 10 gal/min

A tank initially holding 500 gallons of pure water. Brine with 2 lb of salt per gallon flows in at 5 gal/min; the well-mixed solution flows out at 10 gal/min, so the volume at time t is 500−5t gallons.

Rate salt out: A lb(500−5t) gal·10galmin=2A100−tlbmin

dAdt=10−2A100−t,A(0)=0

dAdt+2100−tA=10

μ=e∫2100−tdt=e−2ln⁡|100−t|=1(100−t)2

ddt[1(100−t)2A]=10(100−t)2

1(100−t)2A=10100−t+C

A=10(100−t)+C(100−t)2

A(0)=0: 0=1000+10000C, so C=−110.

Answer: A(t)=1000−10t−110(100−t)2,0≤t≤100

The tank is empty at t=100 min.

Example

A 200-volt electromotive force is applied to an RC-series circuit in which the resistance is 1000 ohms and the capacitance is 5×10−6 farad. Find the charge q(t) on the capacitor if i(0)=0.4. Determine the charge and current at t=0.005 s. Determine the charge as t→∞.

Solution

Rdqdt+1Cq=E(t),i=dqdt

Here R=1000, E(t)=200, and C=5×10−6=5106, so 1C=1065.

1000dqdt+1065q=200

Divide by 1000:

dqdt+200q=15,μ=e200t

ddt(e200tq)=15e200t

e200tq=11000e200t+c

q(t)=11000+ce−200t

The initial condition is on the current, i=dqdt:

i(t)=−200ce−200t

i(0)=0.4⇒0.4=−200c⇒c=−0.4200=−1500

Answer: q(t)=11000−1500e−200t,i(t)=0.4e−200t

At t=0.005 s (so 200t=1):

q(0.005)=11000−1500e−1≈0.000264 coulombs

i(0.005)=0.4e−1≈0.1472 amps

As t→∞, q→11000 coulomb.