Boyce/DiPrima 9 th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.

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
Boyce/DiPrima 9th ed, Ch 2.8: The Existence and Uniqueness Theorem Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
Section 7.2: Direction Fields and Euler’s Methods Practice HW from Stewart Textbook (not to hand in) p. 511 # 1-13, odd.
Boyce/DiPrima 9th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Boyce/DiPrima 9th ed, Ch 3.5: Nonhomogeneous Equations;Method of Undetermined Coefficients Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 9th ed, Ch 2.5: Autonomous Equations and Population Dynamics Elementary Differential Equations and Boundary Value Problems, 9th edition,
Copyright © 2008 Pearson Education, Inc. Chapter 10 Differential Equations Copyright © 2008 Pearson Education, Inc.
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.
Boyce/DiPrima 10th ed, Ch 10.2: Fourier Series Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and Richard.
Boyce/DiPrima 9 th ed, Ch 2.1: Linear Equations; Method of Integrating Factors Elementary Differential Equations and Boundary Value Problems, 9 th edition,
Boyce/DiPrima 9 th ed, Ch 3.1: 2 nd Order Linear Homogeneous Equations-Constant Coefficients Elementary Differential Equations and Boundary Value Problems,
In the previous two sections, we focused on finding solutions to differential equations. However, most differential equations cannot be solved explicitly.
Boyce/DiPrima 10th ed, Ch 10.5: Separation of Variables; Heat Conduction in a Rod Elementary Differential Equations and Boundary Value Problems, 10th.
Section 6.1: Euler’s Method. Local Linearity and Differential Equations Slope at (2,0): Tangent line at (2,0): Not a good approximation. Consider smaller.
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 9th ed, Ch 3.4: Repeated Roots; Reduction of Order Elementary Differential Equations and Boundary Value Problems, 9th edition, by William.
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
Boyce/DiPrima 9th ed, Ch 8.4: Multistep Methods Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and Richard.
Math 3120 Differential Equations with Boundary Value Problems Chapter 2: First-Order Differential Equations Section 2-6: A Numerical Method.
Boyce/DiPrima 9 th ed, Ch 11.5: Further Remarks on Separation of Variables: A Bessel Series Expansion Elementary Differential Equations and Boundary Value.
Math 3120 Differential Equations with Boundary Value Problems
Boyce/DiPrima 9 th ed, Ch 8.5: More on Errors; Stability Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce.
Boyce/DiPrima 9 th ed, Ch 5.1: Review of Power Series Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
Boyce/DiPrima 9 th ed, Ch 1.1: Basic Mathematical Models; Direction Fields Elementary Differential Equations and Boundary Value Problems, 9 th edition,
Boyce/DiPrima 9th ed, Ch 4.2: Homogeneous Equations with Constant Coefficients Elementary Differential Equations and Boundary Value Problems, 9th edition,
Boyce/DiPrima 9 th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
Boyce/DiPrima 9 th ed, Ch 3.2: Fundamental Solutions of Linear Homogeneous Equations Elementary Differential Equations and Boundary Value Problems, 9 th.
Boyce/DiPrima 9th ed, Ch 1.2: Solutions of Some Differential Equations Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Differential Equations Copyright © Cengage Learning. All rights reserved.
Boyce/DiPrima 9th ed, Ch 4.1: Higher Order Linear ODEs: General Theory Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Boyce/DiPrima 9 th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and.
Boyce/DiPrima 9 th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William.
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.
Boyce/DiPrima 9th ed, Ch 3.3: Complex Roots of Characteristic Equation Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
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.
Boyce/DiPrima 9 th ed, Ch 11.3: Non- Homogeneous Boundary Value Problems Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Warm up Problem Solve the IVP, then sketch the solution and state the domain.
Boyce/DiPrima 9 th ed, Ch1.3: Classification of Differential Equations Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
1 6.1 Slope Fields and Euler's Method Objective: Solve differential equations graphically and numerically.
Boyce/DiPrima 9 th ed, Ch 5.3: Series Solutions Near an Ordinary Point, Part II Elementary Differential Equations and Boundary Value Problems, 9 th edition,
Boyce/DiPrima 9 th ed, Ch 6.3: Step Functions Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and Richard.
Boyce/DiPrima 9 th ed, Ch 2.6: Exact Equations & Integrating Factors Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William.
Boyce/DiPrima 9th ed, Ch 9.4: Competing Species Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce and.
Boyce/DiPrima 10th ed, Ch 6.2: Solution of Initial Value Problems Elementary Differential Equations and Boundary Value Problems, 10th edition, by William.
SLOPE FIELDS & EULER’S METHOD
Boyce/DiPrima 10th ed, Ch 10.3: The Fourier Convergence Theorem Elementary Differential Equations and Boundary Value Problems, 10th edition, by William.
SLOPE FIELDS & EULER’S METHOD
Boyce/DiPrima 10th ed, Ch 10.8: Laplace’s Equation Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Boyce/DiPrima 10th ed, Ch 6.6: The Convolution Integral Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E.
Boyce/DiPrima 10th ed, Ch 6.3: Step Functions Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Boyce/DiPrima 9th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Boyce/DiPrima 10th ed, Ch 7.4: Basic Theory of Systems of First Order Linear Equations Elementary Differential Equations and Boundary Value Problems,
Slope Fields; Euler’s Method
Differential Equations
Boyce/DiPrima 10th ed, Ch 7.5: Homogeneous Linear Systems with Constant Coefficients Elementary Differential Equations and Boundary Value Problems, 10th.
Boyce/DiPrima 10th ed, Ch 6.4: Differential Equations with Discontinuous Forcing Functions Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 9th ed, Ch 4.3: Nonhomogeneous Equations: Method of Undetermined Coefficients Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 10th ed, Ch 7.1: Introduction to Systems of First Order Linear Equations Elementary Differential Equations and Boundary Value Problems,
Boyce/DiPrima 9th ed, Ch 3.6: Variation of Parameters Elementary Differential Equations and Boundary Value Problems, 9th edition, by William E. Boyce.
Numerical Solutions of Ordinary Differential Equations
Boyce/DiPrima 10th ed, Ch 7.6: Complex Eigenvalues Elementary Differential Equations and Boundary Value Problems, 10th edition, by William E. Boyce and.
Slope Fields (6.1) January 10th, 2017.
Boyce/DiPrima 9th ed, Ch 5.3: Series Solutions Near an Ordinary Point, Part II Elementary Differential Equations and Boundary Value Problems, 9th edition,
Presentation transcript:

