Sect2.1. Any linear equation:

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

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

Elementary Differential Equations

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

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.

First Order ODEs, Part II

Homework 2 Solutions Math 307 Summer 17

Solutions to the Review Questions

Solutions to the Review Questions

Math 308 Exam I Practice Problems

First Order Differential Equations

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

Math 308 Exam I Practice Problems

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

First Order Linear DEs, Applications

Name: October 24, 2014 ID Number: Fall Midterm I. Number Total Points Points Obtained Total 40

Differential equations

Lesson 10 MA Nick Egbert

Ch 2.3: Modeling with First Order Equations. Mathematical models characterize physical systems, often using differential equations.

Math 266, Midterm Exam 1

MATH 307 Introduction to Differential Equations Autumn 2017 Midterm Exam Monday November

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

Sample Questions, Exam 1 Math 244 Spring 2007

First Order Linear DEs, Applications

Differential Equations Class Notes

Math 210 Differential Equations Mock Final Dec *************************************************************** 1. Initial Value Problems

SMA 208: Ordinary differential equations I

Modeling with differential equations

dy dt = 1 y t 1 +t 2 y dy = 1 +t 2 dt 1 2 y2 = 1 2 ln(1 +t2 ) +C, y = ln(1 +t 2 ) + 9.

First Order ODEs, Part I

1. Diagonalize the matrix A if possible, that is, find an invertible matrix P and a diagonal

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

Ordinary Differential Equations

Chapter 2 Notes, Kohler & Johnson 2e

Introduction to di erential equations

Calculus IV - HW 2 MA 214. Due 6/29

SMA 208: Ordinary differential equations I

A population is modeled by the differential equation

Introductory Differential Equations

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

Lecture 19: Solving linear ODEs + separable techniques for nonlinear ODE s

MATH 307: Problem Set #3 Solutions

Calculus IV - HW 1. Section 20. Due 6/16

Section 2.5 Mixing Problems. Key Terms: Tanks Mixing problems Input rate Output rate Volume rates Concentration

Math 2Z03 - Tutorial # 3. Sept. 28th, 29th, 30th, 2015

MAT01B1: Separable Differential Equations

Problem Set. Assignment #1. Math 3350, Spring Feb. 6, 2004 ANSWERS

Lecture 2. Classification of Differential Equations and Method of Integrating Factors

MATH 251 Examination I October 10, 2013 FORM A. Name: Student Number: Section:

Math 3313: Differential Equations First-order ordinary differential equations

4. Some Applications of first order linear differential

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

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

MATH 251 Examination I October 5, 2017 FORM A. Name: Student Number: Section:

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

Math Spring 2014 Homework 2 solution

Math 266: Autonomous equation and population dynamics

M343 Homework 3 Enrique Areyan May 17, 2013

Solutions x. Figure 1: g(x) x g(t)dt ; x 0,

Math Applied Differential Equations

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

Solutions to Math 53 First Exam April 20, 2010

P (t) = rp (t) 22, 000, 000 = 20, 000, 000 e 10r = e 10r. ln( ) = 10r 10 ) 10. = r. 10 t. P (30) = 20, 000, 000 e

8.a: Integrating Factors in Differential Equations. y = 5y + t (2)

20D - Homework Assignment 1

1 Differential Equations

MATH 2410 PRACTICE PROBLEMS FOR FINAL EXAM

Exponential and Logarithmic Functions

Math Applied Differential Equations

Chapter1. Ordinary Differential Equations

1.2. Direction Fields: Graphical Representation of the ODE and its Solution Let us consider a first order differential equation of the form dy

Autonomous Equations and Stability Sections

6.5 Separable Differential Equations and Exponential Growth

Name: Solutions Final Exam

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

