Irreducible polynomial which is reducible modulo every prime












29












$begingroup$



How to show that $x^4+1$ is irreducible in $mathbb Z[x]$ but it is reducible modulo every prime $p$?




For example I know that $x^4+1=(x+1)^4bmod 2$. Also $bmod 3$ we have that $0,1,2$ are not solutions of $x^4+1=0$ then if it is reducible the factors are of degree $2$. This gives that $x^4+1=(x^2+ax+b)(x^2+cx+d)$ and solving this system of equations $bmod 3$ gives that $x^4+1=(x^2+x+2) (x^2+2x+2) pmod 3$. But is there a simpler method to factor $x^4+1$ modulo a prime $p$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Related: math.stackexchange.com/questions/160847
    $endgroup$
    – Watson
    Dec 1 '16 at 12:58










  • $begingroup$
    The answers show how to prove that $f=x^4+1$ is reducible modulo every prime $p$. If you want to show that $f$ is irreducible in $mathbb{Z}[x]$, one way is to apply Eisenstein's criterion with $p=2$ to $f(x+1)=(x+1)^4+1=x^4+4x^3+6x^2+4x+2$.
    $endgroup$
    – Zach Teitler
    Feb 27 '18 at 19:20






  • 1




    $begingroup$
    What happens is that the splitting field of $x^4+1$ is $Bbb Q(zeta_8) / Bbb Q$, which is not a cyclic extension, so there are no inert primes in that extension.
    $endgroup$
    – Watson
    Apr 6 '18 at 13:24
















29












$begingroup$



How to show that $x^4+1$ is irreducible in $mathbb Z[x]$ but it is reducible modulo every prime $p$?




For example I know that $x^4+1=(x+1)^4bmod 2$. Also $bmod 3$ we have that $0,1,2$ are not solutions of $x^4+1=0$ then if it is reducible the factors are of degree $2$. This gives that $x^4+1=(x^2+ax+b)(x^2+cx+d)$ and solving this system of equations $bmod 3$ gives that $x^4+1=(x^2+x+2) (x^2+2x+2) pmod 3$. But is there a simpler method to factor $x^4+1$ modulo a prime $p$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    Related: math.stackexchange.com/questions/160847
    $endgroup$
    – Watson
    Dec 1 '16 at 12:58










  • $begingroup$
    The answers show how to prove that $f=x^4+1$ is reducible modulo every prime $p$. If you want to show that $f$ is irreducible in $mathbb{Z}[x]$, one way is to apply Eisenstein's criterion with $p=2$ to $f(x+1)=(x+1)^4+1=x^4+4x^3+6x^2+4x+2$.
    $endgroup$
    – Zach Teitler
    Feb 27 '18 at 19:20






  • 1




    $begingroup$
    What happens is that the splitting field of $x^4+1$ is $Bbb Q(zeta_8) / Bbb Q$, which is not a cyclic extension, so there are no inert primes in that extension.
    $endgroup$
    – Watson
    Apr 6 '18 at 13:24














29












29








29


21



$begingroup$



How to show that $x^4+1$ is irreducible in $mathbb Z[x]$ but it is reducible modulo every prime $p$?




For example I know that $x^4+1=(x+1)^4bmod 2$. Also $bmod 3$ we have that $0,1,2$ are not solutions of $x^4+1=0$ then if it is reducible the factors are of degree $2$. This gives that $x^4+1=(x^2+ax+b)(x^2+cx+d)$ and solving this system of equations $bmod 3$ gives that $x^4+1=(x^2+x+2) (x^2+2x+2) pmod 3$. But is there a simpler method to factor $x^4+1$ modulo a prime $p$?










share|cite|improve this question











$endgroup$





How to show that $x^4+1$ is irreducible in $mathbb Z[x]$ but it is reducible modulo every prime $p$?




For example I know that $x^4+1=(x+1)^4bmod 2$. Also $bmod 3$ we have that $0,1,2$ are not solutions of $x^4+1=0$ then if it is reducible the factors are of degree $2$. This gives that $x^4+1=(x^2+ax+b)(x^2+cx+d)$ and solving this system of equations $bmod 3$ gives that $x^4+1=(x^2+x+2) (x^2+2x+2) pmod 3$. But is there a simpler method to factor $x^4+1$ modulo a prime $p$?







abstract-algebra polynomials field-theory finite-fields irreducible-polynomials






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Apr 18 '16 at 13:22









user26857

39.4k124183




39.4k124183










asked Oct 30 '11 at 12:23









paliopalio

4,19432962




4,19432962












  • $begingroup$
    Related: math.stackexchange.com/questions/160847
    $endgroup$
    – Watson
    Dec 1 '16 at 12:58










  • $begingroup$
    The answers show how to prove that $f=x^4+1$ is reducible modulo every prime $p$. If you want to show that $f$ is irreducible in $mathbb{Z}[x]$, one way is to apply Eisenstein's criterion with $p=2$ to $f(x+1)=(x+1)^4+1=x^4+4x^3+6x^2+4x+2$.
    $endgroup$
    – Zach Teitler
    Feb 27 '18 at 19:20






  • 1




    $begingroup$
    What happens is that the splitting field of $x^4+1$ is $Bbb Q(zeta_8) / Bbb Q$, which is not a cyclic extension, so there are no inert primes in that extension.
    $endgroup$
    – Watson
    Apr 6 '18 at 13:24


















  • $begingroup$
    Related: math.stackexchange.com/questions/160847
    $endgroup$
    – Watson
    Dec 1 '16 at 12:58










  • $begingroup$
    The answers show how to prove that $f=x^4+1$ is reducible modulo every prime $p$. If you want to show that $f$ is irreducible in $mathbb{Z}[x]$, one way is to apply Eisenstein's criterion with $p=2$ to $f(x+1)=(x+1)^4+1=x^4+4x^3+6x^2+4x+2$.
    $endgroup$
    – Zach Teitler
    Feb 27 '18 at 19:20






  • 1




    $begingroup$
    What happens is that the splitting field of $x^4+1$ is $Bbb Q(zeta_8) / Bbb Q$, which is not a cyclic extension, so there are no inert primes in that extension.
    $endgroup$
    – Watson
    Apr 6 '18 at 13:24
















