Skip to content

3.3-exam1-2013

Quiz 1, 2013 · Section 3.3: The Complete Solution to Ax = b Source: exam1_2.pdf, pp. 36, 56-57

Problem

3 (30 pts.) Suppose \(A\) is the 2 by 3 matrix

\[ A = \begin{bmatrix} 1 & 1 & 1 \\ 1 & 3 & 1 \end{bmatrix}. \]

(a) Find all 3 by 2 matrices \(X\) with

\[ AX = \begin{bmatrix} 0 & 0 \\ 0 & 0 \end{bmatrix}. \]

What is a basis for that space of matrices? (b) Find one 3 by 2 matrix \(X\) with

\[ AX = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}. \]

(c) Find the complete solution of this matrix equation: all 3 by 2 matrices \(X\) with

\[ AX = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}. \]
Solution (a) Let \(\begin{bmatrix} x \\ y \\ z \end{bmatrix}\) be a column of \(X\). Then \(x, y\), and \(z\) satisfy \[ \begin{bmatrix} 1 & 1 & 1 \\ 1 & 3 & 1 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = 0. \] We apply elimination to get \[ \begin{bmatrix} 1 & 1 & 1 \\ 0 & 2 & 0 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = 0, \] from which we deduce that \(y = 0\), and \(x = -z\). So each column of \(X\) is a multiple of the vector \(\begin{bmatrix} 1 \\ 0 \\ -1 \end{bmatrix}\). Since there are two columns of \(X\), \(X\) can be written as \[ X = \begin{bmatrix} a & b \\ 0 & 0 \\ -a & -b \end{bmatrix}. \] The basis for this space of matrices is given by \[ \begin{bmatrix} 1 & 0 \\ 0 & 0 \\ -1 & 0 \end{bmatrix}, \quad \begin{bmatrix} 0 & 1 \\ 0 & 0 \\ 0 & -1 \end{bmatrix}. \] (b) We first solve \[ \begin{bmatrix} 1 & 1 & 1 \\ 1 & 3 & 1 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}. \] Elimination gives \[ \begin{bmatrix} 1 & 1 & 1 \\ 0 & 2 & 0 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 1 \\ -1 \end{bmatrix}, \] from which we see that we can take \(y = -1/2, x = 3/2, z = 0\). This will be the first column of \(X\). We now solve \[ \begin{bmatrix} 1 & 1 & 1 \\ 1 & 3 & 1 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, \] i.e. \[ \begin{bmatrix} 1 & 1 & 1 \\ 0 & 2 & 0 \end{bmatrix} \begin{bmatrix} x \\ y \\ z \end{bmatrix} = \begin{bmatrix} 0 \\ 1 \end{bmatrix}, \] and we can take \(y = 1/2, x = -1/2, z = 0\). This is the second column of \(X\). So one possible solution is \[ X = \begin{bmatrix} 3/2 & -1/2 \\ -1/2 & 1/2 \\ 0 & 0 \end{bmatrix}. \] (c) The set of complete solutions is given by \[ X = X_{\text{particular}} + X_{\text{special}} = \begin{bmatrix} 3/2 & -1/2 \\ -1/2 & 1/2 \\ 0 & 0 \end{bmatrix} + a \begin{bmatrix} 1 & 0 \\ 0 & 0 \\ -1 & 0 \end{bmatrix} + b \begin{bmatrix} 0 & 1 \\ 0 & 0 \\ 0 & -1 \end{bmatrix}. \]

Keywords: nullspace, matrix equation, complete solution, basis