Skip to main content

Exam 1 review

This lecture is a review for the exam. The majority of the exam is on what we’ve learned about rectangular matrices.

Sample question 1

Suppose u, v and w are non-zero vectors in R7\mathbb{R}^{7} . They span a subspace of R7\mathbb{R}^{7} . What are the possible dimensions of that vector space?

The answer is 1, 2 or 3. The dimension can’t be higher because a basis for this subspace has at most three vectors. It can’t be 0 because the vectors are non-zero.

Sample question 2

Suppose a 5 by 3 matrix RR in reduced row echelon form has r=3r=3 pivots.

  1. What’s the nullspace of RR?
    Since the rank is 3 and there are 3 columns, there is no combination of the columns that equals 0 except the trivial one. N(R)={0}N(R)=\{{\bf0}\} .
  2. Let BB be the 10 by 3 matrix [R2R]\left[\begin{array}{c}{R}\\ {2R}\end{array}\right] What’s the reduced row echelon form of B?
    Answer:[R0].{\left[\begin{array}{l}{R}\\ {0}\end{array}\right]}.
  3. What is the rank of B?
    Answer: 3.
  4. What is the reduced row echelon form of C=[RRR0]?{C}=\left[\begin{array}{l l}{R}&{R}\\ {R}&{0}\end{array}\right]?
    When we perform row reduction we get: [RRR0][RR0R][R00R][R00R].\left[\begin{array}{c c}{{R}}&{{R}}\\ {{R}}&{{0}}\end{array}\right]\longrightarrow\left[\begin{array}{c c}{{R}}&{{R}}\\ {{0}}&{{-R}}\end{array}\right]\longrightarrow\left[\begin{array}{c c}{{R}}&{{0}}\\ {{0}}&{{-R}}\end{array}\right]\longrightarrow\left[\begin{array}{c c}{{R}}&{{0}}\\ {{0}}&{{R}}\end{array}\right]. Then we might need to move some zero rows to the bottom of the matrix.
  5. What is the rank of C?C?
    Answer: 6.
  6. What is the dimension of the nullspace of CT?C^{T}?
    m=10m=10 and r=6r=6 so dim N(CT)=106=4N(C^{T})=10-6=4 .

Sample question 3

Suppose we know that Ax=[242]A{\mathbf x}={\left[\begin{array}{l}{2}\\ {4}\\ {2}\end{array}\right]} and that:

x=[200]+c[110]+d[001]\mathbf{x}={\left[\begin{array}{l}{2}\\ {0}\\ {0}\end{array}\right]}+c{\left[\begin{array}{l}{1}\\ {1}\\ {0}\end{array}\right]}+d{\left[\begin{array}{l}{0}\\ {0}\\ {1}\end{array}\right]}

is a complete solution.

Solution

Note that in this problem we don’t know what AA is.

  1. What is the shape of the matrix AA^{\prime} ? Answer: 3 by 3, because x\mathbf{x} and b both have three components.

  2. What’s the dimension of the row space of A?A? From the complete solution we can see that the dimension of the nullspace of AA is 2, so the rank of AA must be 32=13-2=1 .

  3. What is AA ?

    Because the second and third components of the particular solution [200]\left[\begin{array}{l}{2}\\ {0}\\ {0}\end{array}\right] are zero, we see that the first column vector of AA must be [121]\left[\begin{array}{l}{1}\\ {2}\\ {1}\end{array}\right] Knowing that [001]\left[\begin{array}{l}{0}\\ {0}\\ {1}\end{array}\right] is in the nullspace tells us that the third column of AA must be 0. The fact that [110]\left[\begin{array}{l}{1}\\ {1}\\ {0}\end{array}\right] is in the nullspace tells us that the second column must be the negative of the first. So,

    A=[110220110].A=\left[\begin{array}{l l l}{1}&{-1}&{0}\\ {2}&{-2}&{0}\\ {1}&{-1}&{0}\end{array}\right].

    If we had time, we could check that this AA times x\mathbf{x} equals b\mathbf{b} .

  4. For what vectors bb does Ax=bA\mathbf{x}=\mathbf{b} have a solution x?\pmb{x}?
    This equation has a solution exactly when b\mathbf{b} is in the column space of AA , so when b\mathbf{b} is a multiple of [121]\left[\begin{array}{l}{1}\\ {2}\\ {1}\end{array}\right] . This makes sense; we know that the rank of AA is 1 and the nullspace is large.
    In contrast, we might have had r=mr=m or r=nr=n .

Sample question 4

Suppose:

B=CD=[110010101][101201110000].B=C D=\left[\begin{array}{r r r}{1}&{1}&{0}\\ {0}&{1}&{0}\\ {1}&{0}&{1}\end{array}\right]\left[\begin{array}{r r r r}{1}&{0}&{-1}&{2}\\ {0}&{1}&{1}&{-1}\\ {0}&{0}&{0}&{0}\end{array}\right].

Try to answer the questions below without performing this matrix multiplication CDC D .

