Numerical Analysis Lecture 24.

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.
Sequences and Mathematical Induction
2. Numerical differentiation. Approximate a derivative of a given function. Approximate a derivative of a function defined by discrete data at the discrete.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
1 Curve-Fitting Spline Interpolation. 2 Curve Fitting Regression Linear Regression Polynomial Regression Multiple Linear Regression Non-linear Regression.
Curve-Fitting Interpolation
Curve-Fitting Polynomial Interpolation
Lecture 14: Einstein Summation Convention
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Interpolation Chapter 18.
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
1 © 2010 Pearson Education, Inc. All rights reserved 10.1 DEFINITION OF A SEQUENCE An infinite sequence is a function whose domain is the set of positive.
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Interpolation and Approximation To the question, "Why approximate?", we can only answer, "Because we must!" Mathematical models of physical or natural.
1. Interpolating polynomials Polynomial of degree n,, is a linear combination of Definitions: (interval, continuous function, abscissas, and polynomial)
Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values at intermediate.
Lecture 22 Numerical Analysis. Chapter 5 Interpolation.
Jump to first page Chapter 3 Splines Definition (3.1) : Given a function f defined on [a, b] and a set of numbers, a = x 0 < x 1 < x 2 < ……. < x n = b,
Lecture 40 Numerical Analysis. Chapter 7 Ordinary Differential Equations.
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
5 Solving Polynomial Equations.
CHAPTER 3 NUMERICAL METHODS
Chapter 4, Integration of Functions
Chapter 7 Numerical Differentiation and Integration
Curve-Fitting Spline Interpolation
Numerical Analysis Lecture 25.
Reflexivity, Symmetry, and Transitivity
Interpolation.
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.
Linear Differential Equations
FIRST ORDER DIFFERENTIAL EQUATIONS
Advanced Numerical Methods (S. A. Sahu) Code: AMC 51151
Systems of First Order Linear Equations
Numerical Analysis Lecture 27.
Trigonometric Identities
Interpolation.
Chapter 18.
Polynomials and the FFT(UNIT-3)
Chapter 23.
Numerical Analysis Lecture 7.
Numerical Analysis Lecture 45.
Chapter 7 Numerical Differentiation and Integration
Engineering Analysis I
Chapter 27.
Numerical Analysis Lecture 16.
Numerical Analysis Lecture 23.
Numerical Analysis Lecture14.
POLYNOMIAL INTERPOLATION
Numerical Analysis Lecture 26.
Numerical Analysis Lecture13.
MATH 174: Numerical Analysis
Numerical Analysis Lecture 19.
Numerical Analysis Lecture10.
Numerical Analysis Lecture 38.
5. Functions of a Random Variable
Interpolation Practice-6 Additional chapters of mathematics
SKTN 2393 Numerical Methods for Nuclear Engineers
Numerical Analysis Lecture 21.
  NUMERICAL METHODS.
Curve Fitting Filling in the gaps.
PARTIAL DIFFERENTIAL EQUATIONS
Interpolation with unequal intervals
Approximation of Functions
Theory of Approximation: Interpolation
Presentation transcript:

Numerical Analysis Lecture 24

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

Newton’s Forward Difference Interpolation Formula

The Newton’s forward difference formula for interpolation, which gives the value of f (x0 + ph) in terms of f (x0) and its leading differences.

An alternate expression is

NEWTON’S BACKWARD DIFFERENCE INTERPOLATION FORMULA

The formula is,

Alternatively, this formula can also be written as Here

LAGRANGE’S INTERPOLATION FORMULA

Newton’s interpolation formulae can be used only when the values of the independent variable x are equally spaced. Also the differences of y must ultimately become small.

If the values of the independent variable are not given at equidistant intervals, then we have the Lagrange formula

Here the polynomial is of the form or in the form

Here, the coefficients ak are so chosen as to satisfy this equation by the (n + 1) pairs (xi, yi). Thus we get Therefore,

Similarly and

Substituting the values of a0, a1, …, an we get The Lagrange’s formula for interpolation

This formula can be used whether the values x0, x2, …, xn are equally spaced or not. Alternatively, this can also be written in compact form as

Thus introducing Kronecker delta notation Where, We can easily observe that, and Thus introducing Kronecker delta notation

Further, if we introduce the notation That is is a product of (n + 1) factors. Clearly, its derivative contains a sum of (n + 1) terms in each of which one of the factors of will be absent.

We also define, which is same as except that the factor (x–xk) is absent. Then But, when x = xk, all terms in the above sum vanishes except Pk(xk)

Hence,

Finally, the Lagrange’s interpolation polynomial of degree n can be written as

DIVIDED DIFFERENCES

Let us assume that the function y = f (x) is known for several values of x, (xi, yi), for i=0,1,..n. The divided differences of orders 0, 1, 2, …, n are now defined recursively as:

is the zero-th order divided difference

The first order divided difference is defined as

Similarly, the higher order divided differences are defined in terms of lower order divided differences by the relations of the form

Generally

Standard format of the Divided Differences

We can easily verify that the divided difference is a symmetric function of its arguments. That is,

Now,

Therefore

This is symmetric form, hence suggests the general result as

NEWTON’S DIVIDED DIFFERENCE INTERPOLATION FORMULA

Let y = f (x) be a function which takes values y0, y1, …, yn corresponding to x = xi, i = 0, 1,…, n. We choose an interpolating polynomial, interpolating at x = xi, i = 0, 1, …, n in the following form

Here, the coefficients ak are so chosen as to satisfy above equation by the (n + 1) pairs (xi, yi). Thus, we have

The coefficients a0, a1, …, an can be easily obtained from the above system of equations, as they form a lower triangular matrix.

The first equation gives The second equation gives

Third equation yields which can be rewritten as that is

Thus, in terms of second order divided differences, we have Similarly, we can show that

Newton’s divided difference interpolation formula can be written as

Newton’s divided differences can also be expressed in terms of forward, backward and central differences. They can be easily derived

Assuming equi-spaced values of abscissa, we have

By induction, we can in general arrive at the result

Similarly

In general, we have

Also, in terms of central differences, we have

In general, we have the following pattern

Numerical Analysis Lecture 24