Growth and Decay Problems Separable Differential Equations Direction Fields and Euler s Method. Calculus. Differential Equations (I)

Similar documents
8.7 Exponential Growth and Decay

4.1 INTRODUCTION TO THE FAMILY OF EXPONENTIAL FUNCTIONS

Section 1.4. Difference Equations

Particular Solutions. y = Ae 4x and y = 3 at x = 0 3 = Ae = A y = 3e 4x

CHAPTER FIVE. Solutions for Section 5.1. Skill Refresher. Exercises

Numerical Solution of Differential Equations

Visualizing Differential Equations Slope Fields. by Lin McMullin

Microeconomic Theory: Basic Math Concepts

Objectives. Materials

Eigenvalues, Eigenvectors, and Differential Equations

MAT 274 HW 2 Solutions c Bin Cheng. Due 11:59pm, W 9/07, Points

Differential Equations

1 Error in Euler s Method

A First Course in Elementary Differential Equations. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Chapter 4: Exponential and Logarithmic Functions

Solutions to Exercises, Section 4.5

EXPONENTIAL FUNCTIONS

For additional information, see the Math Notes boxes in Lesson B.1.3 and B.2.3.

Logarithmic and Exponential Equations

Week 2: Exponential Functions

General Theory of Differential Equations Sections 2.8, , 4.1

Homework #2 Solutions

Chapter 4 Online Appendix: The Mathematics of Utility Functions

Math 120 Final Exam Practice Problems, Form: A

Chapter 9. Systems of Linear Equations

1. First-order Ordinary Differential Equations

Also, compositions of an exponential function with another function are also referred to as exponential. An example would be f(x) = x.

Math 115 HW #8 Solutions

19.7. Applications of Differential Equations. Introduction. Prerequisites. Learning Outcomes. Learning Style

2008 AP Calculus AB Multiple Choice Exam

x 2 + y 2 = 1 y 1 = x 2 + 2x y = x 2 + 2x + 1

AP Calculus BC 2001 Free-Response Questions

$ Example If you can earn 6% interest, what lump sum must be deposited now so that its value will be $3500 after 9 months?

Continuous Compounding and Discounting

9 Exponential Models CHAPTER. Chapter Outline. Chapter 9. Exponential Models

AP Calculus BC 2013 Free-Response Questions

Dimensional Analysis and Exponential Models

Section 4-7 Exponential and Logarithmic Equations. Solving an Exponential Equation. log log 5. log

correct-choice plot f(x) and draw an approximate tangent line at x = a and use geometry to estimate its slope comment The choices were:

The Method of Least Squares. Lectures INF2320 p. 1/80

The Method of Partial Fractions Math 121 Calculus II Spring 2015

Numerical Solution of Differential

Feed a Fever..., or How long should I leave a thermometer in my mouth to take my body temperature accurately?

Representation of functions as power series

CURVE FITTING LEAST SQUARES APPROXIMATION

2 Integrating Both Sides

Review of Fundamental Mathematics

About Compound Interest

Module M1.5 Exponential and logarithmic functions

Temperature Scales. The metric system that we are now using includes a unit that is specific for the representation of measured temperatures.

GA/7 Potentiometric Titration

Linear and quadratic Taylor polynomials for functions of several variables.

Student Performance Q&A:

Dimensional Analysis; Exponential and Logarithmic Growth/Decay

Microeconomics Sept. 16, 2010 NOTES ON CALCULUS AND UTILITY FUNCTIONS

Solving DEs by Separation of Variables.

Future Value of an Annuity Sinking Fund. MATH 1003 Calculus and Linear Algebra (Lecture 3)

MAT12X Intermediate Algebra

Second Order Linear Nonhomogeneous Differential Equations; Method of Undetermined Coefficients. y + p(t) y + q(t) y = g(t), g(t) 0.

Nonlinear Algebraic Equations. Lectures INF2320 p. 1/88

To give it a definition, an implicit function of x and y is simply any relationship that takes the form:

