Solve linear equation












2














I am working on some practice linear algebra problems but I am not understanding how the answers where gotten for the following problem.



Problem:
find all values of $a$ for which the resulting linear system has (a) no solution, (b) a unique solution, and (c) infinitely many solutions.



begin{cases} x + y - z =2\ x + 2y + z = 3 \ x + y + (a^2 -5)z = a end{cases}



Answer:



(a) $a= -2,;$ (b) $;aneq pm2,;$ (c) $a=2$



I can't for the life figure how they got the answer in the book. I only got as far as the row echelon matrix.



$begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2 - 4 & a-2end{bmatrix}$



Can anyone recommend an approach for solving the problem.










share|cite|improve this question
























  • What are $b$ and $c$?
    – Bernard
    yesterday










  • @Bernard thats what I am wondering. It is from the text Introductory Linear Algebra with applications 7th edition.
    – user1238097
    yesterday
















2














I am working on some practice linear algebra problems but I am not understanding how the answers where gotten for the following problem.



Problem:
find all values of $a$ for which the resulting linear system has (a) no solution, (b) a unique solution, and (c) infinitely many solutions.



begin{cases} x + y - z =2\ x + 2y + z = 3 \ x + y + (a^2 -5)z = a end{cases}



Answer:



(a) $a= -2,;$ (b) $;aneq pm2,;$ (c) $a=2$



I can't for the life figure how they got the answer in the book. I only got as far as the row echelon matrix.



$begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2 - 4 & a-2end{bmatrix}$



Can anyone recommend an approach for solving the problem.










share|cite|improve this question
























  • What are $b$ and $c$?
    – Bernard
    yesterday










  • @Bernard thats what I am wondering. It is from the text Introductory Linear Algebra with applications 7th edition.
    – user1238097
    yesterday














2












2








2







I am working on some practice linear algebra problems but I am not understanding how the answers where gotten for the following problem.



Problem:
find all values of $a$ for which the resulting linear system has (a) no solution, (b) a unique solution, and (c) infinitely many solutions.



begin{cases} x + y - z =2\ x + 2y + z = 3 \ x + y + (a^2 -5)z = a end{cases}



Answer:



(a) $a= -2,;$ (b) $;aneq pm2,;$ (c) $a=2$



I can't for the life figure how they got the answer in the book. I only got as far as the row echelon matrix.



$begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2 - 4 & a-2end{bmatrix}$



Can anyone recommend an approach for solving the problem.










share|cite|improve this question















I am working on some practice linear algebra problems but I am not understanding how the answers where gotten for the following problem.



Problem:
find all values of $a$ for which the resulting linear system has (a) no solution, (b) a unique solution, and (c) infinitely many solutions.



begin{cases} x + y - z =2\ x + 2y + z = 3 \ x + y + (a^2 -5)z = a end{cases}



Answer:



(a) $a= -2,;$ (b) $;aneq pm2,;$ (c) $a=2$



I can't for the life figure how they got the answer in the book. I only got as far as the row echelon matrix.



$begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2 - 4 & a-2end{bmatrix}$



Can anyone recommend an approach for solving the problem.







linear-algebra






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited 23 hours ago

























asked yesterday









user1238097

507




507












  • What are $b$ and $c$?
    – Bernard
    yesterday










  • @Bernard thats what I am wondering. It is from the text Introductory Linear Algebra with applications 7th edition.
    – user1238097
    yesterday


















  • What are $b$ and $c$?
    – Bernard
    yesterday










  • @Bernard thats what I am wondering. It is from the text Introductory Linear Algebra with applications 7th edition.
    – user1238097
    yesterday
















What are $b$ and $c$?
– Bernard
yesterday




What are $b$ and $c$?
– Bernard
yesterday












@Bernard thats what I am wondering. It is from the text Introductory Linear Algebra with applications 7th edition.
– user1238097
yesterday




@Bernard thats what I am wondering. It is from the text Introductory Linear Algebra with applications 7th edition.
– user1238097
yesterday










5 Answers
5






active

oldest

votes


















3














Having the matrix in something approaching row echelon form is definitely the right way to go, and you are nearly done once you have it. Unfortunately I think you did your final row operation incorrectly; my row echelon form matrix looks like this:
$$
begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2-4 & a-2end{bmatrix}
$$

Is this enough to show you the way?






share|cite|improve this answer








