If $A$ is an $n$ by $n$ integer matrix such that $A^3 = I$, then $operatorname{tr}(A) = nmod3$












7












$begingroup$


Attempt:



We work with $A'$, the matrix with entries $a_{ij}mod 3$. Note that cubing $A'$ still gives $I$ as $I$ is unchanged by considering remainders $mod$ $3$. For the rest of the proof, we will not differentiate between $A$ and $A'$. The minimal polynomial of $A$ divides $x^{3} - 1$ so each eigenvalue $lambda$ of $A$ satisfies $lambda^{3} = 1$. The trace of $A^3$ is clearly just $n$ as $A^3 = I$.



Next, note that for integers $a_1, ...., a_n$ we have that $(a_1 +... + a_n)^k = a_1^{k} + a_2^{k} ... + a_n^{k}mod k$.



Now this is where I am stuck. I would like to say that this implies $operatorname{tr}(A)^3 =operatorname{tr}(A^3)$, but why is it that $operatorname{tr}(A^3)$ is the sum of the cubed diagonal entries of $A$? I can only say that $operatorname{tr}(A^3)$ is the sum of the cubed eigenvalues of $A$, but these eigenvalues need not be integers so the argument fails.



If I am able to prove this, then the result follows since I have $a^3 = amod 3$ for all $a$ in {$0,1,2$}.



Edit: I can confirm that my proof does work since $operatorname{tr}(A)^p = operatorname{tr}(A^p)mod p$ for prime $p$ as said here https://rjlipton.wordpress.com/2009/08/07/fermats-little-theorem-for-matrices/



But I can't find the proof for this statement itself.










share|cite|improve this question











$endgroup$












  • $begingroup$
    It might be easier to use the fact that A$^3$ - I = 0 and get the Jordan canonical form of A to see the types of ways the trace of A can be computed.
    $endgroup$
    – Joel Pereira
    Dec 17 '18 at 21:25










  • $begingroup$
    I'd like a solution where I do not have to mess around with the roots of unity; my instructor said all I need to know about the eigenvalues is that they give $1$ when cubed & nothing else. If I do compute the roots of unity & analyze what the trace can be, things become much easier since $A$ is in fact diagonalizable.
    $endgroup$
    – Saad
    Dec 17 '18 at 21:27












  • $begingroup$
    @qbert I don't think it matters if we consider the original matrix as a matrix with complex coefficients & then diagonalize. The trace is the same as for the diagonal matrix, so we essentially have a diagonal matrix $D$ such that $D^3 = I$ and each entry of $D$ is a 3rd root of unity. We get a total trace of $n-3k$ where $k$ is the number of entries which are equal to $w$, where $w$ is one of the non-trivial roots of unity, so the trace is $n$ $mod$ $3$
    $endgroup$
    – Saad
    Dec 17 '18 at 21:45






  • 1




    $begingroup$
    @Saad: You can use a Newton identity (see en.wikipedia.org/wiki/Newton%27s_identities, Expressing power sums in terms of elementary symmetric polynomials) to write $operatorname{tr}(A^3) = operatorname{tr}(A)^3 - 3e_2 e_1 + 3e_3$ where the $e_i$ are (up to sign) the coefficients in the characteristic polynomial of $A$ so they are integer. This presumably generalizes to arbitrary $p$ if you can show the coefficients are divisible by $p$.
    $endgroup$
    – levap
    Dec 18 '18 at 0:48


















7












$begingroup$


Attempt:



We work with $A'$, the matrix with entries $a_{ij}mod 3$. Note that cubing $A'$ still gives $I$ as $I$ is unchanged by considering remainders $mod$ $3$. For the rest of the proof, we will not differentiate between $A$ and $A'$. The minimal polynomial of $A$ divides $x^{3} - 1$ so each eigenvalue $lambda$ of $A$ satisfies $lambda^{3} = 1$. The trace of $A^3$ is clearly just $n$ as $A^3 = I$.



Next, note that for integers $a_1, ...., a_n$ we have that $(a_1 +... + a_n)^k = a_1^{k} + a_2^{k} ... + a_n^{k}mod k$.