$begingroup$
Related: math.stackexchange.com/questions/160847
$endgroup$
– Watson
Dec 1 '16 at 12:58




$begingroup$
Related: math.stackexchange.com/questions/160847
$endgroup$
– Watson
Dec 1 '16 at 12:58












$begingroup$
The answers show how to prove that $f=x^4+1$ is reducible modulo every prime $p$. If you want to show that $f$ is irreducible in $mathbb{Z}[x]$, one way is to apply Eisenstein's criterion with $p=2$ to $f(x+1)=(x+1)^4+1=x^4+4x^3+6x^2+4x+2$.
$endgroup$
– Zach Teitler
Feb 27 '18 at 19:20




$begingroup$
The answers show how to prove that $f=x^4+1$ is reducible modulo every prime $p$. If you want to show that $f$ is irreducible in $mathbb{Z}[x]$, one way is to apply Eisenstein's criterion with $p=2$ to $f(x+1)=(x+1)^4+1=x^4+4x^3+6x^2+4x+2$.
$endgroup$
– Zach Teitler
Feb 27 '18 at 19:20




1




1




$begingroup$
What happens is that the splitting field of $x^4+1$ is $Bbb Q(zeta_8) / Bbb Q$, which is not a cyclic extension, so there are no inert primes in that extension.
$endgroup$
– Watson
Apr 6 '18 at 13:24




$begingroup$
What happens is that the splitting field of $x^4+1$ is $Bbb Q(zeta_8) / Bbb Q$, which is not a cyclic extension, so there are no inert primes in that extension.
$endgroup$
– Watson
Apr 6 '18 at 13:24










3 Answers
3






active

oldest

votes


















22












$begingroup$

For every odd prime $p$ we have $8mid p^2-1$. The multiplicative group of the finite field $F=GF(p^2)$ is cyclic of order $p^2-1$. Putting these two bits together tells us that there is a primitive root $u$ of order $8$ in $F$. We must have $u^4=-1$, because $-1$ is the only element of multiplicative order two. Because $F$ is a quadratic extension of $mathbf{Z}/pmathbf{Z}$, the minimal polynomial of $u$ is of degree $le 2$. That minimal polynomial is then a factor of
$$x^4+1=(x-u)(x-u^3)(x-u^5)(x-u^7)=(x-u)(x-u^3)(x+u)(x+u^3).$$



====================



Edit: Here's an idea for finding the factorization. I split it into cases according to the residue class of $p$ modulo 8. Assume first that $pequiv 1pmod 4$ (or $p$ equivalent to $1$ or $5$ modulo 8). In that case all we need is a square root $i$ of $-1$ modulo $p$. IIRC there is an algorithm for finding two integers $x,y$ such that $p=x^2+y^2$, and then $i=x*y^{-1}$ is the desired square root in the prime field $F_p=GF(p)$. A factorization is then
$$
x^4+1=(x^2+i)(x^2-i).
$$
Observe that if $pequiv1pmod8$ then both quadratic factors will split further.



If $pequiv 3pmod 8$, then $u$ is not in the prime field, and its conjugate is $u^p=u^3$. Therefore the minimal polynomial is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^3)=x^2-[u+u^3]x + u^4= x^2-ax-1,
$$
where $a$ is some unknown element of the prime field. Because $u^5=-u$ and $u^7=-u^3$, the other factor of $x^4+1$ must be $m(-x)=x^2+ax-1$. We need to find the coefficient $a$.
Let's multiply
$$
(x^2-ax-1)(x^2+ax-1)=(x^2-1)^2-a^2x^2=x^4-(2+a^2)x^2+1.
$$
We see that we have found the factorization, if we can find $a=sqrt{-2}$. It is well known that when $pequiv 3pmod 8$, then $-2$ is a quadratic residue modulo $p$ confirming our finding.



In the last case $pequiv 7pmod8$ the minimal polynomial of $u$ over $F_p$ is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^7)=x^2-[u+u^7]x+u^8=x^2-bx+1
$$
for some $bin F_p$. Again the other factor is $m(-x)$, and a similar calculation shows that we need $b=sqrt{2}$. Again this fits together with the known fact that in this case $2$ is a quadratic residue modulo $p$.



==================



Edit(2): TonyK described the following methods for finding the square roots. They depend on the fact that if $p$ is an odd prime, and $gcd(a,p)=1$, then $a^{(p-1)/2}equivpm1pmod p$. Here we have the plus sign, if and only if $a$ is a quadratic residue (=QR) modulo $p$.



If $pequiv 3pmod8$, then we know that $2$ is not a QR modulo $p$. Therefore
$2^{(p-1)/2}equiv -1pmod p$. Hence $2^{(p+1)/2}equiv -2pmod p$. But here $(p+1)/2$ is an even integer, so writing $z=2^{(p+1)/4}$ we get $z^2equiv 2^{(p+1)/2}equiv -2$, and we have found a square root of $-2$.



Similarly, if $pequiv 7pmod 8$, we know that $2$ is a quadratic residue modulo $p$. This time $2^{(p+1)/2}equiv 2$, and the same calculation shows that $z=2^{(p+1)/4}$ is a square root of $2$ in $F_p$.



