Why is this method for solving linear equations systems using determinants works? Unicorn Meta...

Check if a string is entirely made of the same substring

Why must Chinese maps be obfuscated?

Negative Resistance

Air bladders in bat-like skin wings for better lift?

As an international instructor, should I openly talk about my accent?

Why doesn't the standard consider a template constructor as a copy constructor?

How to find if a column is referenced in a computed column?

Crossed out red box fitting tightly around image

Sharepoint Designer Discontinuation - software to modify existing workflows

How do I reattach a shelf to the wall when it ripped out of the wall?

How bug prioritization works in agile projects vs non agile

Is this homebrew arcane communication device abusable?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?

Where was the County of Thurn und Taxis located?

Prove that the countable union of countable sets is also countable

All ASCII characters with a given bit count

Why do distances seem to matter in the Foundation world?

Should the Product Owner dictate what info the UI needs to display?

Is Diceware more secure than a long passphrase?

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"

How important is it that $TERM is correct?

Is it acceptable to use working hours to read general interest books?

`microtype`: Set Minimum Width of a Space

Ramp colors through selected symbols in QGIS?



Why is this method for solving linear equations systems using determinants works?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraCreating and solving large systems of equationsSolving non-linear (convex) systems of equationsTechniques for solving coupled differential equationsSolving systems of equations using matrices by row reductionNumber of equations required for eliminationName and explanation of a Numerical Analysis method for solving systems of non-linear equationsElementary Substitution in Solving Equations - Why it workssystems of equations with 3 variables using substitution methodsystem of equations using Gauss Jordan methodHahn-Banach From Systems of Linear Equations












5












$begingroup$


I'm new here and english is not my native language but I'll try to explain my question the best I can.
While studying methods for solving systems of linear equations I came across a method so called "Gauss algorithm" for which I doubt if it is it's real name or not, but I can't understand WHY it works.
I would really appreciate a proper explanation or maybe a hint for what is happening inside the method process that accounts for the logic behind it.



The process in question is the following and involves determinants:



Suppose we have the following system of linear equations, for instance
begin{cases}
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
end{cases}



Then the result of appliying the method continues as follow



begin{array}{ccc|c}
x & y & z & i.t. \
hline
1 & 2 & -1 & -5 \
2 & -1 & 2 & 8 \
3 & 3 & 4 & 5 \
hline
& -5 & 4 & 18 \
& -3 & 7 & 20 \
hline
& & -23 & -46 \
end{array}



Where for example the coefficients $-5$ and $4$, and the independent term $18$, of the first row of the reduced system has been computed with the follow determinants:



begin{equation}
begin{vmatrix}
1 & 2 \
2 & -1 \
end{vmatrix}=-5
hspace{1cm}
begin{vmatrix}
1 & -1 \
2 & 2 \
end{vmatrix}=4
hspace{1cm}
begin{vmatrix}
1 & -5 \
2 & 8 \
end{vmatrix}=18
end{equation}



Where those determinants were computed using the first and the second row of the system of equations matrix. Then the other coefficients -3 and 7 and the independant term 20 were found by computing the respective determinants as above but using the first and third row of the system of equations matrix.



Appliying this method and if the system is compatible, then as above you can see that begin{equation} -23z = -46\
z=2end{equation}

and then by substitution in the subsequent former equations the other variables can be found.



Well that's the method I was studying and will appreciate to know more about it, it's a pity I don't know the name of it but maybe you can help.



Thanks in advance!










share|cite|improve this question









New contributor




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







$endgroup$








  • 1




    $begingroup$
    Gauss is a real name of a mathamtician who at some point developed the tools for solving linear equations. I'm not sure if this algorithm is his, but as the answer shows it relies on his ideas.
    $endgroup$
    – Yanko
    yesterday








  • 1




    $begingroup$
    There's another algorithm, called "Gauss elimination" (en.wikipedia.org/wiki/Gaussian_elimination) which doesn't use determinants. It is much simpler to understand.
    $endgroup$
    – Yanko
    yesterday






  • 1




    $begingroup$
    The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
    $endgroup$
    – alephzero
    19 hours ago
















5












$begingroup$


I'm new here and english is not my native language but I'll try to explain my question the best I can.
While studying methods for solving systems of linear equations I came across a method so called "Gauss algorithm" for which I doubt if it is it's real name or not, but I can't understand WHY it works.
I would really appreciate a proper explanation or maybe a hint for what is happening inside the method process that accounts for the logic behind it.