New contributor




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


















  • I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
    – user1238097
    yesterday






  • 2




    @user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
    – ImNotTheGuy
    yesterday






  • 1




    @user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
    – ImNotTheGuy
    yesterday












  • oh wow that makes a lot of sense definitely.
    – user1238097
    yesterday



















3














Hint:



A non-homogeneous linear system has solutions if and only if the matrix of the homogeneous side and the augmented matrix have the same rank. Furthermore, this rank is the codimension of the affine space of solutions.



Thus here, there is a unique solution if and only if the matrix $;smash{begin{bmatrix}1&1&-1\ 1&2&1\1&1&a^2-5end{bmatrix}}$ has rank $3$. You can obtain its rank with row reduction.






share|cite|improve this answer





















  • Thanks for the hint I need to go back to look at homogenous systems section in the book.
    – user1238097
    yesterday



















2














The standard start:



The matrix is



$begin{bmatrix}
1 & 1 & -1 & 2\
1 & 2 & 1 & 3\
1 & 1 & a^2-5 & a
end{bmatrix}
$



The 3x3 determinant is
$2(a^2-5)+1-1-(1+(a^2-5)-2)
=a^2-4
$

so,
if $a^2 ne 4$,
there is a unique solution.






share|cite|improve this answer























  • So I don't have to the linear equations to solve this wow.
    – user1238097
    yesterday






  • 1




    I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
    – ImNotTheGuy
    yesterday










  • @ImNotTheGuy it is definitely a bit more confusing.
    – user1238097
    yesterday






  • 2




    Non-square matrices don't have a determinant.
    – mathreadler
    yesterday










  • OK - I'll fix it.
    – marty cohen
    yesterday



















1














note: in the original version of the question the answer for part b was subtuly wrong, it should say $a neq pm 2$



I would start by getting rid of x by subtracting one of the cases (I went for the first one) from the other two.



$$ (2y + z)-(y-z) = 3 - 2 $$
$$ (y + (a^2 -5)z) - (y-z) = a - 2 $$



Multiplying out and simplifying.



$$ y + 2z = 1 $$



$$ (a^2 -4)z = a - 2 $$



So how do you solve an equation like that? you would want to divide it through by $(a^2 -4)$ but it is only valid to do that if $(a^2 -4) neq 0$. Some elementary knowlage of quadratics tells us that $(a^2 -4) neq 0$ when $a neq pm 2$. Therefore when $a neq pm 2$ our equation gives a single value for z which in turn gives a single value for y which in turn gives a single value for x.



Ok what about when $a = pm 2$ well since we only have to cases left we can just substitute them in.



$$ 0z = -2 - 2 = -4 $$



$$ 0z = 2 - 2 = 0 $$



The first equation clearly has no soloutions, the second clearly has an infinite soloution set.






share|cite|improve this answer























  • fixed that error.
    – user1238097
    23 hours ago










  • I am still in the intro portion of the course, but is this method only possible if you know determinants?
    – user1238097
    12 hours ago






  • 1




    The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
    – Peter Green
    2 hours ago



















0














our equations: (a^2 means a * a)



x+y−z=2



x+2y+z=3



x+y+(a^2−5)z=a



general equation form:



a1*x+b1*y+c1*z = d1



a2*x+b2*y+c2*z = d2



a3*x+b3*y+c3*z = d3



matrix A:



a1 b1 c1



a2 b2 c2



a3 b3 c3



matrix B:



d1 b1 c1



d2 b2 c2



d2 b3 c3



matrix C:



a1 d1 c1



a2 d2 c2



a3 d3 c3



matrix D:



a1 b1 d1



a2 b2 d2



a3 b3 d3



x = det(B) / det(A);



y = det(C) / det(A);



z = det(D) / det(A)



matrix A general format:



a11 a12 a13



a21 a22 a23



a31 a32 a33



det(A) = a11*a22*a33 + a12*a23*a31 + a13*a21*32 - a13*a22*a31 - a12*a21*a33 - a11*a23*a32



det(B) = d1*b2*c3 + b1*c2*d3 + c1*d2*b3 - c1*b2*d3 - b1*d2*c3 - d1*c2*b3



det(C) = a1*d2*c3 + d1*c2*a3 + c1*a2*d3 - c1*d2*a3 - d1*a2*c3 - a1*c2*d3



det(D) = a1*b2*d3 + b1*d2*a3+ d1*a2*b3 - d1*b2*a3- b1*a2*d3 - a1*d2*b3



