Finding a polynomial of order h from the first h+1 terms

30 Views Asked by At

In class we were finding a quadratic series from the first couple terms, I found that the equation of a quadratic sequence p1, p2, p3 is (p1-2p2+p3)x^2/2 +(-5p1+8p2-3p3)x/2 +3p1-3p2+1p3 but I want to make an equation that works for any order polynomial. The method to solve them regularly for quadratics is to find the difference between each term and continue down until a row is constant (Picture), I think I found an equation for the cth set of terms tn in row k

$$\sum_{n=1}^{h+1}\left(\sum_{t=0}^{k}\frac{\left(-1\right)^{\left(t+k\right)}k!}{\left(k-t\right)!t!}\left(c+t\right)^{n}\right)t_{n}$$

I have no clue if it is correct honestly as I'm not really used to using sum notation and such questions. I would rather confirm I at least have this part correct before ! continue to solve for tn in terms of pn. Also the letters I chose for certain variables might be confusing and I know that. I hope someone can enlighten me with their wisdom

edit: I'm aware of method of differences as that is the original method I used but I'm trying to find it without finding all the differences manually but find a formula using only the first few terms.