Math 36. Rumbos Spring 2010 1 Solutions to Assignment #7 1. Suppose a bacterial colony is growing according to the (continuous) Malthusian model. If the time, π‘, is measured in units of division cycle divided by ln 2, give a formula for π (π‘), given that π (0) = ππ . By how much does the population increase in one unit of time? (Note: A division cycle would correspond to the doubling time.) Solution: Assume ο¬rst the π = π (π ), where π is measured in an arbitrary continuous time unit. Then, the solution to the Malthus diο¬erential equation ππ = ππ, ππ subject to π (0) = ππ , is given by π (π‘) = ππ πππ . If π is the doubling time, then π = π (π ) = ππ π ln(2) π π ln(2) and so π π = ππ π π / ln(2) . Thus, if π‘ counts the number of division cycles divided by ln(2), it π follows that π‘ = ; and therefore π / ln(2) π (π‘) = ππ ππ‘ . Thus, in one division cycle divided by ln(2), the population increases by ππ π − ππ π (1) − π (0) = = π − 1 ≈ 1.718 ππ ππ or about 172%. β‘ A Conservation Principle for a One–Compartment Model. Suppose you are tracking the amount, π(π‘), of a substance in some predeο¬ned space or region, known as a compartment, at time π‘. (A compartment could represent, for instance, the bloodstream in the body of a patient, and π(π‘) the amount of a drug present in the bloodstream at time π‘). If we know, or can model, the rates at which the substance enters or leaves the compartment, then the rate of the Math 36. Rumbos Spring 2010 2 change of the substance in the compartment is determined by the diο¬erential equation: ππ = Rate of substance in − Rate of substance out, ππ‘ (1) where we are assuming that π is a diο¬erentiable function of time. 2. Assume that the rate at which a drug leaves the bloodstream and passes into the urine is proportional to the quantity of the drug in the blood at that time. (a) Use the conservation principle (1) to write down a diο¬erential equation for the quantity, π, of the drug in the blood at time, π‘, in hours. Solution: Assume that, after an initial dose of ππ , not additional drug is injected into the patient. Then, Rate of π in = 0 and Rate of π out = ππ, where π > 0 is a constant of proportionality. Thus, the conservation principle (1) implies that ππ = −ππ. ππ‘ β‘ (b) Solve the diο¬erential equation derived in part (a) for the case in which an initial dose of ππ is injected directly into the blood. Answer: π(π‘) = ππ π−ππ‘ for all π‘. β‘ (c) Assume that 20% of the initial dose is left in the blood after 3 hours. Write a formula for computing π(π‘) for any time π‘, in hours. Solution: If π(3) = 0.20 ππ , then ππ π−3π = 0.20 ππ 1 Thus, −π = ln 3 ( ) 1 , and so the solution is given by 5 β lnβ π(π‘) = ππ π for all π‘. 1 or π−3π = . 5 1 π‘ ( )π‘/3 β 5 3 =π 1 π 5 β β‘ (d) What percentage of the initial dosage of the drug is left in the patient’s body after 6 hours? Math 36. Rumbos Spring 2010 3 Solution: After 6 hours, the amount of drug present in the patient’s blood is ( )6/3 1 1 = ππ , π(6) = ππ 5 25 or 4% of the initial dose. β‘ 3. A patient is given the drug theophylline intravenously at a constant rate of 43.2 mg/hour to relieve acute asthma. You can imagine the drug as entering a compartment of volume 35, 000 ml. (This is an estimate of the volume of the part of the body through which the drug circulates.) The rate at which the drug leaves the patient is proportional to the quantity there, with proportionality constant 0.082. (a) Write a diο¬erential equation for the quantity, π = π(π‘), in milligrams, of the drug in the body at time π‘ hours. Solution: Use the conservation principle stated in equation (1) for a one–compartment model to get dπ = Rate of π in − Rate of π out dπ‘ = 43.2 − 0.082π. Thus, dπ = −π(π − π), dπ‘ 43.2 where π = 0.082 and π = = Λ 526.83. β‘ 0.082 (b) Give the equilibrium solution, π, to the equation in part (a). 43.2 Answer: π = = Λ 526.83. β‘ 0.082 (c) Assuming that the patient’s body contains none of the drug initially, give π(π‘) for all π‘, and sketch an approximate graph of π as a function of π‘. Solution: Use separation of variables to get π(π‘) = π + ππ−ππ‘ , for some constant π. Since π(0) = 0, we get that π(π‘) = π(1 − π−ππ‘ ). A sketch of the graph of this function is shown in Figure 1. β‘ Math 36. Rumbos Spring 2010 4 π π π‘ Figure 1: Sketch of graph of π(π‘) (d) What is the limiting value of π(π‘) as π‘ → ∞? Solution: lim π(π‘) = lim π(1 − π−ππ‘ ) = π. π‘→∞ π‘→∞ β‘ 4. When people smoke, carbon monoxide is released into the air. Suppose that in a room of volume 60 m3 , air containing 5% carbon monoxide is introduced at a rate of 0.002 m3 /min. (This means that 5% of the volume of incoming air is carbon monoxide). Assume that the carbon monoxide mixes immediately with the air and the mixture leaves the room at the same rate as it enters. (a) Let π = π(π‘) denote the volume (in cubic meters) of carbon monoxide in the room at any time π‘ in minutes. Use the conservation principle (1) to write down a diο¬erential equation for π. Solution: Imagine the room as a compartment of, ο¬xed volume, π . In this case, π = 60 m3 . Air ο¬ows into the room at rate, πΉ , of 0.002 cubic meters per minute. The air that ο¬ows into the room has a concentration, ππ , of carbon monoxide, where ππ = 5% (the concentration here is measured in percent volume). Let π(π‘) denote the amount of carbon monoxide present in the room at time π‘. The conservation principle in (1) in this case takes the form ππ = Rate of π in − Rate of π out, ππ‘ where Rate of π in = ππ πΉ, Math 36. Rumbos Spring 2010 5 and Rate of π out = π(π‘)πΉ, π(π‘) where π(π‘) = is the concentration of carbon monoxide in the π room at time π‘. Here we are assuming that the volume, π , of air in the room is ο¬xed, so that the rate of ο¬ow of air into the room is the same as the rate of ο¬ow out of the room. We then have that π(π‘) ππ = ππ πΉ − πΉ, ππ‘ π which we can write as ππ πΉ = − (π(π‘) − ππ π ). ππ‘ π (2) Putting in the values of πΉ , π and ππ we obtain 1 ππ = − × 10−3 (π(π‘) − 3) ππ‘ 3 in units of cubic meters per minute. β‘ (b) Give the equilibrium solution, π, to the diο¬erential equation in part (a). Answer: π = π1 π = 3 cubic meters. β‘ (c) Solve the diο¬erential equation in part (a) under the assumption that the there is no carbon monoxide in the room initially, and sketch the solution. Solution: The general solution of equation (2) is πΉ π(π‘) = π + πΆπ− π π‘ , where πΆ is an arbitrary constant. If π(0) = 0, then π + πΆ = 0, from which we get that πΆ = −π. It then follows that πΉ π(π‘) = π(1 − π− π π‘ ), or πΉ π(π‘) = 3(1 − π− π π‘ ). (3) in cubic meters. A sketch of the graph of π = π(π‘) is shown in Figure 2. β‘ Math 36. Rumbos Spring 2010 6 π π π‘ Figure 2: Sketch of graph of π(π‘) (d) Based on your solution to part (c), give the concentration, π(π‘), of carbon monoxide in the room (in percent volume) at any time π‘ in minutes. What happens to the value of π(π‘) in the long run? π(π‘) , we obtain from (3) Solution: Using the formula π(π‘) = π that πΉ π(π‘) = (0.05)(1 − π− π π‘ ) for all π‘ β©Ύ 0. πΉ Since > 0, π lim π(π‘) = 0.05, π‘→∞ or 5%. β‘ (e) Medical texts warn that exposure to air containing 0.1% carbon monoxide for some time can lead to a coma. How many hours does it take for the concentration of carbon monoxide found in part (d) to reach this level? Solution: We want to ο¬nd the time, π‘, for which π(π‘) = 0.001, or πΉ (0.05)(1 − π− π π‘ ) = 0.001, or πΉ 1 − π− π π‘ = 1 . 50 Solving for π‘ we obtain that π π‘ = ln πΉ ( 50 49 ) . Substituting the values for π and πΉ we obtain ( ) 50 4 π‘ = 3 × 10 ln ≈ 606 minutes. 49 Math 36. Rumbos Spring 2010 7 Thus, it takes about 10.1 hours for the concentration of carbon monoxide in the room to reach the “coma” level. β‘ 5. Newton’s Law of Cooling. The temperature in a hot iron decreases at a rate 0.11 times the diο¬erence between its present temperature and room temperature (20β C). Write a diο¬erential equation for the temperature of the iron. If the initial temperature of the rod is 100β C, and the time is measured in minutes, how long will it take for the rod to reach a temperature of 25β C? Solution: Let π’ = π’(π‘) denote the temperature in the rod at time π‘ (we are assuming here that the temperature is the same throughout the rod at any time π‘; that is, the temperature is uniformly distributed). It π denotes the room temperature, then the diο¬erential equation describing the rate of change of π’ is ππ’ = −π(π’ − π ), ππ‘ where π = 0.11 and π = 20β C. The general solution to the equation is then π’(π‘) = π + ππ−ππ‘ , where π is an arbitrary constant. Since the initial temperature is 100β C, we can compute π from the equation π + π = 100, from which we get that π = 80β C. We then have that π’(π‘) = 20 + 80π−ππ‘ , in centigrade degrees. Next, we ο¬nd the time, π‘, for which π’(π‘) = 25 degrees Celsius; that is, we solve for π‘ in the equation 20 + 80π−ππ‘ = 25, or 1 . 16 Taking the natural logarithm on both sides yields π−ππ‘ = π‘= 1 ln(16) ≈ 25.2 minutes. π β‘