ArticleslgStudy

mathematics

Gaussian integer

Gaussian integer is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Gaussian integer rather than just read about it. In short: In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as 𝐙[i] or ℤ[i].

Gaussian integer — main illustration
Gaussian integer — illustration

Key takeaways

  • Gaussian integer belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Gaussian integer to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Gaussian integer from memory before moving on to harder problems.

Reference excerpt

In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as 𝐙[i] or ℤ[i]. Gaussian integers share many properties with integers: they form a Euclidean domain, and thus have a Euclidean division and a Euclidean algorithm; this implies unique factorization and many related properties. However, Gaussian integers do not have a total order that respects arithmetic. Gaussian integers are algebraic integers and form the simplest ring of quadratic integers. Gaussian integers are named after the German mathematician Carl Friedrich Gauss.

Basic definitions The Gaussian integers are the set

𝐙[i]={a+bi∣a,b∈𝐙}, where i2=−1. In other words, a Gaussian integer is a complex number such that its real and imaginary parts are both integers. Since the Gaussian integers are closed under addition and multiplication, they form a commutative ring, which is a subring of the field of complex numbers. It is thus an integral domain. When considered within the complex plane, the Gaussian integers constitute the 2-dimensional square lattice. The conjugate of a complex number a + bi is the complex number a − bi. The norm N(a+bi) of a Gaussian integer a + bi is its product with its conjugate:

N(a+bi)=(a+bi)(a−bi)=a2+b2. The norm of a Gaussian integer is thus the square of its absolute value as a complex number. The norm of a Gaussian integer is a nonnegative integer, which is a sum of two squares. By the sum of two squares theorem, a norm cannot have a factor pk in its prime decomposition where p≡3(mod4) and k is odd (in particular, a norm is not itself congruent to 3 modulo 4). The norm is multiplicative, that is, one has

N(zw)=N(z)N(w), for every pair of Gaussian integers z, w. This can be shown directly, or by using the multiplicative property of the modulus of complex numbers. The units of the ring of Gaussian integers (that is the Gaussian integers whose multiplicative inverse is also a Gaussian integer) are precisely the Gaussian integers with norm 1, that is, 1, −1, i and −i.

Euclidean division

Gaussian integers have a Euclidean division (division with remainder) similar to that of integers and polynomials. 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 for computing greatest common divisors, Bézout's identity, the principal ideal property, Euclid's lemma, the unique factorization theorem, and the Chinese remainder theorem, all of which can be proved using only Euclidean division. A Euclidean division algorithm takes, in the ring of Gaussian integers, a dividend a and divisor b ≠ 0, and produces a quotient q and remainder r such that

a=bq+randN(r)<N(b). In fact, one may make the remainder smaller:

a=bq+randN(r)≤N(b)2. 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 quotient x + iy = ⁠a/b⁠. There are unique integers m and n such that −⁠1/2⁠ < x − m ≤ ⁠1/2⁠ and −⁠1/2⁠ < y − n ≤ ⁠1/2⁠, and thus N(x − m + i(y − n)) ≤ ⁠1/2⁠. Taking q = m + in, one has

a=bq+r, with

r=b(x−m+i(y−n)), and

N(r)≤N(b)2. The choice of x − m and y − n in a semi-open interval 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 ⁠√2/2⁠.

Principal ideals Since the ring G of Gaussian integers is a Euclidean domain, G is a principal ideal domain, which means that every ideal of G is principal. Explicitly, an ideal I is a subset of a ring R such that every sum of elements of I and every product of an element of I by an element of R belong to I. An ideal is principal if it consists of all multiples of a single element g, that is, it has the form

{gx∣x∈G}. In this case, one says that the ideal is generated by g or that g is a generator of the ideal. Every ideal I in the ring of the Gaussian integers is principal, because, if one chooses in I a nonzero element g of minimal norm, for every element x of I, the remainder of Euclidean division of x by g belongs also to I and has a norm that is smaller than that of g; because of the choice of g, this norm is zero, and thus the remainder is also zero. That is, one has x = qg, where q is the quotient. For any g, the ideal generated by g is also generated by any associate of g, that is, g, gi, −g, −gi; 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 g = a + bi has an odd norm a2 + b2, then one of a and b is odd, and the other is even. Thus g has exactly one associate with a real part a that is odd and positive. In his original paper, Gauss made another choice, by choosing the unique associate such that the remainder of its division by 2 + 2i is one. In fact, as N(2 + 2i) = 8, 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 g by the inverse of this unit, one finds an associate that has one as a remainder, when divided by 2 + 2i. If the norm of g is even, then either g = 2kh or g = 2kh(1 + i), where k is a positive integer, and N(h) is odd. Thus, one chooses the associate of g for getting a h which fits the choice of the associates for elements of odd norm.

… excerpt ends here. Continue reading the full article.

Illustrations

Gaussian integer: Gaussian integers as integer lattice points in the complex plane
Gaussian integers as integer lattice points in the complex plane
Gaussian integer: Visualization of maximal distance to some Gaussian integer
Visualization of maximal distance to some Gaussian integer
Gaussian integer: All 13 residue classes with their minimal residues (blue dots) in the square Q00 (light green background) for the modulus z0 = 3 + 2i. One residue class with z = 2 − 4i ≡ −i (mod z0) is highlighted with yellow/orange dots.
All 13 residue classes with their minimal residues (blue dots) in the square Q00 (light green background) for the modulus z0 = 3 + 2i. One residue class with z = 2 − 4i ≡ −i (mod z0) is highlighted with yellow/orange dots.
Gaussian integer: The distribution of the small Gaussian primes in the complex plane
The distribution of the small Gaussian primes in the complex plane

Worked examples

Example 1 — a first encounter with Gaussian integer

Start with the simplest possible case. Write down what Gaussian integer claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Gaussian integer before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Gaussian integer ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Gaussian integer

In research
Gaussian integer appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Gaussian integer in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Gaussian integer is common in secondary-school and first-year university syllabi. It links to neighbouring topics Algebraic numbers, Complex numbers, Cyclotomic fields, so understanding it makes those chapters shorter.
In everyday life
Look for Gaussian integer outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Gaussian integer” →

How to study Gaussian integer in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Gaussian integer means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Gaussian integer out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Gaussian integer in simple terms?

In number theory, a Gaussian integer is a complex number whose real and imaginary parts are both integers. The Gaussian integers, with ordinary addition and multiplication of complex numbers, form an integral domain, usually written as 𝐙[i] or ℤ[i].

Why does Gaussian integer matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Gaussian integer?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Gaussian integer.

Tags

  • Algebraic numbers
  • Complex numbers
  • Cyclotomic fields
  • Integers
  • Lattice points
  • Quadratic irrational numbers

Keep exploring