Conditioning of the normal equations

Conditioning is particularly important when using the normal equations. For an overdetermined system with full column rank, the least-squares solution can be obtained by solving

\begin{displaymath}
\mathbf{A}^{\top}\mathbf{A}\mathbf{x}
=
\mathbf{A}^{\top}\mathbf{b}.
\end{displaymath} (1.42)

If
\begin{displaymath}
\mathbf{A}
=
\mathbf{U}\mathbf{\Sigma}\mathbf{V}^{\top},
\end{displaymath} (1.43)

then
\begin{displaymath}
\mathbf{A}^{\top}\mathbf{A}
=
\mathbf{V}\mathbf{\Sigma}^{\top}\mathbf{\Sigma}\mathbf{V}^{\top}.
\end{displaymath} (1.44)

The singular values of $\mathbf{A}^{\top}\mathbf{A}$ are therefore the squares of the singular values of $\mathbf{A}$. It follows that

\begin{displaymath}
\boxed{
\kappa_2(\mathbf{A}^{\top}\mathbf{A})
=
\kappa_2(\mathbf{A})^2
}.
\end{displaymath} (1.45)

Forming the normal equations can therefore significantly worsen the conditioning of the problem. For this reason, as discussed in Section 1.1, methods based on QR or SVD are often preferred in practice, since they avoid explicitly forming the matrix $\mathbf{A}^{\top}\mathbf{A}$.



Paolo medici
2026-10-19