Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values at intermediate.

Slides:



Advertisements
Similar presentations
Numerical Analysis. TOPIC Interpolation TOPIC Interpolation.
Advertisements

Numerical Integration
Copyright © Cengage Learning. All rights reserved.
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.
Numerical Methods.  Polynomial interpolation involves finding a polynomial of order n that passes through the n+1 points.  Several methods to obtain.
SECTION 3.2 RATIONAL FUNCTIONS RATIONAL FUNCTIONS.
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.
ES 240: Scientific and Engineering Computation. InterpolationPolynomial  Definition –a function f(x) that can be written as a finite series of power functions.
KFUPM SE301: Numerical Methods Topic 5: Interpolation Lectures 20-22:
Curve-Fitting Interpolation
14 Aug 2007 KKKQ 3013 PENGIRAAN BERANGKA Week 6 – Interpolation & Curve Fitting 14 August am – 9.00 am.
Curve-Fitting Polynomial Interpolation
Polynomial Interpolation
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 22 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 181 Interpolation Chapter 18 Estimation of intermediate.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 23 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Interpolation Chapter 18.
ON MULTIVARIATE POLYNOMIAL INTERPOLATION
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 21 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
CpE- 310B Engineering Computation and Simulation Dr. Manal Al-Bzoor
Interpolation. Interpolation is important concept in numerical analysis. Quite often functions may not be available explicitly but only the values of.
Copyright © Cengage Learning. All rights reserved.
Rational Functions 4-2.
1 Interpolation. 2 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a.
Chapter 8 Curve Fitting.
Lecture 8 Numerical Analysis. Solution of Non-Linear Equations Chapter 2.
Numerical Methods For Slides Thanks to Lecture 6 Interpolation
Graphing Rational Functions. 2 xf(x)f(x) xf(x)f(x) As x → 0 –, f(x) → -∞.
Aim: What are the rational function and asymptotes? Do Now: Graph xy = 4 and determine the domain.
CHAPTER 3 NUMERICAL METHODS
Lecture 22 Numerical Analysis. Chapter 5 Interpolation.
KFUPM SE301: Numerical Methods Topic 5: Interpolation Lectures 20-22:
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,
1 INTERPOLASI. Direct Method of Interpolation 3 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a value.
Principles of Extrapolation
Section 3.5 Polynomial and Rational Inequalities.
Lesson 2.7, page 346 Polynomial and Rational Inequalities.
1 Approximating functions, polynomial interpolation (Lagrange and Newton’s divided differences) formulas, error approximations.
CHAPTER 3 NUMERICAL METHODS
Welcome to Precalculus!
Chapter 7 Numerical Differentiation and Integration
Polynomial and Rational Inequalities
Copyright © Cengage Learning. All rights reserved.
Numerical Analysis Lecture 25.
Copyright © Cengage Learning. All rights reserved.
Interpolation.
FST Chapter 7 Review Questions.
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.
28 – The Slant Asymptote No Calculator
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.
4.2 Properties of Polynomial Graphs
Polynomial Approximations of Elementary Functions
Graphing Polynomial Functions
MATH 2140 Numerical Methods
MATH 2140 Numerical Methods
Warm-up: Find the equation of a quadratic function in standard form that has a root of 2 + 3i and passes through the point (2, -27). Answer: f(x) = -3x2.
Numerical Analysis Lecture 23.
POLYNOMIAL INTERPOLATION
Numerical Analysis Lecture 26.
INTERPOLASI.
Numerical Analysis Lecture 21.
Graphing Rational Functions
Numerical Analysis Lecture11.
Numerical Analysis Lecture 24.
Interpolation with unequal intervals
Theory of Approximation: Interpolation
Presentation transcript:

Interpolation produces a function that matches the given data exactly. The function then can be utilized to approximate the data values at intermediate points.

Interpolation may also be used to produce a smooth graph of a function for which values are known only at discrete points, either from measurements or calculations.

Given data points Obtain a function, P(x) P(x) goes through the data points Use P(x) To estimate values at intermediate points

Given data points: At x 0 = 2, y 0 = 3 and at x 1 = 5, y 1 = 8 Find the following: At x = 4, y = ?

P(x) should satisfy the following conditions: P(x = 2) = 3 and P(x = 5) = 8 P(x) can satisfy the above conditions if at x = x 0 = 2, L 0 (x) = 1 and L 1 (x) = 0 and at x = x 1 = 5, L 0 (x) = 0 and L 1 (x) = 1

The conditions can be satisfied if L 0 (x) and L 1 (x) are defined in the following way. At x = x 0 = 2, L 0 (x) = 1 and L 1 (x) = 0 and at x = x 1 = 5, L 0 (x) = 0 and L 1 (x) = 1

Lagrange Interpolating Polynomial

The Lagrange interpolating polynomial passing through three given points; (x 0, y 0 ), (x 1, y 1 ) and (x 2, y 2 ) is:

At x 0, L 0 (x) becomes 1. At all other given data points L 0 (x) is 0.

At x 1, L 1 (x) becomes 1. At all other given data points L 1 (x) is 0.

At x 2, L 2 (x) becomes 1. At all other given data points L 2 (x) is 0.

General form of the Lagrange Interpolating Polynomial

Numerator of

Denominator of

Find the Lagrange Interpolating Polynomial using the three given points.

The three given points were taken from the function

An approximation can be obtained from the Lagrange Interpolating Polynomial as:

Newton’s Interpolating Polynomials Newton’s equation of a function that passes through two points andis

Set

Newton’s equation of a function that passes through three points and is

To find, set

Newton’s equation of a function that passes through four points can be written by adding a fourth term.

The fourth term will vanish at all three previous points and, therefore, leaving all three previous coefficients intact.

Divided differences and the coefficients The divided difference of a function, with respect to is denoted as It is called as zeroth divided difference and is simply the value of the function, at

The divided difference of a function, called as the first divided difference, is denoted with respect to and

The divided difference of a function, called as the second divided difference, is denoted as with respect to and,

The third divided difference with respect to, and,

The coefficients of Newton’s interpolating polynomial are: and so on.

Example Find Newton’s interpolating polynomial to approximate a function whose 5 data points are given below

The 5 coefficients of the Newton’s interpolating polynomial are:

P(x) can now be used to estimate the value of the function f(x) say at x = 2.8.