Foundations/Sets, Functions, and Equivalence Relations

Lesson 1.11,721 words

Sets, Functions, and Equivalence Relations

Algebra is built on three prior notions: the set, the map between sets, and the equivalence relation that reorganizes a set into disjoint classes. Sets, maps (injective, surjective, bijective), fibers and preimages, and the correspondence between equivalence relations and partitions — the one structural fact reused in every later quotient construction.

╌╌╌╌

Every algebraic structure in these notes is a set carrying extra operations: a group is a set with a multiplication, a ring a set with two, a field a ring where division works. Before any of that come the raw materials: sets, the maps between them, and one construction that recurs in every later chapter, the equivalence relation. The quotient group, the coset decomposition, and the residue classes of modular arithmetic are each an equivalence relation with algebraic operations attached.

Sets and subsets

A set is a collection of objects, its elements. We write when is an element of and otherwise. A subset is carved out of a larger set by a condition:

read the set of in such that …. The standard number systems recur constantly, so we fix notation for them once:1

  • Integers (the is for the German Zahlen).
  • Rationals .
  • Reals , the complete ordered field of decimal expansions.
  • Complex numbers .
  • Positives , the strictly positive elements of each.

The cardinality (or order) of , written , is its number of elements when is finite. The Cartesian product of and is the set of ordered pairs

the ambient set inside which relations and functions are defined.

Functions

The word single matters. When a rule is defined by cases, one must check it is well defined: no element may receive two competing values. If and one sets on and on , the rule is a genuine function exactly when ; an element in both would be assigned both and at once. Well-definedness recurs as an obligation whenever a later construction defines an operation on classes by picking representatives.

Image, preimage, and fibers

Given , three derived sets organize everything that follows.

  • Image (or range): , the elements of actually hit.
  • Preimage of a subset : , everything mapping into .
  • Fiber over a point : the preimage of a single point, the set of all with .

The notation here denotes the preimage operation on subsets and does not assert that has an inverse function. A fiber can be empty (when is not in the image) or large (when many elements share a value). The key structural fact, used constantly, is that the nonempty fibers of partition the domain: every lies in exactly one fiber, namely .

A map sends each domain element to one codomain element; the fiber over collects every element landing on , and the fibers tile the domain into disjoint blocks.

Composition

If and , the composite is

Composition reads right to left: apply , then . It is associative, , because both sides send to . This lets us draw the situation as a diagram and speak of it commuting: every directed path between two nodes computes the same map.

The composition triangle. The diagonal equals "go along , then "; the triangle commutes because both routes from to agree on every element.

Injective, surjective, bijective

The three ways a map can be well behaved control when it can be inverted.

Injectivity depends only on the rule; surjectivity depends on the declared codomain, since a function always maps onto its range by definition. This is why must be specified for the question of surjectivity to mean anything.

Injective misses some targets but never doubles up; surjective covers every target but may double up; bijective is a perfect pairing, one arrow into each codomain point.

Inverses match this classification exactly. A left inverse is with ; a right inverse is with .

A permutation of is a bijection ; permutations of a finite set are the raw material of the symmetric group. When and are finite with , the three conditions collapse: for such sets is bijective if and only if it is injective if and only if it is surjective. The pigeonhole principle forbids an injection from missing a target or a surjection from doubling up when the counts match.

Relations and equivalence

A binary relation on is a subset ; we write to mean . Most relations are structureless. Three axioms single out the ones that behave like a generalized equality.

Equality itself is the tightest example, with singleton classes. Loosening it gives the constructions used throughout algebra. Congruence modulo declares when ; its classes are the residue classes that become .3 Similarity of matrices ( when for some invertible ) is the equivalence relation whose classes the canonical forms lesson classifies. Even the rationals are an equivalence class construction: names the class of pairs under when , which is why and denote the same number.

Fibers as an equivalence relation

Fibers and equivalence classes are two views of one construction. Given any surjection , define when . This is reflexive (values equal themselves), symmetric, and transitive because ordinary equality is, so is an equivalence relation, and each of its classes is a fiber of .4 Two elements are equivalent precisely when they land on the same point.