The process in question is the following and involves determinants:



Suppose we have the following system of linear equations, for instance
begin{cases}
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
end{cases}



Then the result of appliying the method continues as follow



begin{array}{ccc|c}
x & y & z & i.t. \
hline
1 & 2 & -1 & -5 \
2 & -1 & 2 & 8 \
3 & 3 & 4 & 5 \
hline
& -5 & 4 & 18 \
& -3 & 7 & 20 \
hline
& & -23 & -46 \
end{array}



Where for example the coefficients $-5$ and $4$, and the independent term $18$, of the first row of the reduced system has been computed with the follow determinants:



begin{equation}
begin{vmatrix}
1 & 2 \
2 & -1 \
end{vmatrix}=-5
hspace{1cm}
begin{vmatrix}
1 & -1 \
2 & 2 \
end{vmatrix}=4
hspace{1cm}
begin{vmatrix}
1 & -5 \
2 & 8 \
end{vmatrix}=18
end{equation}



Where those determinants were computed using the first and the second row of the system of equations matrix. Then the other coefficients -3 and 7 and the independant term 20 were found by computing the respective determinants as above but using the first and third row of the system of equations matrix.



Appliying this method and if the system is compatible, then as above you can see that begin{equation} -23z = -46\
z=2end{equation}

and then by substitution in the subsequent former equations the other variables can be found.



Well that's the method I was studying and will appreciate to know more about it, it's a pity I don't know the name of it but maybe you can help.



Thanks in advance!










share|cite|improve this question









New contributor




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







$endgroup$








  • 1




    $begingroup$
    Gauss is a real name of a mathamtician who at some point developed the tools for solving linear equations. I'm not sure if this algorithm is his, but as the answer shows it relies on his ideas.
    $endgroup$
    – Yanko
    yesterday








  • 1




    $begingroup$
    There's another algorithm, called "Gauss elimination" (en.wikipedia.org/wiki/Gaussian_elimination) which doesn't use determinants. It is much simpler to understand.
    $endgroup$
    – Yanko
    yesterday






  • 1




    $begingroup$
    The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
    $endgroup$
    – alephzero
    19 hours ago














5












5








5


2



$begingroup$


I'm new here and english is not my native language but I'll try to explain my question the best I can.
While studying methods for solving systems of linear equations I came across a method so called "Gauss algorithm" for which I doubt if it is it's real name or not, but I can't understand WHY it works.
I would really appreciate a proper explanation or maybe a hint for what is happening inside the method process that accounts for the logic behind it.



The process in question is the following and involves determinants:



Suppose we have the following system of linear equations, for instance
begin{cases}
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
end{cases}



Then the result of appliying the method continues as follow



begin{array}{ccc|c}
x & y & z & i.t. \
hline
1 & 2 & -1 & -5 \
2 & -1 & 2 & 8 \
3 & 3 & 4 & 5 \
hline
& -5 & 4 & 18 \
& -3 & 7 & 20 \
hline
& & -23 & -46 \
end{array}



Where for example the coefficients $-5$ and $4$, and the independent term $18$, of the first row of the reduced system has been computed with the follow determinants:



begin{equation}
begin{vmatrix}
1 & 2 \
2 & -1 \
end{vmatrix}=-5
hspace{1cm}
begin{vmatrix}
1 & -1 \
2 & 2 \
end{vmatrix}=4
hspace{1cm}
begin{vmatrix}
1 & -5 \
2 & 8 \
end{vmatrix}=18
end{equation}



Where those determinants were computed using the first and the second row of the system of equations matrix. Then the other coefficients -3 and 7 and the independant term 20 were found by computing the respective determinants as above but using the first and third row of the system of equations matrix.



Appliying this method and if the system is compatible, then as above you can see that begin{equation} -23z = -46\
z=2end{equation}

and then by substitution in the subsequent former equations the other variables can be found.



Well that's the method I was studying and will appreciate to know more about it, it's a pity I don't know the name of it but maybe you can help.



Thanks in advance!










share|cite|improve this question









New contributor




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







$endgroup$




I'm new here and english is not my native language but I'll try to explain my question the best I can.
While studying methods for solving systems of linear equations I came across a method so called "Gauss algorithm" for which I doubt if it is it's real name or not, but I can't understand WHY it works.
I would really appreciate a proper explanation or maybe a hint for what is happening inside the method process that accounts for the logic behind it.



The process in question is the following and involves determinants:



Suppose we have the following system of linear equations, for instance
begin{cases}
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
end{cases}



Then the result of appliying the method continues as follow



begin{array}{ccc|c}
x & y & z & i.t. \
hline
1 & 2 & -1 & -5 \
2 & -1 & 2 & 8 \
3 & 3 & 4 & 5 \
hline
& -5 & 4 & 18 \
& -3 & 7 & 20 \
hline
& & -23 & -46 \
end{array}



Where for example the coefficients $-5$ and $4$, and the independent term $18$, of the first row of the reduced system has been computed with the follow determinants:



begin{equation}
begin{vmatrix}
1 & 2 \
2 & -1 \
end{vmatrix}=-5
hspace{1cm}
begin{vmatrix}
1 & -1 \
2 & 2 \
end{vmatrix}=4
hspace{1cm}
begin{vmatrix}
1 & -5 \
2 & 8 \
end{vmatrix}=18
end{equation}



Where those determinants were computed using the first and the second row of the system of equations matrix. Then the other coefficients -3 and 7 and the independant term 20 were found by computing the respective determinants as above but using the first and third row of the system of equations matrix.



Appliying this method and if the system is compatible, then as above you can see that begin{equation} -23z = -46\
z=2end{equation}

and then by substitution in the subsequent former equations the other variables can be found.



Well that's the method I was studying and will appreciate to know more about it, it's a pity I don't know the name of it but maybe you can help.



Thanks in advance!







systems-of-equations






share|cite|improve this question









New contributor




MateoB 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 question









New contributor




MateoB 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 question




share|cite|improve this question








edited yesterday









Yanko

8,6822830




8,6822830






New contributor




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









asked yesterday









MateoBMateoB

285




285




New contributor




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





New contributor





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






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








  • 1




    $begingroup$
    Gauss is a real name of a mathamtician who at some point developed the tools for solving linear equations. I'm not sure if this algorithm is his, but as the answer shows it relies on his ideas.
    $endgroup$
    – Yanko
    yesterday








  • 1




    $begingroup$
    There's another algorithm, called "Gauss elimination" (en.wikipedia.org/wiki/Gaussian_elimination) which doesn't use determinants. It is much simpler to understand.
    $endgroup$
    – Yanko
    yesterday






  • 1




    $begingroup$
    The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
    $endgroup$
    – alephzero
    19 hours ago














  • 1




    $begingroup$
    Gauss is a real name of a mathamtician who at some point developed the tools for solving linear equations. I'm not sure if this algorithm is his, but as the answer shows it relies on his ideas.
    $endgroup$
    – Yanko
    yesterday








  • 1




    $begingroup$
    There's another algorithm, called "Gauss elimination" (en.wikipedia.org/wiki/Gaussian_elimination) which doesn't use determinants. It is much simpler to understand.
    $endgroup$
    – Yanko
    yesterday






  • 1




    $begingroup$
    The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
    $endgroup$
    – alephzero
    19 hours ago








1




1




$begingroup$
Gauss is a real name of a mathamtician who at some point developed the tools for solving linear equations. I'm not sure if this algorithm is his, but as the answer shows it relies on his ideas.
$endgroup$
– Yanko
yesterday






$begingroup$
Gauss is a real name of a mathamtician who at some point developed the tools for solving linear equations. I'm not sure if this algorithm is his, but as the answer shows it relies on his ideas.
$endgroup$
– Yanko
yesterday






1




1




$begingroup$
There's another algorithm, called "Gauss elimination" (en.wikipedia.org/wiki/Gaussian_elimination) which doesn't use determinants. It is much simpler to understand.
$endgroup$
– Yanko
yesterday




$begingroup$
There's another algorithm, called "Gauss elimination" (en.wikipedia.org/wiki/Gaussian_elimination) which doesn't use determinants. It is much simpler to understand.
$endgroup$
– Yanko
yesterday




1




1




$begingroup$
The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
$endgroup$
– alephzero
19 hours ago




$begingroup$
The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
$endgroup$
– alephzero
19 hours ago










2 Answers
2






active

oldest

votes


















4












$begingroup$

The computation of the determinants is equivalent to solving step by step the system of equations in the following way:




  1. Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;

  2. Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then

  3. Subtract the first from the second equation.


This will result in the fourth equation.



Afterwards we can do the same for the first and third equations to get the fifth equation:




  1. Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;

  2. Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then

  3. Subtract the first from the third equation.