If $pequiv 5pmod 8$, then again $2$ is not a QR modulo $p$, so $2^{(p-1)/2}equiv -1pmod p$ and $(p-1)/2$ is even. Thus $z=2^{(p-1)/4}$ is a square root of $-1$. If $pequiv 1pmod 8$, then we cannot use $2$ (but could use any non-QR in its place, or the method mentioned earlier).






share|cite|improve this answer











$endgroup$













  • $begingroup$
    why $[F:mathbf{Z}/pmathbf{Z}]=2$?
    $endgroup$
    – palio
    Oct 30 '11 at 12:51








  • 1




    $begingroup$
    If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
    $endgroup$
    – TonyK
    Oct 30 '11 at 14:32








  • 1




    $begingroup$
    @PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:12








  • 1




    $begingroup$
    So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:17






  • 1




    $begingroup$
    @PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 15:02





















30












$begingroup$

If $-1$ is a square in $Bbb F_p$ (which includes the case $p=2$), say $a^2=-1$, then we have $$X^4+1=X^4-a^2=(X^2+a)(X^2-a).$$
If $p$ is odd and $2$ is a square in $Bbb F_p$, say $2=b^2$, then we have
$$X^4+1=(X^2+1)^2-(bX)^2=(X^2+bX+1)(X^2-bX+1) $$
If $p$ is odd and neither $-1$ nor $2$ is a square, then their product $-2$ is a square, say $-2=c^2$. (Without using anything even remotely as deep as quadratic reciprocity, this follows immediately from the fact that $Bbb F_p^times$ is a cyclic group of even order). Then we have
$$ X^4+1=(X^2-1)^2-(cX)^2=(X^2-cX-1)(X^2+cX-1)$$






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    Good job! :-) ${}$
    $endgroup$
    – Jyrki Lahtonen
    Jun 8 '16 at 18:52








  • 3




    $begingroup$
    I feel this is a really simple and beautiful proof.
    $endgroup$
    – MonsieurGalois
    Jan 22 '17 at 21:22










  • $begingroup$
    Above is the most elegant solution to this problem, at least amongst the ones I know.
    $endgroup$
    – mathemather
    Feb 17 at 11:35



















7












$begingroup$

When $p=2$ then just note $x^4+1=(x+1)^4$.

Now if $p$ is odd then $8mid p^2-1 implies x^4+1mid x^{p^2-1}-1mid x^{p^2}-x$. Let $a$ be a root of $x^4+1$ in some extension of $mathbb F_p$. So, $[mathbb F_p(a):mathbb F_p]=4$ if we let $x^4+1$ is irreducible over $mathbb F_p$. But from $x^4+1mid x^{p^2}-x$ we can say $ainmathbb F_{p^2} implies [mathbb F_p(a):mathbb F_p]leq 2$, a contradiction.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
    $endgroup$
    – MonsieurGalois
    Nov 5 '16 at 1:03












  • $begingroup$
    What does it mean to be root of $x^{p^2}-x$ ?
    $endgroup$
    – dragoboy
    Nov 5 '16 at 3:53











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%2f77155%2firreducible-polynomial-which-is-reducible-modulo-every-prime%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes









22












$begingroup$

For every odd prime $p$ we have $8mid p^2-1$. The multiplicative group of the finite field $F=GF(p^2)$ is cyclic of order $p^2-1$. Putting these two bits together tells us that there is a primitive root $u$ of order $8$ in $F$. We must have $u^4=-1$, because $-1$ is the only element of multiplicative order two. Because $F$ is a quadratic extension of $mathbf{Z}/pmathbf{Z}$, the minimal polynomial of $u$ is of degree $le 2$. That minimal polynomial is then a factor of
$$x^4+1=(x-u)(x-u^3)(x-u^5)(x-u^7)=(x-u)(x-u^3)(x+u)(x+u^3).$$



====================



Edit: Here's an idea for finding the factorization. I split it into cases according to the residue class of $p$ modulo 8. Assume first that $pequiv 1pmod 4$ (or $p$ equivalent to $1$ or $5$ modulo 8). In that case all we need is a square root $i$ of $-1$ modulo $p$. IIRC there is an algorithm for finding two integers $x,y$ such that $p=x^2+y^2$, and then $i=x*y^{-1}$ is the desired square root in the prime field $F_p=GF(p)$. A factorization is then
$$
x^4+1=(x^2+i)(x^2-i).
$$
Observe that if $pequiv1pmod8$ then both quadratic factors will split further.



If $pequiv 3pmod 8$, then $u$ is not in the prime field, and its conjugate is $u^p=u^3$. Therefore the minimal polynomial is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^3)=x^2-[u+u^3]x + u^4= x^2-ax-1,
$$
where $a$ is some unknown element of the prime field. Because $u^5=-u$ and $u^7=-u^3$, the other factor of $x^4+1$ must be $m(-x)=x^2+ax-1$. We need to find the coefficient $a$.
Let's multiply
$$
(x^2-ax-1)(x^2+ax-1)=(x^2-1)^2-a^2x^2=x^4-(2+a^2)x^2+1.
$$
We see that we have found the factorization, if we can find $a=sqrt{-2}$. It is well known that when $pequiv 3pmod 8$, then $-2$ is a quadratic residue modulo $p$ confirming our finding.



In the last case $pequiv 7pmod8$ the minimal polynomial of $u$ over $F_p$ is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^7)=x^2-[u+u^7]x+u^8=x^2-bx+1
$$
for some $bin F_p$. Again the other factor is $m(-x)$, and a similar calculation shows that we need $b=sqrt{2}$. Again this fits together with the known fact that in this case $2$ is a quadratic residue modulo $p$.



==================



