Unit #16 : Differential Equations

Similar documents
Integration, Separation of Variables

Integrals as Areas - Review. Integration to Find Areas and Volumes, Volumes of. Revolution

7.1 Day 1: Differential Equations & Initial Value Problems (30L)

Euler s Method and Logistic Growth (BC Only)

Chapter 6: Messy Integrals

Today: 5.4 General log and exp functions (continued) Warm up:

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

Numerical method for approximating the solution of an IVP. Euler Algorithm (the simplest approximation method)

MA 102 Mathematics II Lecture Feb, 2015

dt 2 The Order of a differential equation is the order of the highest derivative that occurs in the equation. Example The differential equation

First-Order Differential Equations

9.1 Solving Differential Equations

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

6.5 Separable Differential Equations and Exponential Growth

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

New Material Section 1: Functions and Geometry occurring in engineering

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

Euler s Method (BC Only)

17 Exponential and Logarithmic Functions

APPLICATIONS OF DIFFERENTIATION

. 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,

5 t + t2 4. (ii) f(x) = ln(x 2 1). (iii) f(x) = e 2x 2e x + 3 4

SMA 208: Ordinary differential equations I

Applied Calculus. Review Problems for the Final Exam

Final Exam Review Part I: Unit IV Material

6.0 INTRODUCTION TO DIFFERENTIAL EQUATIONS

LECTURE 4-1 INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS

This practice exam is intended to help you prepare for the final exam for MTH 142 Calculus II.

AP Calculus AB. Review for Test: Applications of Integration

Math 132 Information for Test 2

Practice Questions From Calculus II. 0. State the following calculus rules (these are many of the key rules from Test 1 topics).

5.5 Partial Fractions & Logistic Growth

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

Math 225 Differential Equations Notes Chapter 1

Ordinary Differential Equations (ODEs)

Calculus II Practice Test Questions for Chapter , 9.6, Page 1 of 9

9.3: Separable Equations

Section 4.3 Vector Fields

Slope Fields and Differential Equations. Copyright Cengage Learning. All rights reserved.

AP Calculus Worksheet: Chapter 2 Review Part I

Final Problem Set. 2. Use the information in #1 to show a solution to the differential equation ), where k and L are constants and e c L be

1.1. Bacteria Reproduce like Rabbits. (a) A differential equation is an equation. a function, and both the function and its

Differential Equations

Population Changes at a Constant Percentage Rate r Each Time Period

1 Antiderivatives graphically and numerically

1. The population of a bacteria culture increases at the rate of 3 times the square root of the present population.

Name Date Period. Worksheet 5.5 Partial Fractions & Logistic Growth Show all work. No calculator unless stated. Multiple Choice

Chapters 8.1 & 8.2 Practice Problems

3 Algebraic Methods. we can differentiate both sides implicitly to obtain a differential equation involving x and y:

Modeling with Differential Equations: Introduction to the Issues

Parabolas and lines

5.1 Separable Differential Equations

Limited Growth (Logistic Equation)

Target 6.1 The student will be able to use l Hôpital s Rule to evaluate indeterminate limits. lim. lim. 0, then

Name Class. 5. Find the particular solution to given the general solution y C cos x and the. x 2 y

Note: Final Exam is at 10:45 on Tuesday, 5/3/11 (This is the Final Exam time reserved for our labs). From Practice Test I

Exam 1 Review: Questions and Answers. Part I. Finding solutions of a given differential equation.

Solving Differential Equations: First Steps

Homework Solutions:

Distance and Velocity

Differential Equations

AP Calculus BC Fall Final Part IIa

Applications of integrals

In general, if we start with a function f and want to reverse the differentiation process, then we are finding an antiderivative of f.

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

Unit #5 : Implicit Differentiation, Related Rates. Goals: Introduce implicit differentiation. Study problems involving related rates.

13 Implicit Differentiation

Absolute and Local Extrema

Applications of First Order Differential Equation

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

CALCULUS BC., where P is the number of bears at time t in years. dt (a) Given P (i) Find lim Pt.

Solutions to the Review Questions

MAT 311 Midterm #1 Show your work! 1. The existence and uniqueness theorem says that, given a point (x 0, y 0 ) the ODE. y = (1 x 2 y 2 ) 1/3

Sample Questions, Exam 1 Math 244 Spring 2007

Lecture 2. Introduction to Differential Equations. Roman Kitsela. October 1, Roman Kitsela Lecture 2 October 1, / 25