Now this is where I am stuck. I would like to say that this implies $operatorname{tr}(A)^3 =operatorname{tr}(A^3)$, but why is it that $operatorname{tr}(A^3)$ is the sum of the cubed diagonal entries of $A$? I can only say that $operatorname{tr}(A^3)$ is the sum of the cubed eigenvalues of $A$, but these eigenvalues need not be integers so the argument fails.



If I am able to prove this, then the result follows since I have $a^3 = amod 3$ for all $a$ in {$0,1,2$}.



Edit: I can confirm that my proof does work since $operatorname{tr}(A)^p = operatorname{tr}(A^p)mod p$ for prime $p$ as said here https://rjlipton.wordpress.com/2009/08/07/fermats-little-theorem-for-matrices/



But I can't find the proof for this statement itself.










share|cite|improve this question











$endgroup$












  • $begingroup$
    It might be easier to use the fact that A$^3$ - I = 0 and get the Jordan canonical form of A to see the types of ways the trace of A can be computed.
    $endgroup$
    – Joel Pereira
    Dec 17 '18 at 21:25










  • $begingroup$
    I'd like a solution where I do not have to mess around with the roots of unity; my instructor said all I need to know about the eigenvalues is that they give $1$ when cubed & nothing else. If I do compute the roots of unity & analyze what the trace can be, things become much easier since $A$ is in fact diagonalizable.
    $endgroup$
    – Saad
    Dec 17 '18 at 21:27












  • $begingroup$
    @qbert I don't think it matters if we consider the original matrix as a matrix with complex coefficients & then diagonalize. The trace is the same as for the diagonal matrix, so we essentially have a diagonal matrix $D$ such that $D^3 = I$ and each entry of $D$ is a 3rd root of unity. We get a total trace of $n-3k$ where $k$ is the number of entries which are equal to $w$, where $w$ is one of the non-trivial roots of unity, so the trace is $n$ $mod$ $3$
    $endgroup$
    – Saad
    Dec 17 '18 at 21:45






  • 1




    $begingroup$
    @Saad: You can use a Newton identity (see en.wikipedia.org/wiki/Newton%27s_identities, Expressing power sums in terms of elementary symmetric polynomials) to write $operatorname{tr}(A^3) = operatorname{tr}(A)^3 - 3e_2 e_1 + 3e_3$ where the $e_i$ are (up to sign) the coefficients in the characteristic polynomial of $A$ so they are integer. This presumably generalizes to arbitrary $p$ if you can show the coefficients are divisible by $p$.
    $endgroup$
    – levap
    Dec 18 '18 at 0:48
















7












7








7


2



$begingroup$


Attempt:



We work with $A'$, the matrix with entries $a_{ij}mod 3$. Note that cubing $A'$ still gives $I$ as $I$ is unchanged by considering remainders $mod$ $3$. For the rest of the proof, we will not differentiate between $A$ and $A'$. The minimal polynomial of $A$ divides $x^{3} - 1$ so each eigenvalue $lambda$ of $A$ satisfies $lambda^{3} = 1$. The trace of $A^3$ is clearly just $n$ as $A^3 = I$.



Next, note that for integers $a_1, ...., a_n$ we have that $(a_1 +... + a_n)^k = a_1^{k} + a_2^{k} ... + a_n^{k}mod k$.



Now this is where I am stuck. I would like to say that this implies $operatorname{tr}(A)^3 =operatorname{tr}(A^3)$, but why is it that $operatorname{tr}(A^3)$ is the sum of the cubed diagonal entries of $A$? I can only say that $operatorname{tr}(A^3)$ is the sum of the cubed eigenvalues of $A$, but these eigenvalues need not be integers so the argument fails.



If I am able to prove this, then the result follows since I have $a^3 = amod 3$ for all $a$ in {$0,1,2$}.



Edit: I can confirm that my proof does work since $operatorname{tr}(A)^p = operatorname{tr}(A^p)mod p$ for prime $p$ as said here https://rjlipton.wordpress.com/2009/08/07/fermats-little-theorem-for-matrices/



But I can't find the proof for this statement itself.










share|cite|improve this question











$endgroup$




Attempt:



We work with $A'$, the matrix with entries $a_{ij}mod 3$. Note that cubing $A'$ still gives $I$ as $I$ is unchanged by considering remainders $mod$ $3$. For the rest of the proof, we will not differentiate between $A$ and $A'$. The minimal polynomial of $A$ divides $x^{3} - 1$ so each eigenvalue $lambda$ of $A$ satisfies $lambda^{3} = 1$. The trace of $A^3$ is clearly just $n$ as $A^3 = I$.



