01

Linear least-squares: non-orthogonal columns

Solve the linear least-squares problem for the following inconsistent system:

Compute the error to two decimal places.

02

Linear least-squares: orthogonal columns

Solve the linear least-squares problem for the following inconsistent system, using the fact that the columns of are orthogonal:

Compute the error to two decimal places.

03

Fitting a plane to four points

Consider the four data points in D space:

Find the parameters for which the plane defined by best fits these data points.

You may notice that the data points correspond to heights at the four corners of a square. Normally a plane is defined by 3 points (non-colinear) through which it passes. No plane passes through these four given points. But there is a plane that minimizes the sum of squares of vertical errors.

04

LLS summation curve model

Consider the data points: .
Find the parameters of best fit for the model . Clearly identify your design matrix, observation vector, and parameter vector. Compute the error vector and the total error.

05

Penrose quasi-inverse

For this problem, use the definition of based on the SVD of .

  • (a) Verify that and that for the example studied in the section on quasi-inverse. Think about how and why this happens in terms of the SVD.
  • (b) Show that for any matrix, is the projection of onto the image of .
  • (c) Show that for any matrix, and .

It may be helpful (though not required) for this problem to use the presentation of SVD in the form as in the definition of the SVD. In order to use this, figure out what the corresponding presentation of the SVD of should be.

06

LLS uniqueness

  • (a) Show that: if and only if . (Hint: use the fact that .)
  • (b) Show that: is invertible if and only if has independent columns. (Warning: need not be square. Hint: consider the dimensions of kernels, and use (a) as well as the rank-nullity theorem.)
  • (c) Explain why the LLS problem for and has a unique solution if and only if the columns of are independent. (Use (b).)
  • (d) Continuing from (b), show that: . (Hint: apply rank-nullity to both matrices. Notice that and have the same number of columns.)

You may observe that (a) implies , while (d) means . In other words, and always have the same size kernels and the same size images. This makes sense in terms of the SVD if you think about kernels, cokernels, and images generated by the orthonormal basis vectors ’s and ’s, writing as in the previous problem (keeping careful track of which ’s are zero or nonzero!).