Partitions

The complementary notion cuts into pieces.

A partition sorts the elements of into bins so that every element lands in exactly one bin. Partitions and equivalence relations are the same data, a correspondence the next theorem makes precise.

An equivalence relation cuts a set into disjoint classes that cover it; the classes are the blocks of a partition, one bin per class, every element in exactly one bin.

The equivalence-partition correspondence

The same disjoint-or-equal argument reappears for cosets and for conjugacy classes.

From a relation to a partition. Reflexivity gives , so each class is nonempty and the classes cover . It remains to show two classes are either identical or disjoint. Suppose and share an element , so and . By symmetry and transitivity . Now for any we have , so , giving ; the reverse inclusion is identical. Hence overlapping classes coincide, and distinct classes are disjoint — a partition.

From a partition back to a relation. Define when and share a block. Reflexivity, symmetry, and transitivity all hold because same block is inherited from equality of the block index. The classes of this relation are the blocks. Starting from an equivalence relation, extracting its classes, and reading off the induced relation returns the original relation, so the correspondence is a bijection between equivalence relations on and partitions of .

An immediate corollary, used constantly below:

The quotient set

Once the classes are recognized as objects in their own right, they form a new set.

Passing to the quotient treats equivalent elements as identical. Applied to a group by a normal subgroup it produces the quotient group; applied to a ring by an ideal, the quotient ring. Both are the construction above with algebraic operations lifted from representatives to classes, and the lifting is well defined for the same reason the modular sum was: the relation is compatible with the operation.

ObjectSet-theoretic nameAlgebraic instance
equivalence relationcongruence mod ; conjugacy; similarity
equivalence classresidue class; coset; conjugacy class
quotient set; quotient group; quotient ring
canonical projectionreduction mod ; the quotient homomorphism

Methods of proof

Algebra is proved, not computed, and a handful of proof shapes cover most of what follows.6

  • Direct proof. To show , assume and deduce . The equivalence-class inclusions above are direct.
  • Existence and uniqueness. To specify an object uniquely, first exhibit one (or construct it), then show any two candidates coincide. The division algorithm is the model: produce and , then prove they are forced.
  • Contrapositive. is logically identical to ; proving the contrapositive is proving the original. Injectivity, , is usually shown as its contrapositive .
  • Contradiction. Assume alongside and derive an impossibility.
  • Induction. Prove a base case, then that each case forces the next.

Two hygiene rules recur. Whenever an operation is defined on classes by acting on representatives, one must check it is well defined, independent of the representative chosen. And an if and only if is two proofs, one in each direction; the isomorphism theorems are almost entirely such two-way statements.

Footnotes

  1. Dummit & Foote, Abstract Algebra, §0.1 — Basics: set-builder notation, cardinality, the Cartesian product, and the standard number systems , together with the well-definedness obligation for functions specified by cases.
  2. Dummit & Foote, Abstract Algebra, §0.1, Proposition 1 — a map has a left inverse iff injective, a right inverse iff surjective, and a unique two-sided inverse iff bijective; for finite sets of equal cardinality, injective, surjective, and bijective coincide.
  3. Judson, Abstract Algebra: Theory and Applications, §1.2 — congruence modulo presented as an equivalence relation on , with shown to partition the integers.
  4. Dummit & Foote, Abstract Algebra, §0.1, Exercise 7 — for a surjection , the relation is an equivalence relation whose classes are the fibers of .
  5. Dummit & Foote, Abstract Algebra, §0.1, Proposition 2; Judson, §1.2, Theorem 1.5 and Corollary 1.6 — the equivalence between equivalence relations on a set and partitions of it, with the disjoint-or-equal property of classes.
  6. Judson, Abstract Algebra: Theory and Applications, §1.1 — A Short Note on Proofs: direct proof, proof by contrapositive and contradiction, existence-and-uniqueness arguments, and the role of induction.

╌╌ END ╌╌