8. Qualitative analysis of autonomous equations on the line/population dynamics models, phase line, and stability of equilibrium points (corresponds

Lecture 7 - Separable Equations

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

First Order Differential Equations Chapter 1

C H A P T E R. Introduction 1.1

HW2 Solutions. MATH 20D Fall 2013 Prof: Sun Hui TA: Zezhou Zhang (David) October 14, Checklist: Section 2.6: 1, 3, 6, 8, 10, 15, [20, 22]

First Order Differential Equations

APPM 2360: Midterm exam 1 February 15, 2017

2.4 Differences Between Linear and Nonlinear Equations 75

MATH 251 Examination I February 25, 2016 FORM A. Name: Student Number: Section:

MAT 275 Test 1 SOLUTIONS, FORM A

MA26600 FINAL EXAM INSTRUCTIONS December 13, You must use a #2 pencil on the mark sense sheet (answer sheet).

Math 217 Practice Exam 1. Page Which of the following differential equations is exact?

ODE Math 3331 (Summer 2014) June 16, 2014

Worksheet 9. Math 1B, GSI: Andrew Hanlon. 1 Ce 3t 1/3 1 = Ce 3t. 4 Ce 3t 1/ =

REVIEW NOTES FOR MATH 266

Section Exponential Functions

1. Why don t we have to worry about absolute values in the general form for first order differential equations with constant coefficients?

Math 2214 Solution Test 1D Spring 2015

. For each initial condition y(0) = y 0, there exists a. unique solution. In fact, given any point (x, y), there is a unique curve through this point,

Solutions of Math 53 Midterm Exam I

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

LAURENTIAN UNIVERSITY UNIVERSITÉ LAURENTIENNE

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

Math 312 Lecture 3 (revised) Solving First Order Differential Equations: Separable and Linear Equations

Transcription:

Sect2.1. Any linear equation: Divide a 0 (t) on both sides a 0 (t) dt +a 1(t)y = g(t) dt + a 1(t) a 0 (t) y = g(t) a 0 (t) Choose p(t) = a 1(t) a 0 (t) Rewrite it in standard form and ḡ(t) = g(t) a 0 (t) dt +p(t)y = ḡ(t) Find integrating factor: µ(t) = e p(t)dt.

Multiply µ(t) = e p(t)dt on both sides µ(t) dt +µ(t)p(t)y = µ(t)g(t) µ(t) dt +(µ(t)) y = µ(t)g(t) {µ(t)y} = µ(t)g(t) Integrate directly on both sides µ(t)y = µ(t)g(t)dt + c ( ) 1 y(t) = e at g(t)dt+c µ(t)

Sect2.2. Separable Equations: dx = f(x)g(x) Example 1: Show that the equation is separable and find an equation for its integral curves dx = x2 1 y 2 Choose f(x) = x 2 and g(x) = 1 1 y 2. It is separable.

dx = x 2 1 y 2 (LHS : only y) (1 y 2 ) dx = x2 (RHS : only x) (1 y 2 ) dx dx = (1 y 2 ) = x 2 dx x 2 dx (1 y 2 ) = x 2 dx (integral curves) y 1 3 y3 = 1 3 x3 +c

4 Plot of y (1/3)y 3 =x 3 +c 3 c<0 2 1 y 0 1 2 3 c>0 4 3 2 1 0 1 2 3 x

Example 2: Solve the initial value problem and determine the interval in which the solution exists. dx = 3x2 +4x+2 2(y 1) y(0) = 1 Choose f(x) = 3x 2 +4x+2 and g(x) = 1 2(y 1). It is separable.

dx = 3x2 +4x+2 2(y 1) (LHS : only y) 2(y 1) dx = 3x2 +4x+2 (RHS : only x) 2(y 1) dx dx = 2(y 1) = (3x 2 +4x+2)dx (3x 2 +4x+2)dx 2(y 1) = (3x 2 +4x+2)dx (integral curves) y 2 2y = x 3 +2x 2 +2x+c

General solutions y 2 2y = x 3 +2x 2 +2x+c. Initial condition y(0) = 1 means that y = 1 when x = 0. ( 1) 2 2 ( 1) = c c = 3 Solve for y = 1± x 3 +2x 2 +2x+4 Only the one with - sign satisfies y(0) = 1. So y = 1 x 3 +2x 2 +2x+4. To determine the interval of solution: Root function is involved. Need to make sure the quantity under the radical to be positive. x+2 0 x 3 +2x 2 +2x+4 0 (x 2 +2)(x+2) 0

20 15 y=1+sqrt(x. 3 +2*x. 2 +2*x+c+1) 10 5 0 5 10 y=1 sqrt(x. 3 +2*x. 2 +2*x+c+1) 15 4 3 2 1 0 1 2 3 4

Example 3: Solve equation. Draw graphs of several integral curves. Also find a solution passing through point (0, 1). It is separable. Rewrite it as dx = 4x x3 4+y 3 (4+y 3 ) = (4x x 3 )dx Integration 4y + y4 4 = 2x2 1 4 x4 +c

3 2 y 4 +16 y+x 4 8 x 2 100 = 0 c= 100 1 0 c= 1 c=10 y c=20 1 c=30 2 3 4 4 3 2 1 0 1 2 3 4 x

Other form of separable equations Example: xdx+ye x = 0 ye x = xdx dx = x ye x dx = xex y M(x)+N(x) dx Rewrite it as = 0 or M(x)dx+N(y) = 0 N(y) = M(x)dx N(y) = M(x)dx+c

2.3 Modeling with the first order equations Example 1: At time t = 0, a tank contains Q 0 lb of salt dissolved in 100 gal of water. Assume that water containing 1 4lb of salt/gal is entering the tank at a rate of r gal/min and the well stirred mixture is draining from the tank at the same rate. Set up the initial value problem that describes this flow process. Find the amount of salt Q(t) in the tank at any time. And also find the limiting amount Q L that is present after a very long time. If r = 3 and Q 0 = 2Q L, find the time T after which the salt level is less than 1.02Q L.

Example 1: Let Q(t) denote the total amount of salt inside the tank at any time. dq = rate in rate out dt Rate in: 1 4 lb/gal r gal/min Rate out: Concentration of salt: r gal/min. Concentration of salt inside tank:. Total amount of salt Volume of the tank = Q(t) 100 (lb/gal) dq dt = r 4 rq(t) 100 Q(t) = 25+ce rt/100 Q(0) = Q 0 c = Q 0 25

Example 1: Q(t) = 25+(Q 0 25)e rt/100 50 Plot of solutions with r=3 and different Q0 Q 45 40 35 30 25 20 15 10 5 Q0=25 Q0=20 Q0=15 Q0=10 Q0=5 Q0=0 0 0 20 40 60 80 100 t

Example 1: Q(t) = 25+(Q 0 25)e rt/100 Q(t) = 25(1 e rt/100 )+Q 0 e rt/100 Q(t) 25. Find the amount of salt Q(t) in the tank at any time. And also find the limiting amount Q L that is present after a very long time. Q L = 25 If r = 3 and Q 0 = 2Q L, find the time T after which the salt level is less than 1.02Q L. Q(t) = 25+(Q 0 25)e rt/100 = 25+25e rt/100 Q(T) < 1.02Q L = 25.5

50 Plot of solutions with r=3 and different Q0 45 40 Q 35 30 25 1.02*QL=25.5 T 40 80 120 160 200 t

30 Plot of solutions with r=3 and different Q0 29 28 Q 27 26 1.02*QL=25.5 25 24 40 80 120 160 200 t

Example 1: Q(T) = 25+25e 0.03T = 25.5 25e 0.03T = 0.5 T = ln(50) 0.03 130.4(min)

Example 3: A pond initially contains 10 million gal of fresh water (V = 10 7 gal). Polluted water with undesirable chemical flows into the pond at the rate of r=5 million gal/yr. And mixture in the pond flows out at the same rate. The concentration γ(t) of chemical in the incoming water changes periodically with time γ(t) = 2 + sin(2t) (g/gal). Rate in : r γ(t) Rate out : r Q(t) V Construct a mathematical model of this process and determine the amount of chemical Q(t) in the pond at any time.

Modeling Example 3: Let Q(t) denote the total amount of chemical (gram) in pond. Time t is in years. dq dt = rate in rate out Rate in: r γ(t) = 5million (2+sin(2t)) Rate out: r Q(t) V = 5 10 6 Q(t) 10 7 = Q(t) 2. dq dt = 5 106 (2+sin(2t)) Q(t) 2 Q(0) = 0 (fresh water)

Example 3 : solution dq dt + Q(t) 2 = 5 10 6 (2+sin(2t)) Q(t) = 5 10 6 ( 20 40 17 cos(2t)+ 10 17 ) 100 sin(2t) 17 e t/2. Variation in the incoming concentration cause the oscillation in the solution.

12 x 107 10 8 6 4 2 0 0 5 10 15 20

Example 2: Suppose that a sum of money is deposited in a bank or money fund that pays interest at an annual rate r. The value S(t) of the investment at any time t depends on the frequency with which interest is compounded as well as the interest rate. Financial institutions have various policies concerning compounding: some compound monthly, some weekly, some even daily. If we assume that compounding take place continuously, then we can set up a single initial value problem that describe the growth of the investment.

Sect2.5. Autonomous Equation and Population Dynamics Autonomous Equation: An equation is called autonomous if f does not explicitly depend on independent variable dt = f(y) (separable) Example: To determine they are autonomous or not. dt = y2 +2 du dt = sin(u t) dx = y2 +x 2 dp dt = 1 2 p 450

Sect2.5. Autonomous Equation and Population Dynamics Autonomous Equation: An equation is called autonomous if f does not explicitly depend on independent variable dt = f(y) (separable) Example: To determine they are autonomous or not. dt = y2 +2 (yes) dx = y2 +x 2 (no) du dt = sin(u t) (no) dp dt = 1 2p 450 (yes)

Exponential Growth Let y = φ(t) be the population of a species at t. The rate of change of y is proportional to the current value of y. Parameter r is called dt = ry the rate of growth if r > 0 the rate of decline if r < 0 We assume that r > 0 so population is growing. = ry y(0) = y 0 dt y(t) = y 0 e rt The population will grow exponentially.

Limitation of Exponential Growth Under ideal conditions, exponential growth ever observed to be reasonably accurate for many populations. At least for limited period of time. However it is clear that such ideal conditions will be broken eventually due to the limitation on space, food supply, or other resources. That will reduce the growth rate and bring an end to uninhibited exponential growth.

Logistic Growth The growth rate actually depends on the population. We replace the constant r by h(y) = r ay to get. Logistic equatiion h(y) r when y is small. h(y) decreases as y grows. dt = (r ay)y h(y) < 0 when y is sufficiently large. It can be rewritten as dt = r (1 y K ) y with K = r a r is called Intrinsic growth rate. It is the growth rate in the absence of any limiting factors.

Equilibrium solution Let dt = 0. r( 1 y ) y = 0 K Solve for y and obtain, y = 0 or y = K They are also called critical point.

Plot of f(y) = r ( 1 y ) y K f(y) ( K 2, rk 4 ) (0, 0) K 2 K y

t Plot of solutions with different y0 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2 y0=10 y0=20 y0=30 y0=40 y0=50 y0=60 K y K/2

General solution ( (1 y/k)y = rdt ) 1 y 1/K 1 y/k = rdt ln y ln 1 y/k = rt+c ln y 1 y/k = rt+c y 1 y/k = ±ec e rt y 1 y/k = Cert

Plug in y(0) = y 0, we have C = y 0 1 y 0 /K. y(t) = y 0 K y 0 +(K y 0 )e rt y(t) K as t K is called carrying capacity. It is an asymptotically stable solution. Equilibrium 0 is an unstable equilibrium solution.

Logistic Growth with a threshold dt = r(1 y/t)(1 y/k)y where r > 0 and 0 < T < K.

Sect 2.7 Euler s method The short straight line is an approximation to the solution passing through the point.

Approximation dt = f(t,y), y = φ(t) y(0) = φ(0) = y 0 At (t 0,y 0 ), for t 1 close to t 0, use tangent line y(t 1 ) = y 0 +f(t 0,y 0 )(t t 0 ) to approximate φ(t 1 ) y(t 1 ) = y 0 +f(t 0,y 0 )(t 1 t 0 ) At t 1, for t 1 close to t 0 φ(t 2 ) y(t 2 ) = y 1 +f(t 1,y 1 )(t 2 t 1 ) φ(t n ) y(t n ) = y n 1 +f(t n 1,y n 1 )(t n t n 1 )

Example Consider the initial value problem dt = 3 2t 1 2 y y(0) = 1 Use Euler s method to with stepsize h = 0.2 to find approximate values of the solution of the equation at t = 0.2, 0.4, 0.6, 0.8, 1. At (t 0 y 0 ) = (0,1),