Lecture 15
Lecture 15
Week 08
n x xj
Li ( x)
j 0 xi x j
j i
x x0 x1
y= f(x) y0 y1
Department of Computer Science 17
Lagrange functions
For two points, (x0, y0), and (x1, y1), the first-
order Lagrange polynomial that passes through
the points has the form:
functions.
Department of Computer Science 39
The Lagrange Polynomial: The General Case