Addition and subtraction of integers

From Department of Mathematics at UTSA
Revision as of 22:50, 7 January 2022 by Khanh (talk | contribs) (Created page with "== Addition Integers == The simplest conception of an integer is that it consists of an absolute value (which is a natural number) and a sign (gene...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Addition Integers

The simplest conception of an integer is that it consists of an absolute value (which is a natural number) and a sign (generally either positive or negative). The integer zero is a special third case, being neither positive nor negative. The corresponding definition of addition must proceed by cases:

  • For an integer n, let |n| be its absolute value. Let a and b be integers. If either a or b is zero, treat it as an identity. If a and b are both positive, define Template:Nowrap. If a and b are both negative, define Template:Nowrap. If a and b have different signs, define Template:Nowrap to be the difference between |a| and |b|, with the sign of the term whose absolute value is larger.[1] As an example, Template:Nowrap; because −6 and 4 have different signs, their absolute values are subtracted, and since the absolute value of the negative term is larger, the answer is negative.

Although this definition can be useful for concrete problems, the number of cases to consider complicates proofs unnecessarily. So the following method is commonly used for defining integers. It is based on the remark that every integer is the difference of two natural integers and that two such differences, ab and cd are equal if and only if a + d = b + c. So, one can define formally the integers as the equivalence classes of ordered pairs of natural numbers under the equivalence relation

(a, b) ~ (c, d) if and only if a + d = b + c.

The equivalence class of (a, b) contains either (ab, 0) if ab, or (0, ba) otherwise. If n is a natural number, one can denote +n the equivalence class of (n, 0), and by n the equivalence class of (0, n). This allows identifying the natural number n with the equivalence class +n.

Addition of ordered pairs is done component-wise:

A straightforward computation shows that the equivalence class of the result depends only on the equivalences classes of the summands, and thus that this defines an addition of equivalence classes, that is integers.[2] Another straightforward computation shows that this addition is the same as the above case definition.

This way of defining integers as equivalence classes of pairs of natural numbers, can be used to embed into a group any commutative semigroup with cancellation property. Here, the semigroup is formed by the natural numbers and the group is the additive group of integers. The rational numbers are constructed similarly, by taking as semigroup the nonzero integers with multiplication.

This construction has been also generalized under the name of Grothendieck group to the case of any commutative semigroup. Without the cancellation property the semigroup homomorphism from the semigroup into the group may be non-injective. Originally, the Grothendieck group was, more specifically, the result of this construction applied to the equivalences classes under isomorphisms of the objects of an abelian category, with the direct sum as semigroup operation.

  1. K. Smith p. 234, Sparks and Rees p. 66
  2. Enderton p. 92