Proof that a prime is a Gaussian prime if and only if it is 3 modulo 4
Builds on Gaussian primePrime numberGaussian integerNorm of a Gaussian integerUnits of the Gaussian integersFermat's theorem on sums of two squaresFirst supplement to quadratic reciprocityLegendre symbolBézout's identity
Proof
Write for the norm of a Gaussian integer . Then , since complex conjugation is multiplicative.
- A prime number is either , or odd with , or odd with . We treat the three cases.
- Case . We have , so divides in .
- But and , because has non-integer real part. So is not a Gaussian prime.
- Case . By Fermat's theorem on sums of two squares, with integers , . So .
- If in , then and in , so . This is false. Likewise .
- So divides but neither factor, and is not a Gaussian prime.
- Case . First, , and is not a unit, since the units of are and .
- By the first supplement to quadratic reciprocity, the Legendre symbol of is . So is not a square modulo .
- Claim: if , are integers with , then and . Suppose . By Bézout's identity, there is an integer with .
- Multiplying by gives , against step 8. So , and then , so since is prime.
- Now let and be Gaussian integers with and . We show .
- Since , does not divide both and . By the claim, .
- As is prime, . By Bézout's identity, for some integers , .
- Then . Both terms are divisible by in , so .
- By steps 7 and 14, is a Gaussian prime when .
- By steps 3, 6 and 15, is a Gaussian prime if and only if .
Idea
For and , the prime is a product and divides this product without dividing either factor. For , the fact that is not a square mod makes prime to whenever . Then a Bézout relation lets us cancel from , as for ordinary primes.
Reading path
To understand this page from the ground up, read these 142 pages in order. The foundations come first. The path takes the proofs Proof of Bézout's identity, Proof of cancellation in an integral domain, Proof of the generalized Euclid's lemma, Proof of the commutativity of addition by induction, Proof of Fermat's little theorem by rearrangement, Proof that a composition of injections is injective, Proof of Fermat's theorem on sums of two squares by Thue's lemma, Proof of Euclid's lemma, Proof that R[x] is an integral domain iff R is, Proof that a function is bijective iff it has a two-sided inverse, Proof of the degree of a product over an integral domain, Proof of strong induction from ordinary induction, Proof of the fundamental theorem of arithmetic, Proof of the complement principle, Proof that −1 is a square modulo p if and only if p is not 3 modulo 4, Proof of the pigeonhole principle, Proof that the integers modulo a prime form a field, Proof that a composition of surjections is surjective, Proof that congruence is compatible with addition, Proof of Euler's criterion by counting quadratic residues, Proof of the existence of prime factorization, Proof that a polynomial over a field has at most as many roots as its degree, Proof of the remainder theorem, Proof that congruence is compatible with multiplication, Proof that the units of the Gaussian integers are 1, -1, i and -i, Proof of the rule of sum, Proof of the well-ordering principle from strong induction, Proof of the division algorithm, Proof of the first supplement to quadratic reciprocity from Euler's criterion, Proof of the bijection principle, Proof of the irrationality of square roots of non-squares, Proof of the factor theorem, Proof of the existence of a prime divisor, Proof that congruence is compatible with powers.
- Cardinality of a finite set definition
- Definition by recursion concept
- Divisibility definition
- Element definition
- Gaussian integer definition
- Group concept
- Mathematical induction concept
- Natural numbers object
- Peano axioms concept
- Proposition concept
- Rational numbers object
- Real numbers object
- Congruence modulo n definition
- Greatest common divisor definition
- Prime number definition
- Set definition
- Gaussian prime definition
- Norm of a Gaussian integer definition
- Ring definition
- Successor function definition
- Conjunction definition
- Implication definition
- Predicate definition
- Irrational number definition
- Quadratic residue definition
- Residue class definition
- Coprime integers definition
- Proof that congruence is compatible with addition proof
- Proof that congruence is compatible with multiplication proof
- Prime factorization definition
- Empty set object
- Ordered pair definition
- Intersection definition
- Addition of natural numbers definition
- Commutative ring definition
- Polynomial ring definition
- Ring homomorphism definition
- Subring definition
- Unit of a ring definition
- Zero divisor definition
- The successor function is injective statement
- Zero is not a successor statement
- Existential quantifier definition
- Universal quantifier definition
- Legendre symbol definition
- Congruence is compatible with addition statement
- Congruence is compatible with multiplication statement
- Cartesian product definition
- Disjoint sets definition
- Proof of the commutativity of addition by induction proof
- Order on the natural numbers definition
- Subset definition
- Divisibility in a commutative ring definition
- Degree of a polynomial definition
- Polynomial evaluation definition
- Field definition
- Integral domain definition
- Uniqueness quantifier definition
- Integers modulo n definition
- Proof that congruence is compatible with powers proof
- Binary relation definition
- Commutativity of addition statement
- Leading coefficient definition
- Proof of cancellation in an integral domain proof
- Root of a polynomial definition
- Proof of strong induction from ordinary induction proof
- Evaluation homomorphism definition
- Gaussian integers object
- Congruence is compatible with powers statement
- Monic polynomial definition
- Strong induction statement
- Function definition
- Multiplicity of a root definition
- Cancellation in an integral domain statement
- Norm on the Gaussian integers definition
- Proof of the degree of a product over an integral domain proof
- Proof of the remainder theorem proof
- Codomain definition
- Function composition definition
- Identity function definition
- Injective function definition
- Image of a set definition
- Proof of the well-ordering principle from strong induction proof
- Division algorithm for polynomials statement
- Degree of a product statement
- Proof that the units of the Gaussian integers are 1, -1, i and -i proof
- Left inverse definition
- Right inverse definition
- Surjective function definition
- Proof that a composition of injections is injective proof
- Well-ordering principle statement
- Remainder theorem statement
- Units of the Gaussian integers statement
- Proof that R[x] is an integral domain iff R is proof
- Proof that a composition of surjections is surjective proof
- Composition of injections is injective statement
- Bijective function definition
- Proof of the existence of a prime divisor proof
- Proof of the division algorithm proof
- Proof of the factor theorem proof
- R[x] is an integral domain iff R is statement
- Composition of surjections is surjective statement
- Proof of the rule of sum proof
- Proof that a function is bijective iff it has a two-sided inverse proof
- Existence of a prime divisor statement
- Division algorithm statement
- Factor theorem statement
- Rule of sum statement
- Bijective iff it has a two-sided inverse statement
- Proof of Bézout's identity proof
- Proof of the existence of prime factorization proof
- Proof that a polynomial over a field has at most as many roots as its degree proof
- Proof of the bijection principle proof
- Bézout's identity statement
- Proof of the complement principle proof
- Existence of prime factorization statement
- A polynomial over a field has at most as many roots as its degree statement
- Bijection principle statement
- Complement principle statement
- Proof of the generalized Euclid's lemma proof
- Proof that the integers modulo a prime form a field proof
- Integers modulo a prime form a field statement
- Generalized Euclid's lemma statement
- Proof of the pigeonhole principle proof
- Pigeonhole principle statement
- Proof of Euclid's lemma proof
- Euclid's lemma statement
- Proof of Fermat's little theorem by rearrangement proof
- Proof of the fundamental theorem of arithmetic proof
- Fermat's little theorem statement
- Fundamental theorem of arithmetic statement
- Proof of Euler's criterion by counting quadratic residues proof
- Proof of the irrationality of square roots of non-squares proof
- Euler's criterion statement
- Irrationality of square roots of non-squares statement
- Proof of the first supplement to quadratic reciprocity from Euler's criterion proof
- First supplement to quadratic reciprocity statement
- Proof of Fermat's theorem on sums of two squares by Thue's lemma proof
- Proof that −1 is a square modulo p if and only if p is not 3 modulo 4 proof
- −1 is a square modulo p if and only if p is not 3 modulo 4 statement
- Fermat's theorem on sums of two squares statement
- Proof that a prime is a Gaussian prime if and only if it is 3 modulo 4 proof
Where this leads
1 page builds on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Gaussian_integer, Gaussian primes
About this page
| Tag | FATHK2VGE6 |
|---|---|
| URI | m2://FATHK2VGE6 |
| Kind | proof |
| Writing | W0 stub |
| MSC | 11R11 |
| Proves | A prime is a Gaussian prime if and only if it is 3 modulo 4 |
| Uses | Gaussian prime, Prime number, Gaussian integer, Norm of a Gaussian integer, Units of the Gaussian integers, Fermat's theorem on sums of two squares, First supplement to quadratic reciprocity, Legendre symbol, Bézout's identity |
| Changed | 4 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.