Quotient Explorer

The learner picks representatives of classes (residues mod n, cosets of a subgroup, lattice points on the lines of a fraction or difference relation) and sees whether an operation defined on representatives gives the same class every time, filling a classes table that exposes any conflict; or edits a finite relation as a matrix or as a partition and checks reflexive, symmetric and transitive, with the classes and closures.

Used in: Group Theory, Ring Theory, Elementary Number Theory

Props

PropTypeDefaultDescription
titlestringby mode, e.g. "Multiplying residue classes mod 6"Title bar text.
mode"congruence" | "cosets" | "pairs" | "partition"inferred: partition if elements/relation/partition, pairs if equivalence/denominators/xRange/yRange, cosets if group/subgroup, else congruencecongruence: integers grouped into classes mod n, a rule on representatives tested for well-definedness. cosets: left cosets of a subgroup, coset multiplication tested (works iff the subgroup is normal). pairs: the integer lattice of pairs modulo the fraction or difference relation, with operations on representatives. partition: a finite relation edited as a matrix or as a partition, with the equivalence-relation checks.
modulusinteger 2-366congruence: the modulus n.
operationstringcongruence: "multiply"; pairs: "add"congruence: add | subtract | multiply | power ([a] star [b] = [a^b]). pairs: add | multiply (the usual fraction or integer rules) | naive (fraction: (a+c, b+d); difference: (ac, bd); not well-defined) | none (just explore classes, one representative).
rulestringnonecongruence: a rule on representatives replacing operation, in a (and b): + - * / (floor) % ^, abs gcd min max mod, e.g. "a^2 + b", "2*a", "a" (unary when it does not use b). partition: a quantity f(x) tested for being constant on each class, e.g. "x % 3".
targetModulusintegerthe moduluscongruence: the result is read mod this, e.g. modulus 4, rule "a", targetModulus 6 tests [a]_4 -> [a]_6.
range[min, max][-n, 3n-1] (n <= 7), [-n, 2n-1] (n <= 12), else [0, 2n-1]congruence: the integer representatives shown (at most 160).
representativesarray of 2: integers | element labels | pairs [a, b]congruence [n-2, n-1]; cosets: one element from each of two cosets; pairs: fraction (1,2), (1,3), difference (5,2), (1,3)The first and second representative chosen at the start.
groupstring"S_3"cosets: a finite group by name (order at most 48): S_3, D_4, Z_12, Q_8, A_4, ...
subgroupstring | string[]the largest proper normal subgroup (S_3: A_3)cosets: the subgroup: element labels ["e", "(1 2)"], generators "<(1 2)>", or a name "A_3", "Z(G)".
subgroupChoices(string | string[])[]nonecosets: more subgroups the learner can switch to (a menu shows order and normality).
equivalence"fraction" | "difference""fraction"pairs: fraction ((a,b) ~ (c,d) iff ad = bc; classes are lines through 0) or difference ((a,b) ~ (c,d) iff a + d = b + c, on natural numbers; classes are diagonals).
denominators"nonzero" | "positive" | "powers-of-2" | "odd""nonzero"pairs (fraction): the allowed second entries, i.e. the multiplicative set S of a localization.
xRange[min, max]fraction [-6, 6]; difference [0, 8]pairs: first entries shown (at most 24 apart).
yRange[min, max]fraction [-6, 6]; difference [0, 8]pairs: second entries shown (at most 24 apart).
elements(number | string)[][1, 2, 3, 4, 5, 6]partition: the finite set (1 to 12 distinct elements).
relation[x, y][] | stringthe identity relationpartition: the pairs of the relation, or a rule in x, y with == != < <= && || and %, e.g. "(x - y) % 3 == 0" (numeric elements).
partition(number | string)[][]nonepartition: blocks; sets the relation to 'same block' (elements left out become singletons).
checkAllbooleanfalsecongruence / cosets: start with the classes table filled from every representative shown.
seednumber | string1Seed for the 'Random representatives' button.
controlsstring[]all controls shownIds of the hideable readouts to show (see the controls registry: readout.zn-table, readout.quotient-table, readout.iso-type, readout.normality). Core controls always show. Page building fills this from the subject's topic scope.