Find the dimension of the subspace of $mathbb{R}^4$ spanned by $x_1= (1, 2, -1, 0)$, $x_2=(2, 5, -3, 2)$,...












1












$begingroup$



Find the dimension of the subspace of $mathbb{R}^4$ spanned by the vectors
$$x_1= begin{bmatrix}
1 & 2 & -1& 0
end{bmatrix}^T, qquad
x_2= begin{bmatrix}
2 & 5 & -3& 2
end{bmatrix}^T$$

$$x_3= begin{bmatrix}
2 & 4 & -2& 0
end{bmatrix}^T, quad text{and} quad x_4= begin{bmatrix}
3 & 8 & -5& 4
end{bmatrix}^T.$$




The answer
The subspace $$Span(x_1,x_2,x_3,x_4)$$ is the same as the column space of the matrix
$$
X = begin{pmatrix} 1 & 2 & 2 & 3 \
2 & 5 & 4 & 8 \
-1 & -3 & -2 & -5 \
0 & 2 & 0 & 4
end{pmatrix}
$$

The row echelon form of X is
$$
begin{pmatrix}
1 & 2 & 2 & 3 \
0 & 1 & 0 & 2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
$$

The first two columns x1,x2 of X will form a basis for the column space of X. Thus, dim $$Span(x_1 , x_2 ,x_3 ,x_4)=2$$



My question
I know how to reduce the row echelon form of X, but I have no idea how to know which coloums form a basis a column space and why not use row space?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    When reducing X to row echelon form, the number of non-zero columns is equal to the rank of X, aka the dimension of the subspace spanned by it's column vectors, because they are linearly independent. Since for quadratic matrices the row and column space dimensions are always equal, it's probably just a choice to use columns instead of rows.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:11










  • $begingroup$
    @Viktor Glombik Thanks! But how can I know which columns form a basis for the column space or which rows form a basis for the row space?
    $endgroup$
    – Shadow Z
    Jan 6 at 9:15










  • $begingroup$
    The row reduced matrix only has two rows, which are non-trivial i.e. non zero. The zero vectors won't form a basis. The other two are linearly independent, therefore form a basis.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:17












  • $begingroup$
    @ViktorGlombik Notice that the OP has used row transformations in a matrix where the original vectors were written column-wise, mixing up the co-ordinates. The basis vectors can't be determined from $REF(X);CEF(X)$ is needed for that.
    $endgroup$
    – Shubham Johri
    Jan 6 at 10:59












  • $begingroup$
    @ShubhamJohri You are mistaken: a basis for the column space can be determined from the row-reduced matrix. Although it can’t be read directly from the row-reduced form as it can for the row space, the columns of the original matrix that correspond to pivot columns in the row-reduced matrix form a basis for the column space.
    $endgroup$
    – amd
    Jan 6 at 21:20
















1












$begingroup$



Find the dimension of the subspace of $mathbb{R}^4$ spanned by the vectors
$$x_1= begin{bmatrix}
1 & 2 & -1& 0
end{bmatrix}^T, qquad
x_2= begin{bmatrix}
2 & 5 & -3& 2
end{bmatrix}^T$$

$$x_3= begin{bmatrix}
2 & 4 & -2& 0
end{bmatrix}^T, quad text{and} quad x_4= begin{bmatrix}
3 & 8 & -5& 4
end{bmatrix}^T.$$




The answer
The subspace $$Span(x_1,x_2,x_3,x_4)$$ is the same as the column space of the matrix
$$
X = begin{pmatrix} 1 & 2 & 2 & 3 \
2 & 5 & 4 & 8 \
-1 & -3 & -2 & -5 \
0 & 2 & 0 & 4
end{pmatrix}
$$

The row echelon form of X is
$$
begin{pmatrix}
1 & 2 & 2 & 3 \
0 & 1 & 0 & 2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
$$

The first two columns x1,x2 of X will form a basis for the column space of X. Thus, dim $$Span(x_1 , x_2 ,x_3 ,x_4)=2$$



