Modeling with First-Order Equations

Similar documents
Modeling with First-Order Equations

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Spring Department of Mathematics

Homework 2 Solutions Math 307 Summer 17

Modeling with First Order ODEs (cont). Existence and Uniqueness of Solutions to First Order Linear IVP. Second Order ODEs

MTH 3311 Test #2 Solutions

(1 2t), y(1) = 2 y. dy dt = t. e t y, y(0) = 1. dr, r(1) = 2 (r = r(θ)) y = t(t2 + 1) 4y 3, y(0) = 1. 2t y + t 2 y, y(0) = 2. 2t 1 + 2y, y(2) = 0

MA 214 Calculus IV (Spring 2016) Section 2. Homework Assignment 2 Solutions

4. Some Applications of first order linear differential

Math 308 Exam I Practice Problems

Math 308 Exam I Practice Problems

1.5. Applications. Theorem The solution of the exponential decay equation with N(0) = N 0 is N(t) = N 0 e kt.

2. (12 points) Find an equation for the line tangent to the graph of f(x) =

Math 116 Practice for Exam 2

Practice Midterm 1 Solutions Written by Victoria Kala July 10, 2017

Math 31S. Rumbos Fall Solutions to Exam 1

MATH 251 Examination I October 8, 2015 FORM A. Name: Student Number: Section:

Solving differential equations (Sect. 7.4) Review: Overview of differential equations.

Modeling using ODEs: Mixing Tank Problem. Natasha Sharma, Ph.D.

Exponential Growth (Doubling Time)

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

Integration by Substitution

MAT 285: Introduction to Differential Equations. James V. Lambers

The most up-to-date version of this collection of homework exercises can always be found at bob/math365/mmm.pdf.

A population is modeled by the differential equation

MATH 251 Examination I July 1, 2013 FORM A. Name: Student Number: Section:

Chapter1. Ordinary Differential Equations

FINAL EXAM CALCULUS 2. Name PRACTICE EXAM SOLUTIONS

Math Applied Differential Equations

VANDERBILT UNIVERSITY. MATH 2610 ORDINARY DIFFERENTIAL EQUATIONS Practice for test 1 solutions

The Fundamental Theorem of Calculus: Suppose f continuous on [a, b]. 1.) If G(x) = x. f(t)dt = F (b) F (a) where F is any antiderivative

Lecture Notes for Math 251: ODE and PDE. Lecture 6: 2.3 Modeling With First Order Equations

Sample Questions, Exam 1 Math 244 Spring 2007

Differential Equation (DE): An equation relating an unknown function and one or more of its derivatives.

Solution. It is evaluating the definite integral r 1 + r 4 dr. where you can replace r by any other variable.

Chapter 2: First Order ODE 2.4 Examples of such ODE Mo

Laplace Transform Problems

Math 2300 Calculus II University of Colorado Final exam review problems

Section , #5. Let Q be the amount of salt in oz in the tank. The scenario can be modeled by a differential equation.

Separable Differential Equations

Graded and supplementary homework, Math 2584, Section 4, Fall 2017

Chapters 8.1 & 8.2 Practice Problems

APPM 2360: Midterm exam 1 February 15, 2017

2.4 Differences Between Linear and Nonlinear Equations 75

Applications of First Order Differential Equation

Integral Curve (generic name for a member of the collection of known as the general solution)

Math 308, Sections 301, 302, Summer 2008 Review before Test I 06/09/2008

Math 2930 Worksheet Introduction to Differential Equations

Solutions to Math 53 First Exam April 20, 2010

2.3: Modeling with Differential Equations

Goals: To develop skills needed to find the appropriate differential equations to use as mathematical models.

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

DIFFERENTIAL EQUATIONS

Modeling with first order equations (Sect. 2.3). The mathematical modeling of natural processes.

CHAPTER 3. Mathematical Models and Numerical Methods Involving First-Order Equations

MATH 312 Section 3.1: Linear Models

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. D) u = - x15 cos (x15) + C

Solutions to Homework 1, Introduction to Differential Equations, 3450: , Dr. Montero, Spring y(x) = ce 2x + e x

Mathematics 256 a course in differential equations for engineering students

It is convenient to think that solutions of differential equations consist of a family of functions (just like indefinite integrals ).

Heat Equation on Unbounded Intervals

= 2e t e 2t + ( e 2t )e 3t = 2e t e t = e t. Math 20D Final Review

Chapter 3. Periodic functions

weebly.com/ Core Mathematics 3 Exponentials and Natural Logarithms