Edit(2): TonyK described the following methods for finding the square roots. They depend on the fact that if $p$ is an odd prime, and $gcd(a,p)=1$, then $a^{(p-1)/2}equivpm1pmod p$. Here we have the plus sign, if and only if $a$ is a quadratic residue (=QR) modulo $p$.



If $pequiv 3pmod8$, then we know that $2$ is not a QR modulo $p$. Therefore
$2^{(p-1)/2}equiv -1pmod p$. Hence $2^{(p+1)/2}equiv -2pmod p$. But here $(p+1)/2$ is an even integer, so writing $z=2^{(p+1)/4}$ we get $z^2equiv 2^{(p+1)/2}equiv -2$, and we have found a square root of $-2$.



Similarly, if $pequiv 7pmod 8$, we know that $2$ is a quadratic residue modulo $p$. This time $2^{(p+1)/2}equiv 2$, and the same calculation shows that $z=2^{(p+1)/4}$ is a square root of $2$ in $F_p$.



If $pequiv 5pmod 8$, then again $2$ is not a QR modulo $p$, so $2^{(p-1)/2}equiv -1pmod p$ and $(p-1)/2$ is even. Thus $z=2^{(p-1)/4}$ is a square root of $-1$. If $pequiv 1pmod 8$, then we cannot use $2$ (but could use any non-QR in its place, or the method mentioned earlier).






share|cite|improve this answer











$endgroup$













  • $begingroup$
    why $[F:mathbf{Z}/pmathbf{Z}]=2$?
    $endgroup$
    – palio
    Oct 30 '11 at 12:51








  • 1




    $begingroup$
    If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
    $endgroup$
    – TonyK
    Oct 30 '11 at 14:32








  • 1




    $begingroup$
    @PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:12








  • 1




    $begingroup$
    So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:17






  • 1




    $begingroup$
    @PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 15:02


















22












$begingroup$

For every odd prime $p$ we have $8mid p^2-1$. The multiplicative group of the finite field $F=GF(p^2)$ is cyclic of order $p^2-1$. Putting these two bits together tells us that there is a primitive root $u$ of order $8$ in $F$. We must have $u^4=-1$, because $-1$ is the only element of multiplicative order two. Because $F$ is a quadratic extension of $mathbf{Z}/pmathbf{Z}$, the minimal polynomial of $u$ is of degree $le 2$. That minimal polynomial is then a factor of
$$x^4+1=(x-u)(x-u^3)(x-u^5)(x-u^7)=(x-u)(x-u^3)(x+u)(x+u^3).$$



====================



Edit: Here's an idea for finding the factorization. I split it into cases according to the residue class of $p$ modulo 8. Assume first that $pequiv 1pmod 4$ (or $p$ equivalent to $1$ or $5$ modulo 8). In that case all we need is a square root $i$ of $-1$ modulo $p$. IIRC there is an algorithm for finding two integers $x,y$ such that $p=x^2+y^2$, and then $i=x*y^{-1}$ is the desired square root in the prime field $F_p=GF(p)$. A factorization is then
$$
x^4+1=(x^2+i)(x^2-i).
$$
Observe that if $pequiv1pmod8$ then both quadratic factors will split further.



If $pequiv 3pmod 8$, then $u$ is not in the prime field, and its conjugate is $u^p=u^3$. Therefore the minimal polynomial is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^3)=x^2-[u+u^3]x + u^4= x^2-ax-1,
$$
where $a$ is some unknown element of the prime field. Because $u^5=-u$ and $u^7=-u^3$, the other factor of $x^4+1$ must be $m(-x)=x^2+ax-1$. We need to find the coefficient $a$.
Let's multiply
$$
(x^2-ax-1)(x^2+ax-1)=(x^2-1)^2-a^2x^2=x^4-(2+a^2)x^2+1.
$$
We see that we have found the factorization, if we can find $a=sqrt{-2}$. It is well known that when $pequiv 3pmod 8$, then $-2$ is a quadratic residue modulo $p$ confirming our finding.



In the last case $pequiv 7pmod8$ the minimal polynomial of $u$ over $F_p$ is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^7)=x^2-[u+u^7]x+u^8=x^2-bx+1
$$
for some $bin F_p$. Again the other factor is $m(-x)$, and a similar calculation shows that we need $b=sqrt{2}$. Again this fits together with the known fact that in this case $2$ is a quadratic residue modulo $p$.



==================



Edit(2): TonyK described the following methods for finding the square roots. They depend on the fact that if $p$ is an odd prime, and $gcd(a,p)=1$, then $a^{(p-1)/2}equivpm1pmod p$. Here we have the plus sign, if and only if $a$ is a quadratic residue (=QR) modulo $p$.



If $pequiv 3pmod8$, then we know that $2$ is not a QR modulo $p$. Therefore
$2^{(p-1)/2}equiv -1pmod p$. Hence $2^{(p+1)/2}equiv -2pmod p$. But here $(p+1)/2$ is an even integer, so writing $z=2^{(p+1)/4}$ we get $z^2equiv 2^{(p+1)/2}equiv -2$, and we have found a square root of $-2$.



Similarly, if $pequiv 7pmod 8$, we know that $2$ is a quadratic residue modulo $p$. This time $2^{(p+1)/2}equiv 2$, and the same calculation shows that $z=2^{(p+1)/4}$ is a square root of $2$ in $F_p$.



If $pequiv 5pmod 8$, then again $2$ is not a QR modulo $p$, so $2^{(p-1)/2}equiv -1pmod p$ and $(p-1)/2$ is even. Thus $z=2^{(p-1)/4}$ is a square root of $-1$. If $pequiv 1pmod 8$, then we cannot use $2$ (but could use any non-QR in its place, or the method mentioned earlier).






share|cite|improve this answer











