Exercise · ZW-LINEAR-LEAST-SQUARES-007 · ★★☆ Intermediate

With \(A^\top A=\begin{pmatrix}2&1\\1&2\end{pmatrix}\) and \(A^\top b=(3,3)^\top\), what is the least squares solution?

Choose one option.

Show answer
  • A. \(x=(1,1)^\top\)

Explanation

Solving \(2x_1+x_2=3\) and \(x_1+2x_2=3\) gives \(x=(1,1)^\top\). The option \((3,3)^\top\) takes \(A^\top b\) directly as the solution without solving the system.

Study Continuous optimization in ZWMath →

Review the concept: Linear least squares

Optimization problem that minimizes the sum of squared residuals \(\|Ax-b\|_2^2\) to approximate a vector \(b\) by linear combinations of the columns of \(A\).

\[\min_{x}\ \|Ax-b\|_2^2 \quad \Rightarrow \quad A^\top A\,x = A^\top b\]

More practice problems: linear least squares

← ZW-LINEAR-LEAST-SQUARES-006 ZW-LINEAR-LEAST-SQUARES-008 →