Find solution space of $ Ax = b $

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Let $ A $ be a $ 4 times 4 $ matrix over $ mathbf R $ with a rank of 3. $ (1,2,0,-1) , (0,2,1,1) $ are solutions to $ Ax = b $ and I need to find the solution space of the $ Ax = 0$ and general solution of $ Ax = b $



If the rank of the $ A $ is $ 3$ then the dimension of solution space of $ Ax= 0 $ is $ 1$ and I guess any vector that is a solution for $ Ax = 0 $ can't be spanned by $ (1,2,0,-1),(0,2,1,1)$ but how do I proceed from here?







share|cite|improve this question
























    up vote
    1
    down vote

    favorite












    Let $ A $ be a $ 4 times 4 $ matrix over $ mathbf R $ with a rank of 3. $ (1,2,0,-1) , (0,2,1,1) $ are solutions to $ Ax = b $ and I need to find the solution space of the $ Ax = 0$ and general solution of $ Ax = b $



    If the rank of the $ A $ is $ 3$ then the dimension of solution space of $ Ax= 0 $ is $ 1$ and I guess any vector that is a solution for $ Ax = 0 $ can't be spanned by $ (1,2,0,-1),(0,2,1,1)$ but how do I proceed from here?







    share|cite|improve this question






















      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Let $ A $ be a $ 4 times 4 $ matrix over $ mathbf R $ with a rank of 3. $ (1,2,0,-1) , (0,2,1,1) $ are solutions to $ Ax = b $ and I need to find the solution space of the $ Ax = 0$ and general solution of $ Ax = b $



      If the rank of the $ A $ is $ 3$ then the dimension of solution space of $ Ax= 0 $ is $ 1$ and I guess any vector that is a solution for $ Ax = 0 $ can't be spanned by $ (1,2,0,-1),(0,2,1,1)$ but how do I proceed from here?







      share|cite|improve this question












      Let $ A $ be a $ 4 times 4 $ matrix over $ mathbf R $ with a rank of 3. $ (1,2,0,-1) , (0,2,1,1) $ are solutions to $ Ax = b $ and I need to find the solution space of the $ Ax = 0$ and general solution of $ Ax = b $



      If the rank of the $ A $ is $ 3$ then the dimension of solution space of $ Ax= 0 $ is $ 1$ and I guess any vector that is a solution for $ Ax = 0 $ can't be spanned by $ (1,2,0,-1),(0,2,1,1)$ but how do I proceed from here?









      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Aug 27 at 17:17









      bm1125

      38016




      38016




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          Think about it geometrically. You’ve determined that the solution space is one-dimensional, i.e., that it’s some line in $mathbb R^4$. You’ve also got two known points on this line. I suspect that you’ll be able to take it from here.



          More generally, if $mathbf v$ and $mathbf w$ are distinct solutions to your inhomogeneous equation, then $Amathbf v-Amathbf w = A(mathbf v-mathbf w)=0$, so $mathbf v-mathbf w$ is a solution to the homogeneous equation. In this case, the null space is one-dimensional, so you now have a vector that spans the space. Thus all solutions to the inhomogeneous equation are of the form $mathbf v + lambda(mathbf v-mathbf w)$, $lambdainmathbb R$, or, more symmetrically, $(1-lambda)mathbf v+lambdamathbf w$. This is just the line through $mathbf v$ and $mathbf w$, as above.






          share|cite|improve this answer






















          • so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
            – bm1125
            Aug 27 at 18:58











          • @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
            – amd
            Aug 27 at 18:59

















          up vote
          3
          down vote













          Take $A(1,2,0,-1) - A (0,2,1,1) = b-b =0.$ Since the rank is 3, then the nullity is 1, and so the kernel is spanned by $(1,2,0,-1) - (0,2,1,1)=(1,0,-1,-2).$






          share|cite|improve this answer




















          • wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
            – bm1125
            Aug 27 at 17:56










          • This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
            – Chickenmancer
            Aug 27 at 19:37










          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f2896422%2ffind-solution-space-of-ax-b%23new-answer', 'question_page');

          );

          Post as a guest






























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          1
          down vote



          accepted










          Think about it geometrically. You’ve determined that the solution space is one-dimensional, i.e., that it’s some line in $mathbb R^4$. You’ve also got two known points on this line. I suspect that you’ll be able to take it from here.



          More generally, if $mathbf v$ and $mathbf w$ are distinct solutions to your inhomogeneous equation, then $Amathbf v-Amathbf w = A(mathbf v-mathbf w)=0$, so $mathbf v-mathbf w$ is a solution to the homogeneous equation. In this case, the null space is one-dimensional, so you now have a vector that spans the space. Thus all solutions to the inhomogeneous equation are of the form $mathbf v + lambda(mathbf v-mathbf w)$, $lambdainmathbb R$, or, more symmetrically, $(1-lambda)mathbf v+lambdamathbf w$. This is just the line through $mathbf v$ and $mathbf w$, as above.






          share|cite|improve this answer






















          • so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
            – bm1125
            Aug 27 at 18:58











          • @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
            – amd
            Aug 27 at 18:59














          up vote
          1
          down vote



          accepted










          Think about it geometrically. You’ve determined that the solution space is one-dimensional, i.e., that it’s some line in $mathbb R^4$. You’ve also got two known points on this line. I suspect that you’ll be able to take it from here.



          More generally, if $mathbf v$ and $mathbf w$ are distinct solutions to your inhomogeneous equation, then $Amathbf v-Amathbf w = A(mathbf v-mathbf w)=0$, so $mathbf v-mathbf w$ is a solution to the homogeneous equation. In this case, the null space is one-dimensional, so you now have a vector that spans the space. Thus all solutions to the inhomogeneous equation are of the form $mathbf v + lambda(mathbf v-mathbf w)$, $lambdainmathbb R$, or, more symmetrically, $(1-lambda)mathbf v+lambdamathbf w$. This is just the line through $mathbf v$ and $mathbf w$, as above.






          share|cite|improve this answer






















          • so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
            – bm1125
            Aug 27 at 18:58











          • @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
            – amd
            Aug 27 at 18:59












          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Think about it geometrically. You’ve determined that the solution space is one-dimensional, i.e., that it’s some line in $mathbb R^4$. You’ve also got two known points on this line. I suspect that you’ll be able to take it from here.



          More generally, if $mathbf v$ and $mathbf w$ are distinct solutions to your inhomogeneous equation, then $Amathbf v-Amathbf w = A(mathbf v-mathbf w)=0$, so $mathbf v-mathbf w$ is a solution to the homogeneous equation. In this case, the null space is one-dimensional, so you now have a vector that spans the space. Thus all solutions to the inhomogeneous equation are of the form $mathbf v + lambda(mathbf v-mathbf w)$, $lambdainmathbb R$, or, more symmetrically, $(1-lambda)mathbf v+lambdamathbf w$. This is just the line through $mathbf v$ and $mathbf w$, as above.






          share|cite|improve this answer














          Think about it geometrically. You’ve determined that the solution space is one-dimensional, i.e., that it’s some line in $mathbb R^4$. You’ve also got two known points on this line. I suspect that you’ll be able to take it from here.



          More generally, if $mathbf v$ and $mathbf w$ are distinct solutions to your inhomogeneous equation, then $Amathbf v-Amathbf w = A(mathbf v-mathbf w)=0$, so $mathbf v-mathbf w$ is a solution to the homogeneous equation. In this case, the null space is one-dimensional, so you now have a vector that spans the space. Thus all solutions to the inhomogeneous equation are of the form $mathbf v + lambda(mathbf v-mathbf w)$, $lambdainmathbb R$, or, more symmetrically, $(1-lambda)mathbf v+lambdamathbf w$. This is just the line through $mathbf v$ and $mathbf w$, as above.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Aug 27 at 19:00

























          answered Aug 27 at 18:35









          amd

          26.6k21046




          26.6k21046











          • so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
            – bm1125
            Aug 27 at 18:58











          • @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
            – amd
            Aug 27 at 18:59
















          • so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
            – bm1125
            Aug 27 at 18:58











          • @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
            – amd
            Aug 27 at 18:59















          so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
          – bm1125
          Aug 27 at 18:58





          so I understand that all solutions of $ Ax = 0 $ should be $ lambda(v-w) $ but why did you write $ v+ lambda(v-w) $ ??
          – bm1125
          Aug 27 at 18:58













          @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
          – amd
          Aug 27 at 18:59




          @bm1125 All solutions to the inhomogeneous system are of that form—it’s just the line through $mathbf v$ and $mathbf w$.
          – amd
          Aug 27 at 18:59










          up vote
          3
          down vote













          Take $A(1,2,0,-1) - A (0,2,1,1) = b-b =0.$ Since the rank is 3, then the nullity is 1, and so the kernel is spanned by $(1,2,0,-1) - (0,2,1,1)=(1,0,-1,-2).$






          share|cite|improve this answer




















          • wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
            – bm1125
            Aug 27 at 17:56










          • This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
            – Chickenmancer
            Aug 27 at 19:37














          up vote
          3
          down vote













          Take $A(1,2,0,-1) - A (0,2,1,1) = b-b =0.$ Since the rank is 3, then the nullity is 1, and so the kernel is spanned by $(1,2,0,-1) - (0,2,1,1)=(1,0,-1,-2).$






          share|cite|improve this answer




















          • wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
            – bm1125
            Aug 27 at 17:56










          • This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
            – Chickenmancer
            Aug 27 at 19:37












          up vote
          3
          down vote










          up vote
          3
          down vote









          Take $A(1,2,0,-1) - A (0,2,1,1) = b-b =0.$ Since the rank is 3, then the nullity is 1, and so the kernel is spanned by $(1,2,0,-1) - (0,2,1,1)=(1,0,-1,-2).$






          share|cite|improve this answer












          Take $A(1,2,0,-1) - A (0,2,1,1) = b-b =0.$ Since the rank is 3, then the nullity is 1, and so the kernel is spanned by $(1,2,0,-1) - (0,2,1,1)=(1,0,-1,-2).$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 27 at 17:22









          Chickenmancer

          3,057622




          3,057622











          • wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
            – bm1125
            Aug 27 at 17:56










          • This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
            – Chickenmancer
            Aug 27 at 19:37
















          • wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
            – bm1125
            Aug 27 at 17:56










          • This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
            – Chickenmancer
            Aug 27 at 19:37















          wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
          – bm1125
          Aug 27 at 17:56




          wow! thanks! and now to find general solution to $ Ax = b$ I should just find 4th vector that is linearly idependent of those three??
          – bm1125
          Aug 27 at 17:56












          This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
          – Chickenmancer
          Aug 27 at 19:37




          This is a little complicated, since $b$ is unknown. However, assuming $x$ satisfies $Ax=b,$ and $vintextspan(1,0,−1,−2),$ then $x+v$ describes the most general solution.
          – Chickenmancer
          Aug 27 at 19:37

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2896422%2ffind-solution-space-of-ax-b%23new-answer', 'question_page');

          );

          Post as a guest













































































          這個網誌中的熱門文章

          How to combine Bézier curves to a surface?

          Mutual Information Always Non-negative

          Why am i infinitely getting the same tweet with the Twitter Search API?