4.1-final-2015¶
Final Exam, 2015 · Section 4.1: Orthogonality of Vectors and Subspaces Source: finalexam_2.pdf, p. 159
Problem¶
7 (5+5 pts.)
(a) Find a 2 by 2 matrix such that
\[
A \begin{bmatrix} 1 \\ 2 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \end{bmatrix} \quad \text{and also} \quad A \begin{bmatrix} 2 \\ 1 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \end{bmatrix}
\]
or say why such a matrix can't exist.
(b) The columns of this matrix \(H\) are orthogonal but not orthonormal:
\[
H = \begin{bmatrix} 1 & 1 & 1 & 1 \\ -1 & 1 & 1 & 1 \\ 0 & -2 & 1 & 1 \\ 0 & 0 & -3 & 1 \end{bmatrix}.
\]
Find \(H^{-1}\) by the following procedure. First multiply \(H\) by a diagonal matrix \(D\) that makes the columns orthonormal. Then invert. Then account for the diagonal matrix \(D\) to find the 16 entries of \(H^{-1}\).
Solution
(a) Such a matrix exists: \[ A = \begin{bmatrix} 1 & 1 \\ 4/3 & 4/3 \end{bmatrix}. \] Indeed \(A \begin{bmatrix} 1 \\ 2 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \end{bmatrix}\) and \(A \begin{bmatrix} 2 \\ 1 \end{bmatrix} = \begin{bmatrix} 3 \\ 4 \end{bmatrix}\). One way to find it: the matrix \(B = \begin{bmatrix} 3 & 3 \\ 4 & 4 \end{bmatrix}\) sends both standard basis vectors to \((3, 4)\), and \(C = \begin{bmatrix} 1 & 2 \\ 2 & 1 \end{bmatrix}\) sends the standard basis to \((1, 2)\) and \((2, 1)\), so \(A = BC^{-1}\). (b) The column lengths are \(\sqrt{1 + 1} = \sqrt{2}\), \(\sqrt{1 + 1 + 4} = \sqrt{6}\), \(\sqrt{1 + 1 + 1 + 9} = \sqrt{12}\), and \(\sqrt{4} = 2\). So take \[ D = \mathrm{diag}\left( \frac{1}{\sqrt{2}}, \frac{1}{\sqrt{6}}, \frac{1}{\sqrt{12}}, \frac{1}{2} \right), \] and \(H' = HD\) has orthonormal columns, hence \(H'^{-1} = H'^T\). Since \(H = H'D^{-1}\), \[ H^{-1} = D H'^{-1} = D (HD)^T = D^2 H^T. \] With \(D^2 = \mathrm{diag}(1/2, 1/6, 1/12, 1/4)\) and \(H^T = \begin{bmatrix} 1 & -1 & 0 & 0 \\ 1 & 1 & -2 & 0 \\ 1 & 1 & 1 & -3 \\ 1 & 1 & 1 & 1 \end{bmatrix}\), \[ H^{-1} = \begin{bmatrix} 1/2 & -1/2 & 0 & 0 \\ 1/6 & 1/6 & -1/3 & 0 \\ 1/12 & 1/12 & 1/12 & -1/4 \\ 1/4 & 1/4 & 1/4 & 1/4 \end{bmatrix}. \]Keywords: matrix of a transformation, orthogonal columns, inverse, change of basis