Quadratic Congruences
A quadratic congruence is a congruence involving a square. The basic form is
where and .
The problem is to determine whether there exists an integer satisfying the congruence. If such an exists, then is called a quadratic residue modulo . Otherwise, is called a quadratic nonresidue modulo .
Quadratic congruences form the foundation of the theory of quadratic residues, one of the central subjects of classical number theory.
First Examples
Consider arithmetic modulo . Computing the squares gives
Thus the quadratic residues modulo are
The quadratic nonresidues are
Hence the congruence
has solutions, while
does not.
Symmetry of Squares
Modulo a prime , the numbers and always produce the same square:
Thus nonzero quadratic residues typically occur in pairs.
For example, modulo ,
This symmetry explains why there are only about half as many nonzero quadratic residues as nonzero residue classes.
Number of Quadratic Residues
Let be an odd prime. Among the nonzero residue classes modulo , exactly half are quadratic residues.
Indeed, the nonzero residues are
Since
the values
produce all distinct nonzero quadratic residues.
Therefore there are exactly
nonzero quadratic residues modulo .
Solving Quadratic Congruences
To solve
one may test residue classes directly when is small.
For example, solve
Checking squares modulo :
Thus the solutions are
For large moduli, more sophisticated methods are required.
Squares Modulo Powers of Primes
Quadratic congruences modulo powers of primes are subtler.
For example,
has four solutions:
Indeed, every odd square is congruent to .
This differs from the prime modulus case, where quadratic congruences generally have at most two solutions.
Such phenomena motivate deeper investigations into congruences modulo composite numbers.
Polynomial Perspective
The congruence
may be viewed as the polynomial equation
over the finite field
This viewpoint connects quadratic residues with algebraic structures over finite fields.
For example, if is a quadratic residue modulo , then the polynomial
factors over . Otherwise it remains irreducible.
Thus quadratic congruences link arithmetic with algebra.
Geometric Interpretation
The congruence
defines a discrete analogue of the unit circle over the finite field .
Studying such equations leads naturally to arithmetic geometry over finite fields, a subject central to modern algebraic number theory and cryptography.
Historical Context
The systematic study of quadratic residues began with entity[“people”,“Leonhard Euler”,“Swiss mathematician”] and reached a major milestone in the work of entity[“people”,“Carl Friedrich Gauss”,“German mathematician”].
Gauss regarded quadratic reciprocity as the “fundamental theorem” of arithmetic modulo primes. His investigations transformed congruence theory into a coherent mathematical discipline and laid the foundations for modern algebraic number theory.