How this calculation works
Find the normalizer and centralizer of a permutation-generated subgroup inside the full symmetric group, with complete bounded counts and explicit witness samples.
N(G)={p: pGp⁻¹=G}; C(G)={p: pg=gp for every g∈G}.A worked example
The subgroup generated by(0 1 2) has order 3 in S3. Its normalizer is all six permutations, while its centralizer is the three rotations.
Good to know
Permutation degree 1–7,1–8 zero-based generator rows. Exact subgroup closure and exhaustive ambient S_n enumeration. Counts complete; at most 40 normalizer and 40 centralizer permutations displayed. No symbolic infinite-group computation.
Reference: GAP reference: normalizers and centralizers (opens in a new tab) ↗
Two ways to preserve a subgroup
The centralizer contains ambient permutations that commute with every element of a supplied subgroup. The normalizer permits more freedom: conjugating the subgroup may rearrange its elements, provided the resulting set remains the same. Commuting element by element is stronger than preserving that set.
This calculator performs both tests inside the full symmetric group on the declared labels. The choice of ambient group matters. A subgroup can have one normalizer inside a smaller permutation group and a different normalizer inside the full symmetric group, so the ambient setting is stated explicitly.
Compare this with the Permutation group orbit and stabilizer calculator from generators. Enumerate ambient permutations preserving a subgroup or commuting with it; orbit/stabilizer computation does not produce either ambient subgroup.
Generators and zero-based composition
Each input row is a permutation of zero through n minus one. Several rows generate a subgroup by repeated composition, beginning with the identity. A generator need not itself describe the whole subgroup, and repeated generators do not create additional distinct group elements.
Composition a circle b means apply b first and a second. This convention determines the coordinate formula for conjugation and should match any comparison calculation. The permutation degree also retains unused fixed labels; adding a fixed point changes the ambient symmetric group and can change the reported counts.
The three-rotation worked example
The default generator maps zero to one, one to two and two to zero. Its powers give the identity and two nonidentity rotations, forming a subgroup of order three. Within S3, the three rotations commute with this cyclic subgroup and therefore form its centralizer.
The remaining three permutations are transpositions. Each transposition conjugates the generator to its inverse rather than commuting with it, but that inverse still belongs to the same rotation subgroup. All six ambient permutations consequently normalize the subgroup, explaining the two different headline orders.
Why generator tests suffice
The implementation first closes the supplied generators under multiplication, storing the resulting subgroup exactly. For a candidate ambient permutation p, commuting with every generator implies commuting with every product of generators. The centralizer test therefore does not need to repeat an equivalent check on every stored subgroup element.
For normalization, each conjugated generator must lie in the stored subgroup. This implies that the conjugate subgroup is contained in the original subgroup. Conjugation preserves finite subgroup order, so the containment is equality. These finite facts justify the generator-level test without replacing the ambient enumeration by a heuristic.
Complete counts and truncated samples
Every permutation in the supported symmetric group is examined. The reported normalizer order and centralizer order are therefore complete within the declared degree bound. The displayed permutation lists are limited separately to avoid turning a small calculator page into thousands of rows.
A sample-truncated flag means the list is incomplete, not that the count stopped early. Use each displayed row as an explicit witness for the relevant condition. Do not interpret the first forty rows as a generating set or assume that the normalizer's abstract group structure has been classified.
Interpreting relations between the answers
The centralizer is always contained in the normalizer, and the subgroup itself always lies in its own normalizer. Its intersection with its centralizer is the subgroup center. These relationships provide useful checks but do not imply that the centralizer must be contained in the supplied subgroup.
For example, fixed points outside a subgroup's support may be permuted in commuting ways. The returned calculation includes those possibilities because it works in all of S_n. Omitting fixed labels from the input would ask a different ambient-group question rather than merely shorten the display.
Checks before using a group-theoretic conclusion
For a small degree, independently conjugate every subgroup element by a displayed normalizer witness and compare the resulting set. For a centralizer witness, compare both composition orders. Relabeling all generators consistently should preserve both counts and transport the witness permutations by the same relabeling.
These checks concern a finite permutation representation. They do not decide whether an arbitrary symbolic group presentation has the same abstract subgroup or solve an infinite normalizer problem. Keep the ambient degree, composition convention and sample-limit distinction with exported results so the two complete counts remain interpretable.
A few questions, answered
Does normalizer mean centralizer?
No. A normalizer preserves the subgroup set under conjugation; a centralizer commutes with its elements individually.
Are the counts complete if samples are truncated?
Yes. The supported ambient group is fully enumerated; only the displayed witness lists are shortened.
Can labels start at one?
Not in this form. Convert to zero-based labels 0 through n−1 consistently.
Does the ambient degree matter?
Yes. Additional fixed labels enlarge the ambient symmetric group and can change the normalizer or centralizer.