Polynomial Approximation and Interpolation

Suppose the scatterplot of the data (ti,yi) looks like this:
Pasted image 20231025055222.png

We can fit a line to the data, but it does not really make sense. A parabola y=α+βt+γt2 seems to be a better model. In general, suppose we want to fit a polynomial of degree n to the data

y(t)=α0+α1t+⋯+αntn,αi∈R

The ith residual: ei=yi−y(ti)=yi−(α0+α1ti+⋯+αntin), i=1,…,m.

[e1⋮em]=[y1⋮ym]−[1t1⋯t1n1t2⋯t2n⋮⋮⋯⋮1tm⋯tmn][α0⋮αn]

A is called a Vaudermoude matrix (French mathematician that did not introduce the Vandermonds matrix) A∈Mm×(n+1).

Consider a special case: m=n+1 (# measurements = # coefficients) ⇒ A is square and, if A is nonsingular, we can find x such that e=0. In other words, we can solve Ax=y exactly, i.e. find a polynomial that fits the data {(ti,yi)} exactly. This polynomial is called interpolating polynomial.

Lemma: If t1,…,tn+1 are all distinct (ti≠tj) ⇒ the (n+1)×(n+1) Vandermond matrix is nonsingular.

Remark: Textbook gives a proof based on an LU decomposition. But the statement is very intuitive if you think about it geometrically.