How do I solve this? Find determinant of a matrix
$begingroup$
I have a matrix with n rows and n columns: $A=(a_{j,k})$ is defined:
$$(a_{j,k})=begin{cases}
begin{split}
2j (jneq k) \ 0(j=k)
end{split} end{cases}$$
And I need to find $det(A)$. I think that I need to use gauss elimination but I have no idea how to do this here. can anyone help please? thanks.
linear-algebra determinant
$endgroup$
add a comment |
$begingroup$
I have a matrix with n rows and n columns: $A=(a_{j,k})$ is defined:
$$(a_{j,k})=begin{cases}
begin{split}
2j (jneq k) \ 0(j=k)
end{split} end{cases}$$
And I need to find $det(A)$. I think that I need to use gauss elimination but I have no idea how to do this here. can anyone help please? thanks.
linear-algebra determinant
$endgroup$
1
$begingroup$
You may start from factoring out $2j$ from each column in the determinant.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:05
$begingroup$
@A.Γ. sorry, I did not write the question well. I needed to write a(j,k) insted of a(k,j) but this is still the same, so now i need to factor 2j from each row. I have done that, and i get a messy matrix with much 1's, i understood that on the diagnole there are 0's and the other are 1's, but how can i calculate the determinant of that matrix?
$endgroup$
– Omer
Dec 23 '18 at 17:21
$begingroup$
If you add the identity matrix to the result, you will get a very nice matrix.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:22
$begingroup$
@A.Γ. Yes, I see, I will get a matrix of 1's, and its determinant of this is 0. but, there is no formula for det(A+B) as an expression of detA and detB, nothing that I was tought at least... so how does that help me?
$endgroup$
– Omer
Dec 23 '18 at 17:29
add a comment |
$begingroup$
I have a matrix with n rows and n columns: $A=(a_{j,k})$ is defined:
$$(a_{j,k})=begin{cases}
begin{split}
2j (jneq k) \ 0(j=k)
end{split} end{cases}$$
And I need to find $det(A)$. I think that I need to use gauss elimination but I have no idea how to do this here. can anyone help please? thanks.
linear-algebra determinant
$endgroup$
I have a matrix with n rows and n columns: $A=(a_{j,k})$ is defined:
$$(a_{j,k})=begin{cases}
begin{split}
2j (jneq k) \ 0(j=k)
end{split} end{cases}$$
And I need to find $det(A)$. I think that I need to use gauss elimination but I have no idea how to do this here. can anyone help please? thanks.
linear-algebra determinant
linear-algebra determinant
edited Dec 23 '18 at 17:21
Omer
asked Dec 23 '18 at 16:37
OmerOmer
3969
3969
1
$begingroup$
You may start from factoring out $2j$ from each column in the determinant.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:05
$begingroup$
@A.Γ. sorry, I did not write the question well. I needed to write a(j,k) insted of a(k,j) but this is still the same, so now i need to factor 2j from each row. I have done that, and i get a messy matrix with much 1's, i understood that on the diagnole there are 0's and the other are 1's, but how can i calculate the determinant of that matrix?
$endgroup$
– Omer
Dec 23 '18 at 17:21
$begingroup$
If you add the identity matrix to the result, you will get a very nice matrix.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:22
$begingroup$
@A.Γ. Yes, I see, I will get a matrix of 1's, and its determinant of this is 0. but, there is no formula for det(A+B) as an expression of detA and detB, nothing that I was tought at least... so how does that help me?
$endgroup$
– Omer
Dec 23 '18 at 17:29
add a comment |
1
$begingroup$
You may start from factoring out $2j$ from each column in the determinant.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:05
$begingroup$
@A.Γ. sorry, I did not write the question well. I needed to write a(j,k) insted of a(k,j) but this is still the same, so now i need to factor 2j from each row. I have done that, and i get a messy matrix with much 1's, i understood that on the diagnole there are 0's and the other are 1's, but how can i calculate the determinant of that matrix?
$endgroup$
– Omer
Dec 23 '18 at 17:21
$begingroup$
If you add the identity matrix to the result, you will get a very nice matrix.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:22
$begingroup$
@A.Γ. Yes, I see, I will get a matrix of 1's, and its determinant of this is 0. but, there is no formula for det(A+B) as an expression of detA and detB, nothing that I was tought at least... so how does that help me?
$endgroup$
– Omer
Dec 23 '18 at 17:29
1
1
$begingroup$
You may start from factoring out $2j$ from each column in the determinant.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:05
$begingroup$
You may start from factoring out $2j$ from each column in the determinant.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:05
$begingroup$
@A.Γ. sorry, I did not write the question well. I needed to write a(j,k) insted of a(k,j) but this is still the same, so now i need to factor 2j from each row. I have done that, and i get a messy matrix with much 1's, i understood that on the diagnole there are 0's and the other are 1's, but how can i calculate the determinant of that matrix?
$endgroup$
– Omer
Dec 23 '18 at 17:21
$begingroup$
@A.Γ. sorry, I did not write the question well. I needed to write a(j,k) insted of a(k,j) but this is still the same, so now i need to factor 2j from each row. I have done that, and i get a messy matrix with much 1's, i understood that on the diagnole there are 0's and the other are 1's, but how can i calculate the determinant of that matrix?
$endgroup$
– Omer
Dec 23 '18 at 17:21
$begingroup$
If you add the identity matrix to the result, you will get a very nice matrix.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:22
$begingroup$
If you add the identity matrix to the result, you will get a very nice matrix.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:22
$begingroup$
@A.Γ. Yes, I see, I will get a matrix of 1's, and its determinant of this is 0. but, there is no formula for det(A+B) as an expression of detA and detB, nothing that I was tought at least... so how does that help me?
$endgroup$
– Omer
Dec 23 '18 at 17:29
$begingroup$
@A.Γ. Yes, I see, I will get a matrix of 1's, and its determinant of this is 0. but, there is no formula for det(A+B) as an expression of detA and detB, nothing that I was tought at least... so how does that help me?
$endgroup$
– Omer
Dec 23 '18 at 17:29
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
After factoring out $2j$ you will get the matrix
$$
begin{bmatrix}1\1\vdots\1end{bmatrix}begin{bmatrix}1 &1&ldots&1end{bmatrix}-I=ee^T-I.
$$
Now use the Sylvester determinant formula
$$
det(ee^T-I)=(-1)^ndet(I-ee^T)=(-1)^n(1-e^Te)=(-1)^n(1-n).
$$
$endgroup$
add a comment |
$begingroup$
Taking out the $2j$ factors as suggested leaves $E-I$, with $I$ the identity matrix and $E$ all $1s$. If $a$ has shape $ntimes n$ the eigenvalues of $E$ are $0,,n$, of respective multiplicity $n-1,,1$. Then $$det (E-I)=(-1)^{n-1}(n-1),,det a=-n!(n-1)(-2)^n.$$
$endgroup$
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
add a comment |
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
});
}
});
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%2f3050471%2fhow-do-i-solve-this-find-determinant-of-a-matrix%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$
After factoring out $2j$ you will get the matrix
$$
begin{bmatrix}1\1\vdots\1end{bmatrix}begin{bmatrix}1 &1&ldots&1end{bmatrix}-I=ee^T-I.
$$
Now use the Sylvester determinant formula
$$
det(ee^T-I)=(-1)^ndet(I-ee^T)=(-1)^n(1-e^Te)=(-1)^n(1-n).
$$
$endgroup$
add a comment |
$begingroup$
After factoring out $2j$ you will get the matrix
$$
begin{bmatrix}1\1\vdots\1end{bmatrix}begin{bmatrix}1 &1&ldots&1end{bmatrix}-I=ee^T-I.
$$
Now use the Sylvester determinant formula
$$
det(ee^T-I)=(-1)^ndet(I-ee^T)=(-1)^n(1-e^Te)=(-1)^n(1-n).
$$
$endgroup$
add a comment |
$begingroup$
After factoring out $2j$ you will get the matrix
$$
begin{bmatrix}1\1\vdots\1end{bmatrix}begin{bmatrix}1 &1&ldots&1end{bmatrix}-I=ee^T-I.
$$
Now use the Sylvester determinant formula
$$
det(ee^T-I)=(-1)^ndet(I-ee^T)=(-1)^n(1-e^Te)=(-1)^n(1-n).
$$
$endgroup$
After factoring out $2j$ you will get the matrix
$$
begin{bmatrix}1\1\vdots\1end{bmatrix}begin{bmatrix}1 &1&ldots&1end{bmatrix}-I=ee^T-I.
$$
Now use the Sylvester determinant formula
$$
det(ee^T-I)=(-1)^ndet(I-ee^T)=(-1)^n(1-e^Te)=(-1)^n(1-n).
$$
edited Dec 23 '18 at 17:53
answered Dec 23 '18 at 17:46
A.Γ.A.Γ.
22.8k32656
22.8k32656
add a comment |
add a comment |
$begingroup$
Taking out the $2j$ factors as suggested leaves $E-I$, with $I$ the identity matrix and $E$ all $1s$. If $a$ has shape $ntimes n$ the eigenvalues of $E$ are $0,,n$, of respective multiplicity $n-1,,1$. Then $$det (E-I)=(-1)^{n-1}(n-1),,det a=-n!(n-1)(-2)^n.$$
$endgroup$
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
add a comment |
$begingroup$
Taking out the $2j$ factors as suggested leaves $E-I$, with $I$ the identity matrix and $E$ all $1s$. If $a$ has shape $ntimes n$ the eigenvalues of $E$ are $0,,n$, of respective multiplicity $n-1,,1$. Then $$det (E-I)=(-1)^{n-1}(n-1),,det a=-n!(n-1)(-2)^n.$$
$endgroup$
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
add a comment |
$begingroup$
Taking out the $2j$ factors as suggested leaves $E-I$, with $I$ the identity matrix and $E$ all $1s$. If $a$ has shape $ntimes n$ the eigenvalues of $E$ are $0,,n$, of respective multiplicity $n-1,,1$. Then $$det (E-I)=(-1)^{n-1}(n-1),,det a=-n!(n-1)(-2)^n.$$
$endgroup$
Taking out the $2j$ factors as suggested leaves $E-I$, with $I$ the identity matrix and $E$ all $1s$. If $a$ has shape $ntimes n$ the eigenvalues of $E$ are $0,,n$, of respective multiplicity $n-1,,1$. Then $$det (E-I)=(-1)^{n-1}(n-1),,det a=-n!(n-1)(-2)^n.$$
answered Dec 23 '18 at 17:33
J.G.J.G.
29.4k22846
29.4k22846
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
add a comment |
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
sorry for keep asking stupid questions, but i still did not understand the last part of det(E-I). Is there a way to show this using gauss elimination
$endgroup$
– Omer
Dec 23 '18 at 17:42
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
$begingroup$
@Omer Which part is unclear: how I get the eigenvalues' multiplicities, how I get the determinant from there, or the scaling to compute $det a$? If it's the first part, the trick is that $Ev=0$ only places one constraint on an eigenvector, so the eigenspace has dimension $n-1$, while any $lambda=n$ eigenvector is parallel to the all-$1$s vector.
$endgroup$
– J.G.
Dec 23 '18 at 17:45
add a comment |
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%2f3050471%2fhow-do-i-solve-this-find-determinant-of-a-matrix%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$
You may start from factoring out $2j$ from each column in the determinant.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:05
$begingroup$
@A.Γ. sorry, I did not write the question well. I needed to write a(j,k) insted of a(k,j) but this is still the same, so now i need to factor 2j from each row. I have done that, and i get a messy matrix with much 1's, i understood that on the diagnole there are 0's and the other are 1's, but how can i calculate the determinant of that matrix?
$endgroup$
– Omer
Dec 23 '18 at 17:21
$begingroup$
If you add the identity matrix to the result, you will get a very nice matrix.
$endgroup$
– A.Γ.
Dec 23 '18 at 17:22
$begingroup$
@A.Γ. Yes, I see, I will get a matrix of 1's, and its determinant of this is 0. but, there is no formula for det(A+B) as an expression of detA and detB, nothing that I was tought at least... so how does that help me?
$endgroup$
– Omer
Dec 23 '18 at 17:29