assuming if my math below is correct, we get:



det(A) = a^2 - 4



det(B) = a^2+3a-10



det(C) = a^2-2a



det(D) = a - 2



x = (a^2+3a-10) / (a^2 - 4)



y = (a^2+3a-10) / (a^2 - 4)



z = (a-2)/(a^2 - 4)



If a^2 = 4, then the equation has no solution b/c we can't divide by zero



So, we can't have a = -2 or a = 2



Otherwise, the equation has the unique solution.






share|cite|improve this answer








New contributor




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


















  • For some basic information about writing mathematics at this site see, e.g., here, here, here and here
    – Kemono Chen
    yesterday











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3052338%2fsolve-linear-equation%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























5 Answers
5






active

oldest

votes








5 Answers
5






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














Having the matrix in something approaching row echelon form is definitely the right way to go, and you are nearly done once you have it. Unfortunately I think you did your final row operation incorrectly; my row echelon form matrix looks like this:
$$
begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2-4 & a-2end{bmatrix}
$$

Is this enough to show you the way?






share|cite|improve this answer








New contributor




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


















  • I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
    – user1238097
    yesterday






  • 2




    @user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
    – ImNotTheGuy
    yesterday






  • 1




    @user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
    – ImNotTheGuy
    yesterday












  • oh wow that makes a lot of sense definitely.
    – user1238097
    yesterday
















3














Having the matrix in something approaching row echelon form is definitely the right way to go, and you are nearly done once you have it. Unfortunately I think you did your final row operation incorrectly; my row echelon form matrix looks like this:
$$
begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2-4 & a-2end{bmatrix}
$$

Is this enough to show you the way?






share|cite|improve this answer








New contributor




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


















  • I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
    – user1238097
    yesterday






  • 2




    @user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
    – ImNotTheGuy
    yesterday






  • 1




    @user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
    – ImNotTheGuy
    yesterday












  • oh wow that makes a lot of sense definitely.
    – user1238097
    yesterday














3












3








3






Having the matrix in something approaching row echelon form is definitely the right way to go, and you are nearly done once you have it. Unfortunately I think you did your final row operation incorrectly; my row echelon form matrix looks like this:
$$
begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2-4 & a-2end{bmatrix}
$$

Is this enough to show you the way?






share|cite|improve this answer








New contributor




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









Having the matrix in something approaching row echelon form is definitely the right way to go, and you are nearly done once you have it. Unfortunately I think you did your final row operation incorrectly; my row echelon form matrix looks like this:
$$
begin{bmatrix}1 & 1 & -1 & 2\0 & 1 & 2 & 1\ 0 & 0 & a^2-4 & a-2end{bmatrix}
$$

Is this enough to show you the way?







share|cite|improve this answer








New contributor




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









share|cite|improve this answer



share|cite|improve this answer






New contributor




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









answered yesterday









ImNotTheGuy

43616




43616




New contributor




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





New contributor





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






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












  • I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
    – user1238097
    yesterday






  • 2




    @user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
    – ImNotTheGuy
    yesterday






  • 1




    @user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
    – ImNotTheGuy
    yesterday












  • oh wow that makes a lot of sense definitely.
    – user1238097
    yesterday


















  • I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
    – user1238097
    yesterday






  • 2




    @user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
    – ImNotTheGuy
    yesterday






  • 1




    @user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
    – ImNotTheGuy
    yesterday












  • oh wow that makes a lot of sense definitely.
    – user1238097
    yesterday
















I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
– user1238097
yesterday




I think I get where the a^2 - 4 gives the + or - 2. The not equal is because its a quadratic equation?
– user1238097
yesterday




2




2




@user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
– ImNotTheGuy
yesterday




@user1238097 The distinction has to come from how we interpret each row of this augmented matrix; when $a=-2$, the final row reads as $[0,0,0,-4]$, which in the language of equations reads $0=-4$. Of course, it cannot be that $0=-4$, and that tells us the system of equations we started with was inconsistent (that it had no solutions). Instead, if $a=2$, the final row is $[0,0,0,0]$, which reads $0=0$, which is true but uninformative. This means there is a free variable, and we will have infinitely many solutions.
– ImNotTheGuy
yesterday




1




1




@user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
– ImNotTheGuy
yesterday