$endgroup$













  • $begingroup$
    why $[F:mathbf{Z}/pmathbf{Z}]=2$?
    $endgroup$
    – palio
    Oct 30 '11 at 12:51








  • 1




    $begingroup$
    If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
    $endgroup$
    – TonyK
    Oct 30 '11 at 14:32








  • 1




    $begingroup$
    @PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:12








  • 1




    $begingroup$
    So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:17






  • 1




    $begingroup$
    @PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 15:02
















22












22








22





$begingroup$

For every odd prime $p$ we have $8mid p^2-1$. The multiplicative group of the finite field $F=GF(p^2)$ is cyclic of order $p^2-1$. Putting these two bits together tells us that there is a primitive root $u$ of order $8$ in $F$. We must have $u^4=-1$, because $-1$ is the only element of multiplicative order two. Because $F$ is a quadratic extension of $mathbf{Z}/pmathbf{Z}$, the minimal polynomial of $u$ is of degree $le 2$. That minimal polynomial is then a factor of
$$x^4+1=(x-u)(x-u^3)(x-u^5)(x-u^7)=(x-u)(x-u^3)(x+u)(x+u^3).$$



====================



Edit: Here's an idea for finding the factorization. I split it into cases according to the residue class of $p$ modulo 8. Assume first that $pequiv 1pmod 4$ (or $p$ equivalent to $1$ or $5$ modulo 8). In that case all we need is a square root $i$ of $-1$ modulo $p$. IIRC there is an algorithm for finding two integers $x,y$ such that $p=x^2+y^2$, and then $i=x*y^{-1}$ is the desired square root in the prime field $F_p=GF(p)$. A factorization is then
$$
x^4+1=(x^2+i)(x^2-i).
$$
Observe that if $pequiv1pmod8$ then both quadratic factors will split further.



If $pequiv 3pmod 8$, then $u$ is not in the prime field, and its conjugate is $u^p=u^3$. Therefore the minimal polynomial is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^3)=x^2-[u+u^3]x + u^4= x^2-ax-1,
$$
where $a$ is some unknown element of the prime field. Because $u^5=-u$ and $u^7=-u^3$, the other factor of $x^4+1$ must be $m(-x)=x^2+ax-1$. We need to find the coefficient $a$.
Let's multiply
$$
(x^2-ax-1)(x^2+ax-1)=(x^2-1)^2-a^2x^2=x^4-(2+a^2)x^2+1.
$$
We see that we have found the factorization, if we can find $a=sqrt{-2}$. It is well known that when $pequiv 3pmod 8$, then $-2$ is a quadratic residue modulo $p$ confirming our finding.



In the last case $pequiv 7pmod8$ the minimal polynomial of $u$ over $F_p$ is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^7)=x^2-[u+u^7]x+u^8=x^2-bx+1
$$
for some $bin F_p$. Again the other factor is $m(-x)$, and a similar calculation shows that we need $b=sqrt{2}$. Again this fits together with the known fact that in this case $2$ is a quadratic residue modulo $p$.



==================



Edit(2): TonyK described the following methods for finding the square roots. They depend on the fact that if $p$ is an odd prime, and $gcd(a,p)=1$, then $a^{(p-1)/2}equivpm1pmod p$. Here we have the plus sign, if and only if $a$ is a quadratic residue (=QR) modulo $p$.



If $pequiv 3pmod8$, then we know that $2$ is not a QR modulo $p$. Therefore
$2^{(p-1)/2}equiv -1pmod p$. Hence $2^{(p+1)/2}equiv -2pmod p$. But here $(p+1)/2$ is an even integer, so writing $z=2^{(p+1)/4}$ we get $z^2equiv 2^{(p+1)/2}equiv -2$, and we have found a square root of $-2$.



Similarly, if $pequiv 7pmod 8$, we know that $2$ is a quadratic residue modulo $p$. This time $2^{(p+1)/2}equiv 2$, and the same calculation shows that $z=2^{(p+1)/4}$ is a square root of $2$ in $F_p$.



If $pequiv 5pmod 8$, then again $2$ is not a QR modulo $p$, so $2^{(p-1)/2}equiv -1pmod p$ and $(p-1)/2$ is even. Thus $z=2^{(p-1)/4}$ is a square root of $-1$. If $pequiv 1pmod 8$, then we cannot use $2$ (but could use any non-QR in its place, or the method mentioned earlier).






share|cite|improve this answer











$endgroup$



For every odd prime $p$ we have $8mid p^2-1$. The multiplicative group of the finite field $F=GF(p^2)$ is cyclic of order $p^2-1$. Putting these two bits together tells us that there is a primitive root $u$ of order $8$ in $F$. We must have $u^4=-1$, because $-1$ is the only element of multiplicative order two. Because $F$ is a quadratic extension of $mathbf{Z}/pmathbf{Z}$, the minimal polynomial of $u$ is of degree $le 2$. That minimal polynomial is then a factor of
$$x^4+1=(x-u)(x-u^3)(x-u^5)(x-u^7)=(x-u)(x-u^3)(x+u)(x+u^3).$$



====================



Edit: Here's an idea for finding the factorization. I split it into cases according to the residue class of $p$ modulo 8. Assume first that $pequiv 1pmod 4$ (or $p$ equivalent to $1$ or $5$ modulo 8). In that case all we need is a square root $i$ of $-1$ modulo $p$. IIRC there is an algorithm for finding two integers $x,y$ such that $p=x^2+y^2$, and then $i=x*y^{-1}$ is the desired square root in the prime field $F_p=GF(p)$. A factorization is then
$$
x^4+1=(x^2+i)(x^2-i).
$$
Observe that if $pequiv1pmod8$ then both quadratic factors will split further.