My question
I know how to reduce the row echelon form of X, but I have no idea how to know which coloums form a basis a column space and why not use row space?










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    When reducing X to row echelon form, the number of non-zero columns is equal to the rank of X, aka the dimension of the subspace spanned by it's column vectors, because they are linearly independent. Since for quadratic matrices the row and column space dimensions are always equal, it's probably just a choice to use columns instead of rows.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:11










  • $begingroup$
    @Viktor Glombik Thanks! But how can I know which columns form a basis for the column space or which rows form a basis for the row space?
    $endgroup$
    – Shadow Z
    Jan 6 at 9:15










  • $begingroup$
    The row reduced matrix only has two rows, which are non-trivial i.e. non zero. The zero vectors won't form a basis. The other two are linearly independent, therefore form a basis.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:17












  • $begingroup$
    @ViktorGlombik Notice that the OP has used row transformations in a matrix where the original vectors were written column-wise, mixing up the co-ordinates. The basis vectors can't be determined from $REF(X);CEF(X)$ is needed for that.
    $endgroup$
    – Shubham Johri
    Jan 6 at 10:59












  • $begingroup$
    @ShubhamJohri You are mistaken: a basis for the column space can be determined from the row-reduced matrix. Although it can’t be read directly from the row-reduced form as it can for the row space, the columns of the original matrix that correspond to pivot columns in the row-reduced matrix form a basis for the column space.
    $endgroup$
    – amd
    Jan 6 at 21:20














1












1








1





$begingroup$



Find the dimension of the subspace of $mathbb{R}^4$ spanned by the vectors
$$x_1= begin{bmatrix}
1 & 2 & -1& 0
end{bmatrix}^T, qquad
x_2= begin{bmatrix}
2 & 5 & -3& 2
end{bmatrix}^T$$

$$x_3= begin{bmatrix}
2 & 4 & -2& 0
end{bmatrix}^T, quad text{and} quad x_4= begin{bmatrix}
3 & 8 & -5& 4
end{bmatrix}^T.$$




The answer
The subspace $$Span(x_1,x_2,x_3,x_4)$$ is the same as the column space of the matrix
$$
X = begin{pmatrix} 1 & 2 & 2 & 3 \
2 & 5 & 4 & 8 \
-1 & -3 & -2 & -5 \
0 & 2 & 0 & 4
end{pmatrix}
$$

The row echelon form of X is
$$
begin{pmatrix}
1 & 2 & 2 & 3 \
0 & 1 & 0 & 2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
$$

The first two columns x1,x2 of X will form a basis for the column space of X. Thus, dim $$Span(x_1 , x_2 ,x_3 ,x_4)=2$$



My question
I know how to reduce the row echelon form of X, but I have no idea how to know which coloums form a basis a column space and why not use row space?










share|cite|improve this question











$endgroup$





Find the dimension of the subspace of $mathbb{R}^4$ spanned by the vectors
$$x_1= begin{bmatrix}
1 & 2 & -1& 0
end{bmatrix}^T, qquad
x_2= begin{bmatrix}
2 & 5 & -3& 2
end{bmatrix}^T$$

$$x_3= begin{bmatrix}
2 & 4 & -2& 0
end{bmatrix}^T, quad text{and} quad x_4= begin{bmatrix}
3 & 8 & -5& 4
end{bmatrix}^T.$$




The answer
The subspace $$Span(x_1,x_2,x_3,x_4)$$ is the same as the column space of the matrix
$$
X = begin{pmatrix} 1 & 2 & 2 & 3 \
2 & 5 & 4 & 8 \
-1 & -3 & -2 & -5 \
0 & 2 & 0 & 4
end{pmatrix}
$$

The row echelon form of X is
$$
begin{pmatrix}
1 & 2 & 2 & 3 \
0 & 1 & 0 & 2 \
0 & 0 & 0 & 0 \
0 & 0 & 0 & 0
end{pmatrix}
$$

The first two columns x1,x2 of X will form a basis for the column space of X. Thus, dim $$Span(x_1 , x_2 ,x_3 ,x_4)=2$$



My question
I know how to reduce the row echelon form of X, but I have no idea how to know which coloums form a basis a column space and why not use row space?







linear-algebra vector-spaces






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 6 at 9:50









Viktor Glombik

716526




716526










asked Jan 6 at 9:05









Shadow ZShadow Z

346




