线性代数 · free preview

The Method of Least Squares

The Method of Least Squares

1. Introduction

Introduction

2. Least-Squares Solutions

Least-Squares Solutions

3. Best-Fit Problems

Best-Fit Problems

4. The normal equations

Which equations determine the least-squares solutions x^\hat x of Ax=bAx = b?

5. Uniqueness of the fit

Ax=bAx = b has a unique least-squares solution x^\hat x exactly when which condition holds?

6. Vocabulary: least squares

In two words: a vector x^\hat x that makes ∥Ax^−b∥\|A\hat x - b\| as small as possible over all vectors xx is called a ______ solution.

7. Best-fit line coefficients

For A=(011121)A = \begin{pmatrix} 0&1 \\ 1&1 \\ 2&1 \end{pmatrix} and b=(6,0,0)b = (6,0,0), the normal equations ATAx^=ATbA^TA\hat x = A^Tb have the unique solution x^=(x1,x2)\hat x = (x_1,x_2), which gives the best-fit line y=x1t+x2y = x_1 t + x_2. Enter x2x_2 as a whole number.

8. Least-squares error

Fit the four points (t,b)=(0,0), (1,8), (3,8), (4,20)(t,b) = (0,0),\,(1,8),\,(3,8),\,(4,20) with the least-squares line b=C+Dtb = C + Dt: solve the normal equations ATAx^=ATbA^TA\hat x = A^Tb for the 4×24\times 2 matrix AA with rows (1,t)(1,t). Enter the least-squares error E=∥b−Ax^∥2E = \|b - A\hat x\|^2 as a whole number.

9. In your own words

In your own words, state the single most important definition or theorem of this section, and explain what it says.

Practice this interactively

Free account · instant grading · spaced review that schedules itself.

Start this course — free