Next, note that for integers $a_1, ...., a_n$ we have that $(a_1 +... + a_n)^k = a_1^{k} + a_2^{k} ... + a_n^{k}mod k$.



Now this is where I am stuck. I would like to say that this implies $operatorname{tr}(A)^3 =operatorname{tr}(A^3)$, but why is it that $operatorname{tr}(A^3)$ is the sum of the cubed diagonal entries of $A$? I can only say that $operatorname{tr}(A^3)$ is the sum of the cubed eigenvalues of $A$, but these eigenvalues need not be integers so the argument fails.



If I am able to prove this, then the result follows since I have $a^3 = amod 3$ for all $a$ in {$0,1,2$}.



Edit: I can confirm that my proof does work since $operatorname{tr}(A)^p = operatorname{tr}(A^p)mod p$ for prime $p$ as said here https://rjlipton.wordpress.com/2009/08/07/fermats-little-theorem-for-matrices/



But I can't find the proof for this statement itself.







linear-algebra eigenvalues-eigenvectors modular-arithmetic trace minimal-polynomials






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 17 '18 at 22:52









Davide Giraudo

127k17154268




127k17154268










asked Dec 17 '18 at 21:22









Saad Saad

585311




585311












  • $begingroup$
    It might be easier to use the fact that A$^3$ - I = 0 and get the Jordan canonical form of A to see the types of ways the trace of A can be computed.
    $endgroup$
    – Joel Pereira
    Dec 17 '18 at 21:25










  • $begingroup$
    I'd like a solution where I do not have to mess around with the roots of unity; my instructor said all I need to know about the eigenvalues is that they give $1$ when cubed & nothing else. If I do compute the roots of unity & analyze what the trace can be, things become much easier since $A$ is in fact diagonalizable.
    $endgroup$
    – Saad
    Dec 17 '18 at 21:27












  • $begingroup$
    @qbert I don't think it matters if we consider the original matrix as a matrix with complex coefficients & then diagonalize. The trace is the same as for the diagonal matrix, so we essentially have a diagonal matrix $D$ such that $D^3 = I$ and each entry of $D$ is a 3rd root of unity. We get a total trace of $n-3k$ where $k$ is the number of entries which are equal to $w$, where $w$ is one of the non-trivial roots of unity, so the trace is $n$ $mod$ $3$
    $endgroup$
    – Saad
    Dec 17 '18 at 21:45






  • 1




    $begingroup$
    @Saad: You can use a Newton identity (see en.wikipedia.org/wiki/Newton%27s_identities, Expressing power sums in terms of elementary symmetric polynomials) to write $operatorname{tr}(A^3) = operatorname{tr}(A)^3 - 3e_2 e_1 + 3e_3$ where the $e_i$ are (up to sign) the coefficients in the characteristic polynomial of $A$ so they are integer. This presumably generalizes to arbitrary $p$ if you can show the coefficients are divisible by $p$.
    $endgroup$
    – levap
    Dec 18 '18 at 0:48




















  • $begingroup$
    It might be easier to use the fact that A$^3$ - I = 0 and get the Jordan canonical form of A to see the types of ways the trace of A can be computed.
    $endgroup$
    – Joel Pereira
    Dec 17 '18 at 21:25










  • $begingroup$
    I'd like a solution where I do not have to mess around with the roots of unity; my instructor said all I need to know about the eigenvalues is that they give $1$ when cubed & nothing else. If I do compute the roots of unity & analyze what the trace can be, things become much easier since $A$ is in fact diagonalizable.
    $endgroup$
    – Saad
    Dec 17 '18 at 21:27












  • $begingroup$
    @qbert I don't think it matters if we consider the original matrix as a matrix with complex coefficients & then diagonalize. The trace is the same as for the diagonal matrix, so we essentially have a diagonal matrix $D$ such that $D^3 = I$ and each entry of $D$ is a 3rd root of unity. We get a total trace of $n-3k$ where $k$ is the number of entries which are equal to $w$, where $w$ is one of the non-trivial roots of unity, so the trace is $n$ $mod$ $3$
    $endgroup$
    – Saad
    Dec 17 '18 at 21:45






  • 1




    $begingroup$
    @Saad: You can use a Newton identity (see en.wikipedia.org/wiki/Newton%27s_identities, Expressing power sums in terms of elementary symmetric polynomials) to write $operatorname{tr}(A^3) = operatorname{tr}(A)^3 - 3e_2 e_1 + 3e_3$ where the $e_i$ are (up to sign) the coefficients in the characteristic polynomial of $A$ so they are integer. This presumably generalizes to arbitrary $p$ if you can show the coefficients are divisible by $p$.
    $endgroup$
    – levap
    Dec 18 '18 at 0:48


