346








  • 1




    $begingroup$
    When reducing X to row echelon form, the number of non-zero columns is equal to the rank of X, aka the dimension of the subspace spanned by it's column vectors, because they are linearly independent. Since for quadratic matrices the row and column space dimensions are always equal, it's probably just a choice to use columns instead of rows.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:11










  • $begingroup$
    @Viktor Glombik Thanks! But how can I know which columns form a basis for the column space or which rows form a basis for the row space?
    $endgroup$
    – Shadow Z
    Jan 6 at 9:15










  • $begingroup$
    The row reduced matrix only has two rows, which are non-trivial i.e. non zero. The zero vectors won't form a basis. The other two are linearly independent, therefore form a basis.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:17












  • $begingroup$
    @ViktorGlombik Notice that the OP has used row transformations in a matrix where the original vectors were written column-wise, mixing up the co-ordinates. The basis vectors can't be determined from $REF(X);CEF(X)$ is needed for that.
    $endgroup$
    – Shubham Johri
    Jan 6 at 10:59












  • $begingroup$
    @ShubhamJohri You are mistaken: a basis for the column space can be determined from the row-reduced matrix. Although it can’t be read directly from the row-reduced form as it can for the row space, the columns of the original matrix that correspond to pivot columns in the row-reduced matrix form a basis for the column space.
    $endgroup$
    – amd
    Jan 6 at 21:20














  • 1




    $begingroup$
    When reducing X to row echelon form, the number of non-zero columns is equal to the rank of X, aka the dimension of the subspace spanned by it's column vectors, because they are linearly independent. Since for quadratic matrices the row and column space dimensions are always equal, it's probably just a choice to use columns instead of rows.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:11










  • $begingroup$
    @Viktor Glombik Thanks! But how can I know which columns form a basis for the column space or which rows form a basis for the row space?
    $endgroup$
    – Shadow Z
    Jan 6 at 9:15










  • $begingroup$
    The row reduced matrix only has two rows, which are non-trivial i.e. non zero. The zero vectors won't form a basis. The other two are linearly independent, therefore form a basis.
    $endgroup$
    – Viktor Glombik
    Jan 6 at 9:17












  • $begingroup$
    @ViktorGlombik Notice that the OP has used row transformations in a matrix where the original vectors were written column-wise, mixing up the co-ordinates. The basis vectors can't be determined from $REF(X);CEF(X)$ is needed for that.
    $endgroup$
    – Shubham Johri
    Jan 6 at 10:59












  • $begingroup$
    @ShubhamJohri You are mistaken: a basis for the column space can be determined from the row-reduced matrix. Although it can’t be read directly from the row-reduced form as it can for the row space, the columns of the original matrix that correspond to pivot columns in the row-reduced matrix form a basis for the column space.
    $endgroup$
    – amd
    Jan 6 at 21:20








1




1




$begingroup$
When reducing X to row echelon form, the number of non-zero columns is equal to the rank of X, aka the dimension of the subspace spanned by it's column vectors, because they are linearly independent. Since for quadratic matrices the row and column space dimensions are always equal, it's probably just a choice to use columns instead of rows.
$endgroup$
– Viktor Glombik
Jan 6 at 9:11




$begingroup$
When reducing X to row echelon form, the number of non-zero columns is equal to the rank of X, aka the dimension of the subspace spanned by it's column vectors, because they are linearly independent. Since for quadratic matrices the row and column space dimensions are always equal, it's probably just a choice to use columns instead of rows.
$endgroup$
– Viktor Glombik
Jan 6 at 9:11












$begingroup$
@Viktor Glombik Thanks! But how can I know which columns form a basis for the column space or which rows form a basis for the row space?
$endgroup$
– Shadow Z
Jan 6 at 9:15




$begingroup$
@Viktor Glombik Thanks! But how can I know which columns form a basis for the column space or which rows form a basis for the row space?
$endgroup$
– Shadow Z
Jan 6 at 9:15












$begingroup$
The row reduced matrix only has two rows, which are non-trivial i.e. non zero. The zero vectors won't form a basis. The other two are linearly independent, therefore form a basis.
$endgroup$
– Viktor Glombik
Jan 6 at 9:17






$begingroup$
The row reduced matrix only has two rows, which are non-trivial i.e. non zero. The zero vectors won't form a basis. The other two are linearly independent, therefore form a basis.
$endgroup$
– Viktor Glombik
Jan 6 at 9:17