The Definite Integral. Day 6 Motion Problems Strategies for Finding Total Area

Math 106 Answers to Exam 3a Fall 2015

Population Changes at a Constant Percentage Rate r Each Time Period

Introduction Growthequations Decay equations Forming differential equations Case studies Shifted equations Test INU0115/515 (MATHS 2)

Exponential functions are defined and for all real numbers.

2. Algebraic functions, power functions, exponential functions, trig functions

Math 2930 Worksheet Introduction to Differential Equations. What is a Differential Equation and what are Solutions?

6x 2 8x + 5 ) = 12x 8

Math 122 Fall Handout 11: Summary of Euler s Method, Slope Fields and Symbolic Solutions of Differential Equations

10 Exponential and Logarithmic Functions

MATH 1014 N 3.0 W2015 APPLIED CALCULUS II - SECTION P. Perhaps the most important of all the applications of calculus is to differential equations.

y = sin(x) y = x x = 0 x = 1.

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

MAC 2311 Calculus I Spring 2004

Modeling with differential equations

Mathematics 105 Calculus I. December 11, 2008

Project 1: Riemann Sums

Find the indicated derivative. 1) Find y(4) if y = 3 sin x. A) y(4) = 3 cos x B) y(4) = 3 sin x C) y(4) = - 3 cos x D) y(4) = - 3 sin x

Math 131. The Derivative and the Tangent Line Problem Larson Section 2.1

These notes are based mostly on [3]. They also rely on [2] and [1], though to a lesser extent.

FINAL EXAM CALCULUS 2. Name PRACTICE EXAM SOLUTIONS

Review for Final Exam, MATH , Fall 2010

Topics from Algebra and Pre-Calculus. (Key contains solved problems)

Exam 3 MATH Calculus I

Extreme Values of Functions

Transcription:

Unit #16 : Differential Equations Goals: To introduce the concept of a differential equation. Discuss the relationship between differential equations and slope fields. Discuss Euler s method for solving a differential equation numerically. Discuss the method of separation of variables to solve a differential equation exactly. Reading: Sections 6.3, 11.1 11.4.

2 Differential Equations Reading: Section 6.3 and 11.1 A differential equation (DE) is an equation involving the derivative(s) of an unknown function. Many of the laws of nature are easily expressed as differential equations. For example, here is one way to define the exponential function: dy dt = y Write this mathematical formula as a sentence, and then find a solution to the equation.

Unit 16 Differential Equations 3 How can the solution you found be altered and still satisfy the DE dy dt = y?

4 Making a further alteration to the function y = e t, find a family of functions all of which satisfy the DE dy dt = ky.

Unit 16 Differential Equations 5 The differential equation dy dt that = ky, when expressed as an English sentence, says the rate at which y changes is proportional to the magnitude of y. If k > 0, this is one way of characterizing exponential growth. If k < 0, the rate of change becomes negative and we are dealing with exponential decay.

6 If a DE involves the second derivative of a function, it is called a second order differential equation. Try to think of two functions that satisfy the differential equation d 2 y dt 2 = y. Then, try to combine these two functions to get even more solutions for this DE.

Unit 16 Differential Equations 7 Sources of Differential Equations We study differential equations primarily because many natural laws and theories are best expressed in this format. Translate the following sentence into an equation: The rate at which the potato cools off is proportional to the difference between the temperature of the potato and the temperature of the air around the potato.

8 Translate the following sentence into an equation: The rate at which a rumour spreads is proportional to the product of the people who have heard it and those who have not.

Unit 16 Differential Equations 9 Translate the following sentence into an equation: The rate at which water is leaking from the tank is proportional to the square root of the volume of water in the tank.

10 Translate the following sentence into an equation: As the meteorite plummets toward the Earth, its acceleration is inversely proportional to the square of its distance from the centre of the Earth. The previous examples indicate how easily differential equations can be constructed. Unfortunately, starting with those equations, we have a lot of work to do before we can predict will happen given the equation.

Unit 16 Differential Equations 11 Slope Fields Reading: Section 11.2 in the textbook. Consider the differential equation dy dx = cosx. Recall how we would use this derivative information to sketch y: dy values give the slopes of the graph of y dx Said another way, we are looking for a function y(x) which has, at each point, a slope given by cos(x). Give the most general function y that satisfies dy dx = cos(x).

