Proof of the Multiplicative Property of the Legendre Symbol📂Number Theory
Proof of the Multiplicative Property of the Legendre Symbol
Definition
QR and NR respectively stand for quadratic residues and non-quadratic residues. The Legendre Symbol for a natural numbera less than p is defined as
(pa)={1−1a: QRa: NR
In number theory, (yx) is not a fraction but referred to as the Legendre Symbol, and when generalized for non-prime natural numbers, the notation remains the same but is called the Jacobi Symbol.
For a prime numberp greater than 2(pab)=(pa)(pb)
Description
For example, for p=7, 1,2,4 is a QR and 3,5,6 is an NR, therefore
(71)=(72)=(74)=1
and
(73)=(75)=(76)=−1
This symbol greatly facilitates operations on quadratic residues, having a multiplicative property. The multiplicative property means maintaining multiplication inside and outside the function as in f(ab)=f(a)f(b). It means that instead of calculating large numbers as they are, they can be factored into smaller numbers for computation.
Before proving, let’s first discuss a fact that QR and NR have the following properties:
QR x QR = QR
QR x NR = NR
NR x NR = QR
Let’s look at the example given in p=7 to check if this calculation is indeed true. It seems like watching the multiplication of 1 and −1, and actually, that’s the core idea of the Legendre Symbol.
Proof
Part 1. QR x QR = QR
In the case of (pab)=(pa)(pb) where (pab)=(pa), (pb)=1. If we assume q1=a and q2=b are QR, then there exist m1 and m2 satisfying q1≡m12(modp) and q2≡m22(modp). Therefore, if we say
q3≡q1q2≡m12m22≡(m1m2)2(modp)
then, q3 is a QR.
Part 2. QR x NR = NR
In (pab)=(pa)(pb) where (pab)=−1, one of (pa) and (pb) is 1, and the other is −1.
If we assume q=a is QR and n=b is NR satisfying q≡m2(modp), and if we assume that the product r=qn is QR.
Then there exists k satisfying
qn≡r(modp)
hence (m)2n≡(k)2(modp) is true.
Multiplying both sides by (m−1)2,
n≡(m−1k)2(modp)
However, since n is NR, a m−1k satisfying such a modular equation cannot exist. This contradiction means that r=qn is NR.
Part 3. NR x NR = QR
In (pab)=(pa)(pb) where (pab)=1 and (pa)=(pb)=−1.
Let’s assume n=a is NR. For a prime numberp, exactly half of 1,2,⋯(p−1) are QR, and exactly half are NR. Similar to proving Fermat’s Little Theorem, thinking of n,2n,⋯(p−1)n will also result in exactly half being QR, and exactly half being NR.
Since we have shown in Part 2 that QR x NR = NR, the product of n and any QR would be NR. That means if it was QR in 1,2,⋯(p−1), it would be NR in n,2n,⋯(p−1)n. The count of such NRs must precisely be 2p−1, and so must QRs to be possible. Therefore, we can only conclude that NR x NR = QR.
The summary of Parts 1~3 represented by the Legendre Symbol is as follows.
(pab)=(pa)(pb)
■
Using the multiplicative properties of the Legendre Symbol and Gauss’s Law of Quadratic Reciprocity, the following Corollary can be obtained. This implies that the multiplicative property of the Legendre Symbol also holds for the ‘denominator’.
Corollary
For a prime number a larger than 2(pqa)=(pa)(qa)