The natural numbers are not enough for every algebraic problem. A simple equation such as
has no solution in . So if we want subtraction to become possible in a systematic way, we need a larger number system.
A rigorous construction does not introduce negative numbers by intuition alone. Instead, we construct the integers from objects we already understand well, namely pairs of natural numbers.
The construction has three tasks: identify pairs that should be the same integer, define arithmetic independently of the chosen pair, and embed so its old arithmetic survives. The first task gives the objects; the next two show why these objects solve the subtraction problem.
The guiding idea
A pair is meant to represent the formal difference
From that viewpoint, different pairs can represent the same intended integer. For example,
all suggest the same difference, namely .
So the integer should not be the ordered pair itself. It should be the whole equivalence class of pairs that encode the same difference.
The relation on
Definition
The equivalence relation for the integers
Work in the set of ordered pairs of natural numbers.
Define a relation by
The integers are defined to be the equivalence classes of this relation.
The equation is exactly what we would expect if and are both meant to represent the same formal difference:
Indeed, rearranging this equality gives precisely .
This rearrangement motivates the definition; it is not yet a calculation inside the new . The actual test uses only addition in , where every term is already defined. The equivalence proof below therefore uses natural-number laws, without assuming the integer subtraction we are constructing.
Why this relation is the right one
Theorem
The relation really is an equivalence relation
The relation on is reflexive, symmetric, and transitive, so it is an equivalence relation.
The proof is not difficult, but it is worth understanding because it explains why quotient constructions work.
Proof: is an equivalence relation
For reflexivity, every pair satisfies
so .
For symmetry, if , then . The same equality can be read backwards as , so .
For transitivity, suppose
Then
Adding these equalities and cancelling on both sides gives
which means .
What an integer now is
Definition
Integers as quotient classes
Let . The set of integers is
For a pair , its equivalence class is written
So an integer is not one pair, but an entire class of equivalent pairs.
This construction explains how the familiar numbers reappear:
- behaves like ;
- behaves like ;
- behaves like ;
- more generally, gives the usual natural number .
Embedding the natural numbers
The natural numbers are still present inside the integers. They are not lost; they are reinterpreted.
Worked example
How sits inside
Define a map from to by
Under this map,
So the old natural numbers appear inside the new system as particular equivalence classes.
This is why quotient constructions do not destroy previous number systems. They usually enlarge them while preserving a recognizable copy inside the new one.
Positive, negative, and zero
The important point is that sign is not attached to one chosen pair, but to the entire class.
- an integer is positive when it has representatives with ;
- it is negative when it has representatives with less than ;
- it is zero when it has representatives with .
Because these properties must not depend on the chosen representative, one also has to check that sign is well defined on equivalence classes.
Proof: sign is well-defined
Suppose , so . If , write for some positive . Substitution gives , and natural-number cancellation gives , so . Exchanging the coordinates gives the corresponding statement for negative classes; if , then the relation gives . Thus positivity, negativity, and zero are properties of the class.
Arithmetic on equivalence classes
To turn the quotient set into a number system, we still need operations. Addition is defined by
This definition matches the formal-difference intuition:
The next step is to check that such definitions are well defined, meaning they do not depend on the representatives chosen.
Proof: integer addition is well-defined
If and , then
Adding these equalities and rearranging in gives
This is exactly , so the addition formula descends from pairs to integer classes.
A concrete class calculation
Worked example
Recognizing one integer through several representatives
Consider the class .
Since
we have
Likewise,
so
All of these pairs represent the same integer, namely the one we would usually think of as .
Explore what a representative can change
At this point, it is useful to test the defining relation directly. The following panel keeps the class fixed while you change representatives and asks whether a second pair lies in the same class.
Read and try
Explore representatives of one integer
The explorer shows how changing representatives inside one integer class preserves the formal difference.
Use whole numbers from 0 to 1,000,000. Inputs are rounded down and kept within this range.
Chosen representative
(2, 5)
Formal difference: 2 - 5 = -3
Shifted representative
(2, 5) -> (5, 8)
5 - 8 = -3
Test another pair
(4, 7)
Formal difference: 4 - 7 = -3
Equivalence test
2 + 7 = 5 + 4
Same class
Sign of the class: negative
The important lesson is that equality in is not componentwise equality of pairs. It is equality of equivalence classes. Two very different looking pairs can be the same integer if the cross-sum condition holds.
Subtraction and multiplication
The same quotient viewpoint also gives formulas for the ordinary arithmetic of signed integers. Since represents the formal difference , we should define subtraction by
This matches the formal calculation
Multiplication is slightly more delicate, because the signs interact:
So the product is defined by
Theorem
The multiplication formula must be well-defined
If and , then
Therefore the product class does not depend on the representatives chosen.
Proof: integer multiplication is well-defined
Assume the hypotheses
To prove that the two proposed product representatives are equivalent, the definition of asks us to show
First change only the representative of the first factor. Multiplying by and by gives
Therefore, using only associativity and commutativity of addition in ,
This proves equivalence with the product formed from and . Now keep fixed and apply , multiplying by and ; the same natural-number rearrangement proves equivalence with the product formed from . Transitivity gives the claimed output equivalence. No subtraction or integer multiplication is used in this proof.
Arithmetic laws inherited from N
The quotient operations inherit their laws from natural-number arithmetic. For example, addition associativity is checked by expanding representatives:
The two displayed representatives are equal by associativity in . The same representative expansion, using commutativity and distributivity in , proves commutativity and associativity of integer addition and multiplication and the distributive laws. This is a transport argument: once well-definedness is known, each natural-number identity can be applied coordinatewise to the formulas on classes.
The canonical embedding also preserves the operations: and . It is injective because gives , hence in .
The order on Z
Define the integer order by
where means . The signed representative result gives trichotomy: for every , exactly one of is positive, zero, or negative, so exactly one of , , or holds.
The order is transitive. If and , then and are positive. Their sum is positive by the signed representative calculation, and
by the already established ring laws; hence . It is translation invariant because
so exactly when . Finally, if and , their canonical signed representatives are and with positive natural ; the multiplication formula gives , which is positive because positive natural factors have positive product. Thus positive products preserve positivity in before the rational construction uses the ordered integer system.
For , if , distributivity gives , so . Conversely, if , trichotomy rules out and (the latter would give ). Therefore multiplication by a positive integer preserves and reflects strict inequalities.
has no zero divisors
Every nonzero integer has a canonical signed representative. If , then either or for some positive . In the first case ; in the second, . Thus two nonzero integers have representatives of the forms or , with .
The multiplication formula reduces their product to when the signs agree and when they differ. Since positive natural numbers have nonzero product, the product is not zero. Therefore and imply in . This fact is established here before the construction of uses cancellation in .
Common mistakes
Common mistake
The integer is not the pair
The pair is only a representative. The actual integer is the entire equivalence class .
Common mistake
Different representatives can describe the same number
Pairs such as and are not different integers. They belong to the same class because they encode the same difference.
Quick checks
Checkpoint
Are and equivalent under ?
Apply the rule directly.
Solution · Answer
Yes. We compute
so .
Checkpoint
Which class should represent the integer ?
Use the idea that the pair records a formal difference.
Solution · Answer
The class represents , because the formal difference is . Any equivalent pair such as represents the same integer.
Checkpoint
Why do we need equivalence classes instead of just using raw ordered pairs?
Answer in one careful sentence.
Solution · Answer
We need equivalence classes because many different ordered pairs encode the same formal difference, and the integer must identify all of those representatives as one object.
Exercises
Checkpoint
Show that , and decide whether the class is positive, negative, or zero.
Check equivalence first, then interpret the sign from a representative.
Solution · Guided solution
We compute
so , which means
Since , the class is positive. In ordinary notation, it represents the integer .
Read this first
This note depends on the language of equivalence relations from 2.2 Functions and relations and continues into 3.4 Rationals and well-defined operations.