$begingroup$
It might be easier to use the fact that A$^3$ - I = 0 and get the Jordan canonical form of A to see the types of ways the trace of A can be computed.
$endgroup$
– Joel Pereira
Dec 17 '18 at 21:25




$begingroup$
It might be easier to use the fact that A$^3$ - I = 0 and get the Jordan canonical form of A to see the types of ways the trace of A can be computed.
$endgroup$
– Joel Pereira
Dec 17 '18 at 21:25












$begingroup$
I'd like a solution where I do not have to mess around with the roots of unity; my instructor said all I need to know about the eigenvalues is that they give $1$ when cubed & nothing else. If I do compute the roots of unity & analyze what the trace can be, things become much easier since $A$ is in fact diagonalizable.
$endgroup$
– Saad
Dec 17 '18 at 21:27






$begingroup$
I'd like a solution where I do not have to mess around with the roots of unity; my instructor said all I need to know about the eigenvalues is that they give $1$ when cubed & nothing else. If I do compute the roots of unity & analyze what the trace can be, things become much easier since $A$ is in fact diagonalizable.
$endgroup$
– Saad
Dec 17 '18 at 21:27














$begingroup$
@qbert I don't think it matters if we consider the original matrix as a matrix with complex coefficients & then diagonalize. The trace is the same as for the diagonal matrix, so we essentially have a diagonal matrix $D$ such that $D^3 = I$ and each entry of $D$ is a 3rd root of unity. We get a total trace of $n-3k$ where $k$ is the number of entries which are equal to $w$, where $w$ is one of the non-trivial roots of unity, so the trace is $n$ $mod$ $3$
$endgroup$
– Saad
Dec 17 '18 at 21:45




$begingroup$
@qbert I don't think it matters if we consider the original matrix as a matrix with complex coefficients & then diagonalize. The trace is the same as for the diagonal matrix, so we essentially have a diagonal matrix $D$ such that $D^3 = I$ and each entry of $D$ is a 3rd root of unity. We get a total trace of $n-3k$ where $k$ is the number of entries which are equal to $w$, where $w$ is one of the non-trivial roots of unity, so the trace is $n$ $mod$ $3$
$endgroup$
– Saad
Dec 17 '18 at 21:45




1




1




$begingroup$
@Saad: You can use a Newton identity (see en.wikipedia.org/wiki/Newton%27s_identities, Expressing power sums in terms of elementary symmetric polynomials) to write $operatorname{tr}(A^3) = operatorname{tr}(A)^3 - 3e_2 e_1 + 3e_3$ where the $e_i$ are (up to sign) the coefficients in the characteristic polynomial of $A$ so they are integer. This presumably generalizes to arbitrary $p$ if you can show the coefficients are divisible by $p$.
$endgroup$
– levap
Dec 18 '18 at 0:48






$begingroup$
@Saad: You can use a Newton identity (see en.wikipedia.org/wiki/Newton%27s_identities, Expressing power sums in terms of elementary symmetric polynomials) to write $operatorname{tr}(A^3) = operatorname{tr}(A)^3 - 3e_2 e_1 + 3e_3$ where the $e_i$ are (up to sign) the coefficients in the characteristic polynomial of $A$ so they are integer. This presumably generalizes to arbitrary $p$ if you can show the coefficients are divisible by $p$.
$endgroup$
– levap
Dec 18 '18 at 0:48












1 Answer
1






active

oldest

votes


















4












$begingroup$

Here's one solution, although I'm not sure if it's the one your instructor had in mind.



