GroupCentralizer[group,g]
returns the centralizer of the element g in group.
GroupCentralizer
GroupCentralizer[group,g]
returns the centralizer of the element g in group.
Examples
open all close allBasic Examples (1)
GroupOrder[group = PermutationGroup[{Cycles[{{1, 2, 7}, {3, 10, 5, 4}}], Cycles[{{1, 4, 2, 5, 3}}]}]]g = Cycles[{{3, 7}, {4, 5}, {6, 8, 10, 9}}];This is the subgroup of permutations in the group that commutes with the permutation g:
GroupCentralizer[group, g]GroupOrder[%]Scope (1)
GroupOrder[group = PermutationGroup[{Cycles[{{1, 7, 2}, {3, 10, 5, 4}, {6, 8, 9}}], Cycles[{{1, 4, 2, 5, 3}}]}]]g = Cycles[{{3, 7}, {4, 5}, {6, 8, 10, 9}}];This is the subgroup of permutations in the group that commutes with the permutation g:
centralizer = GroupCentralizer[group, g]GroupOrder[%]Check the result by direct computation of products with all elements:
centralizerlist = GroupElements[centralizer]This function checks that a permutation h commutes with g:
gcomQ[h_] := PermutationProduct[h, g] === PermutationProduct[g, h]All 16 permutations in the centralizer commute with g:
gcomQ /@ centralizerlistTech Notes
Related Guides
History
Text
Wolfram Research (2010), GroupCentralizer, Wolfram Language function, https://reference.wolfram.com/language/ref/GroupCentralizer.html.
CMS
Wolfram Language. 2010. "GroupCentralizer." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/GroupCentralizer.html.
APA
Wolfram Language. (2010). GroupCentralizer. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/GroupCentralizer.html
BibTeX
@misc{reference.wolfram_2026_groupcentralizer, author="Wolfram Research", title="{GroupCentralizer}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/GroupCentralizer.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_groupcentralizer, organization={Wolfram Research}, title={GroupCentralizer}, year={2010}, url={https://reference.wolfram.com/language/ref/GroupCentralizer.html}, note=[Accessed: 13-June-2026]}