@user1238097 When $aneq pm 2$, what happens? We could go from row echelon form to reduced row echelon form (since we know we can divide by $a^2-4$ safely), and we will end up with an identity matrix in the left hand portion of the augmented matrix, which means there is a unique solution.
– ImNotTheGuy
yesterday














oh wow that makes a lot of sense definitely.
– user1238097
yesterday




oh wow that makes a lot of sense definitely.
– user1238097
yesterday











3














Hint:



A non-homogeneous linear system has solutions if and only if the matrix of the homogeneous side and the augmented matrix have the same rank. Furthermore, this rank is the codimension of the affine space of solutions.



Thus here, there is a unique solution if and only if the matrix $;smash{begin{bmatrix}1&1&-1\ 1&2&1\1&1&a^2-5end{bmatrix}}$ has rank $3$. You can obtain its rank with row reduction.






share|cite|improve this answer





















  • Thanks for the hint I need to go back to look at homogenous systems section in the book.
    – user1238097
    yesterday
















3














Hint:



A non-homogeneous linear system has solutions if and only if the matrix of the homogeneous side and the augmented matrix have the same rank. Furthermore, this rank is the codimension of the affine space of solutions.



Thus here, there is a unique solution if and only if the matrix $;smash{begin{bmatrix}1&1&-1\ 1&2&1\1&1&a^2-5end{bmatrix}}$ has rank $3$. You can obtain its rank with row reduction.






share|cite|improve this answer





















  • Thanks for the hint I need to go back to look at homogenous systems section in the book.
    – user1238097
    yesterday














3












3








3






Hint:



A non-homogeneous linear system has solutions if and only if the matrix of the homogeneous side and the augmented matrix have the same rank. Furthermore, this rank is the codimension of the affine space of solutions.



Thus here, there is a unique solution if and only if the matrix $;smash{begin{bmatrix}1&1&-1\ 1&2&1\1&1&a^2-5end{bmatrix}}$ has rank $3$. You can obtain its rank with row reduction.






share|cite|improve this answer












Hint:



A non-homogeneous linear system has solutions if and only if the matrix of the homogeneous side and the augmented matrix have the same rank. Furthermore, this rank is the codimension of the affine space of solutions.



Thus here, there is a unique solution if and only if the matrix $;smash{begin{bmatrix}1&1&-1\ 1&2&1\1&1&a^2-5end{bmatrix}}$ has rank $3$. You can obtain its rank with row reduction.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered yesterday









Bernard

118k638112




118k638112












  • Thanks for the hint I need to go back to look at homogenous systems section in the book.
    – user1238097
    yesterday


















  • Thanks for the hint I need to go back to look at homogenous systems section in the book.
    – user1238097
    yesterday
















Thanks for the hint I need to go back to look at homogenous systems section in the book.
– user1238097
yesterday




Thanks for the hint I need to go back to look at homogenous systems section in the book.
– user1238097
yesterday











2














The standard start:



The matrix is



$begin{bmatrix}
1 & 1 & -1 & 2\
1 & 2 & 1 & 3\
1 & 1 & a^2-5 & a
end{bmatrix}
$



The 3x3 determinant is
$2(a^2-5)+1-1-(1+(a^2-5)-2)
=a^2-4
$

so,
if $a^2 ne 4$,
there is a unique solution.






share|cite|improve this answer























  • So I don't have to the linear equations to solve this wow.
    – user1238097
    yesterday






  • 1




    I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
    – ImNotTheGuy
    yesterday










  • @ImNotTheGuy it is definitely a bit more confusing.
    – user1238097
    yesterday






  • 2




    Non-square matrices don't have a determinant.
    – mathreadler
    yesterday










  • OK - I'll fix it.
    – marty cohen
    yesterday
















2














The standard start:



The matrix is



$begin{bmatrix}
1 & 1 & -1 & 2\
1 & 2 & 1 & 3\
1 & 1 & a^2-5 & a
end{bmatrix}
$



The 3x3 determinant is
$2(a^2-5)+1-1-(1+(a^2-5)-2)
=a^2-4
$

so,
if $a^2 ne 4$,
there is a unique solution.






share|cite|improve this answer























  • So I don't have to the linear equations to solve this wow.
    – user1238097
    yesterday






  • 1




    I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
    – ImNotTheGuy
    yesterday










  • @ImNotTheGuy it is definitely a bit more confusing.
    – user1238097
    yesterday






  • 2




    Non-square matrices don't have a determinant.
    – mathreadler
    yesterday










  • OK - I'll fix it.
    – marty cohen
    yesterday