If $pequiv 3pmod 8$, then $u$ is not in the prime field, and its conjugate is $u^p=u^3$. Therefore the minimal polynomial is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^3)=x^2-[u+u^3]x + u^4= x^2-ax-1,
$$
where $a$ is some unknown element of the prime field. Because $u^5=-u$ and $u^7=-u^3$, the other factor of $x^4+1$ must be $m(-x)=x^2+ax-1$. We need to find the coefficient $a$.
Let's multiply
$$
(x^2-ax-1)(x^2+ax-1)=(x^2-1)^2-a^2x^2=x^4-(2+a^2)x^2+1.
$$
We see that we have found the factorization, if we can find $a=sqrt{-2}$. It is well known that when $pequiv 3pmod 8$, then $-2$ is a quadratic residue modulo $p$ confirming our finding.



In the last case $pequiv 7pmod8$ the minimal polynomial of $u$ over $F_p$ is
$$
m(x)=(x-u)(x-u^p)=(x-u)(x-u^7)=x^2-[u+u^7]x+u^8=x^2-bx+1
$$
for some $bin F_p$. Again the other factor is $m(-x)$, and a similar calculation shows that we need $b=sqrt{2}$. Again this fits together with the known fact that in this case $2$ is a quadratic residue modulo $p$.



==================



Edit(2): TonyK described the following methods for finding the square roots. They depend on the fact that if $p$ is an odd prime, and $gcd(a,p)=1$, then $a^{(p-1)/2}equivpm1pmod p$. Here we have the plus sign, if and only if $a$ is a quadratic residue (=QR) modulo $p$.



If $pequiv 3pmod8$, then we know that $2$ is not a QR modulo $p$. Therefore
$2^{(p-1)/2}equiv -1pmod p$. Hence $2^{(p+1)/2}equiv -2pmod p$. But here $(p+1)/2$ is an even integer, so writing $z=2^{(p+1)/4}$ we get $z^2equiv 2^{(p+1)/2}equiv -2$, and we have found a square root of $-2$.



Similarly, if $pequiv 7pmod 8$, we know that $2$ is a quadratic residue modulo $p$. This time $2^{(p+1)/2}equiv 2$, and the same calculation shows that $z=2^{(p+1)/4}$ is a square root of $2$ in $F_p$.



If $pequiv 5pmod 8$, then again $2$ is not a QR modulo $p$, so $2^{(p-1)/2}equiv -1pmod p$ and $(p-1)/2$ is even. Thus $z=2^{(p-1)/4}$ is a square root of $-1$. If $pequiv 1pmod 8$, then we cannot use $2$ (but could use any non-QR in its place, or the method mentioned earlier).







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Feb 8 '12 at 23:06


























community wiki





7 revs
Jyrki Lahtonen













  • $begingroup$
    why $[F:mathbf{Z}/pmathbf{Z}]=2$?
    $endgroup$
    – palio
    Oct 30 '11 at 12:51








  • 1




    $begingroup$
    If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
    $endgroup$
    – TonyK
    Oct 30 '11 at 14:32








  • 1




    $begingroup$
    @PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:12








  • 1




    $begingroup$
    So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:17






  • 1




    $begingroup$
    @PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 15:02




















  • $begingroup$
    why $[F:mathbf{Z}/pmathbf{Z}]=2$?
    $endgroup$
    – palio
    Oct 30 '11 at 12:51








  • 1




    $begingroup$
    If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
    $endgroup$
    – TonyK
    Oct 30 '11 at 14:32








  • 1




    $begingroup$
    @PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:12








  • 1




    $begingroup$
    So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 9:17






  • 1




    $begingroup$
    @PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
    $endgroup$
    – Jyrki Lahtonen
    Mar 9 '14 at 15:02


















$begingroup$
why $[F:mathbf{Z}/pmathbf{Z}]=2$?
$endgroup$
– palio
Oct 30 '11 at 12:51






$begingroup$
why $[F:mathbf{Z}/pmathbf{Z}]=2$?
$endgroup$
– palio
Oct 30 '11 at 12:51






1




1




$begingroup$
If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
$endgroup$
– TonyK
Oct 30 '11 at 14:32






$begingroup$
If $pequiv 3pmod 4$, then the square root of $2$ or $-2$ (whichever one exists) is simply $2^{(p+1)/4}$.
$endgroup$
– TonyK
Oct 30 '11 at 14:32






1




1




$begingroup$
@PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
$endgroup$
– Jyrki Lahtonen
Mar 9 '14 at 9:12






$begingroup$
@PraphullaKoushik: Looking at the eighth roots of unity here is a consequence of the fact that $x^4+1mid x^8-1$. Thus all the zeros of $x^4+1$ have multiplicative order eight. Also, surprisingly many of the questions about finite fields on this site can be resolved by using the cyclicity of their multiplicative groups. That and the fact that the Frobenius automorphism generates the Galois groups.
$endgroup$
– Jyrki Lahtonen
Mar 9 '14 at 9:12






1




1




$begingroup$
So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
$endgroup$
– Jyrki Lahtonen
Mar 9 '14 at 9:17




$begingroup$
So when thinking about a problem related to finite fields one of the first things I look at is whether I can deduce the multiplicative order of the unknown elements (here the zeros of $x^4+1$). Knowing that order is sufficient information in determining the field that the said element generates. The rest is an easy application of Galois theory.
$endgroup$
– Jyrki Lahtonen
Mar 9 '14 at 9:17




1




1




$begingroup$
@PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
$endgroup$
– Jyrki Lahtonen
Mar 9 '14 at 15:02