$begingroup$
@ViktorGlombik Notice that the OP has used row transformations in a matrix where the original vectors were written column-wise, mixing up the co-ordinates. The basis vectors can't be determined from $REF(X);CEF(X)$ is needed for that.
$endgroup$
– Shubham Johri
Jan 6 at 10:59






$begingroup$
@ViktorGlombik Notice that the OP has used row transformations in a matrix where the original vectors were written column-wise, mixing up the co-ordinates. The basis vectors can't be determined from $REF(X);CEF(X)$ is needed for that.
$endgroup$
– Shubham Johri
Jan 6 at 10:59














$begingroup$
@ShubhamJohri You are mistaken: a basis for the column space can be determined from the row-reduced matrix. Although it can’t be read directly from the row-reduced form as it can for the row space, the columns of the original matrix that correspond to pivot columns in the row-reduced matrix form a basis for the column space.
$endgroup$
– amd
Jan 6 at 21:20




$begingroup$
@ShubhamJohri You are mistaken: a basis for the column space can be determined from the row-reduced matrix. Although it can’t be read directly from the row-reduced form as it can for the row space, the columns of the original matrix that correspond to pivot columns in the row-reduced matrix form a basis for the column space.
$endgroup$
– amd
Jan 6 at 21:20










2 Answers
2






active

oldest

votes


















2












$begingroup$

The dimension of the subspace $S$ of $Bbb R^4$ is the column rank of the matrix



$$X=begin{bmatrix}color{blue}1&color{red}2&color{green}2&color{brown}3\
color{blue}2&color{red}5&color{green}4&color{brown}8\
color{blue}{-1}&color{red}{-3}&color{green}{-2}&color{brown}{-5}\
color{blue}0&color{red}{2}&color{green}0&color{brown}4
end{bmatrix}$$



since you have written the spanning vectors as the column vectors of the matrix and it is the column rank that gives the number of linearly independent column vectors. The column rank is found by using column transformations to obtain the column echelon form of $X$.



The dimension of the subspace $S$ of $Bbb R^4$ is also the row rank of the matrix



$$X'=begin{bmatrix}color{blue}1&color{blue}2&color{blue}{-1}&color{blue}0\
color{red}2&color{red}5&color{red}{-3}&color{red}2\
color{green}2&color{green}4&color{green}{-2}&color{green}0\
color{brown}3&color{brown}8&color{brown}{-5}&color{brown}4
end{bmatrix}$$



where the spanning vectors have been written as row vectors of the matrix and the row rank gives the number of linearly dependent row vectors. The row rank is found by using row transformations to obtain the row echelon form of $X'$.



You have made use of the useful property that the row rank and column rank of a matrix are identical. This means you can alternatively obtain the row echelon form of $X$, as you have done, or the column echelon form of $X'$.



Edit. As mentioned in a useful comment, the basis of the column space of $X$ consists of the column vectors of $X$ corresponding to the pivot columns in $REF(X)$. In your case, it is the first two columns, giving the basis as ${(1,2,-1,0),(2,5,-3,2)}$. To see why, note that if you remove the last two columns of $X$, it will still have rank $2$, meaning that the first $2$ columns are independent. Adding the third/fourth column will not change the rank.






share|cite|improve this answer