Solutions to Linear First Order ODE s

1 Review of Newton Polynomials

The Basics of Physics with Calculus. AP Physics C

Lecture 2. Marginal Functions, Average Functions, Elasticity, the Marginal Principle, and Constrained Optimization

REVIEW SHEETS INTRODUCTORY PHYSICAL SCIENCE MATH 52

5.1 Simple and Compound Interest

Part 1 Expressions, Equations, and Inequalities: Simplifying and Solving

Separable First Order Differential Equations

Mixing Warm and Cold Water

Calculus AB 2014 Scoring Guidelines

AP Physics 1 and 2 Lab Investigations

Vilnius University. Faculty of Mathematics and Informatics. Gintautas Bareikis

APPENDIX. Interest Concepts of Future and Present Value. Concept of Interest TIME VALUE OF MONEY BASIC INTEREST CONCEPTS

Spectrophotometry and the Beer-Lambert Law: An Important Analytical Technique in Chemistry

Euler s Method and Functions

VAPOR PRESSURE AS A FUNCTION OF TEMPERATURE. This laboratory covers material presented in section 11.8 of the 9 th Ed. of the Chang text.

This means there are two equilibrium solutions 0 and K. dx = rx(1 x). x(1 x) dt = r

Growth Models. Linear (Algebraic) Growth. Growth Models 95

Math 1B, lecture 5: area and volume

Week 1: Functions and Equations

Mark Howell Gonzaga High School, Washington, D.C.

Student name: Earlham College. Fall 2011 December 15, 2011

An Introduction to Partial Differential Equations

Big Ideas in Mathematics

Chemical Kinetics. 2. Using the kinetics of a given reaction a possible reaction mechanism

99.37, 99.38, 99.38, 99.39, 99.39, 99.39, 99.39, 99.40, 99.41, cm

6.5 Applications of Exponential and Logarithmic Functions

MATH 34A REVIEW FOR MIDTERM 2, WINTER Lines. (1) Find the equation of the line passing through (2,-1) and (-2,9). y = 5

100. In general, we can define this as if b x = a then x = log b

LS.6 Solution Matrices

1A Rate of reaction. AS Chemistry introduced the qualitative aspects of rates of reaction. These include:

Mathematics Common Core Sample Questions

Heat equation examples

Increasing for all. Convex for all. ( ) Increasing for all (remember that the log function is only defined for ). ( ) Concave for all.

DIFFERENTIABILITY OF COMPLEX FUNCTIONS. Contents

Definition of derivative

Transcription:

Calculus Differential Equations (I)

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Modelling the Growth of Bacteria (I) Most people are unaware of the mechanisms by which bacteria make us sick. Many organisms (like E. coli) produce a toxin, which in sufficient quantity can cause sickness or even death. Some bacteria can reproduce in our bodies at a surprisingly fast rate. If they reproduce quickly enough, they can overwhelm our bodies natural defenses, growing to such large numbers that the sheer volume of toxin they are producing causes serious illness.

Modelling the Growth of Bacteria (II) The table shown in the margin indicates the number of E. coli bacteria (in millions of bacteria per ml) in a laboratory culture measured at half-hour intervals during the course of an experiment. Time (hours) Number of Bacteria (hours) (millions per ml) 0. 1.2 0.5 2.5 1.0 5.1 1.5 11.0 2.0 23.0 2.5 45.0 3.0 91.0 3.5 180.0 4.0 350.0

Modelling the Growth of Bacteria (III) We have plotted the number of bacteria per milliliter versus time in Figure 6.1. Careful analysis of experimental data has shown that bacterial populations grow at a rate proportional to their current level due to the fact that the bacteria reproduce by binary fission (i.e., each cell reproduces by dividing into two cells). Figure: [6.1] Growth of bacteria.

Modelling the Growth of Bacteria (IV) In this case, the rate at which the bacterial culture grows is directly proportional to the current population (until such time as resources become scarce or overcrowding becomes a limiting factor). If we let y(t) represent the number of bacteria in a culture at time t, then the rate of change of the population with respect to time is y (t). Thus, since y (t) is proportional to y(t), we have y (t) = ky(t), for some constant of proportionality k (the growth constant). Since the above equation involves the derivative of an unknown function, we call it a differential equation. Our aim is to solve the differential equation, that is, find the function y(t).

Modelling the Growth of Bacteria (V) Assuming that y(t) > 0 (since y(t) denotes a population), we have y (t) y(t) = k. Integrating both sides of the equation w.r.t. t, we obtain y (t) y(t) dt = k dt. Evaluating these integrals, we obtain ln y(t) = kt + c (since y(t) > 0). Taking exponentials of both sides, we get y(t) = e ln y(t) = e kt+c = Ae kt (A = e c )

Modelling the Growth of Bacteria (VI) The equation y(t) = Ae kt, is called an exponential growth law if k > 0 and an exponential decay law if k < 0.

Exponential Growth of a Bacterial Colony Example (1.1) A freshly inoculated bacterial culture of Streptococcus A (a common group of microorganisms that cause strep throat) contains 100 cells. When the culture is checked 60 minutes later, it is determined that there are 450 cells present. Assuming exponential growth, determine the number of cells present at any time t (measured in minutes) and find the doubling time. ln 4.5 ( Figure: [6.2] y = 100e 60 t).

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Radioactive Decay (I) There are a number of physical phenomena that satisfy a growth or decay law. Another of these is found in the decay of radioactive elements. (Recall that radioactive elements are chemically unstable elements that gradually decay into other, more stable elements.)

Radioactive Decay (II) Experiments have shown that the rate at which a radioactive element decays is directly proportional to the amount present. Let y(t) be the amount (mass) of a radioactive element present at time t. Then, we have that the rate of change (rate of decay) of y(t) satisfies We have that y (t) = ky(t). y(t) = A e kt, for some constants A and k (the decay constant) to be determined.

Radioactive Decay (III) It is common to discuss the decay rate of a radioactive element in terms of its half-life. The half-life of an element is the time required for half of the initial quantity to decay into other elements. For instance, scientists have calculated that the half life of carbon-14 ( 14 C) is approximately 5730 years. That is, if you have 2 grams of 14 C today and you come back in 5730 years, you will have approximately 1 gram of 14 C remaining. It is this long half-life and the fact that every living creature continually takes in 14 C (until it dies) that makes 14 C measurements useful for radiocarbon dating.

Example (1.2) If you have 50 grams of 14 C today, how much will be left in 100 years? Radioactive Decay (IV) Figure: [6.3] Decay of 14 C.

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Newton s Law of Cooling (I) Another easily observable and mathematically similar physical principle is Newton s Law of Cooling. You might notice that if you introduce a hot object into cool surroundings (or equivalently, a cold object into warm surroundings) the rate at which the object cools (or warms) is not proportional to its temperature, but rather, is proportional to the difference in temperature between the object and its surroundings.

Newton s Law of Cooling (II) Let y(t) be the temperature of the object at time t and T a be the temperature of the surroundings (the ambient temperature, which we assume to be constant), we have the differential equation y (t) = k[y(t) T a ].

Newton s Law of Cooling (III) In the case of cooling, we assume that T a < y(t). Dividing both sides of the differential equation y (t) = k[y(t) T a ]. by y(t) T a and then integrate both sides, we obtain y (t) dt = k dt y(t) T a Evaluating the integrals and taking exponential on both sides of the resulting equation, we have y(t) T a = e kt+c = Ae kt (A = e c ) where A and k are constants to be determined.