Solution

  1. Give a basis for the nullspace of BB .

    The matrix BB is 3 by 4,^{4,} so N(B)  R4N(B)\ \subseteq\ \mathbb{R}^{4} . Because C = [110010101]C~=~{\left[\begin{array}{l l l}{1}&{1}&{0}\\ {0}&{1}&{0}\\ {1}&{0}&{1}\end{array}\right]} is invertible, the nullspace of BB is the same as the nullspace of D  =  {\cal D}\;=\; [101201110000]\left[{\begin{array}{r r r r}{1}&{0}&{-1}&{2}\\ {0}&{1}&{1}&{-1}\\ {0}&{0}&{0}&{0}\end{array}}\right] . Matrix DD is in reduced form, so its special solutions form a basis for N(D)=N(B)N(D)=N(B) :

    [1110],[2101].\begin{array}{r}{\left[\begin{array}{c}{1}\\ {-1}\\ {1}\\ {0}\end{array}\right],\left[\begin{array}{c}{-2}\\ {1}\\ {0}\\ {1}\end{array}\right].}\end{array}

    These vectors are independent, and if time permits we can multiply to check that they are in N(B)N(B) .

  2. Find the complete solution to Bx=[101].B\mathbf{x}={\left[\begin{array}{l}{1}\\ {0}\\ {1}\end{array}\right]}.

    We can now describe any vector in the nullspace, so all we need to do is find a particular solution. There are many possible particular solutions; the simplest one is given below.

    One way to solve this is to notice that C[100]=[101]C\left[{\begin{array}{c}{1}\\ {0}\\ {0}\end{array}}\right]=\left[{\begin{array}{c}{1}\\ {0}\\ {1}\end{array}}\right] and then find a vector x\mathbf{x} for which Dx=[100]D\mathbf{x}={\left[\begin{array}{l}{1}\\ {0}\\ {0}\end{array}\right]} Another approach is to notice that the first column of B=C D\textit{B}=\textit{C D} is [101]\left[\begin{array}{l}{1}\\ {0}\\ {1}\end{array}\right] In either case, we get the complete solution:

    x=[1000]+c[1110]+d[2101].\mathbf{x}=\left[{\begin{array}{r}{1}\\ {0}\\ {0}\\ {0}\end{array}}\right]+c\left[{\begin{array}{r}{1}\\ {-1}\\ {1}\\ {0}\end{array}}\right]+d\left[{\begin{array}{r}{-2}\\ {1}\\ {0}\\ {1}\end{array}}\right].

    Again, we can check our work by multiplying.

Short questions

There may not be true/false questions on the exam, but it’s a good idea to review these:

  1. Given a square matrix AA whose nullspace is just {0}\{{\bf0}\} , what is the nullspace of AT?A^{T}?
    N(AT)N(A^{T}) is also {0}\{{\bf0}\} because AA is square.
  2. Do the invertible matrices form a subspace of the vector space of 5 by 5 matrices?
    No. The sum of two invertible matrices may not be invertible. Also, 0 is not invertible, so is not in the collection of invertible matrices.
  3. True or false: If B2=0.B^{2}=0. , then it must be true that B=0B=0 .
    False. We could have B = 00 10 .
  4. True or false: A system Ax=bA\mathbf{x}=\mathbf{b} of nn equations with nn unknowns is solvable for every right hand side b\mathbf{b} if the columns of AA are independent.
    True. AA is invertible, and x=A1b\mathbf{x}=A^{-1}\mathbf{b} is a (unique) solution.
  5. True or false: If m=nm=n then the row space equals the column space.
    False. The dimens ions are equal, but the spaces are not. A good example to look at is B=[0100]B={\left[\begin{array}{l l}{0}&{1}\\ {0}&{0}\end{array}\right]} .
  6. True or false: The matrices AA and A-A share the same four spaces.
    True, because whenever a vector v\mathbf{v} is in a space, so is v-\mathbf{v} .
  7. True or false: If AA and BB have the same four subspaces, then AA is a multiple of BB .
    A good way to approach this question is to first try to convince yourself that it isn’t true – look for a counterexample. If AA is 3 by 3 and invertible, then its row and column space are both R3\mathbb{R}^{3} and its nullspaces are {0}\{{\bf0}\} . If BB is any other invertible 3 by 3 matrix it will have the same four subspaces, and it may not be a multiple of AA . So we answer “false”. It’s good to ask how we could truthfully complete the statement “If AA and BB have the same four subspaces, then ...”
  8. If we exchange two rows of AA , which subspaces stay the same?
    The row space and the nullspace stay the same.
  9. Why can’t a vector v=[123]\mathbf{v}={\left[\begin{array}{l}{1}\\ {2}\\ {3}\end{array}\right]} be in the nullspace of AA and also be a row of A?A?
    Because if v\mathbf{v} is the nthn^{\mathrm{th}} row of A.A_{.} , the nthn^{\mathrm{th}} component of the vector Av would be 14, not 0. The vector v\mathbf{v} could not be a solution to Av=0A\mathbf{v}=\mathbf{0} . In fact, we will learn that the row space is perpendicular to the nullspace.