M BUZZ CRAZE NEWS
// general

Finding the dimension of subspace span(S)

By John Parsons
$\begingroup$

Problem:

Consider the set of vectors $S= \{a_1,a_2,a_3,a_4\}$ where $a_1= (6,4,1,-1,2)$ $a_2 = (1,0,2,3,-4)$ $a_3= (1,4,-9,-16,22)$ $a_4= (7,1,0,-1,3)$

Find the dimension of the subspace $span(S)$?

  • I know that dimension is the maximum number of linearly independent vectors in a subspace.

  • So is the dimension in this case 4? Since there are 4 vectors?

Find a set of vectors in $S$ that forms basis of $span(S)$?

  • How do I solve this?
$\endgroup$ 9

2 Answers

$\begingroup$

Write your four vectors as column vectors of a $ \ 5 \times 4 \ $ matrix and row reduce it:

$$ \left( \begin{array}{cc} 6 & 1 & 1 &7 \\4&0&4&1\\1&2&-9&0\\-1&3&-16&-1\\2&-4&22&3 \end{array} \right) \ \ \rightarrow \ \ \left( \begin{array}{cc} 0 & 0 & 0 &0 \\0&0&0&0\\0&0&0&1\\1&-3&16&1\\0&1&-5&\frac{1}{2} \end{array} \right) $$

[I used the fourth row here to work against the other rows; that doesn't matter particularly.]

What does the "zeroing-out" of two rows tell us? How can we use what non-zero rows remain to construct a basis for span(S) ? (Notice that these are five-dimensional vectors, so we are already starting out "short a coordinate variable", making it "free".)

EDIT -- Since the discussion has advanced further, we can say something about the basis of span(S). Taking the hint from Omnomnomnom or the above, the subspace spanned by your set of four vectors only has dimension 3. So we need to set up three linearly independent vectors, using the columns of the row-reduced matrix.

We could "reduce" those last two rows a bit more to obtain

$$ \rightarrow \ \ \left( \begin{array}{cc} 0 & 0 & 0 &0 \\0&0&0&0\\0&0&0&1\\1&0&1&0\\0&1&-5&0 \end{array} \right) \ \ . $$

With the matrix fully "reduced", we need to pick out three (five-dimensional) column vectors which are linearly independent. The third column is a linear combination of the first two, so we can toss that one out. A suitable basis for span(S) is then

$$ \left( \begin{array}{cc} 0 \\0\\1\\0\\0 \end{array} \right) \ \ , \ \ \left( \begin{array}{cc} 0 \\0\\0\\1\\0 \end{array} \right) \ \ , \ \ \left( \begin{array}{cc} 0 \\0\\0\\0\\1 \end{array} \right) \ \ . $$

$\endgroup$ 6 $\begingroup$

I think colormegone's procedure to find basis is correct in terms of row reducing the matrix. However I don't think his statement that the set of $$\begin{pmatrix}0 \\ 0 \\ 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ 0 \\ 0 \\ 1 \\ 0\end{pmatrix}, \begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \\ 1\end{pmatrix}$$ is a basis is true. Because a basis should be able to represent any vector in the vector space with linear combination, but if we take $a1 = \begin{pmatrix} 6 \\ 4 \\ 1 \\ −1 \\2 \end{pmatrix}$, there's no way to use linear combination of vectors in the above set to represent it.

These 3 vectors correspond to the first, second and fourth column in the original matrix, so a basis (or one possible set of basis) should be the set of corresponding column vectors in the original matrix, i.e. $$\left\{\begin{pmatrix}6 \\ 4 \\ 1 \\ -1 \\ 2 \end{pmatrix}, \begin{pmatrix} 1 \\ 0 \\ 2 \\ 3 \\ -4\end{pmatrix}, \begin{pmatrix} 7 \\ 1 \\ 0 \\ -1 \\ 3\end{pmatrix}\right\}$$

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy