Learning Linear Algebra for AI, Cannot solve system in R3.












2












$begingroup$


I am just creating random sets of vectors to try and practice solving systems of equations. I thought I had been doing well, but I came up with a set of vectors that keep stumping me. In fact, I've been trying to figure out where I went wrong for almost two hours, yet I still have no clue.



I tried the following:



$$x_1begin{bmatrix}
-1 \
-2 \
-3
end{bmatrix}+x_2begin{bmatrix}
1 \
3 \
5
end{bmatrix}+x_3begin{bmatrix}
4 \
2 \
0
end{bmatrix}
=
begin{bmatrix}
a \
b \
c
end{bmatrix}$$



Every time I try to solve this I end up stuck at a similar place.



Here is one example of what I have tried:



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
-2x_1&+3x_2&+2x_3&=b\
-3x_1&+5x_2&&=c
end{eqnarray}$$



Then for example, I try to eliminate the $x_3$ constant from equations 1 and 2.



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
4x_1&-6x_2&-4x_3&=-2b\
3x_1&-5x_2&&=a-2b
end{eqnarray}$$



Then, I try to eliminate the $x_2$ constant from the new equation and the original equation 3.



$$begin{eqnarray}
3x_1&-5x_2&=a-2b\
-3x_1&+5x_2&=c\
end{eqnarray}$$



but I end up with:



$$0+0=a-2b+c$$



I have tried eliminating different factors, but I cannot figure out what I'm doing wrong.










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    Calculate the determinant of the matrix, to know if it is invertible.
    $endgroup$
    – Emil
    Nov 20 '18 at 7:10






  • 3




    $begingroup$
    The end of the question seems to be missing.
    $endgroup$
    – Tobias Kildetoft
    Nov 20 '18 at 7:17










  • $begingroup$
    It is impossible to figure out where you went wrong if you don't show us you calculation.
    $endgroup$
    – miracle173
    Nov 20 '18 at 7:21










  • $begingroup$
    @miracle173 Sorry. I have never used MathJax/LaTex before, I was working on it.
    $endgroup$
    – smkarber
    Nov 20 '18 at 7:21


















2












$begingroup$


I am just creating random sets of vectors to try and practice solving systems of equations. I thought I had been doing well, but I came up with a set of vectors that keep stumping me. In fact, I've been trying to figure out where I went wrong for almost two hours, yet I still have no clue.



I tried the following:



$$x_1begin{bmatrix}
-1 \
-2 \
-3
end{bmatrix}+x_2begin{bmatrix}
1 \
3 \
5
end{bmatrix}+x_3begin{bmatrix}
4 \
2 \
0
end{bmatrix}
=
begin{bmatrix}
a \
b \
c
end{bmatrix}$$



Every time I try to solve this I end up stuck at a similar place.



Here is one example of what I have tried:



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
-2x_1&+3x_2&+2x_3&=b\
-3x_1&+5x_2&&=c
end{eqnarray}$$



Then for example, I try to eliminate the $x_3$ constant from equations 1 and 2.



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
4x_1&-6x_2&-4x_3&=-2b\
3x_1&-5x_2&&=a-2b
end{eqnarray}$$



Then, I try to eliminate the $x_2$ constant from the new equation and the original equation 3.



$$begin{eqnarray}
3x_1&-5x_2&=a-2b\
-3x_1&+5x_2&=c\
end{eqnarray}$$



but I end up with:



$$0+0=a-2b+c$$



I have tried eliminating different factors, but I cannot figure out what I'm doing wrong.










share|cite|improve this question











$endgroup$








  • 4




    $begingroup$
    Calculate the determinant of the matrix, to know if it is invertible.
    $endgroup$
    – Emil
    Nov 20 '18 at 7:10






  • 3




    $begingroup$
    The end of the question seems to be missing.
    $endgroup$
    – Tobias Kildetoft
    Nov 20 '18 at 7:17










  • $begingroup$
    It is impossible to figure out where you went wrong if you don't show us you calculation.
    $endgroup$
    – miracle173
    Nov 20 '18 at 7:21










  • $begingroup$
    @miracle173 Sorry. I have never used MathJax/LaTex before, I was working on it.
    $endgroup$
    – smkarber
    Nov 20 '18 at 7:21
















2












2








2





$begingroup$


I am just creating random sets of vectors to try and practice solving systems of equations. I thought I had been doing well, but I came up with a set of vectors that keep stumping me. In fact, I've been trying to figure out where I went wrong for almost two hours, yet I still have no clue.



I tried the following:



$$x_1begin{bmatrix}
-1 \
-2 \
-3
end{bmatrix}+x_2begin{bmatrix}
1 \
3 \
5
end{bmatrix}+x_3begin{bmatrix}
4 \
2 \
0
end{bmatrix}
=
begin{bmatrix}
a \
b \
c
end{bmatrix}$$



Every time I try to solve this I end up stuck at a similar place.



Here is one example of what I have tried:



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
-2x_1&+3x_2&+2x_3&=b\
-3x_1&+5x_2&&=c
end{eqnarray}$$



Then for example, I try to eliminate the $x_3$ constant from equations 1 and 2.



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
4x_1&-6x_2&-4x_3&=-2b\
3x_1&-5x_2&&=a-2b
end{eqnarray}$$



Then, I try to eliminate the $x_2$ constant from the new equation and the original equation 3.



$$begin{eqnarray}
3x_1&-5x_2&=a-2b\
-3x_1&+5x_2&=c\
end{eqnarray}$$



but I end up with:



$$0+0=a-2b+c$$



I have tried eliminating different factors, but I cannot figure out what I'm doing wrong.










share|cite|improve this question











$endgroup$




I am just creating random sets of vectors to try and practice solving systems of equations. I thought I had been doing well, but I came up with a set of vectors that keep stumping me. In fact, I've been trying to figure out where I went wrong for almost two hours, yet I still have no clue.



I tried the following:



$$x_1begin{bmatrix}
-1 \
-2 \
-3
end{bmatrix}+x_2begin{bmatrix}
1 \
3 \
5
end{bmatrix}+x_3begin{bmatrix}
4 \
2 \
0
end{bmatrix}
=
begin{bmatrix}
a \
b \
c
end{bmatrix}$$



Every time I try to solve this I end up stuck at a similar place.



Here is one example of what I have tried:



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
-2x_1&+3x_2&+2x_3&=b\
-3x_1&+5x_2&&=c
end{eqnarray}$$



Then for example, I try to eliminate the $x_3$ constant from equations 1 and 2.



$$begin{eqnarray}
-x_1&+x_2&+4x_3&=a\
4x_1&-6x_2&-4x_3&=-2b\
3x_1&-5x_2&&=a-2b
end{eqnarray}$$



Then, I try to eliminate the $x_2$ constant from the new equation and the original equation 3.



$$begin{eqnarray}
3x_1&-5x_2&=a-2b\
-3x_1&+5x_2&=c\
end{eqnarray}$$



but I end up with:



$$0+0=a-2b+c$$



I have tried eliminating different factors, but I cannot figure out what I'm doing wrong.







linear-algebra systems-of-equations






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 20 '18 at 7:40









miracle173

7,33322247




7,33322247










asked Nov 20 '18 at 6:58









smkarbersmkarber

133




133








  • 4




    $begingroup$
    Calculate the determinant of the matrix, to know if it is invertible.
    $endgroup$
    – Emil
    Nov 20 '18 at 7:10






  • 3




    $begingroup$
    The end of the question seems to be missing.
    $endgroup$
    – Tobias Kildetoft
    Nov 20 '18 at 7:17










  • $begingroup$
    It is impossible to figure out where you went wrong if you don't show us you calculation.
    $endgroup$
    – miracle173
    Nov 20 '18 at 7:21










  • $begingroup$
    @miracle173 Sorry. I have never used MathJax/LaTex before, I was working on it.
    $endgroup$
    – smkarber
    Nov 20 '18 at 7:21
















  • 4




    $begingroup$
    Calculate the determinant of the matrix, to know if it is invertible.
    $endgroup$
    – Emil
    Nov 20 '18 at 7:10






  • 3




    $begingroup$
    The end of the question seems to be missing.
    $endgroup$
    – Tobias Kildetoft
    Nov 20 '18 at 7:17










  • $begingroup$
    It is impossible to figure out where you went wrong if you don't show us you calculation.
    $endgroup$
    – miracle173
    Nov 20 '18 at 7:21










  • $begingroup$
    @miracle173 Sorry. I have never used MathJax/LaTex before, I was working on it.
    $endgroup$
    – smkarber
    Nov 20 '18 at 7:21










4




4




$begingroup$
Calculate the determinant of the matrix, to know if it is invertible.
$endgroup$
– Emil
Nov 20 '18 at 7:10




$begingroup$
Calculate the determinant of the matrix, to know if it is invertible.
$endgroup$
– Emil
Nov 20 '18 at 7:10




3




3




$begingroup$
The end of the question seems to be missing.
$endgroup$
– Tobias Kildetoft
Nov 20 '18 at 7:17




$begingroup$
The end of the question seems to be missing.
$endgroup$
– Tobias Kildetoft
Nov 20 '18 at 7:17












$begingroup$
It is impossible to figure out where you went wrong if you don't show us you calculation.
$endgroup$
– miracle173
Nov 20 '18 at 7:21




$begingroup$
It is impossible to figure out where you went wrong if you don't show us you calculation.
$endgroup$
– miracle173
Nov 20 '18 at 7:21












$begingroup$
@miracle173 Sorry. I have never used MathJax/LaTex before, I was working on it.
$endgroup$
– smkarber
Nov 20 '18 at 7:21






$begingroup$
@miracle173 Sorry. I have never used MathJax/LaTex before, I was working on it.
$endgroup$
– smkarber
Nov 20 '18 at 7:21












4 Answers
4






active

oldest

votes


















2












$begingroup$

Guide:



Not every system has a unique solution. For your system to have a solution, we need $a-2b+c=0$.



If we have $a-2b+c=0$, now we can let $x_1=t$, from $-3x_1+5x_2=c$, we can solve for $x_2$. Now, having $x_1$ and $x_2$, we can use the equation to solve for $x_3$. It always have infinitely many solutions if $a-2b+c=0$.






share|cite|improve this answer









$endgroup$





















    0












    $begingroup$

    The vectors
    $$
    begin{bmatrix}
    -1 \
    -2 \
    -3
    end{bmatrix},
    begin{bmatrix}
    1 \
    3 \
    5
    end{bmatrix},
    text{ and } begin{bmatrix}
    4 \
    2 \
    0
    end{bmatrix}
    $$

    are linearly dependent. Thus, your linear system either has no solutions or infinitely many solutions. So you won't be able to determine the numbers $x_1, x_2$, and $x_3$ uniquely.



    And it won't be surprising if you discover that there is some condition such as $a - 2b + c = 0$ which must be satisfied in order for a solution to exist. For a solution to exist, the vector $(a,b,c)$ must belong to the span of your three vectors, and the span of the three given vectors is only a 2-dimensional subspace of $mathbb R^3$.






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
      $endgroup$
      – smkarber
      Nov 20 '18 at 7:51










    • $begingroup$
      In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
      $endgroup$
      – littleO
      Nov 20 '18 at 8:11





















    0












    $begingroup$

    When you are trying to solve a linear system with the determinant of coefficient equal zero then you either have no solution or you have infinitely many solutions.



    In your case the determinant of $$ det begin {bmatrix} -1&1&4\-2&3&2\-3&5&0end {bmatrix}=0$$



    Thus depending on values of $a,b,c$ you either get infinitely many solutions or no solutions.






    share|cite|improve this answer









    $endgroup$





















      0












      $begingroup$

      When trying to solve a system of equations, one of the the following possibilities can arise:



      1- The system is "inconsistent". This means that it has not solution.
      2- There is a unique solution. (Only 1)
      3- There are infinitely many solutions.



      As pointed out by Siong, you need to have a-2b+c = 0 in order to have any kind of solution.



      The reason is that if a-2b+c is not equal to zero, then the last row of your matrix basically says that 0*x_1 + 0*x_2 + 0*x_3 equals something that is non-zero. This is not possible.



      So you have to assume that a-2b+c is zero.



      This then means that the system will have a solution. We need to dig deeper to determine if it has a unique solution, or infinitely many solutions.



      It turns out in this situation a "free variable" can be set up, leading to infinitely many solutions.



      To fully understand solving these equations, you would want to get familiar with the concepts of:




      • Reduced Row Echelon Form

      • Pivot Columns

      • Basic Variables

      • Free Variables


      As a bit of self-promotion, I've written an app (for Android) that explains how to solve common Linear Algebra problems in easy-to-understand language. If you're interested, please look up "Linear Algebra Patterns" on Google Play Store.



      Cheers,
      Richard






      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%2f3006035%2flearning-linear-algebra-for-ai-cannot-solve-system-in-r3%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        4 Answers
        4






        active

        oldest

        votes








        4 Answers
        4






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2












        $begingroup$

        Guide:



        Not every system has a unique solution. For your system to have a solution, we need $a-2b+c=0$.



        If we have $a-2b+c=0$, now we can let $x_1=t$, from $-3x_1+5x_2=c$, we can solve for $x_2$. Now, having $x_1$ and $x_2$, we can use the equation to solve for $x_3$. It always have infinitely many solutions if $a-2b+c=0$.






        share|cite|improve this answer









        $endgroup$


















          2












          $begingroup$

          Guide:



          Not every system has a unique solution. For your system to have a solution, we need $a-2b+c=0$.



          If we have $a-2b+c=0$, now we can let $x_1=t$, from $-3x_1+5x_2=c$, we can solve for $x_2$. Now, having $x_1$ and $x_2$, we can use the equation to solve for $x_3$. It always have infinitely many solutions if $a-2b+c=0$.






          share|cite|improve this answer









          $endgroup$
















            2












            2








            2





            $begingroup$

            Guide:



            Not every system has a unique solution. For your system to have a solution, we need $a-2b+c=0$.



            If we have $a-2b+c=0$, now we can let $x_1=t$, from $-3x_1+5x_2=c$, we can solve for $x_2$. Now, having $x_1$ and $x_2$, we can use the equation to solve for $x_3$. It always have infinitely many solutions if $a-2b+c=0$.






            share|cite|improve this answer









            $endgroup$



            Guide:



            Not every system has a unique solution. For your system to have a solution, we need $a-2b+c=0$.



            If we have $a-2b+c=0$, now we can let $x_1=t$, from $-3x_1+5x_2=c$, we can solve for $x_2$. Now, having $x_1$ and $x_2$, we can use the equation to solve for $x_3$. It always have infinitely many solutions if $a-2b+c=0$.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Nov 20 '18 at 7:41









            Siong Thye GohSiong Thye Goh

            100k1466117




            100k1466117























                0












                $begingroup$

                The vectors
                $$
                begin{bmatrix}
                -1 \
                -2 \
                -3
                end{bmatrix},
                begin{bmatrix}
                1 \
                3 \
                5
                end{bmatrix},
                text{ and } begin{bmatrix}
                4 \
                2 \
                0
                end{bmatrix}
                $$

                are linearly dependent. Thus, your linear system either has no solutions or infinitely many solutions. So you won't be able to determine the numbers $x_1, x_2$, and $x_3$ uniquely.



                And it won't be surprising if you discover that there is some condition such as $a - 2b + c = 0$ which must be satisfied in order for a solution to exist. For a solution to exist, the vector $(a,b,c)$ must belong to the span of your three vectors, and the span of the three given vectors is only a 2-dimensional subspace of $mathbb R^3$.






                share|cite|improve this answer









                $endgroup$













                • $begingroup$
                  I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
                  $endgroup$
                  – smkarber
                  Nov 20 '18 at 7:51










                • $begingroup$
                  In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
                  $endgroup$
                  – littleO
                  Nov 20 '18 at 8:11


















                0












                $begingroup$

                The vectors
                $$
                begin{bmatrix}
                -1 \
                -2 \
                -3
                end{bmatrix},
                begin{bmatrix}
                1 \
                3 \
                5
                end{bmatrix},
                text{ and } begin{bmatrix}
                4 \
                2 \
                0
                end{bmatrix}
                $$

                are linearly dependent. Thus, your linear system either has no solutions or infinitely many solutions. So you won't be able to determine the numbers $x_1, x_2$, and $x_3$ uniquely.



                And it won't be surprising if you discover that there is some condition such as $a - 2b + c = 0$ which must be satisfied in order for a solution to exist. For a solution to exist, the vector $(a,b,c)$ must belong to the span of your three vectors, and the span of the three given vectors is only a 2-dimensional subspace of $mathbb R^3$.






                share|cite|improve this answer









                $endgroup$













                • $begingroup$
                  I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
                  $endgroup$
                  – smkarber
                  Nov 20 '18 at 7:51










                • $begingroup$
                  In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
                  $endgroup$
                  – littleO
                  Nov 20 '18 at 8:11
















                0












                0








                0





                $begingroup$

                The vectors
                $$
                begin{bmatrix}
                -1 \
                -2 \
                -3
                end{bmatrix},
                begin{bmatrix}
                1 \
                3 \
                5
                end{bmatrix},
                text{ and } begin{bmatrix}
                4 \
                2 \
                0
                end{bmatrix}
                $$

                are linearly dependent. Thus, your linear system either has no solutions or infinitely many solutions. So you won't be able to determine the numbers $x_1, x_2$, and $x_3$ uniquely.



                And it won't be surprising if you discover that there is some condition such as $a - 2b + c = 0$ which must be satisfied in order for a solution to exist. For a solution to exist, the vector $(a,b,c)$ must belong to the span of your three vectors, and the span of the three given vectors is only a 2-dimensional subspace of $mathbb R^3$.






                share|cite|improve this answer









                $endgroup$



                The vectors
                $$
                begin{bmatrix}
                -1 \
                -2 \
                -3
                end{bmatrix},
                begin{bmatrix}
                1 \
                3 \
                5
                end{bmatrix},
                text{ and } begin{bmatrix}
                4 \
                2 \
                0
                end{bmatrix}
                $$

                are linearly dependent. Thus, your linear system either has no solutions or infinitely many solutions. So you won't be able to determine the numbers $x_1, x_2$, and $x_3$ uniquely.



                And it won't be surprising if you discover that there is some condition such as $a - 2b + c = 0$ which must be satisfied in order for a solution to exist. For a solution to exist, the vector $(a,b,c)$ must belong to the span of your three vectors, and the span of the three given vectors is only a 2-dimensional subspace of $mathbb R^3$.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Nov 20 '18 at 7:43









                littleOlittleO

                29.6k646109




                29.6k646109












                • $begingroup$
                  I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
                  $endgroup$
                  – smkarber
                  Nov 20 '18 at 7:51










                • $begingroup$
                  In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
                  $endgroup$
                  – littleO
                  Nov 20 '18 at 8:11




















                • $begingroup$
                  I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
                  $endgroup$
                  – smkarber
                  Nov 20 '18 at 7:51










                • $begingroup$
                  In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
                  $endgroup$
                  – littleO
                  Nov 20 '18 at 8:11


















                $begingroup$
                I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
                $endgroup$
                – smkarber
                Nov 20 '18 at 7:51




                $begingroup$
                I didn't see that there was a scalar multiple or linear combination in this set of vectors. Could you point it out, please?
                $endgroup$
                – smkarber
                Nov 20 '18 at 7:51












                $begingroup$
                In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
                $endgroup$
                – littleO
                Nov 20 '18 at 8:11






                $begingroup$
                In the linear system that you wrote, you are writing $(a,b,c)$ as a linear combination of the three given vectors: $x_1begin{bmatrix} -1 \ -2 \ -3 end{bmatrix}+x_2begin{bmatrix} 1 \ 3 \ 5 end{bmatrix}+x_3begin{bmatrix} 4 \ 2 \ 0 end{bmatrix} = begin{bmatrix} a \ b \ c end{bmatrix}$. That is a nice way to visualize a linear system of equations.
                $endgroup$
                – littleO
                Nov 20 '18 at 8:11













                0












                $begingroup$

                When you are trying to solve a linear system with the determinant of coefficient equal zero then you either have no solution or you have infinitely many solutions.



                In your case the determinant of $$ det begin {bmatrix} -1&1&4\-2&3&2\-3&5&0end {bmatrix}=0$$



                Thus depending on values of $a,b,c$ you either get infinitely many solutions or no solutions.






                share|cite|improve this answer









                $endgroup$


















                  0












                  $begingroup$

                  When you are trying to solve a linear system with the determinant of coefficient equal zero then you either have no solution or you have infinitely many solutions.



                  In your case the determinant of $$ det begin {bmatrix} -1&1&4\-2&3&2\-3&5&0end {bmatrix}=0$$



                  Thus depending on values of $a,b,c$ you either get infinitely many solutions or no solutions.






                  share|cite|improve this answer









                  $endgroup$
















                    0












                    0








                    0





                    $begingroup$

                    When you are trying to solve a linear system with the determinant of coefficient equal zero then you either have no solution or you have infinitely many solutions.



                    In your case the determinant of $$ det begin {bmatrix} -1&1&4\-2&3&2\-3&5&0end {bmatrix}=0$$



                    Thus depending on values of $a,b,c$ you either get infinitely many solutions or no solutions.






                    share|cite|improve this answer









                    $endgroup$



                    When you are trying to solve a linear system with the determinant of coefficient equal zero then you either have no solution or you have infinitely many solutions.



                    In your case the determinant of $$ det begin {bmatrix} -1&1&4\-2&3&2\-3&5&0end {bmatrix}=0$$



                    Thus depending on values of $a,b,c$ you either get infinitely many solutions or no solutions.







                    share|cite|improve this answer












                    share|cite|improve this answer



                    share|cite|improve this answer










                    answered Nov 20 '18 at 7:43









                    Mohammad Riazi-KermaniMohammad Riazi-Kermani

                    41.5k42061




                    41.5k42061























                        0












                        $begingroup$

                        When trying to solve a system of equations, one of the the following possibilities can arise:



                        1- The system is "inconsistent". This means that it has not solution.
                        2- There is a unique solution. (Only 1)
                        3- There are infinitely many solutions.



                        As pointed out by Siong, you need to have a-2b+c = 0 in order to have any kind of solution.



                        The reason is that if a-2b+c is not equal to zero, then the last row of your matrix basically says that 0*x_1 + 0*x_2 + 0*x_3 equals something that is non-zero. This is not possible.



                        So you have to assume that a-2b+c is zero.



                        This then means that the system will have a solution. We need to dig deeper to determine if it has a unique solution, or infinitely many solutions.



                        It turns out in this situation a "free variable" can be set up, leading to infinitely many solutions.



                        To fully understand solving these equations, you would want to get familiar with the concepts of:




                        • Reduced Row Echelon Form

                        • Pivot Columns

                        • Basic Variables

                        • Free Variables


                        As a bit of self-promotion, I've written an app (for Android) that explains how to solve common Linear Algebra problems in easy-to-understand language. If you're interested, please look up "Linear Algebra Patterns" on Google Play Store.



                        Cheers,
                        Richard






                        share|cite|improve this answer









                        $endgroup$


















                          0












                          $begingroup$

                          When trying to solve a system of equations, one of the the following possibilities can arise:



                          1- The system is "inconsistent". This means that it has not solution.
                          2- There is a unique solution. (Only 1)
                          3- There are infinitely many solutions.



                          As pointed out by Siong, you need to have a-2b+c = 0 in order to have any kind of solution.



                          The reason is that if a-2b+c is not equal to zero, then the last row of your matrix basically says that 0*x_1 + 0*x_2 + 0*x_3 equals something that is non-zero. This is not possible.



                          So you have to assume that a-2b+c is zero.



                          This then means that the system will have a solution. We need to dig deeper to determine if it has a unique solution, or infinitely many solutions.



                          It turns out in this situation a "free variable" can be set up, leading to infinitely many solutions.



                          To fully understand solving these equations, you would want to get familiar with the concepts of:




                          • Reduced Row Echelon Form

                          • Pivot Columns

                          • Basic Variables

                          • Free Variables


                          As a bit of self-promotion, I've written an app (for Android) that explains how to solve common Linear Algebra problems in easy-to-understand language. If you're interested, please look up "Linear Algebra Patterns" on Google Play Store.



                          Cheers,
                          Richard






                          share|cite|improve this answer









                          $endgroup$
















                            0












                            0








                            0





                            $begingroup$

                            When trying to solve a system of equations, one of the the following possibilities can arise:



                            1- The system is "inconsistent". This means that it has not solution.
                            2- There is a unique solution. (Only 1)
                            3- There are infinitely many solutions.



                            As pointed out by Siong, you need to have a-2b+c = 0 in order to have any kind of solution.



                            The reason is that if a-2b+c is not equal to zero, then the last row of your matrix basically says that 0*x_1 + 0*x_2 + 0*x_3 equals something that is non-zero. This is not possible.



                            So you have to assume that a-2b+c is zero.



                            This then means that the system will have a solution. We need to dig deeper to determine if it has a unique solution, or infinitely many solutions.



                            It turns out in this situation a "free variable" can be set up, leading to infinitely many solutions.



                            To fully understand solving these equations, you would want to get familiar with the concepts of:




                            • Reduced Row Echelon Form

                            • Pivot Columns

                            • Basic Variables

                            • Free Variables


                            As a bit of self-promotion, I've written an app (for Android) that explains how to solve common Linear Algebra problems in easy-to-understand language. If you're interested, please look up "Linear Algebra Patterns" on Google Play Store.



                            Cheers,
                            Richard






                            share|cite|improve this answer









                            $endgroup$



                            When trying to solve a system of equations, one of the the following possibilities can arise:



                            1- The system is "inconsistent". This means that it has not solution.
                            2- There is a unique solution. (Only 1)
                            3- There are infinitely many solutions.



                            As pointed out by Siong, you need to have a-2b+c = 0 in order to have any kind of solution.



                            The reason is that if a-2b+c is not equal to zero, then the last row of your matrix basically says that 0*x_1 + 0*x_2 + 0*x_3 equals something that is non-zero. This is not possible.



                            So you have to assume that a-2b+c is zero.



                            This then means that the system will have a solution. We need to dig deeper to determine if it has a unique solution, or infinitely many solutions.



                            It turns out in this situation a "free variable" can be set up, leading to infinitely many solutions.



                            To fully understand solving these equations, you would want to get familiar with the concepts of:




                            • Reduced Row Echelon Form

                            • Pivot Columns

                            • Basic Variables

                            • Free Variables


                            As a bit of self-promotion, I've written an app (for Android) that explains how to solve common Linear Algebra problems in easy-to-understand language. If you're interested, please look up "Linear Algebra Patterns" on Google Play Store.



                            Cheers,
                            Richard







                            share|cite|improve this answer












                            share|cite|improve this answer



                            share|cite|improve this answer










                            answered Jan 2 at 12:55









                            RichardRichard

                            112




                            112






























                                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%2f3006035%2flearning-linear-algebra-for-ai-cannot-solve-system-in-r3%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

                                Human spaceflight

                                Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                                File:DeusFollowingSea.jpg