Now we can do a similar approach to the fourth and fifth equation to get the sixth equation:




  1. Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;

  2. Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then

  3. Subtract the fourth from the fifth equation.


And voilà, we have the sixth equation.






share|cite|improve this answer









$endgroup$





















    4












    $begingroup$

    The method is called Gauss elimination.



    It works like this.
    Consider some equations, and we only record some of the coefficients of them.



    ... [A] ... B ... | E
    ... C ... D ... | F


    There are further lines not shown, and the data above sorresponds to something like
    $$
    begin{aligned}
    dots +boxed{a}x+dots+bz &=e ,\
    dots +cx+dots+dz &=f ,
    end{aligned}
    $$

    Now we declare a value $ane 0$ under the coefficients to be the "pivot", and put it in a box.
    The pivot line is divided imaginary by the pivot $a$, thus getting $dots +x+dots+(b/a)z =(e/a)$, and then used to eliminate all coefficients below (and in a total elimination also above) the pivot. So multiply the above equation by $-c$, and add this to the one involving $cx$ to eliminate $c$. One obtains, in the formal description, in the "next elimination block":



    ... [A] ...     B    ... |     E
    ... 0 ... D - BC/A ... | F - EC/A


    and note that $D-BC/A$ is the determinant $AD-BC$ divided by the pivot $A$. This is the native Gauss elimination. Numerically,
    people tend to chose $A$ with maximal absolute value.



    The above scheme uses a variation, all new rows are multiplied by the pivot.
    So:



    ... [A] ...      B  ... |      E
    ... 0 ... AD - BC ... | AF - EC


    This is it!





    In our case, also always copying the pivot line:



    $$
    begin{array}{ccc|c}
    x & y & z & i.t. \
    hline
    boxed1 & 2 & -1 & -5 \
    2 & -1 & 2 & 8 \
    3 & 3 & 4 & 5 \
    hline
    1 & 2 & -1 & -5 \
    & boxed{-5} & 4 & 18 \
    & -3 & 7 & 20 \
    hline
    1 & 2 & -1 & -5 \
    & -5 & 4 & 18 \
    & & boxed{-23} & -46 \
    end{array}
    $$






    share|cite|improve this answer









    $endgroup$














      Your Answer








      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
      });


      }
      });






      MateoB is a new contributor. Be nice, and check out our Code of Conduct.










      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3200813%2fwhy-is-this-method-for-solving-linear-equations-systems-using-determinants-works%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









      4












      $begingroup$

      The computation of the determinants is equivalent to solving step by step the system of equations in the following way:




      1. Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;

      2. Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then

      3. Subtract the first from the second equation.


      This will result in the fourth equation.



      Afterwards we can do the same for the first and third equations to get the fifth equation:




      1. Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;

      2. Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then

      3. Subtract the first from the third equation.


      Now we can do a similar approach to the fourth and fifth equation to get the sixth equation:




      1. Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;

      2. Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then

      3. Subtract the fourth from the fifth equation.


      And voilà, we have the sixth equation.






      share|cite|improve this answer









      $endgroup$


















        4












        $begingroup$

        The computation of the determinants is equivalent to solving step by step the system of equations in the following way:




        1. Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;

        2. Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then

        3. Subtract the first from the second equation.


        This will result in the fourth equation.



        Afterwards we can do the same for the first and third equations to get the fifth equation:




        1. Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;

        2. Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then

        3. Subtract the first from the third equation.


        Now we can do a similar approach to the fourth and fifth equation to get the sixth equation:




        1. Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;

        2. Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then

        3. Subtract the fourth from the fifth equation.


        And voilà, we have the sixth equation.






        share|cite|improve this answer









        $endgroup$
















          4












          4








          4





          $begingroup$

          The computation of the determinants is equivalent to solving step by step the system of equations in the following way:




          1. Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;

          2. Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then

          3. Subtract the first from the second equation.


          This will result in the fourth equation.



          Afterwards we can do the same for the first and third equations to get the fifth equation:




          1. Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;

          2. Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then

          3. Subtract the first from the third equation.


          Now we can do a similar approach to the fourth and fifth equation to get the sixth equation:




          1. Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;

          2. Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then

          3. Subtract the fourth from the fifth equation.


          And voilà, we have the sixth equation.






          share|cite|improve this answer









          $endgroup$



          The computation of the determinants is equivalent to solving step by step the system of equations in the following way:




          1. Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;

          2. Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then

          3. Subtract the first from the second equation.


          This will result in the fourth equation.



          Afterwards we can do the same for the first and third equations to get the fifth equation:




          1. Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;

          2. Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then

          3. Subtract the first from the third equation.


          Now we can do a similar approach to the fourth and fifth equation to get the sixth equation:




          1. Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;

          2. Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then

          3. Subtract the fourth from the fifth equation.


          And voilà, we have the sixth equation.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered yesterday









          ErtxiemErtxiem

          1,040212




          1,040212























              4












              $begingroup$

              The method is called Gauss elimination.



              It works like this.
              Consider some equations, and we only record some of the coefficients of them.



              ... [A] ... B ... | E
              ... C ... D ... | F


              There are further lines not shown, and the data above sorresponds to something like
              $$
              begin{aligned}
              dots +boxed{a}x+dots+bz &=e ,\
              dots +cx+dots+dz &=f ,
              end{aligned}
              $$

              Now we declare a value $ane 0$ under the coefficients to be the "pivot", and put it in a box.
              The pivot line is divided imaginary by the pivot $a$, thus getting $dots +x+dots+(b/a)z =(e/a)$, and then used to eliminate all coefficients below (and in a total elimination also above) the pivot. So multiply the above equation by $-c$, and add this to the one involving $cx$ to eliminate $c$. One obtains, in the formal description, in the "next elimination block":



              ... [A] ...     B    ... |     E
              ... 0 ... D - BC/A ... | F - EC/A


              and note that $D-BC/A$ is the determinant $AD-BC$ divided by the pivot $A$. This is the native Gauss elimination. Numerically,
              people tend to chose $A$ with maximal absolute value.



              The above scheme uses a variation, all new rows are multiplied by the pivot.
              So:



              ... [A] ...      B  ... |      E
              ... 0 ... AD - BC ... | AF - EC


              This is it!





              In our case, also always copying the pivot line:



              $$
              begin{array}{ccc|c}
              x & y & z & i.t. \
              hline
              boxed1 & 2 & -1 & -5 \
              2 & -1 & 2 & 8 \
              3 & 3 & 4 & 5 \
              hline
              1 & 2 & -1 & -5 \
              & boxed{-5} & 4 & 18 \
              & -3 & 7 & 20 \
              hline
              1 & 2 & -1 & -5 \
              & -5 & 4 & 18 \
              & & boxed{-23} & -46 \
              end{array}
              $$






              share|cite|improve this answer









              $endgroup$


















                4












                $begingroup$

                The method is called Gauss elimination.



                It works like this.
                Consider some equations, and we only record some of the coefficients of them.



                ... [A] ... B ... | E
                ... C ... D ... | F


                There are further lines not shown, and the data above sorresponds to something like
                $$
                begin{aligned}
                dots +boxed{a}x+dots+bz &=e ,\
                dots +cx+dots+dz &=f ,
                end{aligned}
                $$

                Now we declare a value $ane 0$ under the coefficients to be the "pivot", and put it in a box.
                The pivot line is divided imaginary by the pivot $a$, thus getting $dots +x+dots+(b/a)z =(e/a)$, and then used to eliminate all coefficients below (and in a total elimination also above) the pivot. So multiply the above equation by $-c$, and add this to the one involving $cx$ to eliminate $c$. One obtains, in the formal description, in the "next elimination block":



                ... [A] ...     B    ... |     E
                ... 0 ... D - BC/A ... | F - EC/A


                and note that $D-BC/A$ is the determinant $AD-BC$ divided by the pivot $A$. This is the native Gauss elimination. Numerically,
                people tend to chose $A$ with maximal absolute value.



                The above scheme uses a variation, all new rows are multiplied by the pivot.
                So:



                ... [A] ...      B  ... |      E
                ... 0 ... AD - BC ... | AF - EC


                This is it!





                In our case, also always copying the pivot line:



                $$
                begin{array}{ccc|c}
                x & y & z & i.t. \
                hline
                boxed1 & 2 & -1 & -5 \
                2 & -1 & 2 & 8 \
                3 & 3 & 4 & 5 \
                hline
                1 & 2 & -1 & -5 \
                & boxed{-5} & 4 & 18 \
                & -3 & 7 & 20 \
                hline
                1 & 2 & -1 & -5 \
                & -5 & 4 & 18 \
                & & boxed{-23} & -46 \
                end{array}
                $$






                share|cite|improve this answer









                $endgroup$
















                  4












                  4








                  4





                  $begingroup$

                  The method is called Gauss elimination.



                  It works like this.
                  Consider some equations, and we only record some of the coefficients of them.



                  ... [A] ... B ... | E
                  ... C ... D ... | F


                  There are further lines not shown, and the data above sorresponds to something like
                  $$
                  begin{aligned}
                  dots +boxed{a}x+dots+bz &=e ,\
                  dots +cx+dots+dz &=f ,
                  end{aligned}
                  $$

                  Now we declare a value $ane 0$ under the coefficients to be the "pivot", and put it in a box.
                  The pivot line is divided imaginary by the pivot $a$, thus getting $dots +x+dots+(b/a)z =(e/a)$, and then used to eliminate all coefficients below (and in a total elimination also above) the pivot. So multiply the above equation by $-c$, and add this to the one involving $cx$ to eliminate $c$. One obtains, in the formal description, in the "next elimination block":



                  ... [A] ...     B    ... |     E
                  ... 0 ... D - BC/A ... | F - EC/A


                  and note that $D-BC/A$ is the determinant $AD-BC$ divided by the pivot $A$. This is the native Gauss elimination. Numerically,
                  people tend to chose $A$ with maximal absolute value.



                  The above scheme uses a variation, all new rows are multiplied by the pivot.
                  So:



                  ... [A] ...      B  ... |      E
                  ... 0 ... AD - BC ... | AF - EC


                  This is it!





                  In our case, also always copying the pivot line:



                  $$
                  begin{array}{ccc|c}
                  x & y & z & i.t. \
                  hline
                  boxed1 & 2 & -1 & -5 \
                  2 & -1 & 2 & 8 \
                  3 & 3 & 4 & 5 \
                  hline
                  1 & 2 & -1 & -5 \
                  & boxed{-5} & 4 & 18 \
                  & -3 & 7 & 20 \
                  hline
                  1 & 2 & -1 & -5 \
                  & -5 & 4 & 18 \
                  & & boxed{-23} & -46 \
                  end{array}
                  $$






                  share|cite|improve this answer









                  $endgroup$



                  The method is called Gauss elimination.



                  It works like this.
                  Consider some equations, and we only record some of the coefficients of them.



                  ... [A] ... B ... | E
                  ... C ... D ... | F


                  There are further lines not shown, and the data above sorresponds to something like
                  $$
                  begin{aligned}
                  dots +boxed{a}x+dots+bz &=e ,\
                  dots +cx+dots+dz &=f ,
                  end{aligned}
                  $$

                  Now we declare a value $ane 0$ under the coefficients to be the "pivot", and put it in a box.
                  The pivot line is divided imaginary by the pivot $a$, thus getting $dots +x+dots+(b/a)z =(e/a)$, and then used to eliminate all coefficients below (and in a total elimination also above) the pivot. So multiply the above equation by $-c$, and add this to the one involving $cx$ to eliminate $c$. One obtains, in the formal description, in the "next elimination block":



                  ... [A] ...     B    ... |     E
                  ... 0 ... D - BC/A ... | F - EC/A


                  and note that $D-BC/A$ is the determinant $AD-BC$ divided by the pivot $A$. This is the native Gauss elimination. Numerically,
                  people tend to chose $A$ with maximal absolute value.



                  The above scheme uses a variation, all new rows are multiplied by the pivot.
                  So:



                  ... [A] ...      B  ... |      E
                  ... 0 ... AD - BC ... | AF - EC


                  This is it!





                  In our case, also always copying the pivot line:



                  $$
                  begin{array}{ccc|c}
                  x & y & z & i.t. \
                  hline
                  boxed1 & 2 & -1 & -5 \
                  2 & -1 & 2 & 8 \
                  3 & 3 & 4 & 5 \
                  hline
                  1 & 2 & -1 & -5 \
                  & boxed{-5} & 4 & 18 \
                  & -3 & 7 & 20 \
                  hline
                  1 & 2 & -1 & -5 \
                  & -5 & 4 & 18 \
                  & & boxed{-23} & -46 \
                  end{array}
                  $$







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered yesterday









                  dan_fuleadan_fulea

                  7,2281513




                  7,2281513






















                      MateoB is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      MateoB is a new contributor. Be nice, and check out our Code of Conduct.













                      MateoB is a new contributor. Be nice, and check out our Code of Conduct.












                      MateoB is a new contributor. Be nice, and check out our Code of Conduct.
















                      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%2f3200813%2fwhy-is-this-method-for-solving-linear-equations-systems-using-determinants-works%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

                      VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                      Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                      looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...