Boyce/DiPrima 9 th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9 th edition, by William E. Boyce and Richard C. DiPrima, ©2009 by John Wiley & Sons, Inc. Recall that a first order initial value problem has the form If f and  f /  y are continuous, then this IVP has a unique solution y =  (t) in some interval about t 0. When the differential equation is linear, separable or exact, we can find the solution by symbolic manipulations. However, the solutions for most differential equations of this form cannot be found by analytical means. Therefore it is important to be able to approach the problem in other ways.

Direction Fields For the first order initial value problem we can sketch a direction field and visualize the behavior of solutions. This has the advantage of being a relatively simple process, even for complicated equations. However, direction fields do not lend themselves to quantitative computations or comparisons.

Numerical Methods For our first order initial value problem an alternative is to compute approximate values of the solution y =  (t) at a selected set of t-values. Ideally, the approximate solution values will be accompanied by error bounds that ensure the level of accuracy. There are many numerical methods that produce numerical approximations to solutions of differential equations, some of which are discussed in Chapter 8. In this section, we examine the tangent line method, which is also called Euler’s Method.

Euler’s Method: Tangent Line Approximation For the initial value problem we begin by approximating solution y =  (t) at initial point t 0. The solution passes through initial point (t 0, y 0 ) with slope f (t 0, y 0 ). The line tangent to the solution at this initial point is The tangent line is a good approximation to solution curve on an interval short enough. Thus if t 1 is close enough to t 0, we can approximate  (t 1 ) by

Euler’s Formula For a point t 2 close to t 1, we approximate  (t 2 ) using the line passing through (t 1, y 1 ) with slope f (t 1, y 1 ): Thus we create a sequence y n of approximations to  (t n ): where f n = f (t n, y n ). For a uniform step size h = t n – t n-1, Euler’s formula becomes

Euler Approximation To graph an Euler approximation, we plot the points (t 0, y 0 ), (t 1, y 1 ),…, (t n, y n ), and then connect these points with line segments.

Example 1: Euler’s Method (1 of 3) For the initial value problem we can use Euler’s method with h = 0.2 to approximate the solution at t = 0.2, 0.4, 0.6, 0.8, and 1.0 as shown below.

Example 1: Exact Solution (2 of 3) We can find the exact solution to our IVP, as in Chapter 2.1:

Example 1: Error Analysis (3 of 3) From table below, we see that the errors start small, but get larger. This is most likely due to the fact that the exact solution is not linear on [0, 1]. Note: Exact y in red Approximate y in blue

Example 2: Euler’s Method (1 of 3) For the initial value problem we can use Euler’s method with various step sizes to approximate the solution at t = 1.0, 2.0, 3.0, 4.0, and 5.0 and compare our results to the exact solution at those values of t.

Example 2: Euler’s Method (2 of 3) Comparison of exact solution with Euler’s Method for h = 0.1, 0.05, 0.25, 0.01 t Exact yh = 0.1h = 0.05h = 0.025h =

Example 2: Euler’s Method (3 of 3)