$endgroup$





















    0












    $begingroup$

    The given vectors are the columns of
    $$
    A =
    left[begin{array}{rrrr}
    1 & 2 & 2 & 3 \
    2 & 5 & 4 & 8 \
    -1 & -3 & -2 & -5 \
    0 & 2 & 0 & 4
    end{array}right]
    $$

    The reduced row echelon form of $A$ is
    $$
    operatorname{rref}(A)=left[begin{array}{rrrr}
    1 & 0 & 2 & -1 \
    0 & 1 & 0 & 2 \
    0 & 0 & 0 & 0 \
    0 & 0 & 0 & 0
    end{array}right]
    $$

    The first two columns of $operatorname{rref}(A)$ are the pivot columns. This means that the first two columns of $A$ form a basis of $operatorname{Col}(A)$.



    Additionally, the nonzero rows of $operatorname{rref}(A)$ form a basis of $operatorname{Col}(A)$.






    share|cite|improve this answer









    $endgroup$













      Your Answer





      StackExchange.ifUsing("editor", function () {
      return StackExchange.using("mathjaxEditing", function () {
      StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
      StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
      });
      });
      }, "mathjax-editing");

      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "69"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      noCode: true, onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3063629%2ffind-the-dimension-of-the-subspace-of-mathbbr4-spanned-by-x-1-1-2-1%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2












      $begingroup$

      The dimension of the subspace $S$ of $Bbb R^4$ is the column rank of the matrix



      $$X=begin{bmatrix}color{blue}1&color{red}2&color{green}2&color{brown}3\
      color{blue}2&color{red}5&color{green}4&color{brown}8\
      color{blue}{-1}&color{red}{-3}&color{green}{-2}&color{brown}{-5}\
      color{blue}0&color{red}{2}&color{green}0&color{brown}4
      end{bmatrix}$$



      since you have written the spanning vectors as the column vectors of the matrix and it is the column rank that gives the number of linearly independent column vectors. The column rank is found by using column transformations to obtain the column echelon form of $X$.



      The dimension of the subspace $S$ of $Bbb R^4$ is also the row rank of the matrix



      $$X'=begin{bmatrix}color{blue}1&color{blue}2&color{blue}{-1}&color{blue}0\
      color{red}2&color{red}5&color{red}{-3}&color{red}2\
      color{green}2&color{green}4&color{green}{-2}&color{green}0\
      color{brown}3&color{brown}8&color{brown}{-5}&color{brown}4
      end{bmatrix}$$



      where the spanning vectors have been written as row vectors of the matrix and the row rank gives the number of linearly dependent row vectors. The row rank is found by using row transformations to obtain the row echelon form of $X'$.



      You have made use of the useful property that the row rank and column rank of a matrix are identical. This means you can alternatively obtain the row echelon form of $X$, as you have done, or the column echelon form of $X'$.



      Edit. As mentioned in a useful comment, the basis of the column space of $X$ consists of the column vectors of $X$ corresponding to the pivot columns in $REF(X)$. In your case, it is the first two columns, giving the basis as ${(1,2,-1,0),(2,5,-3,2)}$. To see why, note that if you remove the last two columns of $X$, it will still have rank $2$, meaning that the first $2$ columns are independent. Adding the third/fourth column will not change the rank.






      share|cite|improve this answer











      $endgroup$


















        2












        $begingroup$

        The dimension of the subspace $S$ of $Bbb R^4$ is the column rank of the matrix



        $$X=begin{bmatrix}color{blue}1&color{red}2&color{green}2&color{brown}3\
        color{blue}2&color{red}5&color{green}4&color{brown}8\
        color{blue}{-1}&color{red}{-3}&color{green}{-2}&color{brown}{-5}\
        color{blue}0&color{red}{2}&color{green}0&color{brown}4
        end{bmatrix}$$



        since you have written the spanning vectors as the column vectors of the matrix and it is the column rank that gives the number of linearly independent column vectors. The column rank is found by using column transformations to obtain the column echelon form of $X$.



        The dimension of the subspace $S$ of $Bbb R^4$ is also the row rank of the matrix



        $$X'=begin{bmatrix}color{blue}1&color{blue}2&color{blue}{-1}&color{blue}0\
        color{red}2&color{red}5&color{red}{-3}&color{red}2\
        color{green}2&color{green}4&color{green}{-2}&color{green}0\
        color{brown}3&color{brown}8&color{brown}{-5}&color{brown}4
        end{bmatrix}$$



        where the spanning vectors have been written as row vectors of the matrix and the row rank gives the number of linearly dependent row vectors. The row rank is found by using row transformations to obtain the row echelon form of $X'$.



        You have made use of the useful property that the row rank and column rank of a matrix are identical. This means you can alternatively obtain the row echelon form of $X$, as you have done, or the column echelon form of $X'$.



        Edit. As mentioned in a useful comment, the basis of the column space of $X$ consists of the column vectors of $X$ corresponding to the pivot columns in $REF(X)$. In your case, it is the first two columns, giving the basis as ${(1,2,-1,0),(2,5,-3,2)}$. To see why, note that if you remove the last two columns of $X$, it will still have rank $2$, meaning that the first $2$ columns are independent. Adding the third/fourth column will not change the rank.






        share|cite|improve this answer











        $endgroup$
















          2












          2








          2





          $begingroup$

          The dimension of the subspace $S$ of $Bbb R^4$ is the column rank of the matrix



          $$X=begin{bmatrix}color{blue}1&color{red}2&color{green}2&color{brown}3\
          color{blue}2&color{red}5&color{green}4&color{brown}8\
          color{blue}{-1}&color{red}{-3}&color{green}{-2}&color{brown}{-5}\
          color{blue}0&color{red}{2}&color{green}0&color{brown}4
          end{bmatrix}$$



          since you have written the spanning vectors as the column vectors of the matrix and it is the column rank that gives the number of linearly independent column vectors. The column rank is found by using column transformations to obtain the column echelon form of $X$.



          The dimension of the subspace $S$ of $Bbb R^4$ is also the row rank of the matrix



          $$X'=begin{bmatrix}color{blue}1&color{blue}2&color{blue}{-1}&color{blue}0\
          color{red}2&color{red}5&color{red}{-3}&color{red}2\
          color{green}2&color{green}4&color{green}{-2}&color{green}0\
          color{brown}3&color{brown}8&color{brown}{-5}&color{brown}4
          end{bmatrix}$$



          where the spanning vectors have been written as row vectors of the matrix and the row rank gives the number of linearly dependent row vectors. The row rank is found by using row transformations to obtain the row echelon form of $X'$.



          You have made use of the useful property that the row rank and column rank of a matrix are identical. This means you can alternatively obtain the row echelon form of $X$, as you have done, or the column echelon form of $X'$.



          Edit. As mentioned in a useful comment, the basis of the column space of $X$ consists of the column vectors of $X$ corresponding to the pivot columns in $REF(X)$. In your case, it is the first two columns, giving the basis as ${(1,2,-1,0),(2,5,-3,2)}$. To see why, note that if you remove the last two columns of $X$, it will still have rank $2$, meaning that the first $2$ columns are independent. Adding the third/fourth column will not change the rank.






          share|cite|improve this answer











          $endgroup$



          The dimension of the subspace $S$ of $Bbb R^4$ is the column rank of the matrix



          $$X=begin{bmatrix}color{blue}1&color{red}2&color{green}2&color{brown}3\
          color{blue}2&color{red}5&color{green}4&color{brown}8\
          color{blue}{-1}&color{red}{-3}&color{green}{-2}&color{brown}{-5}\
          color{blue}0&color{red}{2}&color{green}0&color{brown}4
          end{bmatrix}$$



          since you have written the spanning vectors as the column vectors of the matrix and it is the column rank that gives the number of linearly independent column vectors. The column rank is found by using column transformations to obtain the column echelon form of $X$.



          The dimension of the subspace $S$ of $Bbb R^4$ is also the row rank of the matrix



          $$X'=begin{bmatrix}color{blue}1&color{blue}2&color{blue}{-1}&color{blue}0\
          color{red}2&color{red}5&color{red}{-3}&color{red}2\
          color{green}2&color{green}4&color{green}{-2}&color{green}0\
          color{brown}3&color{brown}8&color{brown}{-5}&color{brown}4
          end{bmatrix}$$



          where the spanning vectors have been written as row vectors of the matrix and the row rank gives the number of linearly dependent row vectors. The row rank is found by using row transformations to obtain the row echelon form of $X'$.



          You have made use of the useful property that the row rank and column rank of a matrix are identical. This means you can alternatively obtain the row echelon form of $X$, as you have done, or the column echelon form of $X'$.



          Edit. As mentioned in a useful comment, the basis of the column space of $X$ consists of the column vectors of $X$ corresponding to the pivot columns in $REF(X)$. In your case, it is the first two columns, giving the basis as ${(1,2,-1,0),(2,5,-3,2)}$. To see why, note that if you remove the last two columns of $X$, it will still have rank $2$, meaning that the first $2$ columns are independent. Adding the third/fourth column will not change the rank.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 7 at 4:03

























          answered Jan 6 at 10:54









          Shubham JohriShubham Johri

          4,689717




          4,689717























              0












              $begingroup$

              The given vectors are the columns of
              $$
              A =
              left[begin{array}{rrrr}
              1 & 2 & 2 & 3 \
              2 & 5 & 4 & 8 \
              -1 & -3 & -2 & -5 \
              0 & 2 & 0 & 4
              end{array}right]
              $$

              The reduced row echelon form of $A$ is
              $$
              operatorname{rref}(A)=left[begin{array}{rrrr}
              1 & 0 & 2 & -1 \
              0 & 1 & 0 & 2 \
              0 & 0 & 0 & 0 \
              0 & 0 & 0 & 0
              end{array}right]
              $$

              The first two columns of $operatorname{rref}(A)$ are the pivot columns. This means that the first two columns of $A$ form a basis of $operatorname{Col}(A)$.



              Additionally, the nonzero rows of $operatorname{rref}(A)$ form a basis of $operatorname{Col}(A)$.






              share|cite|improve this answer









              $endgroup$


















                0












                $begingroup$

                The given vectors are the columns of
                $$
                A =
                left[begin{array}{rrrr}
                1 & 2 & 2 & 3 \
                2 & 5 & 4 & 8 \
                -1 & -3 & -2 & -5 \
                0 & 2 & 0 & 4
                end{array}right]
                $$

                The reduced row echelon form of $A$ is
                $$
                operatorname{rref}(A)=left[begin{array}{rrrr}
                1 & 0 & 2 & -1 \
                0 & 1 & 0 & 2 \
                0 & 0 & 0 & 0 \
                0 & 0 & 0 & 0
                end{array}right]
                $$

                The first two columns of $operatorname{rref}(A)$ are the pivot columns. This means that the first two columns of $A$ form a basis of $operatorname{Col}(A)$.



                Additionally, the nonzero rows of $operatorname{rref}(A)$ form a basis of $operatorname{Col}(A)$.






                share|cite|improve this answer









                $endgroup$
















                  0












                  0








                  0





                  $begingroup$

                  The given vectors are the columns of
                  $$
                  A =
                  left[begin{array}{rrrr}
                  1 & 2 & 2 & 3 \
                  2 & 5 & 4 & 8 \
                  -1 & -3 & -2 & -5 \
                  0 & 2 & 0 & 4
                  end{array}right]
                  $$

                  The reduced row echelon form of $A$ is
                  $$
                  operatorname{rref}(A)=left[begin{array}{rrrr}
                  1 & 0 & 2 & -1 \
                  0 & 1 & 0 & 2 \
                  0 & 0 & 0 & 0 \
                  0 & 0 & 0 & 0
                  end{array}right]
                  $$

                  The first two columns of $operatorname{rref}(A)$ are the pivot columns. This means that the first two columns of $A$ form a basis of $operatorname{Col}(A)$.



                  Additionally, the nonzero rows of $operatorname{rref}(A)$ form a basis of $operatorname{Col}(A)$.






                  share|cite|improve this answer









                  $endgroup$



                  The given vectors are the columns of
                  $$
                  A =
                  left[begin{array}{rrrr}
                  1 & 2 & 2 & 3 \
                  2 & 5 & 4 & 8 \
                  -1 & -3 & -2 & -5 \
                  0 & 2 & 0 & 4
                  end{array}right]
                  $$

                  The reduced row echelon form of $A$ is
                  $$
                  operatorname{rref}(A)=left[begin{array}{rrrr}
                  1 & 0 & 2 & -1 \
                  0 & 1 & 0 & 2 \
                  0 & 0 & 0 & 0 \
                  0 & 0 & 0 & 0
                  end{array}right]
                  $$

                  The first two columns of $operatorname{rref}(A)$ are the pivot columns. This means that the first two columns of $A$ form a basis of $operatorname{Col}(A)$.



                  Additionally, the nonzero rows of $operatorname{rref}(A)$ form a basis of $operatorname{Col}(A)$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Jan 7 at 4:56









                  Brian FitzpatrickBrian Fitzpatrick

                  21.1k42958




                  21.1k42958






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3063629%2ffind-the-dimension-of-the-subspace-of-mathbbr4-spanned-by-x-1-1-2-1%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      An IMO inspired problem

                      Management

                      Investment