Practice Final Exam Solutions

Goals: To develop skills needed to find the appropriate differential equations to use as mathematical models.

Geometry and Motion Selected answers to Sections A and C Dwight Barkley 2016

Solutions for homework 1. 1 Introduction to Differential Equations

VANDERBILT UNIVERSITY MAT 155B, FALL 12 SOLUTIONS TO THE PRACTICE FINAL.

y0 = F (t0)+c implies C = y0 F (t0) Integral = area between curve and x-axis (where I.e., f(t)dt = F (b) F (a) wheref is any antiderivative 2.

2.5 Linear Applications

AP Calculus Testbank (Chapter 6) (Mr. Surowski)

Unit #17 - Differential Equations Section 11.6

Math Spring 2014 Homework 2 solution

Motion in Space. MATH 311, Calculus III. J. Robert Buchanan. Fall Department of Mathematics. J. Robert Buchanan Motion in Space

Core Mathematics 3 Exponentials and Natural Logarithms

MATH 1231 MATHEMATICS 1B Calculus Section 3A: - First order ODEs.

MATH 151, Fall 2013, Week 10-2, Section 4.5, 4.6

MT410 EXAM 1 SAMPLE 1 İLKER S. YÜCE DECEMBER 13, 2010 QUESTION 1. SOLUTIONS OF SOME DIFFERENTIAL EQUATIONS. dy dt = 4y 5, y(0) = y 0 (1) dy 4y 5 =

Lecture Notes in Mathematics. Arkansas Tech University Department of Mathematics

Three major steps in modeling: Construction of the Model Analysis of the Model Comparison with Experiment or Observation

Practice Exam 1 Solutions

Tangent and Normal Vectors

Ordinary Differential Equations

Math 1120, Section 6 Calculus Test 3

Math 2214 Solution Test 1D Spring 2015

Math 116 Practice for Exam 2

APPM 2360: Section exam 1 7:00pm 8:30pm, February 12, 2014.

MATH165 Homework 7. Solutions

Lecture 6, September 1, 2017

The acceleration of gravity is constant (near the surface of the earth). So, for falling objects:

Math 392 Exam 1 Solutions Fall (10 pts) Find the general solution to the differential equation dy dt = 1

Final Exam Review Part I: Unit IV Material

Old Math 330 Exams. David M. McClendon. Department of Mathematics Ferris State University

Math 116 Practice for Exam 2

Solutions to Homework Assignment #2

Practice Final Exam Solutions

Section 11.1 What is a Differential Equation?

Basic Theory of Differential Equations

Ordinary Differential Equations: Worked Examples with Solutions. Edray Herber Goins Talitha Michal Washington

Transcription:

Modeling with First-Order Equations MATH 365 Ordinary Differential Equations J. Robert Buchanan Department of Mathematics Fall 2018

Radioactive Decay Radioactive decay takes place continuously. The number of atoms decaying at any instant is proportional to the number of un-decayed atoms present. Let Q represent the number of un-decayed atoms and t represent time. A first-order ODE describing radioactive decay is dq = k Q. The proportionality constant k is called the decay constant and is assumed to be positive. This ODE is both linear and separable. If Q(t 0 ) = Q 0, then the solution to the IVP is Q(t) = Q 0 e k(t t 0).

Half-Life Definition The half-life (denoted t 1/2 ) of the radioactive substance is the time required for half of the initial amount to decay. Find the relationship between the half-life t 1/2 and the decay constant k. Assuming t 0 = 0 then Q 0 2 = Q 0 e k t 1/2 1 2 = e k t 1/2 ln 1 2 = k t 1/2 ln 2 = k t 1/2 t 1/2 = ln 2 k.

Continuous Infusion Suppose that a chemical is eliminated from the blood stream of an animal at a rate proportional to the amount of the chemical present (similar to radioactive decay). The chemical enters the animal s blood stream at a rate given by the function F(t). A first order differential equation describing the amount of chemical in the blood stream is then dq = k Q + F(t). This equation is first-order linear.

Example (1 of 2) Suppose the chemical has a half-life of 2.5 hours in the blood stream and enters the blood stream at a constant rate C. If the chemical is a beneficial medicine whose effective dose is 50 ± 2.5 mg, what should the infusion rate be? We must solve the first-order, linear IVP: dq + k Q = C Q(0) = 0. Since t 1/2 = 2.5 then k = ln 2 2.5.

Example (1 of 2) If the infusion is constant and never ceases, then the ODE in addition to being first-order and linear is autonomous. The beneficial equilibrium solution is an amount of 50 mg. We can find the value of C for which Q(t) = 50 is an equilibrium solution. dq + k Q = C 0 + ln 2 2.5 (50) = C C = 20 ln 2 13.8629 mg/hr. Now we may solve the IVP for a non-constant solution.

Example (1 of 2) (ln 2)t The integrating factor is µ(t) = e 2.5. d [µ(t)q(t)] = (20 ln 2)µ(t) d [µ(t)q(t)] = (20 ln 2) µ(t) µ(t)q(t) = (20 ln 2)µ(t) 2.5 ln 2 + D (ln 2)t Q(t) = 50 + De 2.5 0 = 50 + D D = 50 (ln 2)t Q(t) = 50 50e 2.5 50 50e 0.277259t

Graph Q t 50 40 30 20 10 5 10 15 20 t How long after the infusion is started will it take until the effective dose is achieved?

Effective Dose The medicine becomes effective when the dose is 50 2.5 = 47.5 mg. Thus we must solve the equation: Q(t) = 47.5 (ln 2)t 50 50e 2.5 = 47.5 (ln 2)t 50e 2.5 = 2.5 (ln 2)t e (ln 2)t 2.5 2.5 = 0.05 = ln 0.05 2.5 ln 0.05 t = 10.8048 hr. ln 2

Example (2 of 2) Suppose the chemical has a half-life of 3 hours in the blood stream and enters the blood stream at a rate given by 10(1 + sin(2πt)). Initially 50 mg of the chemical is in the blood stream. How much of the chemical is in the blood stream at time t > 0? We must solve the IVP: dq = kq + 10(1 + sin(2πt)) Q(0) = 50. This is another first-order linear ODE. The decay constant can be found from the half-life. k = ln 2 3 0.231049 hr 1

Solution The integrating factor is µ(t) = e kt. t 0 dq + kq = 10(1 + sin(2πt)) d [ ] e kt Q(t) = 10e kt (1 + sin(2πt)) d [ ] t e ks Q(s) ds = 10 e ku (1 + sin(2πu)) du ds e kt Q(t) Q(0) = 0 20π k 2 + 4π 2 + 10(ekt 1) k + 10ekt k 2 (k sin(2πt) 2π cos(2πt)) + 4π2 Q(t) = 50e kt + 20πe kt k 2 + 4π 2 + 10(1 e kt ) k 10 + k 2 (k sin(2πt) 2π cos(2πt)) + 4π2

Graph Q t 52 50 48 46 44 42 5 10 15 20 25 30 t

Stirred/Mixed Tanks (1 of 3) Suppose a tank (or some other vessel) has a constant volume V and is being fed a solution of water and a chemical in concentration γ g/l at a rate of r L/min. The tank is well stirred so that the chemical is evenly distributed throughout the tank. The well-stirred mixture flows out of the tank also at rate r L/min. If the tank is initially filled completely with pure water, find the concentration of the chemical in the well-stirred tank as a function of time.

Stirred/Mixed Tanks (2 of 3) The amount of chemical in the incoming stream is the product of the incoming concentration and the incoming flow rate, γ r g/min. We can express the concentration of the chemical in the tank C(t) as the amount of chemical in the tank Q(t) divided by the volume of the tank V, C(t) = 1 Q(t) g/l. V Since the concentration of the chemical in the outflow is the same as the concentration of the chemical in the tank (recall that the tank is well-stirred), the amount of chemical leaving the tank per minute is the product of the concentration in the tank and the outgoing flow rate, r Q(t) V = r C(t) g/min.

Stirred/Mixed Tanks (3 of 3) The rate of change in the amount of the chemical in the tank Q(t) is the difference between the inflow rate and the outflow rate, then an ODE describing the amount of chemical in the tank is dq = γ r r Q V. The concentration of the chemical in the tank C(t) is just the amount of chemical in the tank divided by the volume of the tank. An ODE for the concentration is 1 dq V dc = γ r V r V Q V = γ r V r V C.

Example Suppose a 500 L tank initially containing 500 L of pure water is fed with a solution of saline and water at a rate of 2 L/min with a concentration of 1/2 g/l of saline. Set up an IVP describing the concentration of saline in the tank as a function of time. Solve the IVP for t > 0. Find the lim t C(t). The appropriate IVP: dc dc = (1/2)(2) 500 + 1 250 C = 1 500 C(0) = 0. 2 500 C The ODE is first-order, linear with an integrating factor of µ(t) = e t/250.

Solution t 0 d ds dc + 1 250 C = 1 500 d [ ] e t/250 1 C(t) = [ ] t e s/250 C(s) ds = 500 et/250 0 1 500 eu/250 du e t/250 C(t) C(0) = 1 2 (et/250 1) C(t) = 1 2 (1 e t/250 ) ( ) 1 lim C(t) = lim t t 2 (1 e t/250 ) = 1 2

Graph C t 0.5 0.4 0.3 0.2 0.1 200 400 600 800 1000 t

Newton s Law of Cooling Suppose the temperature of an object is θ and the temperature of the environment in which the object sits is T. Furthermore assume the temperature of the environment is constant. Newton s Law of Cooling states that the rate of change in the temperature of the object is proportional to the difference between the temperature of the object and the temperature of the environment. A first-order, linear ODE describing the change in θ is dθ = k(θ T ). If we assume the proportionality constant k > 0, why does the right-hand side of the ODE possess a minus " sign?

Example Suppose a cup of coffee is initially 200 degrees Fahrenheit and one minute later is at 190 degrees Fahrenheit in a room whose temperature is 70 degrees Fahrenheit. When will the temperature of the coffee be 150 degrees Fahrenheit? An IVP describing this situation is dθ = k(θ 70) θ(0) = 200. We should also use the observation that θ(1) = 190 degrees Fahrenheit.

Solution Re-writing the ODE in standard form as dθ + k θ = 70k we see that the integrating factor is µ(t) = e k t. t 0 d [ ] e k t θ(t) = 70ke k t d [ ] t e k s θ(s) ds = 70ke k u du ds e k t θ(t) θ(0) = 70(e k t 1) Question: how do we find k? 0 θ(t) = 200e k t + 70(1 e k t ) θ(t) = 70 + 130e k t

Determining the Value of k Recall that θ(1) = 190 so that we have the equation, θ(1) = 70 + 130e k(1) 190 = 70 + 130e k e k = 12 13 k = ln 12 13 k = ln 13 12 0.0800427 t ln(13/12) θ(t) = 70 + 130e

When is the Coffee s Temperature 150 F? 150 = t ln(13/12) 70 + 130e 80 = t ln(13/12) 130e e t ln(13/12) = 8 ( ) 13 13 t ln = ln 12 ( 8 13 ) t = ln(8/13) 6.06561 min. ln(12/13)

Graph 200 Θ t 180 160 140 120 100 80 10 20 30 40 50 60 t

Escape Velocity (1 of 2) An object of mass m is launched perpendicularly from the surface of the earth with initial velocity v 0. Question: what is the minimum initial velocity that will allow the object to escape the earth s gravitational attraction? Assumptions: The only force on the object is gravity which varies inversely with the square of the distance separating the centers of mass of the object and the earth. The radius of the earth is R. The distance from the object to the surface of the earth is x.

Escape Velocity (2 of 2) Recall Newton s Second Law of Motion, F = m a, then Comments: a = dv = d 2 x 2 m a = m g R 2 (R + x) 2. The right-hand side of the equation captures the effect that the gravitational attraction of the earth decreases as x increases. We can treat x as the independent variable and v as the dependent variable using relationship (justified by the Chain Rule for Derivatives) a = dv = dv dx dx = dv dx v.

Solution (1 of 3) We now have the IVP: m v dv R 2 = m g dx (R + x) 2 v(0) = v 0. The ODE is first-order, separable. v v dv dx = g R 2 (R + x) 2 R 2 v dv = g (R + x) 2 dx v 0 u du = x 1 2 (v 2 v 2 0 ) = g R2 R + x g R 0 g R 2 (R + z) 2 dz

Solution (2 of 3) Solving for v(x) yields v(x) = v 2 0 2g R + 2g R R + x. As the object travels upward, its velocity decreases toward 0 at its maximum altitude (apogee). Solving the equation v(x) = 0 produces 2g R 2g R R + x 2g R R + x R + x = = v 2 0 = 2g R v 2 0 2g R 2g R v 2 0 x = R v 2 0 2g R v 2 0

Solution (3 of 3) R v0 2 x max = 2g R v0 2 If the object has achieved escape velocity, the maximum altitude is +, so we need an initial velocity v 0 for which 2g R v 2 0 = 0 v 0 = 2g R. If we use R 6, 378, 140 m and g 9.80665 m/s 2 then v 0 11184.6 m/s 6.95 mi/s!

Homework Read Section 2.3 Exercises: 1, 3, 15, 19, 31, 32