1. From a set to its classes
Let be an equivalence relation on . Its quotient is the set of classes . The quotient map sends to . It is surjective because every class has a representative. The identity is equivalent to , and must not be confused with .
Suppose is already a function. We would like to define . This is a proposal, not yet a valid definition.
Theorem: criterion for descending a map
There exists a function with if and only if implies . If it exists, it is unique.
Proof. If the factorization exists and , then , so applying gives . Conversely, assume this constancy condition. For each class choose any representative and assign output . The condition says every choice in that class produces exactly the same output, so the rule is unambiguous and defines a function. Its factorization identity follows by substitution. Finally any factoring function must send to , so there is no second possible function. This construction does not require a simultaneous arbitrary choice of a distinguished representative in each class: its value is uniquely characterized by all representatives.
The test is not merely that equivalent inputs have “similar” outputs. Equality in is required. If is itself a quotient, equality there means equivalence of its representatives, giving a different but equally precise condition.
2. Congruence maps with different moduli
For positive integers , consider the proposed map
It is well-defined exactly when .
Proof of sufficiency. If , then . If , the difference is divisible by , so . The descending-map criterion applies.
Proof of necessity. The representatives name the same class modulo . Their proposed outputs agree only if , meaning . Thus one carefully chosen representative pair already detects every forbidden modulus relation.
Worked comparison. Reduction from classes modulo six to classes modulo three is valid: adding six never changes a residue modulo three. Reduction from modulo three to modulo two is invalid: but . The fact that both quotients are finite does not justify the rule.
For an integer , the more general rule is well-defined exactly when . The same proof replaces the difference by . It is possible for scaling to make an otherwise invalid reduction valid.
3. Two representatives can change independently
For an operation on classes, both arguments require checking. If is a rule, the proposed output is valid precisely when
One can prove this by changing the first representative while holding the second fixed, then changing the second; or directly change both. Checking only a simultaneous special replacement, such as adding the same number to both representatives, is weaker and may miss a dependence.
A warning example. On integers modulo two, propose as an actual integer. Replacing by preserves the output, so a simultaneous test passes. But replacing only by changes the integer output by two. Therefore the integer-valued rule is not well-defined. If the target is instead classes modulo two, is well-defined: every independent change changes the difference by a multiple of two. The declared target set changes the equality being tested.
4. Rational arithmetic: why the numerator formula matters
Operations on
The familiar fraction rules suggest formulas on pairs. To define arithmetic on , those formulas must give the same output class for every choice of input representatives.
Definition
Addition, multiplication, and inverses on
For classes in , define
and
The additive inverse is defined by
If , the multiplicative inverse is defined by
Write and . The cross-product relation gives exactly when . Thus being zero is a property of the class, and the condition for inversion does not depend on its representative.
Each of these formulas is written on representatives, so each of them must be checked for well-definedness. Otherwise the formula might depend on the chosen pair rather than on the rational number itself.
Before checking representatives, check the output domain. Since and has no zero divisors, the denominator is nonzero for both sums and products. For inversion, the extra condition makes a valid pair. These are two different obligations: a formula must produce a valid object, and that object must be independent of representatives.
Proof: addition on is well-defined
Assume
We must show
By definition of , it is enough to prove
Expanding the left-hand side gives
Using , the first term becomes
Using , the second term becomes
Hence
Therefore
so the sum is well-defined.
Why multiplication on is well-defined
Assume
The hypotheses mean
To prove that the product is independent of representatives, use the defining test for :
The left side factors as
Hence , and the product formula descends from pairs to rational classes.
Theorem
Every nonzero rational has one multiplicative inverse
If and , there is a unique with
Proof: existence and uniqueness of the rational inverse
Write with . The condition means , so is a valid rational class. Then
because in .
For uniqueness, suppose is another inverse. The equation
means , hence . This is exactly the condition . Thus every inverse represents the same class .
Worked example
Invert a negative rational without changing its class
Let . Since the numerator is nonzero,
Their product is
The denominator in the inverse is nonzero, and the two coordinates may be multiplied by without changing the class. The calculation therefore works even when the chosen denominator is negative.
Common mistake
Nonzero numerator is needed before inverting
The formula is valid only when . If , the second coordinate of would be zero, which is excluded from , and zero has no multiplicative inverse.
Represent a rational by an integer pair with , where means . Write the class as . The proposed “add one to the numerator” rule
fails. For , it gives and , which are unequal since . A familiar-looking formula has changed the represented value in a way dependent on its written denominator.
The actual add-one rule is . If , then , proving that the new pairs are equivalent. This is an example of deriving the correct formula from the target value rather than editing one coordinate arbitrarily.
5. Geometry: a direction is a class, not a preferred vector
On , define if for a nonzero real . This is reflexive with , symmetric using , and transitive using a nonzero product of scalars. Its classes are unoriented lines through the origin with their zero point omitted; positive and negative multiples name the same direction.
The length is not a well-defined function of such a class: and have different lengths. The proposed unit vector also fails because and give opposite unit vectors. But for classes containing a representative with , the slope is well-defined: nonzero scaling cancels. The vertical direction has no such slope, so this formula defines a function only on a restricted quotient domain.
If we instead identify only positive multiples, then is well-defined, and classes become oriented rays. Changing the equivalence relation changes which information is intentionally forgotten. A quotient is therefore a mathematical modeling decision, not only a notation shortcut.
Graded construction and diagnosis
- Criterion. On , determine whether defines a real-valued function, and prove your conclusion by the descending-map criterion.
- Classification. Prove the general scaling criterion is valid exactly when . Apply it to .
- Operation audit. On classes modulo three, compare the proposals in and in the quotient. Provide both a counterexample and the complete valid representative check.
- Fractions. Is a rational-class function on all fractions? Identify separately an output-membership failure and a representative-independence failure.
- Geometry. For unoriented direction classes, prove is well-defined as a real matrix-valued function, while the normalized vector is not. Interpret the matrix's action on a vector.
- Uniqueness. Prove that whenever a function on classes satisfies for every representative, it must be the unique factoring map in the theorem, even if no preferred representatives are chosen.
Full solutions
- If , then and . Thus the rule is constant on each class and descends to a real-valued function, taking values one on the even class and minus one on the odd class. Integer negative exponents of are defined because .
- If , equivalent inputs differ by , so their scaled representatives differ by , divisible by . Conversely the equal input classes require outputs to agree, forcing the divisibility. For , , so the map is valid; indeed every output is the zero class modulo two.
- As an integer-valued proposal it fails: , but with the second input , the products using these representatives are zero and three. For the class-valued rule, if and , then , so the outputs are equivalent modulo three. Both representatives have been allowed to change independently.
- At , the proposed output denominator is zero, so it is not even a representative of a rational number. Restricting to positive denominators avoids that failure but not the second: would yield and , unequal because . Membership and independence are distinct requirements.
- If with , both the numerator matrix and squared denominator gain the same factor , so the quotient matrix is unchanged. In contrast differs from the normalized vector of . Acting on , the matrix gives , exactly the orthogonal projection onto the unoriented line. Projection forgets the sign of its chosen direction, as the quotient requires.
- Every class equals for at least one . Any factoring map must assign the value , so two such maps agree on every class. The constancy condition ensures every possible representative gives that same forced value. Existence and uniqueness therefore concern outputs determined by classes, not a global choice of names for those classes.
Summary and terms
A map descends when it is constant on each equivalence class. A quotient map sends representatives to their classes. Well-definedness includes valid output membership and independence from every allowed representative change. A target quotient changes equality of outputs from literal representative equality to the target equivalence. Class constructions preserve exactly the information their equivalence relation allows; each proposed formula must respect that information loss.