Ch 8.6: Systems of First Order Equations

Slides:



Advertisements
Similar presentations
Chapter 6 Differential Equations
Advertisements

Ch 2.7: Numerical Approximations: Euler’s Method
Ch 3.2: Solutions of Linear Homogeneous Equations; Wronskian
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.
Ch 7.4: Basic Theory of Systems of First Order Linear Equations
Ch 3.5: Nonhomogeneous Equations; Method of Undetermined Coefficients
Ch 5.5: Euler Equations A relatively simple differential equation that has a regular singular point is the Euler equation, where ,  are constants. Note.
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
Numerical Solutions of Differential Equations Taylor Methods.
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.
Ch 8.3: The Runge-Kutta Method
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
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 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 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9 th edition, by.
Boyce/DiPrima 9 th ed, Ch 3.2: Fundamental Solutions of Linear Homogeneous Equations Elementary Differential Equations and Boundary Value Problems, 9 th.
Slide Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Math 3120 Differential Equations with Boundary Value Problems
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.
PHY 301: MATH AND NUM TECH Contents Chapter 10: Numerical Techniques I. Integration A.Intro B.Euler  Recall basic  Predictor-Corrector C. Runge-Kutta.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
MA2213 Lecture 10 ODE. Topics Importance p Introduction to the theory p Numerical methods Forward Euler p. 383 Richardson’s extrapolation.
1 Week 11 Numerical methods for ODEs 1.The basics: finite differences, meshes 2.The Euler method.
Keywords (ordinary/partial) differencial equation ( 常 / 偏 ) 微分方程 difference equation 差分方程 initial-value problem 初值问题 convex 凸的 concave 凹的 perturbed problem.
1.1 Basic Concepts. Modeling
Department of Mathematics
CHAPTER 3 NUMERICAL METHODS
Chapter 14 Partial Derivatives
Ch 11.6: Series of Orthogonal Functions: Mean Convergence
Chapter 10 Limits and the Derivative
SLOPE FIELDS & EULER’S METHOD
Chapter 7 Numerical Differentiation and Integration
Boyce/DiPrima 9th ed, Ch 2.7: Numerical Approximations: Euler’s Method Elementary Differential Equations and Boundary Value Problems, 9th edition, by.
Linear Differential Equations
A second order ordinary differential equation has the general form
Ch 2.1: Linear Equations; Method of Integrating Factors
Numerical Methods: Euler’s and Advanced Euler’s (Heun’s) Methods
Class Notes 18: Numerical Methods (1/2)
Numerical Solutions of Ordinary Differential Equations
SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2, 27-1 CISE301_Topic8L4&5.
Class Notes 19: Numerical Methods (2/2)
Ch 4.4: Variation of Parameters
Solution of Equations by Iteration
Numerical Analysis Lecture 45.
Ch 5.2: Series Solutions Near an Ordinary Point, Part I
Graphs, Linear Equations, and Functions
Quadratic Inequalities
Ch 3.7: Variation of Parameters
Ch 3.2: Fundamental Solutions of Linear Homogeneous Equations
Quadratic Inequalities
Numerical Analysis Lecture 37.
Chapter 3 Section 6.
9.2 Arithmetic Sequences and Series
Ch 5.4: Euler Equations; Regular Singular Points
5.3 Higher-Order Taylor Methods
Numerical Analysis Lecture 38.
5 INTEGRALS.
Ch5 Initial-Value Problems for ODE
Chapter 8 Estimation.
Romberg Rule of Integration
Trigonometric Equations
Numerical Analysis Lecture 36.
Chapter 2 Limits and the Derivative
Ch 7.4: Basic Theory of Systems of First Order Linear Equations
Section 4 The Definite Integral
Presentation transcript:

Ch 8.6: Systems of First Order Equations Recall from Section 7.1 that a higher order equation can always be reduced to a system of first order equations. In this section, we examine how the numerical methods of this chapter can be applied to systems of first order equations. For simplicity, we consider the system below. The functions f and g are assumed to satisfy the conditions of Theorem 7.1.1, so that the initial value problem above has a unique solution in some interval of the t-axis containing t0. We seek approximate values xn and yn of the solution x = (t), y = (t), at the points tn = t0 + nh, for n  1.

Vector Notation In vector notation, the initial value problem can be written as where The numerical methods of the previous sections can be readily generalized to handle systems of two or more equations. To accomplish this, we simply replace x and f in the numerical formulas with x and f, as illustrated in the following slides.

Euler Method Recall the Euler method for a uniform step size h: In vector notation, this can be written as or The initial conditions are used to determine f0, the tangent vector to the graph of the solution x = (t) in the xy-plane. We move in the direction of this tangent vector f0 for a time step h in order to find x1, then find a new tangent vector f1, move along it for a time step h in order to find x2, and so on.

Runge-Kutta Method In a similar way, the Runge-Kutta method can be extended to a system of equations. The vector formula is given by where To help better understand the notation here, observe that

Example 1: Exact Solution (1 of 4) Consider the initial value problem We will use Euler’s method with h = 0.1 and the Runge-Kutta method with h = 0.2 to approximate the solution at t = 0.2, and then compare results with the exact solution: For this problem, note that fn = xn - 4 yn and gn = - xn + yn, and that f and g are independent of t, with

Example 1: Euler Method (2 of 4) We have x0 = 1, y0 = 0, and Using the Euler formulas with h = 0.1, The values of the exact solution, correct to eight digits, are Thus the Euler method approximation errors are 0.0704 and 0.0308, respectively, with corresponding relative errors of about 5.3% and 12.3%.

Example 1: Runge-Kutta Method (3 of 4) Using the Runge-Kutta formulas for kni , and recalling that x0 = 1, y0 = 0, we obtain, for h = 0.2, The errors for x1 and y1 are .000358 and .000180, respectively, with relative errors of about 0.0271% and 0.072%.

Example 1: Summary (4 of 4) This example again illustrates the great gains in accuracy that are possible by using a more accurate approximation method, such as the Runge-Kutta method. In the calculations for this example, the Runge-Kutta method requires only twice as many function evaluations as the Euler method, but the error in the Runge-Kutta method is about 200 times less than in the Euler method.