Page 691 - Elementary_Linear_Algebra_with_Applications_Anton__9_edition
P. 691

Figure 9.3.1

Because the points are obtained experimentally, there is usually some measurement “error” in the data, making it impossible
to find a curve of the desired form that passes through all the points. Thus, the idea is to choose the curve (by determining its
coefficients) that “best” fits the data. We begin with the simplest and most common case: fitting a straight line to the data
points.

Least Squares Fit of a Straight Line

Suppose we want to fit a straight line      to the experimentally determined points

If the data points were collinear, the line would pass through all n points, and so the unknown coefficients a and b would
satisfy

We can write this system in matrix form as
   686   687   688   689   690   691   692   693   694   695   696