We know the minimal polynomial of $A$ must divide $x^3 - 1$. That means the irreducible factors of the characteristic polynomial are $x-1$ and $x^2+x+1$. Therefore we know that the characteristic polynomial $p$ of $A$ must be of the form
$$p(x) = (x-1)^a(x^2+x+1)^b,$$
where $a$ and $b$ are integers such that $a+2b = n$. The trace of $A$ is the negative coefficient of $x^{n-1}$. But we have
$$(x-1)^a = x^a - ax^{a-1} + O(x^{a-2}),$$
and
$$(x^2+x+1)^b = x^{2b} + bx^{2b-1} + O(x^{2b-2}),$$
and therefore we have
$$p(x) = x^n + (b-a)x^{n-1} + O(x^{n-2}).$$
It follows that the trace of $A$ is given by
$$mathrm{tr}(A) = a-b.$$
This is equivalent modulo $3$ to $a+2b = n$, as required.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
    $endgroup$
    – Saad
    Dec 17 '18 at 22:27






  • 1




    $begingroup$
    If that's the case, you should probably ask another question for the trace property.
    $endgroup$
    – EuYu
    Dec 17 '18 at 23:32










  • $begingroup$
    Ill do just that. Hopefully it doesn't get marked a duplicate.
    $endgroup$
    – Saad
    Dec 18 '18 at 2:02











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%2f3044456%2fif-a-is-an-n-by-n-integer-matrix-such-that-a3-i-then-operatorname%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4












$begingroup$

Here's one solution, although I'm not sure if it's the one your instructor had in mind.



We know the minimal polynomial of $A$ must divide $x^3 - 1$. That means the irreducible factors of the characteristic polynomial are $x-1$ and $x^2+x+1$. Therefore we know that the characteristic polynomial $p$ of $A$ must be of the form
$$p(x) = (x-1)^a(x^2+x+1)^b,$$
where $a$ and $b$ are integers such that $a+2b = n$. The trace of $A$ is the negative coefficient of $x^{n-1}$. But we have
$$(x-1)^a = x^a - ax^{a-1} + O(x^{a-2}),$$
and
$$(x^2+x+1)^b = x^{2b} + bx^{2b-1} + O(x^{2b-2}),$$
and therefore we have
$$p(x) = x^n + (b-a)x^{n-1} + O(x^{n-2}).$$
It follows that the trace of $A$ is given by
$$mathrm{tr}(A) = a-b.$$
This is equivalent modulo $3$ to $a+2b = n$, as required.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
    $endgroup$
    – Saad
    Dec 17 '18 at 22:27






  • 1




    $begingroup$
    If that's the case, you should probably ask another question for the trace property.
    $endgroup$
    – EuYu
    Dec 17 '18 at 23:32










  • $begingroup$
    Ill do just that. Hopefully it doesn't get marked a duplicate.
    $endgroup$
    – Saad
    Dec 18 '18 at 2:02
















4












$begingroup$

Here's one solution, although I'm not sure if it's the one your instructor had in mind.



We know the minimal polynomial of $A$ must divide $x^3 - 1$. That means the irreducible factors of the characteristic polynomial are $x-1$ and $x^2+x+1$. Therefore we know that the characteristic polynomial $p$ of $A$ must be of the form
$$p(x) = (x-1)^a(x^2+x+1)^b,$$
where $a$ and $b$ are integers such that $a+2b = n$. The trace of $A$ is the negative coefficient of $x^{n-1}$. But we have
$$(x-1)^a = x^a - ax^{a-1} + O(x^{a-2}),$$
and
$$(x^2+x+1)^b = x^{2b} + bx^{2b-1} + O(x^{2b-2}),$$
and therefore we have
$$p(x) = x^n + (b-a)x^{n-1} + O(x^{n-2}).$$
It follows that the trace of $A$ is given by
$$mathrm{tr}(A) = a-b.$$
This is equivalent modulo $3$ to $a+2b = n$, as required.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
    $endgroup$
    – Saad
    Dec 17 '18 at 22:27






  • 1




    $begingroup$
    If that's the case, you should probably ask another question for the trace property.
    $endgroup$
    – EuYu
    Dec 17 '18 at 23:32










  • $begingroup$
    Ill do just that. Hopefully it doesn't get marked a duplicate.
    $endgroup$
    – Saad
    Dec 18 '18 at 2:02














4