Newton s Law of Cooling for a Cup of Coffee Example (1.3) A cup of fast food coffee is 180 F when freshly poured. After 2 minutes in a room at 70 F, the coffee has cooled to 165 F. Find the temperature at any time t and find the time at which the coffee has cooled to 120 F. Figure: [6.4] Temperature of coffee.

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Compound Interest (I) Suppose that a bank agrees to pay you 8% (annual) interest on your investment of $10, 000. Then, at the end of a year, you will have $10, 000 + (0.08)$10, 000 = $10, 000(1 + 0.08) = $10, 800. On the other hand, if the bank agrees to pay you interest twice a year at the same 8% annual rate, you receive 8 2 % interest twice each year. At the end of the year, you will have ( $10, 000 1 + 0.08 ) ( 1 + 0.08 ) 2 2 ( = $10, 000 1 + 0.08 2 = $10, 816. ) 2

Compound Interest (II) Continuing in this fashion, notice that paying (compounding) interest monthly would pay 8 % each month (period), resulting 12 in a balance of ( $10, 000 1 + 0.08 ) 12 = $10, 830.00. 12 Further, if interest is compounded daily, you would end up with ( $10, 000 1 + 0.08 ) 365 = $10, 832.78. 365 It should be evident that the more often interest is compounded, the greater the interest will be.

Compound Interest (III) A reasonable question to ask is if there is a limit to how much interest can accrue on a given investment at a given interest rate.

Compound Interest (IV) Recall that the annual percentage yield (APY) is the interest rate that would produce the same year-end value without using compounding. If n is the number of times per year that interest is compounded, we wish to calculate the APY under continuous compounding, ( APY = lim 1 + 0.08 ) n 1. n n To determine this limit, you must recall (see Chapter 0) that ( e = lim 1 + 1 m. m m)

Compound Interest (V) Notice that if we make the change of variable n = (0.08)m, then we have ( APY = lim 1 + 0.08 ) 0.08m [ ( 1 = lim 1 + 1 m ] 0.08 1 m 0.08m m m) = e 0.08 1 0.083287. Under continuous compounding, you would thus earn approximately 8.3% or $10, 000(e 0.08 1) = $832.87 in interest, leaving your investment with a total value of $10, 832.87.

Compound Interest (VI) More generally, suppose that you invest $P at an annual interest rate r, compounded n times per year. Then the value of your investment after t years is ( $P 1 + n) r nt. Under continuous compounding (i.e., taking the limit as n ), this becomes $Pe rt.

Comparing Forms of Compounding Interest Example (1.4) If you invest $7000 at an annual interest rate of 5.75%, compare the value of your investment after 5 years under various forms of compounding.

Example (1.5) Depreciation of Assets (a) Suppose that the value of a $10, 000 asset decreases at a constant percentage rate of 24% per year. Find its worth after 10 years; after 20 years. (b) Compare these values to a $10, 000 asset that is depreciated to no value in 20 years using linear depreciation. Figure: [6.5] Linear versus exponential depreciation.

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Separable Differential Equations (I) In section 6.1, we solved two different differential equations: y (t) = ky(t) and y (t) = k[y(t) T a ]. These are both examples of separable differential equations. We will examine this type of equation at some length in this section.

Separable Differential Equations (II) Consider the general first-order ordinary differential equation y = f (x, y). the derivative y of some unknown function y(x) is given as a function f of both x and y. The equation is first order since it involves only the first derivative of the unknown function. Our objective is to find some function y(x) (a solution) that satisfies the equation. We will consider the case where the x s and y s can be separated.

Separable Differential Equations (III) We call the equation y = f (x, y). separable if we can separate the variables, i.e., if we can rewrite it in the form g(y)y = h(x), where all of the x s are on one side of the equation and all of the y s are on the other side.

A Separable Differential Equation (IV) Example (2.1) Determine if the differential equation y = xy 2 2xy is separable.

An Equation That Is Not Separable (I) Example (2.2) The equation y = xy 2 2x 2 y is not separable, as there is no way to separate the x s and the y s.

An Equation That Is Not Separable (II) Essentially, the x s and y s must be separated by multiplication or division in order for a differential equation to be separable. Notice that in example 2.2, you can factor to get y = xy(y 2x). It is the subtraction y 2x that keeps this equation from being separable.

