Subsection 4.2.5 Why using the Method of Normal Equations could be bad
ΒΆHomework 4.2.5.1.
Show that \(\kappa_2( A^H A ) = (\kappa_2( A ))^2 \text{.}\)
Use the SVD of \(A \text{.}\)
Let \(A = U \Sigma V^H\) be the reduced SVD of \(A \text{.}\) Then
Let \(A \in \Cmxn \) have linearly independent columns. If one uses the Method of Normal Equations to solve the linear least squares problem \(\min_{x} \| b - A x \|_2 \) via the steps
Compute \(B = A^H A \text{.}\)
Compute \(y = A^H b \text{.}\)
Solve \(B \widehat x = y \text{.}\)
the condition number of \(B \) equals the square of the condition number of \(A \text{.}\) So, while the sensitivity of the LLS problem is captured by
the sensitivity of computing \(\widehat x \) from \(B \widehat x = y \) is captured by
If \(\kappa_2( A ) \) is relatively small (meaning that \(A \) is not close to a matrix with linearly dependent columns), then this may not be a problem. But if the columns of \(A \) are nearly linearly dependent, or high accuracy is desired, alternatives to the Method of Normal Equations should be employed.
Remark 4.2.5.1.
It is important to realize that this squaring of the condition number is an artifact of the chosen algorithm rather than an inherent sensitivity to change of the problem.