Jacobi symbol
|
The Jacobi symbol is used by mathematicians in the area of number theory. It is named after the German mathematician Carl Gustav Jakob Jacobi.
Definition
The Jacobi symbol is a generalization of the Legendre symbol using the prime factorization of the bottom number. It is defined as follows:
Let n > 2 be odd and n = <math>p_1^{\alpha_1}p_2^{\alpha_2}\cdots p_k^{\alpha_k}<math>. For any integer a, the Jacobi symbol <math>\left(\frac{a}{n}\right) = \left(\frac{a}{p_1}\right)^{\alpha_1}\left(\frac{a}{p_2}\right)^{\alpha_2}\cdots \left(\frac{a}{p_k}\right)^{\alpha_k}<math>
Properties of the Jacobi symbol
There are a number of useful properties of the Jacobi symbol which can be used to speed up calculations. They include:
- If n is prime, the Jacobi symbol is the Legendre symbol.
- <math>
\left(\frac{a}{n}\right)\in \{0,1,-1\} <math>
- <math>
\left(\frac{a}{n}\right) = 0<math> if <math>\gcd (a,n) \neq 1<math>
- <math>
\left(\frac{ab}{n}\right) = \left(\frac{a}{n}\right)\left(\frac{b}{n}\right) <math>
- If a ≡ b (mod n), then <math>
\left(\frac{a}{n}\right) = \left(\frac{b}{n}\right) <math>
- <math>
\left(\frac{1}{n}\right) = 1 <math>
- <math>
\left(\frac{-1}{n}\right) = (-1)^{\left(\frac{n-1}{2}\right)}<math> = 1 if n ≡ 1 (mod 4) and −1 if n ≡ 3 (mod 4)
- <math>
\left(\frac{2}{n}\right) = (-1)^{\left(\frac{n^2-1}{8}\right)}<math> = 1 if n ≡ 1 or 7 (mod 8) and −1 if n ≡ 3 or 5 (mod 8)
- <math>
\left(\frac{m}{n}\right) = \left(\frac{n}{m}\right)(-1)^{\left(\frac{m-1}{2}\right)\left(\frac{n-1}{2}\right)} <math>
The last property is known as reciprocity, similar to the law of quadratic reciprocity for Legendre symbols.
Residuals
The general statements about quadratic residuals with respect to the Legendre symbol cannot be made with the Jacobi symbol. However, if <math>\left(\frac{a}{n}\right) = -1<math> then a is not a quadratic residual of n because a was not a quadratic residual of some pk that divides n.
In the case where <math>\left(\frac{a}{n}\right) = 1<math> we are unable to say that a is a quadratic residual of n. Since the Jacobi symbol is a product of Legendre symbols, there are cases where two Legendre symbols evaluate to −1 and the Jacobi symbol evaluates to 1.de:Jacobi-Symbol fr:Symbole de Jacobi hu:Jacobi-szimbólum pl:Symbol Jacobiego