This chapter is concerned with the problem in the form Chapter 6 focuses on how to find the numerical solutions of the given initial-value problems. Main.

Slides:



Advertisements
Similar presentations
Chapter 6 Differential Equations
Advertisements

Numerical Integration
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
Ordinary Differential Equations
Chapter 7 Numerical Differentiation and Integration
PART 7 Ordinary Differential Equations ODEs
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Ordinary Differential Equations Equations which are.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 31 Ordinary Differential Equations.
Initial-Value Problems
Dr. Jie Zou PHY Chapter 9 Ordinary Differential Equations: Initial-Value Problems Lecture (II) 1 1 Besides the main textbook, also see Ref.: “Applied.
8-1 Chapter 8 Differential Equations An equation that defines a relationship between an unknown function and one or more of its derivatives is referred.
Numerical Solutions of Ordinary Differential Equations
NUMERICAL SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Math 3120 Differential Equations with Boundary Value Problems
CISE301_Topic8L31 SE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM (Term 101) Section 04 Read , 26-2,
Differential Equations and Boundary Value Problems
CISE301_Topic8L1KFUPM1 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1.
Numerical Solution of Ordinary Differential Equation
1 Chapter 6 Numerical Methods for Ordinary Differential Equations.
PART 7 Ordinary Differential Equations ODEs
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.
Lecture 35 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
Integrals 5.
Chapter 4 Numerical Differentiation and Integration 1/16 Given x 0, approximate f ’(x 0 ). h xfhxf xf h )()( lim)('    x0x0 x1x1 h x1x1 x0x0.
1 Chapter 5 Numerical Integration. 2 A Review of the Definite Integral.
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.
Fin500J Topic 6Fall 2010 Olin Business School 1 Fin500J: Mathematical Foundations in Finance Topic 6: Ordinary Differential Equations Philip H. Dybvig.
Integration of 3-body encounter. Figure taken from
Integrals  In Chapter 2, we used the tangent and velocity problems to introduce the derivative—the central idea in differential calculus.  In much the.
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
5.1.  When we use the midpoint rule or trapezoid rule we can actually calculate the maximum error in the calculation to get an idea how much we are off.
Engineering Analysis – Computational Fluid Dynamics –
Scientific Computing Multi-Step and Predictor-Corrector Methods.
CHAPTER 3 NUMERICAL METHODS
Barnett/Ziegler/Byleen Business Calculus 11e1 Chapter 13 Review Important Terms, Symbols, Concepts 13.1 Antiderivatives and Indefinite Integrals A function.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 7 - Chapter 25.
Numerical Analysis – Differential Equation
Chapter 5. Ordinary Differential Equation
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.
Dr. Mujahed AlDhaifallah ( Term 342)
Today’s class Ordinary Differential Equations Runge-Kutta Methods
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
The purpose of Chapter 5 is to develop the basic principles of numerical integration Usefule Words integrate, integral 积分(的), integration 积分(法), quadrature.
Ordinary Differential Equations
Sec 21: Generalizations of the Euler Method Consider a differential equation n = 10 estimate x = 0.5 n = 10 estimate x =50 Initial Value Problem Euler.
1/14  5.2 Euler’s Method Compute the approximations of y(t) at a set of ( usually equally-spaced ) mesh points a = t 0 < t 1
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
NUMERICAL DIFFERENTIATION or DIFFERENCE APPROXIMATION Used to evaluate derivatives of a function using the functional values at grid points. They are.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
MA2213 Lecture 10 ODE. Topics Importance p Introduction to the theory p Numerical methods Forward Euler p. 383 Richardson’s extrapolation.
Keywords (ordinary/partial) differencial equation ( 常 / 偏 ) 微分方程 difference equation 差分方程 initial-value problem 初值问题 convex 凸的 concave 凹的 perturbed problem.
Part 7 - Chapter 25.
INTEGRATION & TECHNIQUES OF INTEGRATION
Ordinary Differential Equations
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.
Sec 21: Analysis of the Euler Method
Part 7 - Chapter 25.
5.3 Higher-Order Taylor Methods
Numerical Analysis Lecture 38.
MATH 175: Numerical Analysis II
Ch5 Initial-Value Problems for ODE
Presentation transcript:

This chapter is concerned with the problem in the form Chapter 6 focuses on how to find the numerical solutions of the given initial-value problems. Main Work But the analytical solution is not easy to be obtained in actuality. Instead, the approximations to will be generated at various abcissas. The set is called the numerical solution.

Usefule Words (ordinary/partial) differential equation ( 常 / 偏 ) 微分方程 difference equation 差分方程 initial-value problem 初值问题 convex 凸的 concave 凹的 perturbed problem 扰动问题 perturbation 扰动 mesh / grid point 网格点 local error 局部误差, global error 全局误差 analytic solution 解析解

6.1 Introduction to Differential Equations The exact solution is Example Consider The initial-value problem of the first-order differential equation:

The numerical solution of a initial-value problem Example But the function can not be obtained in actuality. Instead, the approximations to will be generated at various values, which are called mesh points, in [0, 1]. the numerical solution · · · · · · the analytic solution

Definition A function is said to satisfy a Lipschitz condition in the variable on a set if a constant exists with whenever. The constant is called a Lipschitz constant for. Example Show that satisfy a Lipschitz condition in the variable on

Theorem Suppose that is defined on a convex set. If a constant exists with for all then satisfies a Lipschitz condition on in the variable with Lipschitz constant. Example Consider the initial-value problem

Theorem Suppose that and is continuous on D. If satisfies a Lipschitz condition in the variable, then the initial-value problem has a unique solution for. Example Show that the initial-value problem has a unique solution. That is, f(x) is continuous and satisfies a Lipschitz condition in the variable. Thus, this initial-value problem has a unique solution. Solution Let

A well-posed problem The initial-value problem is said to be a well-posed problem if : 1. A unique solution,, to the problem exists ; 2. For any, there exists a positive constant, such that whenever and is continuous with on [a, b], a unique solution,, to exists with for all. perturbed problem Example Consider the perturbed problem:

Example Consider It is well-posed on Theorem Suppose. If is continuous and satisfies a Lipschitz condition in the variable on the set, then the initial-value problem is well-posed.

Euler’s method Suppose that the initial-value problem has a unique solution. Replace the derivative with difference formulas. Stipulation : The mesh points we used distribute equally throughout the interval [a, b]. The distance between and is called the step size for. 6.2 Euler’s Method

Example Use Euler method to approximate the solution of the initial-value problem with

Definition The difference-equation method for each has local discretization error Local error measures the accuracy of the method at a specific step assuming that the method was exact at the previous step. Global error measures the accumulated error at the kth step from the begining. Local/ Global Discretization Error p is called the order of the accuracy. for each and global discretization error for

One way to select difference-equation methods for solving ordinary differential equations is in such a manner that their local discretization errors are for as large a value of as possible, while keeping the number and complexity of calculations of the method within a reasonable bound. Example Consider the local discretization error of Euler’s method for I. V. P. The global error at the last step (F. G. E. ) is The Euler’s formula is Expand at and evaluate The local dicretization error is

Example Use Euler method to approximate the solution of the initial-value problem with

6.3 Heun’s Method For I. V. P. integrate the both sides of over the subinterval Replacing by the Trapezoidal rule gives We have Note that is yet to be determined. Using Euler’s method to approximate it produces Heun’s method

Precision of Heun’s method Replacing by the Trapezoidal rule yields L. D. E The F. G. E. is Theorem If is the sequence of approximations generated by Heun’s method and, then

Example Use Heun’s method to approximate the solution of the I.V.P with and. SolutionGive the Heun’s formula for When h=1, the Heun’s formula is When h=0.5, the Heun’s formula is The results are listed in the following table tktk ykyk Exact values y(t) h=1h=

Physical interpretation of I. V. P. and solution (P249) Field of velocity vectors: Motion trajectory with the initial position O. D. E: Solution:

Rung-Kutta Methods Runge-Kutta methods have the high-order local truncation error. The main computational effort in applying Runge-Kutta methods is the evaluation of the function f. the average slope on 1) The ideas of Runge-Kutta methods the initial-value problem:.

Modified Euler method predictor-corrector method or Euler’Method Midpoint Method * * *

2) The derivation of Runge-Kutta methods R-K methods result from Taylor’s Theorem in two variables. For every, there exists Theorem Suppose that and all its partial derivatives of order less than or equal to n+1 are continuous on with where and

Similarly, Example Expand in the second Taylor polynomial of about (2, 3). P273

Midpoint Method Taylor method of order 2

Taylor method of order 3 Modified Euler Method Predictor-Corrector Method

Runge-Kutta order four Example Use Runge-Kutta order four to approximate the solution of the initial-value problem with

Runge-Kutta methods Modified Euler ( predictor-corrector) method Euler’Method Midpoint Method Runge-Kutta order four

tktk wkwk