Math 31S. Rumbos Fall 2011 1 Solutions Review Problems for Exam #1 1. Water leaks out a barrel at a rate proportional to the square root of the depth of the water at that time. If the water level starts at 36 inches and drops to 35 inches in 1 minute, how long will it take for the water to leak out of the barrel? Solution: Let β = β(π‘) denote the water level in the barrel at time π‘, where β is measured in inches and π‘ in minutes. We then have that √ πβ = −π β, ππ‘ (1) where π is a constant of proportionality. We can solve the equation in (1) by separating variables to obtain ∫ ∫ 1 √ πβ = − π ππ‘, β which integrates to √ 2 β = −ππ‘ + π1 , (2) where π1 is an arbitrary constant. Dividing both sides of the equation in (2) by 2 and squaring, we obtain ( β(π‘) = )2 π π− π‘ , 2 (3) where we have set π = π1 /2. In order to ο¬nd what π in (3) is, we use the information β(0) = 36 to obtain π2 = 36, from which we obtain that π = 6, so that (3) now becomes ( )2 π β(π‘) = 6 − π‘ . 2 (4) Next, use the information that β(1) = 35 to estimate the value of π in (4). We have that ( )2 π = 35, 6− 2 Math 31S. Rumbos Fall 2011 2 from which we obtain that π = 2(6 − √ 35) = Λ 0.16784. (5) To ο¬nd the time, π‘, at which all the water leaks out of the barrel, se solve the equation β(π‘) = 0, or ( )2 π 6 − π‘ = 0, 2 to obtain that 12 . π Using the estimate for π in (5), we obtain from (6) that π‘= (6) π‘= Λ 71.5 minutes. Thus, it will take about 1 hour and 11.5 minutes for the water to leak out of the barrel. β‘ 2. 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. If an initial dose of ππ is injected directly into the blood, 20% is left in the blood after 3 hours. (a) Write and solve a diο¬erential equation for the quantity, π, of the drug in the blood at time, π‘, in hours. Solution: Apply the conservation principle ππ = Rate of substance in − Rate of substance out, ππ‘ where Rate of substance in = 0 and Rate of substance out = ππ, where π is a constant of proportionality. Hence, ππ = −ππ. ππ‘ (7) β‘ Math 31S. Rumbos Fall 2011 3 (b) How much of the drug is left in the patient’s body after 6 hours if the patient is given 100 mg initially? Solution: The solution to the diο¬erential equation (7) subject to the initial condition π(0) = ππ is given by π(π‘) = ππ π−ππ‘ , for all π‘ ∈ β. (8) To estimate the value of π, we use the information that π(3) = 0.2ππ to obtain the equation ππ π−3π = 0.2ππ , which can be solved for π to obtain π=− ln(0.2) = Λ 0.536479. 3 (9) Next, use (8) to compute π(6) = ππ π−6π . (10) Putting ππ = 100 mg, and using the estimate for π in (9), we obtain from (10) that π(6) = Λ 100π−6(0.54) = Λ 4.0 mg. β‘ 3. Use the Fundamental Theorem of Calculus to show that π¦(π‘) = π¦π exp(πΉ (π‘)), where πΉ is the antiderivative of π with πΉ (0) = 0, is a solution to the initial ππ¦ = π (π‘)π¦, π¦(0) = π¦π . value problem ππ‘ Solution: Apply the Chain Rule to obtain ππ¦ = π¦0 exp′ (πΉ (π‘))πΉ ′ (π‘) ππ‘ = π¦0 exp(πΉ (π‘))π (π‘) = π (π‘)[π¦0 exp(πΉ (π‘))], Math 31S. Rumbos Fall 2011 which shows that ππ¦ = π (π‘)π¦. ππ‘ Next, compute π¦(0) = π¦π exp(πΉ (0)) = π¦π exp(0) = π¦π . Hence, if πΉ : πΌ → β is diο¬erentiable over some open interval πΌ which contains 0, with πΉ ′ = π on πΌ , and πΉ (0) = 0, then π¦(π‘) = π¦π exp(πΉ (π‘)) for π‘ ∈ πΌ solves the initial value problem β§ β¨ ππ¦ = π (π‘)π¦ ππ‘ β©π¦(0) = π¦ . π β‘ ππ¦ = ππ‘−π¦ , ππ‘ 4. Find a solution to the initial value problem π¦(0) = 1. Solution: Write the diο¬erential equation as ππ¦ = ππ‘ π−π¦ , ππ‘ and separate variables to obtain ∫ ∫ π¦ π ππ¦ = ππ‘ ππ‘, which integrates to ππ¦ = ππ‘ + π, (11) for arbitrary π. Using the initial condition π¦(0) = 1 in (11) yields π = 1 + π, from which we get that π = π − 1. (12) Substituting the value for π in (12) into the equation in (11) yields ππ¦ = ππ‘ + π − 1, which can be solved for π¦ to obtain π¦(π‘) = ln[ππ‘ + π − 1], for all π‘ ∈ β. β‘ 4 Math 31S. Rumbos Fall 2011 5. Evaluate the following integrals ∫ 1 π−π₯ ππ₯ (a) −π₯ 0 2−π 2 ∫ (c) 1 ∫ (b) 1 ππ₯ π₯ ln π₯ ∫ ln π₯ ππ₯ π₯ (d) √ π π₯ √ ππ₯ π₯ Solution: (a) Make the change of variables π’ = 2 − π−π₯ , so that ππ’ = π−π₯ ππ₯. Then, ∫ 0 1 π−π₯ ππ₯ = 2 − π−π₯ 2−π−1 ∫ 1 1 ππ’ = ln(2 − π−1 ). π’ (b) Make the change of variables π’ = ln π₯, so that ππ’ = ∫ 1 ππ₯ = π₯ ln π₯ ∫ 1 ππ₯ and π₯ 1 ππ’ π’ = ln β£π’β£ + π = ln β£ ln π₯β£ + π. (c) Make the change of variables π’ = ln π₯, so that ππ’ = ∫ 1 2 ln π₯ ππ₯ = π₯ ln 2 ∫ 0 (d) Make the change of variables π’ = ∫ √ 1 ππ₯ and π₯ 1 π’ ππ’ = [ln 2]2 . 2 √ 1 π₯ so that ππ’ = √ ππ₯, and 2 π₯ π π₯ √ ππ₯ = 2 π₯ ∫ ππ’ ππ’ = 2ππ’ + π √ = 2π π₯ + π. β‘ 5 Math 31S. Rumbos Fall 2011 6 6. 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). (a) Write a diο¬erential equation for the temperature of the iron. Solution: Let π’ = π’(π‘) denote the temperature of the hot iron at time π‘. Then, ππ’ = −0.11(π’ − 20), (13) ππ‘ where π’ is measured in degrees Celsius and π‘ in minutes. β‘ (b) 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: The general solution of the diο¬erential equation in (13) is π’(π‘) = 20 + ππ−0.11 π‘ , for all π‘ ∈ β, (14) for arbitrary constant π. To ο¬nd the value of π in (14), we use the initial condition π’(0) = 100 in (14) to obtain the equation 20 + π = 100, which yields π = 80. (15) Substituting the value of π in (15) into the expression for π’ in (14), we obtain that π’(π‘) = 20 + 80π−0.11 π‘ , for all π‘ ∈ β. (16) Next, we ο¬nd the value of π‘ for which π’(π‘) = 25, or 20 + 80π−0.11 π‘ = 25, or 80π−0.11 π‘ = 5, which can be solved for π‘ to yield π‘=− ln(1/16) 4 ln 2 = = Λ 25 minutes. 0.11 0.11 Thus, it will take about 25 minutes for the hot iron to reach the temperature or 25 degrees Celsius. β‘