4








4





$begingroup$

Here's one solution, although I'm not sure if it's the one your instructor had in mind.



We know the minimal polynomial of $A$ must divide $x^3 - 1$. That means the irreducible factors of the characteristic polynomial are $x-1$ and $x^2+x+1$. Therefore we know that the characteristic polynomial $p$ of $A$ must be of the form
$$p(x) = (x-1)^a(x^2+x+1)^b,$$
where $a$ and $b$ are integers such that $a+2b = n$. The trace of $A$ is the negative coefficient of $x^{n-1}$. But we have
$$(x-1)^a = x^a - ax^{a-1} + O(x^{a-2}),$$
and
$$(x^2+x+1)^b = x^{2b} + bx^{2b-1} + O(x^{2b-2}),$$
and therefore we have
$$p(x) = x^n + (b-a)x^{n-1} + O(x^{n-2}).$$
It follows that the trace of $A$ is given by
$$mathrm{tr}(A) = a-b.$$
This is equivalent modulo $3$ to $a+2b = n$, as required.






share|cite|improve this answer









$endgroup$



Here's one solution, although I'm not sure if it's the one your instructor had in mind.



We know the minimal polynomial of $A$ must divide $x^3 - 1$. That means the irreducible factors of the characteristic polynomial are $x-1$ and $x^2+x+1$. Therefore we know that the characteristic polynomial $p$ of $A$ must be of the form
$$p(x) = (x-1)^a(x^2+x+1)^b,$$
where $a$ and $b$ are integers such that $a+2b = n$. The trace of $A$ is the negative coefficient of $x^{n-1}$. But we have
$$(x-1)^a = x^a - ax^{a-1} + O(x^{a-2}),$$
and
$$(x^2+x+1)^b = x^{2b} + bx^{2b-1} + O(x^{2b-2}),$$
and therefore we have
$$p(x) = x^n + (b-a)x^{n-1} + O(x^{n-2}).$$
It follows that the trace of $A$ is given by
$$mathrm{tr}(A) = a-b.$$
This is equivalent modulo $3$ to $a+2b = n$, as required.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 17 '18 at 22:06









EuYuEuYu

30.7k754102




30.7k754102












  • $begingroup$
    That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
    $endgroup$
    – Saad
    Dec 17 '18 at 22:27






  • 1




    $begingroup$
    If that's the case, you should probably ask another question for the trace property.
    $endgroup$
    – EuYu
    Dec 17 '18 at 23:32










  • $begingroup$
    Ill do just that. Hopefully it doesn't get marked a duplicate.
    $endgroup$
    – Saad
    Dec 18 '18 at 2:02


















  • $begingroup$
    That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
    $endgroup$
    – Saad
    Dec 17 '18 at 22:27






  • 1




    $begingroup$
    If that's the case, you should probably ask another question for the trace property.
    $endgroup$
    – EuYu
    Dec 17 '18 at 23:32










  • $begingroup$
    Ill do just that. Hopefully it doesn't get marked a duplicate.
    $endgroup$
    – Saad
    Dec 18 '18 at 2:02
















$begingroup$
That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
$endgroup$
– Saad
Dec 17 '18 at 22:27




$begingroup$
That's a cool way to do it which avoids messing around with the complex roots themselves, but one still has to factor $x^3 - 1$. I'm looking for (essentially) a proof that the trace of a matrix to a prime power is the trace to that prime power working mod p.
$endgroup$
– Saad
Dec 17 '18 at 22:27




1




1




$begingroup$
If that's the case, you should probably ask another question for the trace property.
$endgroup$
– EuYu
Dec 17 '18 at 23:32




$begingroup$
If that's the case, you should probably ask another question for the trace property.
$endgroup$
– EuYu
Dec 17 '18 at 23:32












$begingroup$
Ill do just that. Hopefully it doesn't get marked a duplicate.
$endgroup$
– Saad
Dec 18 '18 at 2:02




$begingroup$
Ill do just that. Hopefully it doesn't get marked a duplicate.
$endgroup$
– Saad
Dec 18 '18 at 2:02


















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


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

But avoid



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

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


Use MathJax to format equations. MathJax reference.


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




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3044456%2fif-a-is-an-n-by-n-integer-matrix-such-that-a3-i-then-operatorname%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