Proof that −1 is a square modulo p if and only if p is not 3 modulo 4
Builds on First supplement to quadratic reciprocityLegendre symbolQuadratic residuePrime number
Proof
- Let be a prime number. If , then gives . Also . So the statement holds for .
- Let be odd. Then or .
- There is an integer with exactly when is a quadratic residue modulo .
- Since , this holds exactly when the Legendre symbol equals .
- By the first supplement, . This is exactly when is even, that is, when .
- So for odd , a solution exists exactly when . By step 2, this means .
Idea
For odd , the first supplement gives the answer as the sign , which is exactly for . The prime is checked by hand.
Reading path
To understand this page from the ground up, read these 77 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 of Euclid's lemma, Proof that R[x] is an integral domain iff R is, Proof of the degree of a product over an integral domain, Proof of strong induction from ordinary induction, Proof that the integers modulo a prime form a field, Proof that congruence is compatible with addition, Proof of Euler's criterion by counting quadratic residues, 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 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 factor theorem, Proof that congruence is compatible with powers.
- Definition by recursion concept
- Divisibility definition
- Group concept
- Mathematical induction concept
- Natural numbers object
- Peano axioms concept
- Congruence modulo n definition
- Greatest common divisor definition
- Prime number definition
- Ring definition
- Successor function definition
- Quadratic residue definition
- Residue class definition
- Proof that congruence is compatible with addition proof
- Proof that congruence is compatible with multiplication proof
- Coprime integers definition
- Addition of natural numbers definition
- Commutative ring definition
- Polynomial ring definition
- Ring homomorphism definition
- Unit of a ring definition
- Zero divisor definition
- The successor function is injective statement
- Zero is not a successor statement
- Congruence is compatible with addition statement
- Legendre symbol definition
- Congruence is compatible with multiplication statement
- Proof of the commutativity of addition by induction proof
- Order on the natural numbers definition
- Divisibility in a commutative ring definition
- Degree of a polynomial definition
- Polynomial evaluation definition
- Field definition
- Integral domain definition
- Integers modulo n definition
- Proof that congruence is compatible with powers proof
- Commutativity of addition statement
- Leading coefficient definition
- Proof of cancellation in an integral domain proof
- Proof of strong induction from ordinary induction proof
- Root of a polynomial definition
- Evaluation homomorphism definition
- Congruence is compatible with powers statement
- Monic polynomial definition
- Strong induction statement
- Multiplicity of a root definition
- Proof of the degree of a product over an integral domain proof
- Cancellation in an integral domain statement
- Proof of the remainder theorem proof
- Proof of the well-ordering principle from strong induction proof
- Division algorithm for polynomials statement
- Degree of a product statement
- Well-ordering principle statement
- Remainder theorem statement
- Proof that R[x] is an integral domain iff R is proof
- Proof of the division algorithm proof
- Proof of the factor theorem proof
- R[x] is an integral domain iff R is statement
- Division algorithm statement
- Factor theorem statement
- Proof of Bézout's identity proof
- Proof that a polynomial over a field has at most as many roots as its degree proof
- Bézout's identity statement
- A polynomial over a field has at most as many roots as its degree statement
- Proof that the integers modulo a prime form a field proof
- Proof of the generalized Euclid's lemma proof
- Integers modulo a prime form a field statement
- Generalized Euclid's lemma statement
- Proof of Euclid's lemma proof
- Euclid's lemma statement
- Proof of Fermat's little theorem by rearrangement proof
- Fermat's little theorem statement
- Proof of Euler's criterion by counting quadratic residues proof
- Euler's criterion statement
- Proof of the first supplement to quadratic reciprocity from Euler's criterion proof
- First supplement to quadratic reciprocity statement
- Proof that −1 is a square modulo p if and only if p is not 3 modulo 4 proof
Where this leads
6 pages build on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Quadratic_reciprocity, Proofs of the supplements
About this page
| Tag | DZ5NDRMMGR |
|---|---|
| URI | m2://DZ5NDRMMGR |
| Kind | proof |
| Writing | W0 stub |
| MSC | 11A15 |
| Proves | −1 is a square modulo p if and only if p is not 3 modulo 4 |
| Uses | First supplement to quadratic reciprocity, Legendre symbol, Quadratic residue, Prime number |
| 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.