$begingroup$
@PraphullaKoushik: So to get the splitting field we want to adjoin the eighth roots of unity to the prime field (unless they are already there). That will never take higher than a quadratic extension, because $8mid p^2-1$. If you prefer a Galois theoretic point of view it goes like: over the rationals adjoining the eighth roots (powers of $(1+i)/sqrt2$) gives us all $i$, $sqrt2$ and $sqrt{-2}$. Over $Bbb{F}_p$ there is only one quadratic extension, so it does not matter whether we need to adjoin one or more of $i$, $sqrt2$ or $sqrt{-2}$ we get all three for the price of one.
$endgroup$
– Jyrki Lahtonen
Mar 9 '14 at 15:02













30












$begingroup$

If $-1$ is a square in $Bbb F_p$ (which includes the case $p=2$), say $a^2=-1$, then we have $$X^4+1=X^4-a^2=(X^2+a)(X^2-a).$$
If $p$ is odd and $2$ is a square in $Bbb F_p$, say $2=b^2$, then we have
$$X^4+1=(X^2+1)^2-(bX)^2=(X^2+bX+1)(X^2-bX+1) $$
If $p$ is odd and neither $-1$ nor $2$ is a square, then their product $-2$ is a square, say $-2=c^2$. (Without using anything even remotely as deep as quadratic reciprocity, this follows immediately from the fact that $Bbb F_p^times$ is a cyclic group of even order). Then we have
$$ X^4+1=(X^2-1)^2-(cX)^2=(X^2-cX-1)(X^2+cX-1)$$






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    Good job! :-) ${}$
    $endgroup$
    – Jyrki Lahtonen
    Jun 8 '16 at 18:52








  • 3




    $begingroup$
    I feel this is a really simple and beautiful proof.
    $endgroup$
    – MonsieurGalois
    Jan 22 '17 at 21:22










  • $begingroup$
    Above is the most elegant solution to this problem, at least amongst the ones I know.
    $endgroup$
    – mathemather
    Feb 17 at 11:35
















30












$begingroup$

If $-1$ is a square in $Bbb F_p$ (which includes the case $p=2$), say $a^2=-1$, then we have $$X^4+1=X^4-a^2=(X^2+a)(X^2-a).$$
If $p$ is odd and $2$ is a square in $Bbb F_p$, say $2=b^2$, then we have
$$X^4+1=(X^2+1)^2-(bX)^2=(X^2+bX+1)(X^2-bX+1) $$
If $p$ is odd and neither $-1$ nor $2$ is a square, then their product $-2$ is a square, say $-2=c^2$. (Without using anything even remotely as deep as quadratic reciprocity, this follows immediately from the fact that $Bbb F_p^times$ is a cyclic group of even order). Then we have
$$ X^4+1=(X^2-1)^2-(cX)^2=(X^2-cX-1)(X^2+cX-1)$$






share|cite|improve this answer









$endgroup$









  • 1




    $begingroup$
    Good job! :-) ${}$
    $endgroup$
    – Jyrki Lahtonen
    Jun 8 '16 at 18:52








  • 3




    $begingroup$
    I feel this is a really simple and beautiful proof.
    $endgroup$
    – MonsieurGalois
    Jan 22 '17 at 21:22










  • $begingroup$
    Above is the most elegant solution to this problem, at least amongst the ones I know.
    $endgroup$
    – mathemather
    Feb 17 at 11:35














30












30








30





$begingroup$

If $-1$ is a square in $Bbb F_p$ (which includes the case $p=2$), say $a^2=-1$, then we have $$X^4+1=X^4-a^2=(X^2+a)(X^2-a).$$
If $p$ is odd and $2$ is a square in $Bbb F_p$, say $2=b^2$, then we have
$$X^4+1=(X^2+1)^2-(bX)^2=(X^2+bX+1)(X^2-bX+1) $$
If $p$ is odd and neither $-1$ nor $2$ is a square, then their product $-2$ is a square, say $-2=c^2$. (Without using anything even remotely as deep as quadratic reciprocity, this follows immediately from the fact that $Bbb F_p^times$ is a cyclic group of even order). Then we have
$$ X^4+1=(X^2-1)^2-(cX)^2=(X^2-cX-1)(X^2+cX-1)$$






share|cite|improve this answer









$endgroup$



If $-1$ is a square in $Bbb F_p$ (which includes the case $p=2$), say $a^2=-1$, then we have $$X^4+1=X^4-a^2=(X^2+a)(X^2-a).$$
If $p$ is odd and $2$ is a square in $Bbb F_p$, say $2=b^2$, then we have
$$X^4+1=(X^2+1)^2-(bX)^2=(X^2+bX+1)(X^2-bX+1) $$
If $p$ is odd and neither $-1$ nor $2$ is a square, then their product $-2$ is a square, say $-2=c^2$. (Without using anything even remotely as deep as quadratic reciprocity, this follows immediately from the fact that $Bbb F_p^times$ is a cyclic group of even order). Then we have
$$ X^4+1=(X^2-1)^2-(cX)^2=(X^2-cX-1)(X^2+cX-1)$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Apr 17 '16 at 15:00









Hagen von EitzenHagen von Eitzen

283k23272507




283k23272507








  • 1




    $begingroup$
    Good job! :-) ${}$
    $endgroup$
    – Jyrki Lahtonen
    Jun 8 '16 at 18:52








  • 3




    $begingroup$
    I feel this is a really simple and beautiful proof.
    $endgroup$
    – MonsieurGalois
    Jan 22 '17 at 21:22










  • $begingroup$
    Above is the most elegant solution to this problem, at least amongst the ones I know.
    $endgroup$
    – mathemather
    Feb 17 at 11:35














  • 1




    $begingroup$
    Good job! :-) ${}$
    $endgroup$
    – Jyrki Lahtonen
    Jun 8 '16 at 18:52








  • 3




    $begingroup$
    I feel this is a really simple and beautiful proof.
    $endgroup$
    – MonsieurGalois
    Jan 22 '17 at 21:22










  • $begingroup$
    Above is the most elegant solution to this problem, at least amongst the ones I know.
    $endgroup$
    – mathemather
    Feb 17 at 11:35