2












2








2






The standard start:



The matrix is



$begin{bmatrix}
1 & 1 & -1 & 2\
1 & 2 & 1 & 3\
1 & 1 & a^2-5 & a
end{bmatrix}
$



The 3x3 determinant is
$2(a^2-5)+1-1-(1+(a^2-5)-2)
=a^2-4
$

so,
if $a^2 ne 4$,
there is a unique solution.






share|cite|improve this answer














The standard start:



The matrix is



$begin{bmatrix}
1 & 1 & -1 & 2\
1 & 2 & 1 & 3\
1 & 1 & a^2-5 & a
end{bmatrix}
$



The 3x3 determinant is
$2(a^2-5)+1-1-(1+(a^2-5)-2)
=a^2-4
$

so,
if $a^2 ne 4$,
there is a unique solution.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited yesterday

























answered yesterday









marty cohen

72.4k549127




72.4k549127












  • So I don't have to the linear equations to solve this wow.
    – user1238097
    yesterday






  • 1




    I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
    – ImNotTheGuy
    yesterday










  • @ImNotTheGuy it is definitely a bit more confusing.
    – user1238097
    yesterday






  • 2




    Non-square matrices don't have a determinant.
    – mathreadler
    yesterday










  • OK - I'll fix it.
    – marty cohen
    yesterday


















  • So I don't have to the linear equations to solve this wow.
    – user1238097
    yesterday






  • 1




    I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
    – ImNotTheGuy
    yesterday










  • @ImNotTheGuy it is definitely a bit more confusing.
    – user1238097
    yesterday






  • 2




    Non-square matrices don't have a determinant.
    – mathreadler
    yesterday










  • OK - I'll fix it.
    – marty cohen
    yesterday
















So I don't have to the linear equations to solve this wow.
– user1238097
yesterday




So I don't have to the linear equations to solve this wow.
– user1238097
yesterday




1




1




I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
– ImNotTheGuy
yesterday




I take issue with this answer, as it is a bit sloppy; you cannot take the determinant of a $3times 4$ matrix. The approach is nice, but you should clean up your explanation.
– ImNotTheGuy
yesterday












@ImNotTheGuy it is definitely a bit more confusing.
– user1238097
yesterday




@ImNotTheGuy it is definitely a bit more confusing.
– user1238097
yesterday




2




2




Non-square matrices don't have a determinant.
– mathreadler
yesterday




Non-square matrices don't have a determinant.
– mathreadler
yesterday












OK - I'll fix it.
– marty cohen
yesterday




OK - I'll fix it.
– marty cohen
yesterday











1














note: in the original version of the question the answer for part b was subtuly wrong, it should say $a neq pm 2$



I would start by getting rid of x by subtracting one of the cases (I went for the first one) from the other two.



$$ (2y + z)-(y-z) = 3 - 2 $$
$$ (y + (a^2 -5)z) - (y-z) = a - 2 $$



Multiplying out and simplifying.



$$ y + 2z = 1 $$



$$ (a^2 -4)z = a - 2 $$



So how do you solve an equation like that? you would want to divide it through by $(a^2 -4)$ but it is only valid to do that if $(a^2 -4) neq 0$. Some elementary knowlage of quadratics tells us that $(a^2 -4) neq 0$ when $a neq pm 2$. Therefore when $a neq pm 2$ our equation gives a single value for z which in turn gives a single value for y which in turn gives a single value for x.



Ok what about when $a = pm 2$ well since we only have to cases left we can just substitute them in.



$$ 0z = -2 - 2 = -4 $$



$$ 0z = 2 - 2 = 0 $$



The first equation clearly has no soloutions, the second clearly has an infinite soloution set.






share|cite|improve this answer























  • fixed that error.
    – user1238097
    23 hours ago










  • I am still in the intro portion of the course, but is this method only possible if you know determinants?
    – user1238097
    12 hours ago






  • 1




    The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
    – Peter Green
    2 hours ago
















1














note: in the original version of the question the answer for part b was subtuly wrong, it should say $a neq pm 2$



I would start by getting rid of x by subtracting one of the cases (I went for the first one) from the other two.



$$ (2y + z)-(y-z) = 3 - 2 $$
$$ (y + (a^2 -5)z) - (y-z) = a - 2 $$



Multiplying out and simplifying.



