# Contents

## Idea

An integer is an element of $ℤ$, which may defined as the free group on one generator or as the initial ring.

As a group, $ℤ$ is abelian and is the Grothendieck group of the monoid (or semigroup) $ℕ$ of natural numbers.

$ℤ=\left\{0\right\}\cup \left\{n,-n\mid n\in ℕ,n>0\right\}=\left\{\dots ,-3,-2,-1,0,1,2,3,\dots \right\}\phantom{\rule{thinmathspace}{0ex}}.$\mathbb{Z} = \{0\} \cup \{n, -n | n \in \mathbb{N}, n \gt 0\} = \{ \ldots, -3, -2, -1, 0, 1, 2, 3, \ldots \} \,.

The group of natural numbers is naturally even a rig – in fact the initial rig – and this multiplicative structure extends to $ℤ$ to make it a ring – in fact the initial ring.

## Terminology

The underlying sets $ℤ$ and $ℕ$ are isomorphic. Some subcultures of mathematics (and not only set theorists) use the term ‘integer’ synonymously for a natural number. Computer scientists distinguish between ‘unsigned integers’ (natural numbers) and ‘signed integers’ (integers as described here). Translations can also cause confusion with the term ‘whole number’.

In number theory, one generalises integers to algebraic integers, an instance of the red herring principle. Accordingly, some number theorists will call the integers ‘rational integers’ to clarify; $ℤ$ is the ring of algebraic integers in the number field $ℚ$ of rational numbers. (Compare, for example, Gaussian integers and Gaussian numbers.)

The symbol ‘$ℤ$’ derives from the German word ‘Zahlen’, which is a generic word for ‘numbers’. (Compare Dedekind's use of that word in the title of his famous book on the foundations of real numbers.)

## References

A formalization in terms of homotopy type theory, using a unary notation, is in

(A different common formalization of integers in type theory is in a binary notation, as in the Coq standard library. Binary notation is exponentially more efficient for performing computations, but the unary notation was convenient for calculating ${\pi }_{1}\left({S}^{1}\right)$.)

Revised on September 5, 2012 21:09:09 by Urs Schreiber (131.174.40.64)