So I was given the following table:
| $x$ | -2 | -1 | 0 | 1 | 2 |
|---|---|---|---|---|---|
| $y$ | 2 | 14 | 4 | 2 | 38 |
I'm supposed to find a polynomial of degree $3$ and $4$. I was able to find a polynomial of degree 3 using Newton's Method for polynomial interpolation (that is, $p_3(x)=5x^3+4x^2-11x+4$). But I'm completely lost on how to find a polynomial of degree $4$. Please Help!
You can easily show that if $x_0< x_1 < \cdots < x_n$, there is one and only one polynomial of degree $\leq n$ such that $p(x_i) = y _i, i = 0, \cdots, n$. In this case, you have $n=4$ and the polynomial has degree $3 \leq 4$, which is fine.