By using the method of least squares, find the best parabola through the
points:
,
,
,
Step 1. The general equation of a parabola is
. Plugging the data points into this formula
gives a matrix equation .

Step 2. The matrix equation
has
no solution, so instead we use the normal equation

Step 3. Solving the normal equation gives the answer
which corresponds to the formula