Section 7.2: Direction Fields and Euler’s Methods Practice HW from Stewart Textbook (not to hand in) p. 511 # 1-13, 19-23 odd.

Slides:



Advertisements
Similar presentations
Boyce/DiPrima 9th ed, Ch 2.4: Differences Between Linear and Nonlinear Equations Elementary Differential Equations and Boundary Value Problems, 9th edition,
Advertisements

Ch 2.7: Numerical Approximations: Euler’s Method
Homework Homework Assignment #11 Read Section 3.3 Page 139, Exercises: 1 – 73 (EOO), 71 Rogawski Calculus Copyright © 2008 W. H. Freeman and Company.
Boyce/DiPrima 9th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
First-Order Differential Equations
Ch 2.2: Separable Equations In this section we examine a subclass of linear and nonlinear first order equations. Consider the first order equation We can.
Ch 2.1: Linear Equations; Method of Integrating Factors
Ch 5.5: Euler Equations A relatively simple differential equation that has a regular singular point is the Euler equation, where ,  are constants. Note.
The Derivative. Objectives Students will be able to Use the “Newton’s Quotient and limits” process to calculate the derivative of a function. Determine.
Announcements Topics: Work On:
Section 8.3 Slope Fields; Euler’s Method.  Calculus,10/E by Howard Anton, Irl Bivens, and Stephen Davis Copyright © 2009 by John Wiley & Sons, Inc. All.
Homework Homework Assignment #19 Read Section 9.3 Page 521, Exercises: 1 – 41(EOO) Quiz next time Rogawski Calculus Copyright © 2008 W. H. Freeman and.
Math 3120 Differential Equations with Boundary Value Problems
Calculus and Analytic Geometry II Cloud County Community College Spring, 2011 Instructor: Timothy L. Warkentin.
In the previous two sections, we focused on finding solutions to differential equations. However, most differential equations cannot be solved explicitly.
A Numerical Technique for Building a Solution to a DE or system of DE’s.
Ch 2.2: Separable Equations In this section we examine a subclass of linear and nonlinear first order equations. Consider the first order equation We can.
Boyce/DiPrima 9 th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Ch 8.1 Numerical Methods: The Euler or Tangent Line Method
Copyright © Cengage Learning. All rights reserved. 6 Inverse Functions.
Math 3120 Differential Equations with Boundary Value Problems Chapter 2: First-Order Differential Equations Section 2-6: A Numerical Method.
Ch 2.2: Separable Equations In this section we examine a subclass of linear and nonlinear first order equations. Consider the first order equation We can.
Section 5.3: Evaluating Definite Integrals Practice HW from Stewart Textbook (not to hand in) p. 374 # 1-27 odd, odd.
Math 3120 Differential Equations with Boundary Value Problems
Slope Fields and Euler’s Method Copyright © Cengage Learning. All rights reserved Day
Differential Equations: Slope Fields
Math 3120 Differential Equations with Boundary Value Problems Chapter 2: First-Order Differential Equations Section 2-2: Separable Variables.
Integrals  In Chapter 2, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.  In much the.
Differential Equations 7. Direction Fields and Euler's Method 7.2.
3.1 Derivative of a Function Quick Review In Exercises 1 – 4, evaluate the indicated limit algebraically.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Prentice Hall 3.1 Derivative of a Function.
Boyce/DiPrima 9 th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Differential Equations Copyright © Cengage Learning. All rights reserved.
Section 7.5: The Logistic Equation Practice HW from Stewart Textbook (not to hand in) p. 542 # 1-13 odd.
C.3.3 – Slope Fields – Graphical Solutions to DE Calculus - Santowski 11/16/20151Calculus - Santowski.
Slope Fields and Euler’s Method
DIFFERENTIAL EQUATIONS 10. DIFFERENTIAL EQUATIONS Unfortunately, it’s impossible to solve most differential equations in the sense of obtaining an explicit.
Lesson 58 – Slope Fields – Graphical Solutions to DE
Section 5.9 Approximate Integration Practice HW from Stewart Textbook (not to hand in) p. 421 # 3 – 15 odd.
Section 5.1/5.2: Areas and Distances – the Definite Integral Practice HW from Stewart Textbook (not to hand in) p. 352 # 3, 5, 9 p. 364 # 1, 3, 9-15 odd,
Section 9.6: Functions and Surfaces Practice HW from Stewart Textbook (not to hand in) p. 683 # 9-13, 19, 20, 23, 24, 25 Handout Sheet 1-6, 7-27 odd.
Suppose we are given a differential equation and initial condition: Then we can approximate the solution to the differential equation by its linearization.
1 6.1 Slope Fields and Euler's Method Objective: Solve differential equations graphically and numerically.
3.1 Derivative of a Function Objectives Students will be able to: 1)Calculate slopes and derivatives using the definition of the derivative 2)Graph f’
In Chapters 6 and 8, we will see how to use the integral to solve problems concerning:  Volumes  Lengths of curves  Population predictions  Cardiac.
Ch 8.2: Improvements on the Euler Method Consider the initial value problem y' = f (t, y), y(t 0 ) = y 0, with solution  (t). For many problems, Euler’s.
Boyce/DiPrima 9 th ed, Ch 2.2: Separable Equations Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
Ch 1.1: Basic Mathematical Models; Direction Fields Differential equations are equations containing derivatives. The following are examples of physical.
Warm up Problem Solve the IVP, then sketch the solution and state the domain.
1 Differential Equations 6 Copyright © Cengage Learning. All rights reserved. 6.1 DE & Slope Fields BC Day 1.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Slope Fields Differential Equations. Slope Fields A slope field is a graphical picture of a derivative that projects the curve within the picture. Or.
Announcements Topics: -sections 6.4 (l’Hopital’s rule), 7.1 (differential equations), and 7.2 (antiderivatives) * Read these sections and study solved.
SLOPE FIELDS & EULER’S METHOD
SLOPE FIELDS & EULER’S METHOD
Chapter 1 Linear Equations and Graphs
Boyce/DiPrima 9th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Derivative of a Function
Derivative of a Function
Derivative of a Function
Copyright © Cengage Learning. All rights reserved.
Section 11.3 Euler’s Method
Section 4.8: Newton’s Method
Slope Fields and Euler’s Method
Differential Equations
Chapter 1 Linear Equations and Graphs
Derivative of a Function
Direction Fields and Euler's Method
Slope Fields (6.1) January 10th, 2017.
Presentation transcript:

Section 7.2: Direction Fields and Euler’s Methods Practice HW from Stewart Textbook (not to hand in) p. 511 # 1-13, odd

For a given differential equation, we want to look at ways to find its solution. In this chapter, we will examine 3 techniques for determining the behavior for the solution. These techniques will involve looking at the solutions graphically, numerically, and analytically.

Examining Solutions Graphically – Direction Fields Recall from Calculus I that for a function, gives the slope of the tangent line at a particular point ( x, y ) on the graph of y ( x ). Suppose we consider a first order differential equations of the form

For a solution y of this differential equation, evaluated at the point represents the slope of the tangent line to the graph of y ( x ) at this point.

Even though we do not know the formula for the solution y ( x ), having the differential equation gives a convenient way for calculating the tangent line slopes at various points. If we obtain these slopes for many points, we can get a good general idea of how the solution is behaving.

Direction Fields (sometimes called slope fields) involves a method for determining the behavior of various solutions on the x - y plane by calculating the tangent line slopes at various points.

Example 1: Sketch the direction field for the differential equation. Use the result to sketch the graph of the solution with initial condition. Solution: In this problem, we plot points for the four quadrant regions and the x and y axis (we will fill in the first quadrant chart in class).

1 st Quadrant xy

We can sketch the slopes on the following graph (will do in class): x y

Obviously, as can be seen by the last example, sketching direction fields by hand can be a very tedious task. However, Maple can sketch a direction field quickly. For the differential equation given in Example 1, the following commands in Maple can be used to sketch the direction field:

> with(DEtools): with(plots): Warning, the name changecoords has been redefined > de := diff(y(x),x)=x^2-y(x); > dfieldplot(de, y(x),x= ,y= , color = black, arrows = MEDIUM, color = blue);

Notes 1.The direction fields for differential equations of the form, where the right is strictly a function of x have the same slope fields for points with the same x coordinate.

x y Slope Fields are same at each x coord

Example: Plot of

2.The direction fields for differential equations of the form, where the right is strictly a function of y have the same slope fields for points with the same y coordinate. A differential equation is strictly a function of the dependent variable y is known as an autonomous equation.

x y Slope Fields are same at each y coord

Example: Plot of

3. A constant solution of the form y = K of an autonomous where the direction field slopes are zero, that is, where and the solution y neither increases or decreases, is known as an equilibrium solution. Example: the equilibrium solution is y = 2.

Example 2: Given the direction field plot of the differential equation a. Sketch the graphs of solutions that satisfy the given initial conditions: i. iii. ii. b. Find all equilibrium solutions. Solution:

Finding Solutions Numerically – Euler’s Method A common way to examine the solution of a differential equations is to approximate it numerically. One of the more simpler methods for doing this involves Euler’s method.

Consider the initial value problem. over the interval. Suppose we want to find an approximation to the solution y ( x ) given by the following graph:

y(x)y(x)

Starting at the point specified by the initial condition, we want to approximate to solution at equally spaced points beyond on the x axis. Let h (known as the step size) be the space between the points on the x -axis. Then,,, etc. Consider the tangent line at the point that passes through the point. Since the derivative is used to calculate the slope of the tangent line, it can be seen that

Hence,

Now, consider the line through the points and.

In general, Summarizing,

Euler’s Method Given the initial value problem we calculate from by computing where h is the step size between endpoints on the x -axis.

Example 3: Use Euler’s Method with step size of 0.5 to estimate y (2), where y (x) is the solution to the initial value problem. Sketch the graph of the iterates used in find the estimate. Solution:

Notes 1.Using techniques that can studied in a differential equations course, it can be shown that the exact solution to the initial value problem given in Example 3 is

The approximation to y (2) (what y is when x = 2) was. The exact value is Thus the error between the approximation and the exact value is

2.By decreasing the step size h, the accuracy of the approximation in most cases will be better, with a tradeoff in more work needed to achieve the approximations. For example, the chart below shows the approximations generated when the step size for Example 3 is cut in half to h = 0.25.

Exact Value y2 = y3 = x4 = 1y4 = x5 = 1.25y5 = x6 = 1.5y6 = x7 = 1.75y7 = x8 = 2y8 =

Here, the approximation to is and the the error between the approximation and the exact value is The following represents a graph of the curves produced by Euler’s method for various values of h and the exact solution y ( x ).

3.There are other numerical methods that can achieve better accuracy with less work than Euler’s method. However, the underlying approach used in many of these methods stem from Euler’s approach.