Keywords (ordinary/partial) differencial equation ( 常 / 偏 ) 微分方程 difference equation 差分方程 initial-value problem 初值问题 convex 凸的 concave 凹的 perturbed problem.

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 08: Series Solutions of Second Order Linear Equations.
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.
Chapter 1 Introduction The solutions of engineering problems can be obtained using analytical methods or numerical methods. Analytical differentiation.
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 SOLUTION OF ORDINARY DIFFERENTIAL EQUATIONS
Differential Equations Brannan Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 02: The First Order Differential Equations.
Differential Equations and Boundary Value Problems
CISE301_Topic8L1KFUPM1 CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1.
MATH 685/ CSI 700/ OR 682 Lecture Notes Lecture 10. Ordinary differential equations. Initial value problems.
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.
Interpolation. Interpolation is important concept in numerical analysis. Quite often functions may not be available explicitly but only the values of.
EE3561_Unit 8Al-Dhaifallah14351 EE 3561 : Computational Methods Unit 8 Solution of Ordinary Differential Equations Lesson 3: Midpoint and Heun’s Predictor.
Integration of 3-body encounter. Figure taken from
Scientific Computing Numerical Solution Of Ordinary Differential Equations - Euler’s Method.
Engineering Analysis – Computational Fluid Dynamics –
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
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
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.
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.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Part 6 - Chapters 22 and 23.
Runge Kutta schemes Taylor series method Numeric solutions of ordinary differential equations.
Ordinary Differential Equations (ODEs). Objectives of Topic  Solve Ordinary Differential Equations (ODEs).  Appreciate the importance of numerical methods.
DYNAMIC BEHAVIOR OF PROCESSES :
NUMERICAL ANALYSIS I. Introduction Numerical analysis is concerned with the process by which mathematical problems are solved by the operations.
1 Week 11 Numerical methods for ODEs 1.The basics: finite differences, meshes 2.The Euler method.
1.1 Basic Concepts. Modeling
Ordinary Differential Equations
Part 7 - Chapter 25.
Announcements Topics: Work On:
Ordinary Differential Equations
525602:Advanced Numerical Methods for ME
Interpolation.
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 8.6: Systems of First Order Equations
Sec 21: Analysis of the Euler Method
Part 7 - Chapter 25.
5.1 Power Series Method Section 5.1 p1.
Numerical Analysis Lecture 26.
Numerical Analysis Lecture 37.
Numerical Solutions of Ordinary Differential Equations
5.3 Higher-Order Taylor Methods
The Elementary Theory of Initial-Value Problems
MATH 175: Numerical Analysis II
Ch5 Initial-Value Problems for ODE
CISE301: Numerical Methods Topic 8 Ordinary Differential Equations (ODEs) Lecture KFUPM Read , 26-2, 27-1 CISE301_Topic8L1 KFUPM.
Chapter 5 Integration Section R Review.
Presentation transcript:

Keywords (ordinary/partial) differencial equation ( 常 / 偏 ) 微分方程 difference equation 差分方程 initial-value problem 初值问题 convex 凸的 concave 凹的 perturbed problem 扰动问题 perturbation 扰动 mesh point 网格点 stipulation 约定,假设 local error 局部误差 global error 全局误差 the analytic solution 解析解 This chapter is concerned with the problem in the form

8.1 The Elementary Theory of Initial-Value problems The initial-value problem of the first-order differential equation: The main work is to find the numerical solutions of the given initial-value problems. or

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 The exact solution is

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

· · D is convex means that whenever two points belong to the set D, the entire straight-line segment between the points also belongs to the set D. · · Convex Not convex Example Consider the set Convex is said to be convex if whenever for all It is convex.

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. Obviously, is continuous and satisfies a Lipschitz condition in the variable. So, this initial - value problem has a unique solution.

Theorem Suppose. If is continuous and satisfies a Lipschitz condition in the variable on the set, then the initial-value problem is well-posed. 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. P239 a perturbed problem

Example Consider It is well-posed on

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. 8.2 Euler Method

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

Theorem Suppose is continuous and satisfies a Lipschitz condition with constant on the set, and that a constant exists with for all. Let denote the unique solution to the initial-value problem and be the approximations generated by Euler’s method for some positive integer. Then, for each, The weakness of this theorem lies in the requirement for the second derivative of the solution.

Example Use Euler method to approximate the solution of the initial-value problem with. Consider the error bound and compare it with the actual error. Although Euler’s method is seldom used in practice, the simplicity of its derivation can be used to illustrate the techniques involved in the construction of some of the more advanced techniques, without the cumbersome algebra that accompanies this constructions.

Definition The difference-equation method for each has local truncation error for each. Where, denote the exact value of the solution at, respectively. 8.3 Higher-Order Taylor Method is called the local truncation error of the difference method, and is called the order of this method. It measures the accuracy of the method at a specific step assuming that the method was exact at the previous step.

Example Consider the local truncation error of Euler’s method. One way to select difference-equation methods for solving ordinary differential equations is in such a manner that their local truncation 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. It has accuracy of order one.

Taylor method of order n Suppose that is the solution to and has ( n+1 ) continuous derivatives. Expand the solution in terms of its nth Taylor polynomial about point and evaluate at. nth Taylor method

Example Use Taylor method of order two and four to approximate the solution to with. Consider the actual error. ( P252 )

(b) Use the answers generated in part (a) and piecewise interpolation to approximate. Example (a) Use Taylor method of order two to approximate the solution to with

8.4 Rung-Kutta Methods Runge-Kutta methods have the high-order local truncation error of Taylor methods while eliminating the need to compute and evaluate the derivatives. The Taylor methods have the desirable property of high-order local truncation error, but the disadvantage of requiring the computation and evaluation of the derivatives. This is a complicated and time-consuming procedure for most problems, so the Taylor Methods are seldom used in practice. 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 * * *

with. Example Use modified Euler method to approximate the solution of The results are listed in Table 8.4 (P258)

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 P272

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 Table 8.5 ( P259 )

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