3.5-exam2-2001-spring-makeup¶
Midterm Exam 2, 2001 (spring-makeup) · Section 3.5: Dimensions of the Four Subspaces Source: exam2_1.pdf, p. 66
Problem¶
2. (40pts.) Consider the matrix
\[
A = \begin{bmatrix} 1 & -2 & 1 & -1 \\ 3 & -6 & 2 & 0 \\ 0 & 0 & 1 & -2 \end{bmatrix}
\]
(a) Find the rank of \(A\).
(b) Find a basis for the row space of \(A\), and find a basis for the nullspace of \(A\). What is the dimension of the nullspace of \(A\)?
(c) What can you say about the relation between the rank and the dimension of the nullspace of \(A\)?
(d) Verify that all vectors in your basis of the nullspace are orthogonal to all vectors in your basis of the row space.
Solution
2a. Subtract 3 times row 1 from row 2: \[ A = \begin{bmatrix} 1 & -2 & 1 & -1 \\ 3 & -6 & 2 & 0 \\ 0 & 0 & 1 & -2 \end{bmatrix} \to \begin{bmatrix} 1 & -2 & 1 & -1 \\ 0 & 0 & -1 & 3 \\ 0 & 0 & 1 & -2 \end{bmatrix} \to \begin{bmatrix} 1 & -2 & 1 & -1 \\ 0 & 0 & -1 & 3 \\ 0 & 0 & 0 & 1 \end{bmatrix}. \] There are three nonzero pivots (in columns 1, 3, and 4), so \(A\) has rank 3. 2b. A basis for the row space of \(A\) is given by the three pivot rows: the rows of \(A\) itself, \[ \{(1, -2, 1, -1), (3, -6, 2, 0), (0, 0, 1, -2)\}. \] The free variable is \(x_2\). The solutions of \(Ax = 0\) are \(x = \alpha (2, 1, 0, 0)^T\) where \(\alpha \in R\) (check: \(2x_1 - 4x_2 + 0 + 0 = 0\) for every row), so a basis for the nullspace is \((2, 1, 0, 0)^T\) and \(\dim N(A) = 1\). 2c. \(\dim N(A) + \text{rk}(A) =\) number of columns of \(A\). Here, \(1 + 3 = 4\). 2d. \[ (1, -2, 1, -1) \cdot (2, 1, 0, 0) = 0, \quad (3, -6, 2, 0) \cdot (2, 1, 0, 0) = 0, \quad (0, 0, 1, -2) \cdot (2, 1, 0, 0) = 0. \]Keywords: rank, row space, nullspace, orthogonal vectors