Lec7 PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 23

Interpolation

and
Approximating polynomials
Can you find sin(1.2) approximately just by using the known value of sin(x) at
x=0, Π/6, Π/4, Π/3, and Π/2 ?
Why do we want to find and an approximating function v(x) in general?

* For prediction: we can use v(x) to find approximate vaues of the underlying
function at locations x other than the data x_0,.........., x_n.

* For manipulation: an instance is finding approximation for derivatives and


integrals of the underlying function.
Should we go for Taylor polynomials
as
Interpolating polynomials?
What does their graphs tell you?
The error becomes progressively worse as
we move away from zero.
Better approximations are obtained if
higher degree Taylor polynomials are
used.
Consider this one:

But look at the table!!!


Consider this one:

But look at the table!!!


Interpolation and the Langrange Polynomial

Can you tell me one (or more) immediate property (ies) of L(x)’s and P(x)?
Lagrange Polynomial
Back to some review of Calculus

What is the difference between the errors in Taylor’s and


Langrange polynomials?

You might also like