12 We are now going to introduce an alternate way to get to this solution through graphical techniques. These are an extension of our slope interpretation. Example: Below is a slope field graph for the DE dy dx it constructed? 3 = cos(x). How was 2 1 0 1 2 3 0 1 2 3 4 5 6 7 8 9 Sketch the functions y found earlier on the slope field.

Unit 16 Differential Equations 13 Slope fields are especially useful when we study more general differential equations, which can be written in the form d dx y = f(x,y). Examples are dy dx = x y, dy dx = xy, and dy dx = y x. Note: These forms cannot be directly integrated to find y(x). Try to solve for y given dy dx = 1 2 (x y)

14 Sketch the slope field for the differential equation dy dx = 1 (x y), and sketch 2 two solutions. 2 1 2 1 1 2 1 2 This sketch gives an idea of the form of y which satisfies dy dx = 1 (x y), without 2 needing to solve for y as a function.

Unit 16 Differential Equations 15 Example: (Logistic Growth) The growth of a population is often modeled by the logistic differential equation. For example, if bacteria are grown on a petri dish which really cannot support a bacterial culture larger than L, then a useful differential equation model for the population is dp = kp (L P), dt where P(t) is the size of the culture at time t. For what values of P is the function kp (L P) zero? largest? smallest?

16 Sketch the slope field associated with the differential equation dp = kp (L P). dt On the slope field, draw several solutions using different initial conditions.

Unit 16 Differential Equations 17 Euler s Method Reading: Section 11.3 in the textbook. We can extend the idea of a slope field (a visual technique) to Euler s method (a numerical technique). Euler s method can be used to produce approximations of the curve y(x) that satisfy a particular differential equation. Here is the idea: Knowing where you are in x and y, you look at the slope field at your location, set off in that direction for a small distance, look again and adjust your direction, set off in that direction for a small distance, etc.

18 Algorithmically, Start at a point (x i,y i ) Compute the slope there, using the DE dy dx = f(x i,y i ) Follow the slope for a step of x: x i+1 = x i + x y i+1 = y i + dy dx x }{{} y

Unit 16 Differential Equations 19 = x+y with initial con- Follow this procedure for the differential equation dy dx dition y(0) = 0.1. Use x = 0.1. x y slope y = slope x 0 0.1 0.1 (0.1)(0.1) = 0.01 0.1 0.11 0.2 0.3 0.4

20 Here is a picture of the slope field for dy = x+y. On this slope field, sketch dx what you have done in creating the table of values. From the picture, would you say the values for y(x) in your table are over-estimates or under-estimates of the real y values? 1 0.8 0.6 0.4 0.2 0 0.2 0.4 0.6 0.8 1 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

Unit 16 Differential Equations 21 Separation of Variables Reading: Section 11.4 in the textbook. We have now considered both visual and approximate techniques for solving differential equations, which can be obtained with no calculus. The problem with those approaches is that they do not result in formulas for the function y that we want to identify. We (at last!) proceed to calculus-based techniques for finding a formula for y. Consider the differential equation dy dx = ky. Treating dx and dy as separable units, transform the equation so that only terms with y are on the left, and only terms with x are on the right. Place an integral sign in front of each side.

22 Evaluate the integrals. Solve for y. The solution gives a family of functions, one for each value of the integration constant. k is also a parameter, of course, but it is presumed to be specified in the differential equation.

Unit 16 Differential Equations 23 As soon as we are given an initial value, say y(0) = 10, the solution becomes unique. The solution with initial value y(0) = 10 is given by If y 0 > 0, this function describes exponential growth (k > 0) or decay (k < 0).

24 Use the method of separation of variables to solve the differential equation dr dx = 2R+3, and find the particular solution for which R(0) = 0.

Unit 16 Differential Equations 25 Classifying Differential Equations For any differential equation which is separable, we can at least attempt to find a solution using anti-derivatives. For equations which are not separable, we ll need other techniques. It is important, as a result, to be able to tell the difference! Indicate which of the following differential equations are separable. For those which are separable, set up the appropriate integrals to start solving for y. dy dx = x2 dy dx = ey x

26 dy dx = x+y dy dx = cos(x)cos(y)

Unit 16 Differential Equations 27 dy dx = cos(xy) A. Separable B. Not separable dy dx = ex +e y A. Separable B. Not separable dy dx = e(x+y) A. Separable B. Not separable

28 Note: all the original anti-derivatives we studied in first term are of the form dy dx = f(x) and so y = F(x) = f(x) dx. These are all immediately separable. The challenge is that most interesting scientific laws expressed in differential equation form aren t that easy to work with.