$$ y + 2z = 1 $$



$$ (a^2 -4)z = a - 2 $$



So how do you solve an equation like that? you would want to divide it through by $(a^2 -4)$ but it is only valid to do that if $(a^2 -4) neq 0$. Some elementary knowlage of quadratics tells us that $(a^2 -4) neq 0$ when $a neq pm 2$. Therefore when $a neq pm 2$ our equation gives a single value for z which in turn gives a single value for y which in turn gives a single value for x.



Ok what about when $a = pm 2$ well since we only have to cases left we can just substitute them in.



$$ 0z = -2 - 2 = -4 $$



$$ 0z = 2 - 2 = 0 $$



The first equation clearly has no soloutions, the second clearly has an infinite soloution set.






share|cite|improve this answer























  • fixed that error.
    – user1238097
    23 hours ago










  • I am still in the intro portion of the course, but is this method only possible if you know determinants?
    – user1238097
    12 hours ago






  • 1




    The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
    – Peter Green
    2 hours ago














1












1








1






note: in the original version of the question the answer for part b was subtuly wrong, it should say $a neq pm 2$



I would start by getting rid of x by subtracting one of the cases (I went for the first one) from the other two.



$$ (2y + z)-(y-z) = 3 - 2 $$
$$ (y + (a^2 -5)z) - (y-z) = a - 2 $$



Multiplying out and simplifying.



$$ y + 2z = 1 $$



$$ (a^2 -4)z = a - 2 $$



So how do you solve an equation like that? you would want to divide it through by $(a^2 -4)$ but it is only valid to do that if $(a^2 -4) neq 0$. Some elementary knowlage of quadratics tells us that $(a^2 -4) neq 0$ when $a neq pm 2$. Therefore when $a neq pm 2$ our equation gives a single value for z which in turn gives a single value for y which in turn gives a single value for x.



Ok what about when $a = pm 2$ well since we only have to cases left we can just substitute them in.



$$ 0z = -2 - 2 = -4 $$



$$ 0z = 2 - 2 = 0 $$



The first equation clearly has no soloutions, the second clearly has an infinite soloution set.






share|cite|improve this answer














note: in the original version of the question the answer for part b was subtuly wrong, it should say $a neq pm 2$



I would start by getting rid of x by subtracting one of the cases (I went for the first one) from the other two.



$$ (2y + z)-(y-z) = 3 - 2 $$
$$ (y + (a^2 -5)z) - (y-z) = a - 2 $$



Multiplying out and simplifying.



$$ y + 2z = 1 $$



$$ (a^2 -4)z = a - 2 $$



So how do you solve an equation like that? you would want to divide it through by $(a^2 -4)$ but it is only valid to do that if $(a^2 -4) neq 0$. Some elementary knowlage of quadratics tells us that $(a^2 -4) neq 0$ when $a neq pm 2$. Therefore when $a neq pm 2$ our equation gives a single value for z which in turn gives a single value for y which in turn gives a single value for x.



Ok what about when $a = pm 2$ well since we only have to cases left we can just substitute them in.



$$ 0z = -2 - 2 = -4 $$



$$ 0z = 2 - 2 = 0 $$



The first equation clearly has no soloutions, the second clearly has an infinite soloution set.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited 23 hours ago

























answered yesterday









Peter Green

1,1471510




1,1471510












  • fixed that error.
    – user1238097
    23 hours ago










  • I am still in the intro portion of the course, but is this method only possible if you know determinants?
    – user1238097
    12 hours ago






  • 1




    The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
    – Peter Green
    2 hours ago


















  • fixed that error.
    – user1238097
    23 hours ago










  • I am still in the intro portion of the course, but is this method only possible if you know determinants?
    – user1238097
    12 hours ago






  • 1




    The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
    – Peter Green
    2 hours ago
















fixed that error.
– user1238097
23 hours ago




fixed that error.
– user1238097
23 hours ago












I am still in the intro portion of the course, but is this method only possible if you know determinants?
– user1238097
12 hours ago




I am still in the intro portion of the course, but is this method only possible if you know determinants?
– user1238097
12 hours ago




1




1




The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
– Peter Green
2 hours ago




The method I used does not involve calculating or knowing about determinants, It's just the elimination method of solving simultaneous equations (which turned out to be unusually simple in this case, because we didn't have to do any scaling before we could perform elimination of x and because y happened to drop out of the third equation at the same time as x) combined with being mindful of the possibility of division by zero.
– Peter Green
2 hours ago











