Lagrange interpolation polynomial

allaputa
Messages
6
Reaction score
0
Hello everyone
Here is my problem
lagrange interpolation polynomial across the points(x0,y0),(x1,y1) and (x2,y2) is given by y0L0(x) + y1L1(x) + y2L2(x)

where L0(x)=-x and L1(x)=x ^2 + x
Therefore L2(x) is given by
I tried it but i could'nt crack it
 
Physics news on Phys.org
The polynomial L(x)=\sum_{k=0}^n f(x_{k}) \prod_{i=0, i \neq k}^n \frac{x-x_{i}}{x_{k}-x_{i}} is called the Lagrangian interpolation polynomial for a function f and the points x_{0}, x_{1}, ..., x_{n}, and it has the same values as the function f in these points. So, all you have to do is find your function and your points.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top