Method for Solving Separable Differential Equations (I) Separable differential equations are of interest because there is a very simple means of solving them. Notice that if we integrate both sides of g(y)y (x) = h(x) with respect to x, we get g(y)y (x) dx = h(x) dx. Since dy = y (x) dx, we have g(y) dy = h(x) dx. So, provided we can evaluate both of the preceding integrals, we have an equation relating x and y, which no longer involves y.

Method for Solving Separable Differential Equations (II) Notice that in the general case, the solution of a first-order separable equation will depend on an arbitrary constant c (the constant of integration). For each value of c, we get a different solution of the differential equation. This is called a family of solutions (the general solution) of the differential equation. To select just one of these solution curves, we must simply specify a single point through which the solution curve must pass, say (x 0, y 0 ). That is, we require that y(x 0 ) = y 0. This is called an initial condition (since this condition often specifies the initial state of a physical system). Such a differential equation together with an initial condition is referred to as an initial value problem (IVP).

Solving a Separable Equation Example (2.3) Solve the differential equation y = x2 + 7x + 3 y 2 Figure: [6.6] A family of solutions.

Solving an Initial Value Problem Example (2.4) Solve the IVP y = x2 + 7x + 3 y 2, y(0) = 3. Figure: [6.7] y = 3 x 3 + 21 2 x2 + 9x + 27.

Explicit and Implicit Representations of the Solutions In example 2.4 we were able to obtain an explicit representation of the solution (i.e., we found a formula for y in terms of x). Most often, we must settle for an implicit representation of the solution, that is, an equation relating x and y, which cannot be solved for y in terms of x alone.

An Initial Value Problem That Has Only an Implicit Solution (I) Example (2.5) Find the solution of the IVP y = 9x2 sin x cos y + 5e y, y(0) = π

An Initial Value Problem That Has Only an Implicit Solution (II) Figure: [6.8a] A family of solutions. Figure: [6.8b] The solution of the IVP.

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Logistic Growth (I) In section 6.1, we introduced the differential equation y = ky as a model of bacterial population growth under the conditions that the population increases with unlimited resources and with unlimited room for growth. Of course, all populations have factors that eventually limit their growth. Thus, this particular model generally provides useful information only for relatively short periods of time.

Logistic Growth (II) As an alternative model of population growth, consider the following. It is reasonable to assume that populations grow at a rate proportional to their present size, but that there is a maximum sustainable population, M (called the carrying capacity), determined by the available resources. Further, as the population size approaches M (and available resources become more scarce), the population growth will slow.

Logistic Growth (III) Thus, we might assume that the rate of growth of a population is jointly proportional to the present population level and the difference between the current level and the maximum, M. That is, if y(t) is the population at time, t, we assume that y (t) = ky(m y). This differential equation is referred to as the logistic equation.

Logistic Growth (IV) Two special solutions (the equilibrium solutions) of this differential equation are apparent. The constant functions y = 0 and y = M are both solutions of this differential equation. If y 0 and y M, we can solve the differential equation, since it is separable, as 1 y(m y) y (t) = k. Integrating both sides of the above equation with respect to t, we obtain 1 y(m y) y (t) dt = 1 y(m y) dy = k dt

Logistic Growth (V) Once again, we use partial fractions and have [ ] 1 My + 1 dt = k dt. M(M y) Carrying out the integrations gives us 1 M ln y 1 ln M y = kt + c. M Multiplying both sides by M, using the fact that 0 < y < M and Taking exponentials of both sides of the resultant equation, we have exp[ln y ln(m y)] = e kmt+mc = e kmt e Mc.

Logistic Growth (VI) Replacing the constant term e Mc by a new constant A, we obtain y M y = AekMt. Multiplying both sides of the above equation by (M y), we obtain y = Ae kmt (M y) = AMe kmt Ae kmt y. Combining the two y terms, we find y(1 + Ae kmt ) = AMe kmt. Finally, we can isolate y, to obtain an explicit representation of the general solution of the logistic equation, y = AMekMt 1 + Ae kmt.

