Overview

Variants include any square-free integers and extension fields of rationals

Gaussian integers

The Gaussian integers is the commutative ring with unity with elements

that is; is the set of complex numbers where both real and imaginary parts are integers. Addition and multiplication on the ring are induced by the usual operations on complex numbers.

Group of units for the Gaussian integers

The Gaussian integers are not a field, and the set of elements with inverses are

a cyclic group of order 4.

Relevant theorems:

Related notes:


Properties

  • Algebraic rings: The Gaussian integers are not a field, and the group of units (i.e., set of element with inverses) is

a cyclic group of order 4.


Variants of the ring

Complex numbers with rational coefficients

  • We have .
  • Multiplicative inverses: If at least one of a or b is not , we can find a multiplicative inverse for by rationalizing the denominator:

as the imaginary part

Consider the set with integer coefficients:

  • Closure under multiplication:
  • Group of units: We have wip

We can also define the set using rational coefficients:

as the imaginary part


Code snippets

Gaussian integer ring :

\mathbb Z [i]

Multiplicative inverses :

\frac{1}{a + bi}