Lably
Skip to content

Gaussian integer

Complex number whose real and imaginary parts are both integers

  • 18 min read
  • 11 chapters

Related on Lably

Through Complex number, Integer and Addition

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

Z[i]={a+bi∣a,b∈Z}, 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.

Sign in to keep reading

10 more chapters are free with a Lably account.

More in Basics