Logistic equation: Logistic Growth (VII) y = AMekMt 1 + Ae kmt. In Figure 6.9, we plot a number of these solution curves for various values of A (for the case where M = 100 and k = 0.01), along with the equilibrium solution y = 100. we can see from Figure 6.9 that logistic growth consists of nearly exponential growth initially, followed by the graph becoming concave down and then asymptotically approaching the maximum, M. Figure: [6.9] Several solution curves.

Solving a Logistic Growth Problem Example (2.6) Given a maximum sustainable population of M = 1000 (this could be measured in millions or tons, etc.) and growth rate k = 0.007, find an expression for the population at any time, t, given an initial population of y(0) = 350. Figure: [6.10] y = 35, 000e7t 65 + 35e 7t.

Investment Strategies for Making a Million Example (2.7) Money is invested at 8% interest compounded continuously. If continuous deposits are made at the rate of $2000 per year, find the size of the initial investment needed to reach $1 million in 20 years.

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

First-Order Differential Equations (I) In section 6.2, we saw how to solve some separable first-order differential equations. While there are numerous other special cases of differential equations whose solutions are known, the vast majority cannot be solved exactly. For instance, the equation y = x 2 + y 2 + 1 is not separable and cannot be solved using our current techniques.

First-Order Differential Equations (II) Nevertheless, from the equation y = x 2 + y 2 + 1 some information about the solution(s) can be determined. Since y = x 2 + y 2 + 1 > 0, we can conclude that every solution is an increasing function. This type of information is called qualitative, since it tells us about some quality of the solution without providing any specific quantitative information.

First-Order Differential Equations (III) In this section, we examine first-order differential equations in a more general setting. We consider any first-order equation of the form y = f (x, y). While we cannot solve all such equations, it turns out that there are many numerical methods available for approximating the solution of such problems. We will study one simple method here, called Euler s method.

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

We begin by observing that any solution of equation y = f (x, y). Direction Fields (I) is a function y = y(x) whose slope at any particular point (x, y) is given by f (x, y). We draw a short line segment through each of a sequence of points (x, y), with slope f (x, y), respectively. This collection of line segments is called the direction field or slope field of the differential equation. Figure: [6.11a] Direction field for y = 1 2 y.

Direction Fields (II) Notice that if a particular solution curve passes through a given point (x, y), then its slope at that point is f (x, y). Thus, the direction field gives an indication of the behavior of the family of solutions of a differential equation. Figure: [6.11a] Direction field for y = 1 2 y.

Constructing a Direction Field (I) Example (3.1) Construct the direction field for y = 1 2 y.

Constructing a Direction Field (II) The direction field for y = 1 2 y. Figure: [6.11a] Direction field for y = 1 2 y. Figure: [6.11b] Several solutions of y = 1 2 y.

Using a Direction Field to Visualize the Behavior of Solutions (I) Example (3.2) Construct the direction field for y = x + e y.

Using a Direction Field to Visualize the Behavior of Solutions (II) The direction field for y = x + e y. Figure: [6.12a] Direction field for y = x + e y. Figure: [6.12b] Solution of y = x + e y passing through ( 4, 2).

Population Growth with a Critical Threshold (I) We have already seen (in sections 6.1 and 6.2) how differential equation models can provide important information about how populations change over time. A model that includes a critical threshold is P (t) = 2[1 P(t)][2 P(t)]P(t), where P(t) represents the size of a population at time t.

Population Growth with a Critical Threshold (II) A simple context in which to understand a critical threshold is with the problem of the sudden infestations of pests. For instance, suppose that you have some method for removing ants from your home. If the reproductive rate of the ants is lower than your removal rate then you will keep the ant population under control. However, as soon as the ant reproductive rate becomes larger than your removal rate (i.e., crosses the critical threshold), you won t be able to keep up with the extra ants and you will suddenly be faced with a big ant problem. We see this type of behavior in example 3.3.