0














our equations: (a^2 means a * a)



x+y−z=2



x+2y+z=3



x+y+(a^2−5)z=a



general equation form:



a1*x+b1*y+c1*z = d1



a2*x+b2*y+c2*z = d2



a3*x+b3*y+c3*z = d3



matrix A:



a1 b1 c1



a2 b2 c2



a3 b3 c3



matrix B:



d1 b1 c1



d2 b2 c2



d2 b3 c3



matrix C:



a1 d1 c1



a2 d2 c2



a3 d3 c3



matrix D:



a1 b1 d1



a2 b2 d2



a3 b3 d3



x = det(B) / det(A);



y = det(C) / det(A);



z = det(D) / det(A)



matrix A general format:



a11 a12 a13



a21 a22 a23



a31 a32 a33



det(A) = a11*a22*a33 + a12*a23*a31 + a13*a21*32 - a13*a22*a31 - a12*a21*a33 - a11*a23*a32



det(B) = d1*b2*c3 + b1*c2*d3 + c1*d2*b3 - c1*b2*d3 - b1*d2*c3 - d1*c2*b3



det(C) = a1*d2*c3 + d1*c2*a3 + c1*a2*d3 - c1*d2*a3 - d1*a2*c3 - a1*c2*d3



det(D) = a1*b2*d3 + b1*d2*a3+ d1*a2*b3 - d1*b2*a3- b1*a2*d3 - a1*d2*b3



assuming if my math below is correct, we get:



det(A) = a^2 - 4



det(B) = a^2+3a-10



det(C) = a^2-2a



det(D) = a - 2



x = (a^2+3a-10) / (a^2 - 4)



y = (a^2+3a-10) / (a^2 - 4)



z = (a-2)/(a^2 - 4)



If a^2 = 4, then the equation has no solution b/c we can't divide by zero



So, we can't have a = -2 or a = 2



Otherwise, the equation has the unique solution.






share|cite|improve this answer








New contributor




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


















  • For some basic information about writing mathematics at this site see, e.g., here, here, here and here
    – Kemono Chen
    yesterday
















0














our equations: (a^2 means a * a)



x+y−z=2



x+2y+z=3



x+y+(a^2−5)z=a



general equation form:



a1*x+b1*y+c1*z = d1



a2*x+b2*y+c2*z = d2



a3*x+b3*y+c3*z = d3



matrix A:



a1 b1 c1



a2 b2 c2



a3 b3 c3



matrix B:



d1 b1 c1



d2 b2 c2



d2 b3 c3



matrix C:



a1 d1 c1



a2 d2 c2



a3 d3 c3



matrix D:



a1 b1 d1



a2 b2 d2



a3 b3 d3



x = det(B) / det(A);



y = det(C) / det(A);



z = det(D) / det(A)



matrix A general format:



a11 a12 a13



a21 a22 a23



a31 a32 a33



det(A) = a11*a22*a33 + a12*a23*a31 + a13*a21*32 - a13*a22*a31 - a12*a21*a33 - a11*a23*a32



det(B) = d1*b2*c3 + b1*c2*d3 + c1*d2*b3 - c1*b2*d3 - b1*d2*c3 - d1*c2*b3



det(C) = a1*d2*c3 + d1*c2*a3 + c1*a2*d3 - c1*d2*a3 - d1*a2*c3 - a1*c2*d3



det(D) = a1*b2*d3 + b1*d2*a3+ d1*a2*b3 - d1*b2*a3- b1*a2*d3 - a1*d2*b3



assuming if my math below is correct, we get:



det(A) = a^2 - 4



det(B) = a^2+3a-10



det(C) = a^2-2a



det(D) = a - 2



x = (a^2+3a-10) / (a^2 - 4)



y = (a^2+3a-10) / (a^2 - 4)



z = (a-2)/(a^2 - 4)



If a^2 = 4, then the equation has no solution b/c we can't divide by zero



So, we can't have a = -2 or a = 2



Otherwise, the equation has the unique solution.






share|cite|improve this answer








New contributor




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


















  • For some basic information about writing mathematics at this site see, e.g., here, here, here and here
    – Kemono Chen
    yesterday














0












0








0






our equations: (a^2 means a * a)



x+y−z=2



x+2y+z=3



x+y+(a^2−5)z=a



general equation form:



a1*x+b1*y+c1*z = d1



