Lagrange's theorem Created 2026-09-24 Updated 2026-10-14
For a finite group and a subgroup , the group order of divides the group order of :Here is the index of a subgroup, the number of distinct left cosets. It is also the number of distinct right cosets: inversion gives a bijection between the two collections. No normal subgroup assumption is needed for Lagrange's theorem. The normal subgroup condition matters when constructing a quotient group, rather than when counting a partition of a set.
The beauty of Lagrange's theorem is that an arithmetic restriction follows from a structural picture. A group can be tiled by equal-sized cosets of any subgroup. To see the count, choose one representative from each left coset. Every group element has exactly one expression for these chosen representatives and : different rows do not overlap, and multiplication by is a bijection from to its row. Counting rows times row size gives the formula. See MIT's symmetries notes, section 2.
The additive cyclic group above gives from . Another subgroup, , has cosets and , giving . In , the subgroup also gives , despite its distinct left and right coset partitions. Thus equal row sizes persist in a nonabelian group. A proposed subgroup of size four in either group is impossible: four does not divide six. This filters possible subgroups before any search for group generators.
Apply Lagrange's theorem to the cyclic subgroup generated by a group element . Its size is the order of a group element, so and . In the additive example, has order of a group element , since modulo six; the corresponding multiplicative statement becomes . A group of prime group order is consequently a cyclic group: any nonidentity group element generates a subgroup whose size is greater than one and divides that prime, forcing it to be the whole group. See MIT's cyclic-group notes. The same counting idea underlies the orbit-stabilizer theorem: the orbit of a group action is parametrized by cosets of its stabilizer subgroup.
Historically, Lagrange's theorem grew from investigations of permutations of roots of a polynomial; see St Andrews' account of Lagrange's early work. The modern statement about arbitrary finite groups should not be read back into the early work. Carmichael's 1921 review explicitly cautioned against attributing the full result to Lagrange; see Carmichael's historical note, reproduced by St Andrews. Finally, Lagrange's theorem supplies a necessary size condition; the failure of the converse to Lagrange's theorem below explains its limit.
Orbit (group theory) 2026-10-14
For a group action of a group on a set , the orbit of a group action of is the subset of all positions reachable from :Two points belong to the same group orbit exactly when one can be moved to the other by a group element. This is an equivalence relation: the identity element gives , the inverse element of a transformation reverses a move, and a product combines two moves. Hence the group orbits form a partition of a set of into equivalence classes. A transitive group action on a nonempty set has just one group orbit. See Ackerman's algebra notes, lemma 0.5.1.3, for the orbit partition.
For the square and the eight-element dihedral group defined under group action, direct enumeration gives the following separate group orbits:
- On vertices of a polygon, has size four.
- On unoriented sides of a polygon, has size four; and denote the same side of a polygon.
- On unoriented diagonals of a polygon, has size two.
- On the singleton set containing the centroid , has size one, so is a fixed point of a group action.
These counts depend on the chosen group action, not just the group. An orbit of a group action describes all configurations equivalent under the permitted transformations. For ordered pairs under the symmetric group, equality of the two entries is preserved, separating the two group orbits in equality-pattern orbits of ordered pairs; the orbit-stabilizer theorem computes their sizes when the symmetric group is .
A flow network is a finite directed graph with nonnegative flow network edge capacities , together with distinct source and sink vertices . A feasible flow in the nonnegative directed-edge convention is a function satisfying the capacity constraints and flow conservation:Its flow value is the net outflow at the source,which equals the net inflow at the sink by flow conservation.
A cut of a flow network is a partition of a set with and . Its cut capacity counts only directed edges leaving :The net flow across the cut of a flow network subtracts flow on edges returning into , and equals .
For the following parts, a circulation with vertex demands has no exceptional source or sink in the original directed graph. Instead it satisfies net inflow minus net outflow equal to at every vertex. Thus positive demands consume flow, and negative demands supply flow.
Past exam of the computer science course of the University of Oxford 2019 Algorithms 1 a Solution 2026-10-25
Use nonnegative amounts on the original directed edges of the flow network. A feasible flow is a function satisfying the capacity constraints and flow conservation at every internal vertex:Its flow value is net outflow at the source,Summing flow conservation shows that this is also net inflow at the sink. Subtracting incoming flow matters when the source has incoming edges.
An – cut of a flow network is a partition of a set with and . Its cut capacity is the total outward flow network edge capacity,Incoming edges do not contribute to this sum. Equivalently, one may use the antisymmetric net-flow convention, but the nonnegative arc convention above will also be used in the subsequent reductions.
Lagrange's theorem states that if is a subgroup of a finite group , thenwhere the index of a subgroup is the number of distinct left cosets.
Every lies in , since . By i, distinct left cosets are disjoint, so these sets form a partition of a set . Each has cardinality : the function from to is a bijection, with inverse , by cancellation in a group. Counting the elements in this finite partition of a set gives , proving the theorem.
The orbits of a group action form a partition of a set : every element lies in its own orbit of a group action, and two intersecting orbits of a group action coincide because each point can be moved back and then forward using inverse elements. By the orbit-stabilizer theorem, each orbit of a group action has cardinality dividing , so its size is or .
If every orbit of a group action had size or , their sizes would add to an even number, contrary to . Therefore there is a one-element orbit of a group action, say . Every sends into this same singleton, soThus is a fixed point of a group action. In fact the number of fixed points of a group action is odd, since all other orbits of a group action have even cardinality.
For each symbol , iterate the permutation . Since the symbol set is finite, some iterate repeats. Applying an inverse power of shows that the first return is to itself, givingwith the displayed symbols distinct. This is a permutation cycle. If two such lists share a symbol, applying powers of shows that they contain exactly the same symbols. Hence these group orbits form a partition of a set . On each group orbit, acts as the corresponding permutation cycle, and these disjoint permutation cycles multiply to .
The disjoint cycle decomposition is unique up to reordering the cycles and cyclically rotating the entries within each cycle, with fixed points optionally omitted. Indeed, each cycle must consist of one of the uniquely determined group orbits, and its successive entries must follow the action of .
For a finite or countable partition of a set into events , the law of total probability statesThe events are pairwise disjoint and have union , so countable additivity proves the formula. Terms with contribute zero and are omitted to avoid undefined conditional probabilities.
A partition of a set is a collection of nonempty subsets whose union is and which are pairwise disjoint:For use with probabilities, the must also be events in the sample space.
Write for row of the data matrix. The k-means clustering objective is the within-cluster sum of squared Euclidean distances:The nonempty form a partition of a set of observation indices. For fixed clusters, part (a) shows that the best is their centroid.
Initialize distinct centres, for example by choosing distinct observations. Then repeat the following steps:
- Assign each observation to a nearest centre in Euclidean distance. Keep its current assignment on an exact tie; for a previously unassigned observation use a fixed ordering to resolve ties.
- If a cluster is empty, choose an observation from a cluster with at least two members and make it the empty cluster's sole member, placing its centre at that observation. A definite rule is to choose an eligible observation farthest from its currently assigned centre, breaking ties by observation index. Repeat until all clusters are nonempty.
- Replace each centre by the arithmetic mean of its assigned observations.
- After updating, check whether every observation is still assigned to a nearest updated centre, retaining its assignment on ties. If so, stop; otherwise repeat.
The empty-cluster repair is possible for and cannot increase : the transferred observation now has squared distance zero, while all other squared distances stay unchanged before the centre update.
Assignment cannot increase , and any changed assignment strictly decreases it under the tie rule. Updating centres cannot increase by the centroid sum-of-squares identity. After an update, the centres are determined by the partition of a set. There are only finitely many possible assignments. Unless this is the initial round, any nonterminal round starts with an assignment that strictly reduces ; repairing empty clusters and updating cannot undo that decrease. Thus a partition cannot recur, proving finite termination of K-means clustering. The final result need not be a global minimum; different initial centres can lead to different final clusterings.
Let the finite set contain distinct left cosets. By i, they form a disjoint partition of a set , and by ii each has elements. If is also finite, counting this finite disjoint set union givesThus is a finite group. This is the counting argument behind Lagrange's theorem.
Each left coset is nonempty, since it contains , and every lies in its own left coset. Suppose and intersect, say with . ThenSince is a subgroup, , and . The reversed relation gives . Thus any two left cosets are either equal or disjoint, and together they cover . Therefore is a partition of a set . No finiteness or normal subgroup assumption is needed.
The orbit of under conjugation is its conjugacy classIt contains by using , so the conjugacy classes cover . If , then , and the group action identity shows that conjugating either element further gives the same orbit; hence . If and intersect at , this gives . Thus distinct conjugacy classes are disjoint and the conjugacy classes form a partition of a set .
A conjugacy class is a singleton exactly when for every , equivalently when for every . Thus the singleton conjugacy classes correspond exactly to elements of the center of a group , and there are of them.
Every other conjugacy class has at least two elements. Since the conjugacy classes form a partition of a set , if is the number of these remaining classes then . ConsequentlyThis conjugacy class count bound from the center needs no classification of the finite group.
For observations , K-means clustering seeks nonempty clusters in cluster analysis and centroids minimizingAt fixed centroids, assigning each point to a nearest centroid minimizes its squared Euclidean distance. At fixed assignments, the centroid sum-of-squares identity shows that the sample mean uniquely minimizes each group's contribution. These alternating steps cannot increase .
For finite termination of K-means clustering, more than a lower bound on is needed. Keep an assignment unchanged when nearest centroids tie, and stop when assignments no longer change. Every change then strictly decreases . After updating the centroids, is determined by the partition of a set of indices; there are only finitely many choices for that partition of a set, so no strictly improving partition of a set can recur. Empty clusters in cluster analysis require a convention, such as moving a point from a nonsingleton cluster in cluster analysis to become its own centroid, which cannot increase . With such a consistent convention the algorithm terminates, although it may reach only a local minimum.
The left coset isEvery belongs to , because , so the cosets cover . If and intersect, choose in the intersection. Then , so for some . Thus .
Hence two left cosets are either identical or disjoint, and the distinct left cosets form a partition of a set whose union is . Finiteness is unnecessary for this partition argument. In the finite case each coset has members, since multiplication by is a bijection, giving Lagrange's theorem.
Group the elements of a colouring by equality of colour. This creates a unique partition of a set into nonempty unlabelled blocks, each of one colour, with distinct blocks assigned distinct colours.
For a partition of a set with blocks, assigning distinct colours to the blocks gives the falling factorial possibilities. To see that no extra factor is needed, order the blocks canonically by their smallest elements, then assign colours in that order. There are possible set partitions with blocks; these numbers are the Stirling numbers of the second kind.
Every colouring is counted exactly once in exactly one value of , soFor , no colouring of the blocks is possible and the displayed falling factorial is zero, because one factor is .
Both sides of (ii) are polynomials in the colour count, and they agree at every integer . A nonzero polynomial has only finitely many roots, so this is a polynomial identity and holds also at . It can therefore be evaluated at every possible value of the Poisson random variable .
Take expectations and use the factorial moments from (a)(iv). The sum over is finite, so linearity of expectation givesCombining this with (iii) proves Dobiński's formula for the Bell numbers:For completeness, the empty set has one partition of a set, giving ; that case uses the empty-product conventions in this identity and a term in the partition sum.
Since the form a partition of a set of the sample space, the events are pairwise disjoint and their set union is . By countable additivity of probability, followed by the definition of conditional probability,Every ratio is legitimate because each . This proves the countable law of total probability.
Starting from singleton blocks, a partition of a set into nonempty blocks has exactly one block of size two and all other blocks of size one: the sum of the block sizes exceeds the number of blocks by exactly one. Choosing that pair determines the partition uniquely. HenceThis fixed value of works for every . It is forced already by : , whereas for positive the only equal to one is .