HOME

TheInfoList



OR:

In
number theory Number theory (or arithmetic or higher arithmetic in older usage) is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic function, integer-valued functions. German mathematician Carl Friedrich Gauss (1777â ...
, a Gaussian integer is a
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
whose real and imaginary parts are both
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s. The Gaussian integers, with ordinary
addition Addition (usually signified by the Plus and minus signs#Plus sign, plus symbol ) is one of the four basic Operation (mathematics), operations of arithmetic, the other three being subtraction, multiplication and Division (mathematics), division. ...
and
multiplication Multiplication (often denoted by the cross symbol , by the mid-line dot operator , by juxtaposition, or, on computers, by an asterisk ) is one of the four elementary mathematical operations of arithmetic, with the other ones being additi ...
of
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
s, form an
integral domain In mathematics, specifically abstract algebra, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural set ...
, usually written as \mathbf /math> or \Z Gaussian integers share many properties with integers: they form a Euclidean domain, and have thus a
Euclidean division In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller than ...
and a
Euclidean algorithm In mathematics, the Euclidean algorithm,Some widely used textbooks, such as I. N. Herstein's ''Topics in Algebra'' and Serge Lang's ''Algebra'', use the term "Euclidean algorithm" to refer to Euclidean division or Euclid's algorithm, is an effi ...
; this implies
unique factorization In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is a ...
and many related properties. However, Gaussian integers do not have a
total order In mathematics, a total or linear order is a partial order in which any two elements are comparable. That is, a total order is a binary relation \leq on some set X, which satisfies the following for all a, b and c in X: # a \leq a ( reflexive) ...
ing that respects arithmetic. Gaussian integers are
algebraic integer In algebraic number theory, an algebraic integer is a complex number which is integral over the integers. That is, an algebraic integer is a complex root of some monic polynomial (a polynomial whose leading coefficient is 1) whose coefficients ...
s and form the simplest ring of
quadratic integer In number theory, quadratic integers are a generalization of the usual integers to quadratic fields. Quadratic integers are algebraic integers of degree two, that is, solutions of equations of the form : with and (usual) integers. When algebra ...
s. Gaussian integers are named after the German mathematician
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
.


Basic definitions

The Gaussian integers are the set :\mathbf \, \qquad \text i^2 = -1. In other words, a Gaussian integer is a
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
such that its
real Real may refer to: Currencies * Brazilian real (R$) * Central American Republic real * Mexican real * Portuguese real * Spanish real * Spanish colonial real Music Albums * ''Real'' (L'Arc-en-Ciel album) (2000) * ''Real'' (Bright album) (2010) ...
and
imaginary part In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
s are both
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s. Since the Gaussian integers are closed under addition and multiplication, they form a
commutative ring In mathematics, a commutative ring is a ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring properties that are not sp ...
, which is a subring of the field of complex numbers. It is thus an
integral domain In mathematics, specifically abstract algebra, an integral domain is a nonzero commutative ring in which the product of any two nonzero elements is nonzero. Integral domains are generalizations of the ring of integers and provide a natural set ...
. When considered within the
complex plane In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
, the Gaussian integers constitute the -dimensional
integer lattice In mathematics, the -dimensional integer lattice (or cubic lattice), denoted , is the lattice in the Euclidean space whose lattice points are -tuples of integers. The two-dimensional integer lattice is also called the square lattice, or grid ...
. The ''conjugate'' of a Gaussian integer is the Gaussian integer . The ''norm'' of a Gaussian integer is its product with its conjugate. :N(a+bi) = (a+bi)(a-bi) = a^2+b^2. The norm of a Gaussian integer is thus the square of its
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), an ...
as a complex number. The norm of a Gaussian integer is a nonnegative integer, which is a sum of two
squares In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90- degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length a ...
. Thus a norm cannot be of the form , with integer. The norm is multiplicative, that is, one has :N(zw) = N(z)N(w), for every pair of Gaussian integers . This can be shown directly, or by using the multiplicative property of the modulus of complex numbers. The
unit Unit may refer to: Arts and entertainment * UNIT, a fictional military organization in the science fiction television series ''Doctor Who'' * Unit of action, a discrete piece of action (or beat) in a theatrical presentation Music * ''Unit'' (alb ...
s of the ring of Gaussian integers (that is the Gaussian integers whose
multiplicative inverse In mathematics, a multiplicative inverse or reciprocal for a number ''x'', denoted by 1/''x'' or ''x''−1, is a number which when Multiplication, multiplied by ''x'' yields the multiplicative identity, 1. The multiplicative inverse of a rat ...
is also a Gaussian integer) are precisely the Gaussian integers with norm 1, that is, 1, –1, and .


Euclidean division

Gaussian integers have a
Euclidean division In arithmetic, Euclidean division – or division with remainder – is the process of dividing one integer (the dividend) by another (the divisor), in a way that produces an integer quotient and a natural number remainder strictly smaller than ...
(division with remainder) similar to that of
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign (−1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the language ...
s and
polynomial In mathematics, a polynomial is an expression consisting of indeterminates (also called variables) and coefficients, that involves only the operations of addition, subtraction, multiplication, and positive-integer powers of variables. An exa ...
s. This makes the Gaussian integers a Euclidean domain, and implies that Gaussian integers share with integers and polynomials many important properties such as the existence of a
Euclidean algorithm In mathematics, the Euclidean algorithm,Some widely used textbooks, such as I. N. Herstein's ''Topics in Algebra'' and Serge Lang's ''Algebra'', use the term "Euclidean algorithm" to refer to Euclidean division or Euclid's algorithm, is an effi ...
for computing
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
s,
Bézout's identity In mathematics, Bézout's identity (also called Bézout's lemma), named after Étienne Bézout, is the following theorem: Here the greatest common divisor of and is taken to be . The integers and are called Bézout coefficients for ; they ...
, the principal ideal property,
Euclid's lemma In algebra and number theory, Euclid's lemma is a lemma that captures a fundamental property of prime numbers, namely: For example, if , , , then , and since this is divisible by 19, the lemma implies that one or both of 133 or 143 must be as w ...
, the unique factorization theorem, and the
Chinese remainder theorem In mathematics, the Chinese remainder theorem states that if one knows the remainders of the Euclidean division of an integer ''n'' by several integers, then one can determine uniquely the remainder of the division of ''n'' by the product of thes ...
, all of which can be proved using only Euclidean division. A Euclidean division algorithm takes, in the ring of Gaussian integers, a dividend and divisor , and produces a quotient and remainder such that :a=bq+r\quad \text \quad N(r) In fact, one may make the remainder smaller: :a=bq+r\quad \text \quad N(r)\le \frac. Even with this better inequality, the quotient and the remainder are not necessarily unique, but one may refine the choice to ensure uniqueness. To prove this, one may consider the
complex number In mathematics, a complex number is an element of a number system that extends the real numbers with a specific element denoted , called the imaginary unit and satisfying the equation i^= -1; every complex number can be expressed in the form ...
quotient . There are unique integers and such that and , and thus . Taking , one has :a = bq + r, with :r=b\bigl(x-m+ i(y-n)\bigr), and :N(r)\le \frac. The choice of and in a
semi-open interval In mathematics, a (real) interval is a set of real numbers that contains all real numbers lying between any two numbers of the set. For example, the set of numbers satisfying is an interval which contains , , and all numbers in between. Other ...
is required for uniqueness. This definition of Euclidean division may be interpreted geometrically in the complex plane (see the figure), by remarking that the distance from a complex number to the closest Gaussian integer is at most .


Principal ideals

Since the ring of Gaussian integers is a Euclidean domain, is a
principal ideal domain In mathematics, a principal ideal domain, or PID, is an integral domain in which every ideal is principal, i.e., can be generated by a single element. More generally, a principal ideal ring is a nonzero commutative ring whose ideals are principal, ...
, which means that every
ideal Ideal may refer to: Philosophy * Ideal (ethics), values that one actively pursues as goals * Platonic ideal, a philosophical idea of trueness of form, associated with Plato Mathematics * Ideal (ring theory), special subsets of a ring considere ...
of is principal. Explicitly, an
ideal Ideal may refer to: Philosophy * Ideal (ethics), values that one actively pursues as goals * Platonic ideal, a philosophical idea of trueness of form, associated with Plato Mathematics * Ideal (ring theory), special subsets of a ring considere ...
is a subset of a ring such that every sum of elements of and every product of an element of by an element of belong to . An ideal is principal if it consists of all multiples of a single element , that is, it has the form :\. In this case, one says that the ideal is ''generated'' by or that is a ''generator'' of the ideal. Every ideal in the ring of the Gaussian integers is principal, because, if one chooses in a nonzero element of minimal norm, for every element of , the remainder of Euclidean division of by belongs also to and has a norm that is smaller than that of ; because of the choice of , this norm is zero, and thus the remainder is also zero. That is, one has , where is the quotient. For any , the ideal generated by is also generated by any ''associate'' of , that is, ; no other element generates the same ideal. As all the generators of an ideal have the same norm, the ''norm of an ideal'' is the norm of any of its generators. In some circumstances, it is useful to choose, once for all, a generator for each ideal. There are two classical ways for doing that, both considering first the ideals of odd norm. If the has an odd norm , then one of and is odd, and the other is even. Thus has exactly one associate with a real part that is odd and positive. In his original paper,
Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
made another choice, by choosing the unique associate such that the remainder of its division by is one. In fact, as , the norm of the remainder is not greater than 4. As this norm is odd, and 3 is not the norm of a Gaussian integer, the norm of the remainder is one, that is, the remainder is a unit. Multiplying by the inverse of this unit, one finds an associate that has one as a remainder, when divided by . If the norm of is even, then either or , where is a positive integer, and is odd. Thus, one chooses the associate of for getting a which fits the choice of the associates for elements of odd norm.


Gaussian primes

As the Gaussian integers form a
principal ideal domain In mathematics, a principal ideal domain, or PID, is an integral domain in which every ideal is principal, i.e., can be generated by a single element. More generally, a principal ideal ring is a nonzero commutative ring whose ideals are principal, ...
they form also a
unique factorization domain In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is an ...
. This implies that a Gaussian integer is
irreducible In philosophy, systems theory, science, and art, emergence occurs when an entity is observed to have properties its parts do not have on their own, properties or behaviors that emerge only when the parts interact in a wider whole. Emergence ...
(that is, it is not the product of two non-units) if and only if it is
prime A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
(that is, it generates a
prime ideal In algebra, a prime ideal is a subset of a ring that shares many important properties of a prime number in the ring of integers. The prime ideals for the integers are the sets that contain all the multiples of a given prime number, together with ...
). The
prime element In mathematics, specifically in abstract algebra, a prime element of a commutative ring is an object satisfying certain properties similar to the prime numbers in the integers and to irreducible polynomials. Care should be taken to distinguish pri ...
s of are also known as Gaussian primes. An associate of a Gaussian prime is also a Gaussian prime. The conjugate of a Gaussian prime is also a Gaussian prime (this implies that Gaussian primes are symmetric about the real and imaginary axes). A positive integer is a Gaussian prime if and only if it is a
prime number A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
that is congruent to 3 modulo 4 (that is, it may be written , with a nonnegative integer) . The other prime numbers are not Gaussian primes, but each is the product of two conjugate Gaussian primes. A Gaussian integer is a Gaussian prime if and only if either: *one of is zero and the
absolute value In mathematics, the absolute value or modulus of a real number x, is the non-negative value without regard to its sign. Namely, , x, =x if is a positive number, and , x, =-x if x is negative (in which case negating x makes -x positive), an ...
of the other is a prime number of the form (with a nonnegative integer), or *both are nonzero and is a prime number (which will ''not'' be of the form ). In other words, a Gaussian integer is a Gaussian prime if and only if either its norm is a prime number, or it is the product of a unit () and a prime number of the form . It follows that there are three cases for the factorization of a prime number in the Gaussian integers: *If is congruent to 3 modulo 4, then it is a Gaussian prime; in the language of
algebraic number theory Algebraic number theory is a branch of number theory that uses the techniques of abstract algebra to study the integers, rational numbers, and their generalizations. Number-theoretic questions are expressed in terms of properties of algebraic ob ...
, is said to be inert in the Gaussian integers. *If is congruent to 1 modulo 4, then it is the product of a Gaussian prime by its conjugate, both of which are non-associated Gaussian primes (neither is the product of the other by a unit); is said to be a decomposed prime in the Gaussian integers. For example, and . *If , we have ; that is, 2 is the product of the square of a Gaussian prime by a unit; it is the unique ramified prime in the Gaussian integers.


Unique factorization

As for every
unique factorization domain In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is an ...
, every Gaussian integer may be factored as a product of a
unit Unit may refer to: Arts and entertainment * UNIT, a fictional military organization in the science fiction television series ''Doctor Who'' * Unit of action, a discrete piece of action (or beat) in a theatrical presentation Music * ''Unit'' (alb ...
and Gaussian primes, and this factorization is unique up to the order of the factors, and the replacement of any prime by any of its associates (together with a corresponding change of the unit factor). If one chooses, once for all, a fixed Gaussian prime for each
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
of associated primes, and if one takes only these selected primes in the factorization, then one obtains a prime factorization which is unique up to the order of the factors. With the choices described above, the resulting unique factorization has the form :u(1+i)^^\cdots ^, where is a unit (that is, ), and are nonnegative integers, are positive integers, and are distinct Gaussian primes such that, depending on the choice of selected associates, *either with odd and positive, and even, *or the remainder of the Euclidean division of by equals 1 (this is Gauss's original choice). An advantage of the second choice is that the selected associates behave well under products for Gaussian integers of odd norm. On the other hand, the selected associate for the real Gaussian primes are negative integers. For example, the factorization of 231 in the integers, and with the first choice of associates is , while it is with the second choice.


Gaussian rationals

The
field Field may refer to: Expanses of open ground * Field (agriculture), an area of land used for agricultural purposes * Airfield, an aerodrome that lacks the infrastructure of an airport * Battlefield * Lawn, an area of mowed grass * Meadow, a grass ...
of
Gaussian rational In mathematics, a Gaussian rational number is a complex number of the form ''p'' + ''qi'', where ''p'' and ''q'' are both rational numbers. The set of all Gaussian rationals forms the Gaussian rational field, denoted Q(''i''), obtained by ...
s is the
field of fractions In abstract algebra, the field of fractions of an integral domain is the smallest field in which it can be embedded. The construction of the field of fractions is modeled on the relationship between the integral domain of integers and the field ...
of the ring of Gaussian integers. It consists of the complex numbers whose real and imaginary part are both
rational Rationality is the quality of being guided by or based on reasons. In this regard, a person acts rationally if they have a good reason for what they do or a belief is rational if it is based on strong evidence. This quality can apply to an abi ...
. The ring of Gaussian integers is the integral closure of the integers in the Gaussian rationals. This implies that Gaussian integers are
quadratic integer In number theory, quadratic integers are a generalization of the usual integers to quadratic fields. Quadratic integers are algebraic integers of degree two, that is, solutions of equations of the form : with and (usual) integers. When algebra ...
s and that a Gaussian rational is a Gaussian integer, if and only if it is a solution of an equation :x^2 +cx+d=0, with and integers. In fact is solution of the equation :x^2-2ax+a^2+b^2, and this equation has integer coefficients if and only if and are both integers.


Greatest common divisor

As for any
unique factorization domain In mathematics, a unique factorization domain (UFD) (also sometimes called a factorial ring following the terminology of Bourbaki) is a ring in which a statement analogous to the fundamental theorem of arithmetic holds. Specifically, a UFD is an ...
, a ''
greatest common divisor In mathematics, the greatest common divisor (GCD) of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers ''x'', ''y'', the greatest common divisor of ''x'' and ''y'' is ...
(gcd)'' of two Gaussian integers is a Gaussian integer that is a common divisor of and , which has all common divisors of and as divisor. That is (where denotes the
divisibility In mathematics, a divisor of an integer n, also called a factor of n, is an integer m that may be multiplied by some integer to produce n. In this case, one also says that n is a multiple of m. An integer n is divisible or evenly divisible by ...
relation), * and , and * and implies . Thus, ''greatest'' is meant relatively to the divisibility relation, and not for an ordering of the ring (for integers, both meanings of ''greatest'' coincide). More technically, a greatest common divisor of and is a
generator Generator may refer to: * Signal generator, electronic devices that generate repeating or non-repeating electronic signals * Electric generator, a device that converts mechanical energy to electrical energy. * Generator (circuit theory), an eleme ...
of the
ideal Ideal may refer to: Philosophy * Ideal (ethics), values that one actively pursues as goals * Platonic ideal, a philosophical idea of trueness of form, associated with Plato Mathematics * Ideal (ring theory), special subsets of a ring considere ...
generated by and (this characterization is valid for
principal ideal domain In mathematics, a principal ideal domain, or PID, is an integral domain in which every ideal is principal, i.e., can be generated by a single element. More generally, a principal ideal ring is a nonzero commutative ring whose ideals are principal, ...
s, but not, in general, for unique factorization domains). The greatest common divisor of two Gaussian integers is not unique, but is defined up to the multiplication by a
unit Unit may refer to: Arts and entertainment * UNIT, a fictional military organization in the science fiction television series ''Doctor Who'' * Unit of action, a discrete piece of action (or beat) in a theatrical presentation Music * ''Unit'' (alb ...
. That is, given a greatest common divisor of and , the greatest common divisors of and are , and . There are several ways for computing a greatest common divisor of two Gaussian integers and . When one knows the prime factorizations of and , :a = i^k\prod_m ^, \quad b = i^n\prod_m ^, where the primes are pairwise non associated, and the exponents non-associated, a greatest common divisor is :\prod_m ^, with :\lambda_m = \min(\nu_m, \mu_m). Unfortunately, except in simple cases, the prime factorization is difficult to compute, and
Euclidean algorithm In mathematics, the Euclidean algorithm,Some widely used textbooks, such as I. N. Herstein's ''Topics in Algebra'' and Serge Lang's ''Algebra'', use the term "Euclidean algorithm" to refer to Euclidean division or Euclid's algorithm, is an effi ...
leads to a much easier (and faster) computation. This algorithm consists of replacing of the input by , where is the remainder of the Euclidean division of by , and repeating this operation until getting a zero remainder, that is a pair . This process terminates, because, at each step, the norm of the second Gaussian integer decreases. The resulting is a greatest common divisor, because (at each step) and have the same divisors as and , and thus the same greatest common divisor. This method of computation works always, but is not as simple as for integers because Euclidean division is more complicated. Therefore, a third method is often preferred for hand-written computations. It consists in remarking that the norm of the greatest common divisor of and is a common divisor of , , and . When the greatest common divisor of these three integers has few factors, then it is easy to test, for common divisor, all Gaussian integers with a norm dividing . For example, if , and , one has , , and . As the greatest common divisor of the three norms is 2, the greatest common divisor of and has 1 or 2 as a norm. As a gaussian integer of norm 2 is necessary associated to , and as divides and , then the greatest common divisor is . If is replaced by its conjugate , then the greatest common divisor of the three norms is 34, the norm of , thus one may guess that the greatest common divisor is , that is, that . In fact, one has .


Congruences and residue classes

Given a Gaussian integer , called a ''modulus'', two Gaussian integers are ''congruent modulo'' , if their difference is a multiple of , that is if there exists a Gaussian integer such that . In other words, two Gaussian integers are congruent modulo , if their difference belongs to the
ideal Ideal may refer to: Philosophy * Ideal (ethics), values that one actively pursues as goals * Platonic ideal, a philosophical idea of trueness of form, associated with Plato Mathematics * Ideal (ring theory), special subsets of a ring considere ...
generated by . This is denoted as . The congruence modulo is an
equivalence relation In mathematics, an equivalence relation is a binary relation that is reflexive, symmetric and transitive. The equipollence relation between line segments in geometry is a common example of an equivalence relation. Each equivalence relation ...
(also called a
congruence relation In abstract algebra, a congruence relation (or simply congruence) is an equivalence relation on an algebraic structure (such as a group, ring, or vector space) that is compatible with the structure in the sense that algebraic operations done wi ...
), which defines a
partition Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of a ...
of the Gaussian integers into
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
es, called here
congruence class In mathematics, modular arithmetic is a system of arithmetic for integers, where numbers "wrap around" when reaching a certain value, called the modulus. The modern approach to modular arithmetic was developed by Carl Friedrich Gauss in his book ...
es or ''residue classes''. The set of the residue classes is usually denoted , or , or simply . The residue class of a Gaussian integer is the set : \bar a := \left\ of all Gaussian integers that are congruent to . It follows that
if and only if In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false. The connective is bicondi ...
. Addition and multiplication are compatible with congruences. This means that and imply and . This defines well-defined operations (that is independent of the choice of representatives) on the residue classes: :\bar a + \bar b := \overline\quad \text\quad \bar a \cdot\bar b := \overline. With these operations, the residue classes form a
commutative ring In mathematics, a commutative ring is a ring in which the multiplication operation is commutative. The study of commutative rings is called commutative algebra. Complementarily, noncommutative algebra is the study of ring properties that are not sp ...
, the
quotient ring In ring theory, a branch of abstract algebra, a quotient ring, also known as factor ring, difference ring or residue class ring, is a construction quite similar to the quotient group in group theory and to the quotient space in linear algebra. ...
of the Gaussian integers by the ideal generated by , which is also traditionally called the ''residue class ring modulo''  (for more details, see
Quotient ring In ring theory, a branch of abstract algebra, a quotient ring, also known as factor ring, difference ring or residue class ring, is a construction quite similar to the quotient group in group theory and to the quotient space in linear algebra. ...
).


Examples

*There are exactly two residue classes for the modulus , namely (all multiples of ), and , which form a checkerboard pattern in the complex plane. These two classes form thus a ring with two elements, which is, in fact, a
field Field may refer to: Expanses of open ground * Field (agriculture), an area of land used for agricultural purposes * Airfield, an aerodrome that lacks the infrastructure of an airport * Battlefield * Lawn, an area of mowed grass * Meadow, a grass ...
, the unique (up to an isomorphism) field with two elements, and may thus be identified with the integers modulo 2. These two classes may be considered as a generalization of the partition of integers into even and odd integers. Thus one may speak of ''even'' and ''odd'' Gaussian integers (Gauss divided further even Gaussian integers into ''even'', that is divisible by 2, and ''half-even''). *For the modulus 2 there are four residue classes, namely . These form a ring with four elements, in which for every . Thus this ring is not
isomorphic In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word is ...
with the ring of integers modulo 4, another ring with four elements. One has , and thus this ring is not the
finite field In mathematics, a finite field or Galois field (so-named in honor of Évariste Galois) is a field that contains a finite number of elements. As with any field, a finite field is a set on which the operations of multiplication, addition, subtr ...
with four elements, nor the direct product of two copies of the ring of integers modulo 2. *For the modulus there are eight residue classes, namely , whereof four contain only even Gaussian integers and four contain only odd Gaussian integers.


Describing residue classes

Given a modulus , all elements of a residue class have the same remainder for the Euclidean division by , provided one uses the division with unique quotient and remainder, which is described above. Thus enumerating the residue classes is equivalent with enumerating the possible remainders. This can be done geometrically in the following way. In the
complex plane In mathematics, the complex plane is the plane formed by the complex numbers, with a Cartesian coordinate system such that the -axis, called the real axis, is formed by the real numbers, and the -axis, called the imaginary axis, is formed by the ...
, one may consider a
square grid In geometry, the square tiling, square tessellation or square grid is a regular tiling of the Euclidean plane. It has Schläfli symbol of meaning it has 4 squares around every vertex. Conway called it a quadrille. The internal angle of th ...
, whose squares are delimited by the two lines :\begin V_s&=\left\ \quad \text \\ H_t&=\left\, \end with and integers (blue lines in the figure). These divide the plane in semi-open squares (where and are integers) :Q_=\left\. The semi-open intervals that occur in the definition of have been chosen in order that every complex number belong to exactly one square; that is, the squares form a
partition Partition may refer to: Computing Hardware * Disk partitioning, the division of a hard disk drive * Memory partition, a subdivision of a computer's memory, usually for use by a single job Software * Partition (database), the division of a ...
of the complex plane. One has :Q_ = (m+in)z_0+Q_=\left\. This implies that every Gaussian integer is congruent modulo to a unique Gaussian integer in (the green square in the figure), which its remainder for the division by . In other words, every residue class contains exactly one element in . The Gaussian integers in (or in its
boundary Boundary or Boundaries may refer to: * Border, in political geography Entertainment * ''Boundaries'' (2016 film), a 2016 Canadian film * ''Boundaries'' (2018 film), a 2018 American-Canadian road trip film *Boundary (cricket), the edge of the pla ...
) are sometimes called ''minimal residues'' because their norm are not greater than the norm of any other Gaussian integer in the same residue class (Gauss called them ''absolutely smallest residues''). From this one can deduce by geometrical considerations, that the number of residue classes modulo a Gaussian integer equals its norm (see below for a proof; similarly, for integers, the number of residue classes modulo is its absolute value ).


Residue class fields

The residue class ring modulo a Gaussian integer is a
field Field may refer to: Expanses of open ground * Field (agriculture), an area of land used for agricultural purposes * Airfield, an aerodrome that lacks the infrastructure of an airport * Battlefield * Lawn, an area of mowed grass * Meadow, a grass ...
if and only if z_0 is a Gaussian prime. If is a decomposed prime or the ramified prime (that is, if its norm is a prime number, which is either 2 or a prime congruent to 1 modulo 4), then the residue class field has a prime number of elements (that is, ). It is thus
isomorphic In mathematics, an isomorphism is a structure-preserving mapping between two structures of the same type that can be reversed by an inverse mapping. Two mathematical structures are isomorphic if an isomorphism exists between them. The word is ...
to the field of the integers modulo . If, on the other hand, is an inert prime (that is, is the square of a prime number, which is congruent to 3 modulo 4), then the residue class field has elements, and it is an
extension Extension, extend or extended may refer to: Mathematics Logic or set theory * Axiom of extensionality * Extensible cardinal * Extension (model theory) * Extension (predicate logic), the set of tuples of values that satisfy the predicate * E ...
of degree 2 (unique, up to an isomorphism) of the
prime field In mathematics, the characteristic of a ring , often denoted , is defined to be the smallest number of times one must use the ring's multiplicative identity (1) in a sum to get the additive identity (0). If this sum never reaches the additive ide ...
with elements (the integers modulo ).


Primitive residue class group and Euler's totient function

Many theorems (and their proofs) for moduli of integers can be directly transferred to moduli of Gaussian integers, if one replaces the absolute value of the modulus by the norm. This holds especially for the ''primitive residue class group'' (also called multiplicative group of integers modulo ) and
Euler's totient function In number theory, Euler's totient function counts the positive integers up to a given integer that are relatively prime to . It is written using the Greek letter phi as \varphi(n) or \phi(n), and may also be called Euler's phi function. In ot ...
. The primitive residue class group of a modulus is defined as the subset of its residue classes, which contains all residue classes that are coprime to , i.e. . Obviously, this system builds a
multiplicative group In mathematics and group theory, the term multiplicative group refers to one of the following concepts: *the group under multiplication of the invertible elements of a field, ring, or other structure for which one of its operations is referre ...
. The number of its elements shall be denoted by (analogously to Euler's totient function for integers ). For Gaussian primes it immediately follows that and for arbitrary composite Gaussian integers :z = i^k\prod_m ^ Euler's product formula can be derived as :\phi(z) =\prod_ \bigl, ^\bigr, ^2 \left( 1 - \frac 1 \right) = , z, ^2\prod_\left( 1 - \frac 1 \right) where the product is to build over all prime divisors of (with ). Also the important theorem of Euler can be directly transferred: : For all with , it holds that .


Historical background

The ring of Gaussian integers was introduced by
Carl Friedrich Gauss Johann Carl Friedrich Gauss (; german: Gauß ; la, Carolus Fridericus Gauss; 30 April 177723 February 1855) was a German mathematician and physicist who made significant contributions to many fields in mathematics and science. Sometimes refer ...
in his second monograph on
quartic reciprocity Quartic or biquadratic reciprocity is a collection of theorems in elementary and algebraic number theory that state conditions under which the congruence ''x''4 ≡ ''p'' (mod ''q'') is solvable; the word "reciprocity" comes from the form o ...
(1832). The theorem of
quadratic reciprocity In number theory, the law of quadratic reciprocity is a theorem about modular arithmetic that gives conditions for the solvability of quadratic equations modulo prime numbers. Due to its subtlety, it has many formulations, but the most standard st ...
(which he had first succeeded in proving in 1796) relates the solvability of the congruence to that of . Similarly, cubic reciprocity relates the solvability of to that of , and biquadratic (or quartic) reciprocity is a relation between and . Gauss discovered that the law of biquadratic reciprocity and its supplements were more easily stated and proved as statements about "whole complex numbers" (i.e. the Gaussian integers) than they are as statements about ordinary whole numbers (i.e. the integers). In a footnote he notes that the Eisenstein integers are the natural domain for stating and proving results on
cubic reciprocity Cubic reciprocity is a collection of theorems in elementary and algebraic number theory that state conditions under which the congruence ''x''3 â‰¡ ''p'' (mod ''q'') is solvable; the word "reciprocity" comes from the form of ...
and indicates that similar extensions of the integers are the appropriate domains for studying higher reciprocity laws. This paper not only introduced the Gaussian integers and proved they are a unique factorization domain, it also introduced the terms norm, unit, primary, and associate, which are now standard in algebraic number theory.


Unsolved problems

Most of the unsolved problems are related to distribution of Gaussian primes in the plane. * Gauss's circle problem does not deal with the Gaussian integers per se, but instead asks for the number of
lattice point In geometry and group theory, a lattice in the real coordinate space \mathbb^n is an infinite set of points in this space with the properties that coordinate wise addition or subtraction of two points in the lattice produces another lattice poi ...
s inside a circle of a given radius centered at the origin. This is equivalent to determining the number of Gaussian integers with norm less than a given value. There are also conjectures and unsolved problems about the Gaussian primes. Two of them are: *The real and imaginary axes have the infinite set of Gaussian primes 3, 7, 11, 19, ... and their associates. Are there any other lines that have infinitely many Gaussian primes on them? In particular, are there infinitely many Gaussian primes of the form ? *Is it possible to walk to infinity using the Gaussian primes as stepping stones and taking steps of a uniformly bounded length? This is known as the Gaussian moat problem; it was posed in 1962 by Basil Gordon and remains unsolved.


See also

*
Algebraic integer In algebraic number theory, an algebraic integer is a complex number which is integral over the integers. That is, an algebraic integer is a complex root of some monic polynomial (a polynomial whose leading coefficient is 1) whose coefficients ...
*
Cyclotomic field In number theory, a cyclotomic field is a number field obtained by adjoining a complex root of unity to , the field of rational numbers. Cyclotomic fields played a crucial role in the development of modern algebra and number theory because of ...
* Eisenstein integer *
Eisenstein prime In mathematics, an Eisenstein prime is an Eisenstein integer : z = a + b\,\omega, \quad \text \quad \omega = e^, that is irreducible (or equivalently prime) in the ring-theoretic sense: its only Eisenstein divisors are the units , itself ...
*
Hurwitz quaternion In mathematics, a Hurwitz quaternion (or Hurwitz integer) is a quaternion whose components are ''either'' all integers ''or'' all half-integers (halves of odd integers; a mixture of integers and half-integers is excluded). The set of all Hurwitz qu ...
* Proofs of Fermat's theorem on sums of two squares * Proofs of quadratic reciprocity *
Quadratic integer In number theory, quadratic integers are a generalization of the usual integers to quadratic fields. Quadratic integers are algebraic integers of degree two, that is, solutions of equations of the form : with and (usual) integers. When algebra ...
*
Splitting of prime ideals in Galois extensions In mathematics, the interplay between the Galois group ''G'' of a Galois extension ''L'' of a number field ''K'', and the way the prime ideals ''P'' of the ring of integers ''O'K'' factorise as products of prime ideals of ''O'L'', provides one ...
describes the structure of prime ideals in the Gaussian integers *
Table of Gaussian integer factorizations A Gaussian integer is either the zero, one of the four units (±1, ±''i''), a Gaussian prime or composite. The article is a table of Gaussian Integers followed either by an explicit factorization or followed by the label (p) if the integer is a Ga ...


Notes


References

*; reprinted in Werke, Georg Olms Verlag, Hildesheim, 1973, pp. 93–148. A German translation of this paper is available online in ″H. Maser (ed.):
Carl Friedrich Gauss’ Arithmetische Untersuchungen über höhere Arithmetik.
' Springer, Berlin 1889, pp. 534″. * * * *


External links


IMO Compendium
text on quadratic extensions and Gaussian Integers in problem solving *Keith Conrad
The Gaussian Integers
{{Prime number classes Algebraic numbers Cyclotomic fields Lattice points Quadratic irrational numbers Integers