Numerical Analysis Lecture 19.

Slides:



Advertisements
Similar presentations
Numerical Integration
Advertisements

Interpolation A standard idea in interpolation now is to find a polynomial pn(x) of degree n (or less) that assumes the given values; thus (1) We call.
CISE301_Topic61 SE301: Numerical Methods Topic 6 Numerical Differentiation Lecture 23 KFUPM Read Chapter 23, Sections 1-2.
Chapter 7 Numerical Differentiation and Integration
2. Numerical differentiation. Approximate a derivative of a given function. Approximate a derivative of a function defined by discrete data at the discrete.
Lecture 18 - Numerical Differentiation
CE33500 – Computational Methods in Civil Engineering Differentiation Provided by : Shahab Afshari
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Curve-Fitting Interpolation
Curve-Fitting Polynomial Interpolation
1 Chapter 3 INTERPOLATION. 2 WHAT IS INTERPOLATION? Given (x 0,y 0 ), (x 1,y 1 ), …, (x n,y n ), finding the value of ‘y’ at a value of ‘x’ in ( x 0,
1 Chapter 6 NUMERICAL DIFFERENTIATION. 2 When we have to differentiate a function given by a set of tabulated values or when a complicated function is.
Chapter 6 Numerical Interpolation
VECTORS AND THE GEOMETRY OF SPACE Vectors VECTORS AND THE GEOMETRY OF SPACE In this section, we will learn about: Vectors and their applications.
Simpson Rule For Integration.
Vectors and the Geometry of Space 9. Vectors 9.2.
Copyright © Cengage Learning. All rights reserved. 12 Vectors and the Geometry of Space.
Numerical Methods Part: Simpson Rule For Integration.
Chap. 11 Numerical Differentiation and Integration
Lecture 22 Numerical Analysis. Chapter 5 Interpolation.
Chapter 7 Point Estimation of Parameters. Learning Objectives Explain the general concepts of estimating Explain important properties of point estimators.
5. Interpolation 5.1 Definition of interpolation. 5.2 Formulas for Interpolation. 5.3 Formulas for Interpolation for unequal interval. 5.4 Applications.
Lecture 39 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
CSE 330 Numerical Methods Lecture 05 Chapter 5: Numerical Differentiation Md. Omar Faruqe
Interpolation - Introduction
Numerical Analysis Lecture 28. Chapter 7 Numerical Differentiation and Integration.
Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Chapter 21 Numerical Differentiation.
Vectors and the Geometry
1.1 Basic Concepts. Modeling
CHAPTER 3 NUMERICAL METHODS
Chapter 7 Numerical Differentiation and Integration
Numerical Analysis Lecture 25.
Reflexivity, Symmetry, and Transitivity
Numerical Analysis Lecture12.
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
Chapter 18.
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Discrete Mathematics Lecture#14.
Numerical Analysis Lecture 27.
2.1 Equations of Lines Write the point-slope and slope-intercept forms
INTERPOLATION Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values.
Interpolation.
Chapter 18.
Numerical Solutions of Ordinary Differential Equations
Copyright © Cengage Learning. All rights reserved.
Chapter 23.
Numerical Analysis Lecture 45.
Chapter 7 Numerical Differentiation and Integration
Copyright © Cengage Learning. All rights reserved.
Numerical Analysis Lecture 16.
Numerical Analysis Lecture 23.
POLYNOMIAL INTERPOLATION
Equations of Straight Lines
Numerical Analysis Lecture 26.
Numerical Analysis Lecture13.
MATH 174: Numerical Analysis
5.3 Higher-Order Taylor Methods
Numerical Analysis Lecture 38.
SKTN 2393 Numerical Methods for Nuclear Engineers
William Stallings Computer Organization and Architecture 10th Edition
Differential Equations
Numerical Analysis Lecture 21.
  NUMERICAL METHODS.
Direction Fields and Euler's Method
Copyright © Cengage Learning. All rights reserved.
Random Variables and Probability Distributions
Matrices and Determinants
Numerical Analysis Lecture 24.
Interpolation with unequal intervals
Presentation transcript:

Numerical Analysis Lecture 19

Chapter 5 Interpolation

Finite Difference Operators Newton’s Forward Difference Finite Difference Operators Newton’s Forward Difference Interpolation Formula Newton’s Backward Difference Interpolation Formula Lagrange’s Interpolation Formula Divided Differences Interpolation in Two Dimensions Cubic Spline Interpolation

Introduction

Finite differences play an important role in numerical techniques, where tabulated values of the functions are available. For instance, consider a function

As x takes values let the corresponding values of y be

That is, for given a table of values, the process of estimating the value of y, for any intermediate value of x, is called interpolation.

The method of computing the value of y, for a given value of x, lying outside the table of values of x is known as extrapolation.

If the function f (x) is known, the value of y corresponding to any x can be readily computed to the desired accuracy.

For interpolation of a tabulated function, the concept of finite differences is important. The knowledge about various finite difference operators and their symbolic relations are very much needed to establish various interpolation formulae.

Finite Difference Operators

Finite Difference Operators. Forward Differences. Backward Differences Finite Difference Operators Forward Differences Backward Differences Central Difference

Forward Differences

For a given table of values with equally spaced abscissas of a function we define the forward difference operator as follows

To be explicit, we write

These differences are called first differences of the function y and are denoted by the symbol Here, is called the first difference operator

Similarly, the differences of the first differences are called second differences, defined by Thus, in general

Here is called the second difference operator Here is called the second difference operator. Thus, continuing, we can define, r-th difference of y, as

By defining a difference table as a convenient device for displaying various differences, the above defined differences can be written down systematically by constructing a difference table for values

Forward Difference Table

Backward Differences

For a given table of values of a function y = f (x) with equally spaced abscissas, the first backward differences are usually expressed in terms of the backward difference operator as

OR

The differences of these differences are called second differences and they are denoted by That is

Thus, in general, the second backward differences are while the k-th backward differences are given as

Backward Difference Table These backward differences can be systematically arranged for a table of values Backward Difference Table

From this table, it can be observed that the subscript remains constant along every backward diagonal.

Example Show that any value of y can be expressed in terms of yn and its backward differences.

Solution From We get From We get

Similarly, we can show that From these equations, we obtain Similarly, we can show that

Symbolically, these results can be rewritten as follows:

Central Differences

In some applications, central difference notation is found to be more convenient to represent the successive differences of a function. Here, we use the symbol to represent central difference operator and the subscript of for any difference as the average of the subscripts

In general Higher order differences are defined as follows:

These central differences can be systematically arranged as indicated in the Table

Thus, we observe that all the odd differences have a fractional suffix and all the even differences with the same subscript lie horizontally.

The following alternative notation may also be adopted to introduce finite difference operators. Let y = f (x) be a functional relation between x and y, which is also denoted by yx.

Suppose, we are given consecutive values of x differing by h say x, x + h, x +2h, x +3h, etc. The corresponding values of y are As before, we can form the differences of these values.

Thus Similarly

To be explicit, we write

OR

In general Higher order differences are defined as follows:

Numerical Analysis Lecture 19