1




1




$begingroup$
Good job! :-) ${}$
$endgroup$
– Jyrki Lahtonen
Jun 8 '16 at 18:52






$begingroup$
Good job! :-) ${}$
$endgroup$
– Jyrki Lahtonen
Jun 8 '16 at 18:52






3




3




$begingroup$
I feel this is a really simple and beautiful proof.
$endgroup$
– MonsieurGalois
Jan 22 '17 at 21:22




$begingroup$
I feel this is a really simple and beautiful proof.
$endgroup$
– MonsieurGalois
Jan 22 '17 at 21:22












$begingroup$
Above is the most elegant solution to this problem, at least amongst the ones I know.
$endgroup$
– mathemather
Feb 17 at 11:35




$begingroup$
Above is the most elegant solution to this problem, at least amongst the ones I know.
$endgroup$
– mathemather
Feb 17 at 11:35











7












$begingroup$

When $p=2$ then just note $x^4+1=(x+1)^4$.

Now if $p$ is odd then $8mid p^2-1 implies x^4+1mid x^{p^2-1}-1mid x^{p^2}-x$. Let $a$ be a root of $x^4+1$ in some extension of $mathbb F_p$. So, $[mathbb F_p(a):mathbb F_p]=4$ if we let $x^4+1$ is irreducible over $mathbb F_p$. But from $x^4+1mid x^{p^2}-x$ we can say $ainmathbb F_{p^2} implies [mathbb F_p(a):mathbb F_p]leq 2$, a contradiction.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
    $endgroup$
    – MonsieurGalois
    Nov 5 '16 at 1:03












  • $begingroup$
    What does it mean to be root of $x^{p^2}-x$ ?
    $endgroup$
    – dragoboy
    Nov 5 '16 at 3:53
















7












$begingroup$

When $p=2$ then just note $x^4+1=(x+1)^4$.

Now if $p$ is odd then $8mid p^2-1 implies x^4+1mid x^{p^2-1}-1mid x^{p^2}-x$. Let $a$ be a root of $x^4+1$ in some extension of $mathbb F_p$. So, $[mathbb F_p(a):mathbb F_p]=4$ if we let $x^4+1$ is irreducible over $mathbb F_p$. But from $x^4+1mid x^{p^2}-x$ we can say $ainmathbb F_{p^2} implies [mathbb F_p(a):mathbb F_p]leq 2$, a contradiction.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
    $endgroup$
    – MonsieurGalois
    Nov 5 '16 at 1:03












  • $begingroup$
    What does it mean to be root of $x^{p^2}-x$ ?
    $endgroup$
    – dragoboy
    Nov 5 '16 at 3:53














7












7








7





$begingroup$

When $p=2$ then just note $x^4+1=(x+1)^4$.

Now if $p$ is odd then $8mid p^2-1 implies x^4+1mid x^{p^2-1}-1mid x^{p^2}-x$. Let $a$ be a root of $x^4+1$ in some extension of $mathbb F_p$. So, $[mathbb F_p(a):mathbb F_p]=4$ if we let $x^4+1$ is irreducible over $mathbb F_p$. But from $x^4+1mid x^{p^2}-x$ we can say $ainmathbb F_{p^2} implies [mathbb F_p(a):mathbb F_p]leq 2$, a contradiction.






share|cite|improve this answer











$endgroup$



When $p=2$ then just note $x^4+1=(x+1)^4$.

Now if $p$ is odd then $8mid p^2-1 implies x^4+1mid x^{p^2-1}-1mid x^{p^2}-x$. Let $a$ be a root of $x^4+1$ in some extension of $mathbb F_p$. So, $[mathbb F_p(a):mathbb F_p]=4$ if we let $x^4+1$ is irreducible over $mathbb F_p$. But from $x^4+1mid x^{p^2}-x$ we can say $ainmathbb F_{p^2} implies [mathbb F_p(a):mathbb F_p]leq 2$, a contradiction.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Nov 8 '15 at 15:21









user26857

39.4k124183




39.4k124183










answered Nov 8 '15 at 4:56









dragoboydragoboy

792517




792517












  • $begingroup$
    Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
    $endgroup$
    – MonsieurGalois
    Nov 5 '16 at 1:03












  • $begingroup$
    What does it mean to be root of $x^{p^2}-x$ ?
    $endgroup$
    – dragoboy
    Nov 5 '16 at 3:53


















  • $begingroup$
    Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
    $endgroup$
    – MonsieurGalois
    Nov 5 '16 at 1:03












  • $begingroup$
    What does it mean to be root of $x^{p^2}-x$ ?
    $endgroup$
    – dragoboy
    Nov 5 '16 at 3:53
















$begingroup$
Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
$endgroup$
– MonsieurGalois
Nov 5 '16 at 1:03






$begingroup$
Why from the divisibility fact you can say that the root $a$ of $x^{4}+1$ is in $mathbb{F}_{p^2}$?
$endgroup$
– MonsieurGalois
Nov 5 '16 at 1:03














$begingroup$
What does it mean to be root of $x^{p^2}-x$ ?
$endgroup$
– dragoboy
Nov 5 '16 at 3:53




$begingroup$
What does it mean to be root of $x^{p^2}-x$ ?
$endgroup$
– dragoboy
Nov 5 '16 at 3:53


















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%2f77155%2firreducible-polynomial-which-is-reducible-modulo-every-prime%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