(a) Define the QR factorization of a rectangular matrix and explain how it can be used to solve the least squares problem of finding an x∗∈Rn such that
∥Ax∗−b∥=x∈Rnmin∥Ax−b∥, where A∈Rm×n,b∈Rm,m⩾n,
and the norm is the Euclidean distance ∥y∥=∑i=1m∣yi∣2.
(b) Define a Householder transformation (reflection) H and prove that H is an orthogonal matrix.
(c) Using Householder reflection, solve the least squares problem for the case