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

Given \(A=\begin{pmatrix}1&0\\0&1\\1&1\end{pmatrix}\) and \(b=(1,2,4)^\top\), what is \(A^\top b\)?

Choose one option.

Show answer
  • B. \((5,6)^\top\)

Explanation

The first component is \(1+4=5\) and the second is \(2+4=6\), giving \((5,6)^\top\). The option \((5,4)^\top\) forgets to add the third row's contribution to the second component.

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-005 ZW-LINEAR-LEAST-SQUARES-007 →