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
Error: Syntax error. Missing ')' for CASE Statement
Putting Ant-Man on house arrest
Need of separate security plugins for both root and subfolder sites Wordpress?
Trumpet valves, lengths, and pitch
Why does the Cisco show run command not show the full version, while the show version command does?
c++ diamond problem - How to call base method only once
Could Neutrino technically as side-effect, incentivize centralization of the bitcoin network?
Is Bran literally the world's memory?
I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?
Seek and ye shall find
How to translate "red flag" into Spanish?
Could moose/elk survive in the Amazon forest?
What is this word supposed to be?
"Rubric" as meaning "signature" or "personal mark" -- is this accepted usage?
What is the least dense liquid under normal conditions?
Multiple fireplaces in an apartment building?
Why is this method for solving linear equations systems using determinants works?
Second order approximation of the loss function (Deep learning book, 7.33)
Raising a bilingual kid. When should we introduce the majority language?
Is a 5 watt UHF/VHF handheld considered QRP?
How to avoid introduction cliches
Why did Israel vote against lifting the American embargo on Cuba?
Check if a string is entirely made of the same substring
Has a Nobel Peace laureate ever been accused of war crimes?
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
$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
begincases
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
endcases
Then the result of appliying the method continues as follow
beginarrayccc
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 \
endarray
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:
beginequation
beginvmatrix
1 & 2 \
2 & -1 \
endvmatrix=-5
hspace1cm
beginvmatrix
1 & -1 \
2 & 2 \
endvmatrix=4
hspace1cm
beginvmatrix
1 & -5 \
2 & 8 \
endvmatrix=18
endequation
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 beginequation -23z = -46\
z=2endequation
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
New contributor
$endgroup$
add a comment |
$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
begincases
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
endcases
Then the result of appliying the method continues as follow
beginarrayccc
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 \
endarray
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:
beginequation
beginvmatrix
1 & 2 \
2 & -1 \
endvmatrix=-5
hspace1cm
beginvmatrix
1 & -1 \
2 & 2 \
endvmatrix=4
hspace1cm
beginvmatrix
1 & -5 \
2 & 8 \
endvmatrix=18
endequation
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 beginequation -23z = -46\
z=2endequation
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
New contributor
$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
6 hours ago
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
6 hours ago
1
$begingroup$
The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
$endgroup$
– alephzero
2 hours ago
add a comment |
$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
begincases
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
endcases
Then the result of appliying the method continues as follow
beginarrayccc
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 \
endarray
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:
beginequation
beginvmatrix
1 & 2 \
2 & -1 \
endvmatrix=-5
hspace1cm
beginvmatrix
1 & -1 \
2 & 2 \
endvmatrix=4
hspace1cm
beginvmatrix
1 & -5 \
2 & 8 \
endvmatrix=18
endequation
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 beginequation -23z = -46\
z=2endequation
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
New contributor
$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
begincases
x+2y-z=-5 \2x-1y+2z=8 \3x+3y+4z=5
endcases
Then the result of appliying the method continues as follow
beginarrayccc
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 \
endarray
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:
beginequation
beginvmatrix
1 & 2 \
2 & -1 \
endvmatrix=-5
hspace1cm
beginvmatrix
1 & -1 \
2 & 2 \
endvmatrix=4
hspace1cm
beginvmatrix
1 & -5 \
2 & 8 \
endvmatrix=18
endequation
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 beginequation -23z = -46\
z=2endequation
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
systems-of-equations
New contributor
New contributor
edited 6 hours ago
Yanko
8,6822830
8,6822830
New contributor
asked 7 hours ago
MateoBMateoB
285
285
New contributor
New contributor
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
6 hours ago
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
6 hours ago
1
$begingroup$
The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
$endgroup$
– alephzero
2 hours ago
add a comment |
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
6 hours ago
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
6 hours ago
1
$begingroup$
The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
$endgroup$
– alephzero
2 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
6 hours ago
$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
6 hours ago
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
6 hours ago
$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
6 hours ago
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
2 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
2 hours ago
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
The computation of the determinants is equivalent to solving step by step the system of equations in the following way:
- Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;
- Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;
- Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;
- Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then
- Subtract the fourth from the fifth equation.
And voilà, we have the sixth equation.
$endgroup$
add a comment |
$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
$$
beginaligned
dots +boxedax+dots+bz &=e ,\
dots +cx+dots+dz &=f ,
endaligned
$$
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:
$$
beginarrayccc
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 \
endarray
$$
$endgroup$
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
$begingroup$
The computation of the determinants is equivalent to solving step by step the system of equations in the following way:
- Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;
- Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;
- Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;
- Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then
- Subtract the fourth from the fifth equation.
And voilà, we have the sixth equation.
$endgroup$
add a comment |
$begingroup$
The computation of the determinants is equivalent to solving step by step the system of equations in the following way:
- Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;
- Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;
- Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;
- Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then
- Subtract the fourth from the fifth equation.
And voilà, we have the sixth equation.
$endgroup$
add a comment |
$begingroup$
The computation of the determinants is equivalent to solving step by step the system of equations in the following way:
- Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;
- Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;
- Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;
- Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then
- Subtract the fourth from the fifth equation.
And voilà, we have the sixth equation.
$endgroup$
The computation of the determinants is equivalent to solving step by step the system of equations in the following way:
- Multiply the first equation by $2$, which is the coefficient of $x$ in the second equation;
- Multiply the second one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the first equation by $3$, which is the coefficient of $x$ in the third equation;
- Multiply the third one by $1$, which is the coefficient of $x$ in the first equation; and then
- 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:
- Multiply the fourth equation by $-3$, which is the coefficient of $y$ in the fifth equation;
- Multiply the fifth one by $-5$, which is the coefficient of $y$ in the fourth equation; and then
- Subtract the fourth from the fifth equation.
And voilà, we have the sixth equation.
answered 7 hours ago
ErtxiemErtxiem
1,015212
1,015212
add a comment |
add a comment |
$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
$$
beginaligned
dots +boxedax+dots+bz &=e ,\
dots +cx+dots+dz &=f ,
endaligned
$$
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:
$$
beginarrayccc
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 \
endarray
$$
$endgroup$
add a comment |
$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
$$
beginaligned
dots +boxedax+dots+bz &=e ,\
dots +cx+dots+dz &=f ,
endaligned
$$
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:
$$
beginarrayccc
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 \
endarray
$$
$endgroup$
add a comment |
$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
$$
beginaligned
dots +boxedax+dots+bz &=e ,\
dots +cx+dots+dz &=f ,
endaligned
$$
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:
$$
beginarrayccc
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 \
endarray
$$
$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
$$
beginaligned
dots +boxedax+dots+bz &=e ,\
dots +cx+dots+dz &=f ,
endaligned
$$
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:
$$
beginarrayccc
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 \
endarray
$$
answered 6 hours ago
dan_fuleadan_fulea
7,2181513
7,2181513
add a comment |
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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
6 hours ago
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
6 hours ago
1
$begingroup$
The use of 2x2 determinants here is pointless IMO. All it does is make a very simple algorithm more confusing.
$endgroup$
– alephzero
2 hours ago