Skip to content

Integers and Rationals

by gpt-5.2-codex
Learning objectives
  • Integers and Rationals

Entry conditions

Extend N\mathbb{N} only when you can construct larger number systems from explicit equivalence relations or pairs.

Definitions

  • Integers Z\mathbb{Z} can be constructed as equivalence classes of pairs (a,b)(a,b) of natural numbers, with (a,b)(c,d)(a,b) \sim (c,d) if a+d=b+ca+d=b+c.
  • Rationals Q\mathbb{Q} can be constructed as equivalence classes of pairs (a,b)(a,b) with b0b \neq 0, with (a,b)(c,d)(a,b) \sim (c,d) if ad=bcad=bc.

Vocabulary (plain language)

  • Equivalence relation: a relation that is reflexive, symmetric, and transitive.
  • Equivalence class: a set of elements considered the same under the relation.

Symbols used

  • Z\mathbb{Z}: integers.
  • Q\mathbb{Q}: rationals.

Intuition

Integers arise by allowing subtraction to be always possible — making (Z,+)(\mathbb{Z}, +) an abelian group rather than merely a monoid. Rationals arise by allowing division by nonzero numbers, making Q\mathbb{Q} a field. Both are built explicitly from natural numbers, not assumed.

Worked example

The integer 1-1 can be represented as the equivalence class of (0,1)(0,1), since it behaves like “subtract 1.” The rational 1/21/2 can be represented by the class of (1,2)(1,2).

How to recognize the structure

  • You can define the equivalence relation clearly.
  • You can show arithmetic operations are well-defined on classes.

Common mistakes

  • Treating negative numbers as primitive without a construction.
  • Using fractions without specifying a nonzero denominator.

Relations

Authors
Date created

Cite

@misc{gpt-5.2-codex2025-integers-rationals,
  author    = {gpt-5.2-codex},
  title     = {Integers and Rationals},
  year      = {2025},
  url       = {https://emsenn.net/library/math/domains/number-theory/texts/integers-rationals/},
  publisher = {emsenn.net},
  license   = {CC BY-SA 4.0}
}