How can I find rank of $A=sum_{i=1}^4 x_ix_i^T$ without actually finding the matrix $A$?












1














Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where



$x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.




How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?




I know that $operatorname{rank}(A)=3$ proceeding the usual way.



We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?



As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.










share|cite|improve this question



























    1














    Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where



    $x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.




    How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?




    I know that $operatorname{rank}(A)=3$ proceeding the usual way.



    We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?



    As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.










    share|cite|improve this question

























      1












      1








      1


      1





      Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where



      $x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.




      How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?




      I know that $operatorname{rank}(A)=3$ proceeding the usual way.



      We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?



      As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.










      share|cite|improve this question













      Suppose $A=sumlimits_{i=1}^4 x_ix_i^T$ where



      $x_1=(1,-1,1,0)^T,x_2=(1,1,0,1)^T,x_3=(1,3,1,0)^T$ and $x_4=(1,1,1,0)^T$.




      How can I find the rank of $A$ without explicitly finding the matrix $A$ and then transforming $A$ to an echelon matrix?




      I know that $operatorname{rank}(A)=3$ proceeding the usual way.



      We have $operatorname{rank}(x_ix_i^T)=1$ for each $i$, but that doesn't help me much here. Also, $x_1=2x_4-x_3$. Does that imply there are $3$ linearly independent rows/columns in $A$?



      As this question was supposed to be solved in the exam with limited time at hand, I am left to wonder if it can be solved rather quickly.







      linear-algebra matrix-rank






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked yesterday









      StubbornAtom

      5,34411138




      5,34411138






















          3 Answers
          3






          active

          oldest

          votes


















          2














          The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.






          share|cite|improve this answer





















          • Thank you. I overlooked this decomposition.
            – StubbornAtom
            yesterday



















          0














          The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.



          Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.



          You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.






          share|cite|improve this answer








          New contributor




          Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.


























            0














            Observe that for any vector $c$,
            $$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$



            The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).






            share|cite|improve this answer





















            • How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
              – StubbornAtom
              yesterday








            • 1




              $x_i^Tc$ is a scalar, so you can move it around
              – tch
              yesterday












            • Oh I see $c$ is a vector.
              – StubbornAtom
              yesterday











            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%2f3060610%2fhow-can-i-find-rank-of-a-sum-i-14-x-ix-it-without-actually-finding-the-ma%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.






            share|cite|improve this answer





















            • Thank you. I overlooked this decomposition.
              – StubbornAtom
              yesterday
















            2














            The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.






            share|cite|improve this answer





















            • Thank you. I overlooked this decomposition.
              – StubbornAtom
              yesterday














            2












            2








            2






            The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.






            share|cite|improve this answer












            The matrix $A$ can be written as $A=XX^T$ where $X=[x_1 x_2 x_3 x_4]$. Now use the fact that $operatorname{rank}XX^T=operatorname{rank}X$, so all you need to do is the find the rank of $X$.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered yesterday









            A.Γ.

            22.6k32656




            22.6k32656












            • Thank you. I overlooked this decomposition.
              – StubbornAtom
              yesterday


















            • Thank you. I overlooked this decomposition.
              – StubbornAtom
              yesterday
















            Thank you. I overlooked this decomposition.
            – StubbornAtom
            yesterday




            Thank you. I overlooked this decomposition.
            – StubbornAtom
            yesterday











            0














            The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.



            Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.



            You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.






            share|cite|improve this answer








            New contributor




            Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.























              0














              The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.



              Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.



              You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.






              share|cite|improve this answer








              New contributor




              Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.





















                0












                0








                0






                The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.



                Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.



                You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.






                share|cite|improve this answer








                New contributor




                Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                The rank of $A$ is by definition the dimension of the range, and the range is spanned by ${x_1, x_2, x_3, x_4}$. Thus it suffices to find the dimension of this span.



                Since both $x_1, x_3, x_4$ has $0$ in the fourth entries while $x_2$ does not. Thus if you can show that $operatorname{span}{x_1, x_3, x_4}$ is two dimensional, then the span of ${x_1, x_2, x_3, x_4}$ is three dimensional.



                You know already that $operatorname{span}{x_1, x_3, x_4}$ is at most two dimensional. That it is exactly two is easy, since obviously (e.g.) ${x_1, x_4}$ is linearly independent.







                share|cite|improve this answer








                New contributor




                Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|cite|improve this answer



                share|cite|improve this answer






                New contributor




                Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered yesterday









                Arctic Char

                10314




                10314




                New contributor




                Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Arctic Char is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                    0














                    Observe that for any vector $c$,
                    $$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$



                    The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).






                    share|cite|improve this answer





















                    • How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
                      – StubbornAtom
                      yesterday








                    • 1




                      $x_i^Tc$ is a scalar, so you can move it around
                      – tch
                      yesterday












                    • Oh I see $c$ is a vector.
                      – StubbornAtom
                      yesterday
















                    0














                    Observe that for any vector $c$,
                    $$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$



                    The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).






                    share|cite|improve this answer





















                    • How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
                      – StubbornAtom
                      yesterday








                    • 1




                      $x_i^Tc$ is a scalar, so you can move it around
                      – tch
                      yesterday












                    • Oh I see $c$ is a vector.
                      – StubbornAtom
                      yesterday














                    0












                    0








                    0






                    Observe that for any vector $c$,
                    $$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$



                    The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).






                    share|cite|improve this answer












                    Observe that for any vector $c$,
                    $$Ac = sum_{i=1}^{4} x_ix_i^Tc = sum_{i=1}^{4} (x^Tc)x_i$$



                    The image of a linear map is a vector space. That means that for every $Ac$ we can find some set of vectors which spans this set. Can you find such a set (even if the set is linearly dependent)? If you can find such a set, then you just need to count how many linearly independent vectors you need to span the same space (i.e. remove vectors which are linearly dependent).







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered yesterday









                    tch

                    584210




                    584210












                    • How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
                      – StubbornAtom
                      yesterday








                    • 1




                      $x_i^Tc$ is a scalar, so you can move it around
                      – tch
                      yesterday












                    • Oh I see $c$ is a vector.
                      – StubbornAtom
                      yesterday


















                    • How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
                      – StubbornAtom
                      yesterday








                    • 1




                      $x_i^Tc$ is a scalar, so you can move it around
                      – tch
                      yesterday












                    • Oh I see $c$ is a vector.
                      – StubbornAtom
                      yesterday
















                    How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
                    – StubbornAtom
                    yesterday






                    How does $x_i x_i^T c$ equal $(x_i^T c) x_i$?
                    – StubbornAtom
                    yesterday






                    1




                    1




                    $x_i^Tc$ is a scalar, so you can move it around
                    – tch
                    yesterday






                    $x_i^Tc$ is a scalar, so you can move it around
                    – tch
                    yesterday














                    Oh I see $c$ is a vector.
                    – StubbornAtom
                    yesterday




                    Oh I see $c$ is a vector.
                    – StubbornAtom
                    yesterday


















                    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.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • 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.


                    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%2f3060610%2fhow-can-i-find-rank-of-a-sum-i-14-x-ix-it-without-actually-finding-the-ma%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

                    Has there ever been an instance of an active nuclear power plant within or near a war zone?