Population Growth with a Critical Threshold (III) Example (3.3) Draw the direction field for P (t) = 2[1 P(t)][2 P(t)]P(t) and discuss the eventual size of the population.

Population Growth with a Critical Threshold (IV) The direction field for P (t) = 2[1 P(t)][2 P(t)]P(t) Figure: [6.13] Direction field for P (t) = 2[1 P(t)][2 P(t)]P(t).

Outline 1 Growth and Decay Problems Modelling the Growth of Bacteria Radioactive Decay Newton s Law of Cooling Compound Interest 2 Separable Differential Equations First Order Separable Differential Equations Logistic Growth 3 Direction Fields and Euler s Method Overview Direction Fields Euler s Method

Euler s Method (I) In cases where you are interested in finding a particular solution, the numerous arrows of a direction field can be distracting. Euler s method, enables you to approximate a single solution curve. The method is quite simple, based almost entirely on the idea of a direction field. However, Euler s method does not provide particularly accurate approximations.

Consider the IVP Euler s Method (II) y = f (x, y), y(x 0 ) = y 0. We can approximate the solution as follows. Partition the interval [a, b] into n equal-sized pieces: a = x 0 < x 1 < x 2 < < x n = b, where x i+1 x i = h, for all i = 0, 1,..., n 1. We call h the step size. The iteration scheme y(x i+1 ) y i+1 = y i + hf (x i, y i ), for i = 0, 1, 2,.... for obtaining the sequence of approximate values is called Euler s Method

Euler s Method (III) Euler s method is based on the tangent line approximation. Referring to Figure 6.14, if we would like to approximate the value of the solution at x = x 1 [i.e., y(x 1 )], and if x 1 is not too far from x 0, then we could follow the tangent line at (x 0, y 0 ) to the point corresponding to x = x 1 and use the y-value at that point (call it y 1 ) as an approximation to y(x 1 ). Figure: [6.14] Tangent line approximation.

Euler s Method (IV) Since the equation of the tangent line at x = x 0 is y = y 0 + y (x 0 )(x x 0 ), an approximation to the value of the solution at x = x 1 is the y-coordinate of the point on the tangent line corresponding to x = x 1, that is, y(x 1 ) y 1 = y 0 + y (x 0 )(x 1 x 0 ). Figure: [6.14] Tangent line approximation.

Using Euler s Method (I) Example (3.4) Use Euler s method to approximate the solution of the IVP y = y, y(0) = 1.

Using Euler s Method (II) Figure: [6.15] Exact solution versus the approximate solution (dashed line).

Finding an Approximate Solution (I) Example (3.5) Find an approximate solution for the IVP y = x 2 + y 2, y( 1) = 1 2. Figure: [6.16] Direction field for y = x 2 + y 2.

Finding an Approximate Solution (II) Figure: [6.17a] Approximate solution of y = x 2 + y 2, passing through ( ) 1, 1 2 Figure: [6.17b] Approximate solution superimposed on the direction field.

Equilibrium Solutions We say that the constant function y = c is an equilibrium solution of the differential equation y = f (t, y) if f (t, c) = 0 for all t. We say that an equilibrium solution is stable, if solutions close to the equilibrium solution tend to approach that solution as t. Alternatively, an equilibrium solution is unstable if solutions close to the equilibrium solution tend to get further away from that solution as t.

Finding Equilibrium Solutions (I) Example (3.6) Find all equilibrium solutions of 1 y (t) = k[y(t) 70] and 2 y (t) = 2y(t)[4 y(t)].

Finding Equilibrium Solutions (II) Figure: [6.18a] Direction field. Figure: [6.18b] Solution curve starting above y = 70. Figure: [6.18c] Solution curve starting below y = 70.

Determining the Stability of Equilibrium Solutions Example (3.7) Draw a direction field for y (t) = 2y(t)[4 y(t)] and determine the stability of all equilibrium solutions. Figure: [6.19] Direction field for y = 2y(4 y).