a2*x+b2*y+c2*z = d2



a3*x+b3*y+c3*z = d3



matrix A:



a1 b1 c1



a2 b2 c2



a3 b3 c3



matrix B:



d1 b1 c1



d2 b2 c2



d2 b3 c3



matrix C:



a1 d1 c1



a2 d2 c2



a3 d3 c3



matrix D:



a1 b1 d1



a2 b2 d2



a3 b3 d3



x = det(B) / det(A);



y = det(C) / det(A);



z = det(D) / det(A)



matrix A general format:



a11 a12 a13



a21 a22 a23



a31 a32 a33



det(A) = a11*a22*a33 + a12*a23*a31 + a13*a21*32 - a13*a22*a31 - a12*a21*a33 - a11*a23*a32



det(B) = d1*b2*c3 + b1*c2*d3 + c1*d2*b3 - c1*b2*d3 - b1*d2*c3 - d1*c2*b3



det(C) = a1*d2*c3 + d1*c2*a3 + c1*a2*d3 - c1*d2*a3 - d1*a2*c3 - a1*c2*d3



det(D) = a1*b2*d3 + b1*d2*a3+ d1*a2*b3 - d1*b2*a3- b1*a2*d3 - a1*d2*b3



assuming if my math below is correct, we get:



det(A) = a^2 - 4



det(B) = a^2+3a-10



det(C) = a^2-2a



det(D) = a - 2



x = (a^2+3a-10) / (a^2 - 4)



y = (a^2+3a-10) / (a^2 - 4)



z = (a-2)/(a^2 - 4)



If a^2 = 4, then the equation has no solution b/c we can't divide by zero



So, we can't have a = -2 or a = 2



Otherwise, the equation has the unique solution.






share|cite|improve this answer








New contributor




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









our equations: (a^2 means a * a)



x+y−z=2



x+2y+z=3



x+y+(a^2−5)z=a



general equation form:



a1*x+b1*y+c1*z = d1



a2*x+b2*y+c2*z = d2



a3*x+b3*y+c3*z = d3



matrix A:



a1 b1 c1



a2 b2 c2



a3 b3 c3



matrix B:



d1 b1 c1



d2 b2 c2



d2 b3 c3



matrix C:



a1 d1 c1



a2 d2 c2



a3 d3 c3



matrix D:



a1 b1 d1



a2 b2 d2



a3 b3 d3



x = det(B) / det(A);



y = det(C) / det(A);



z = det(D) / det(A)



matrix A general format:



a11 a12 a13



a21 a22 a23



a31 a32 a33



det(A) = a11*a22*a33 + a12*a23*a31 + a13*a21*32 - a13*a22*a31 - a12*a21*a33 - a11*a23*a32



det(B) = d1*b2*c3 + b1*c2*d3 + c1*d2*b3 - c1*b2*d3 - b1*d2*c3 - d1*c2*b3



det(C) = a1*d2*c3 + d1*c2*a3 + c1*a2*d3 - c1*d2*a3 - d1*a2*c3 - a1*c2*d3



det(D) = a1*b2*d3 + b1*d2*a3+ d1*a2*b3 - d1*b2*a3- b1*a2*d3 - a1*d2*b3



assuming if my math below is correct, we get:



det(A) = a^2 - 4



det(B) = a^2+3a-10



det(C) = a^2-2a



det(D) = a - 2



x = (a^2+3a-10) / (a^2 - 4)



y = (a^2+3a-10) / (a^2 - 4)



z = (a-2)/(a^2 - 4)



If a^2 = 4, then the equation has no solution b/c we can't divide by zero



So, we can't have a = -2 or a = 2



Otherwise, the equation has the unique solution.







share|cite|improve this answer








New contributor




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









share|cite|improve this answer



share|cite|improve this answer






New contributor




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









answered yesterday









user629345

1




1




New contributor




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





New contributor





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






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












  • For some basic information about writing mathematics at this site see, e.g., here, here, here and here
    – Kemono Chen
    yesterday


















  • For some basic information about writing mathematics at this site see, e.g., here, here, here and here
    – Kemono Chen
    yesterday
















For some basic information about writing mathematics at this site see, e.g., here, here, here and here
– Kemono Chen
yesterday




For some basic information about writing mathematics at this site see, e.g., here, here, here and here
– Kemono Chen
yesterday


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





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


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3052338%2fsolve-linear-equation%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