For a group action of a finite group on a set , let be the stabilizer subgroup and the orbit. The orbit-stabilizer theorem is
To prove it, the map from left cosets to the orbit, , is well-defined because multiplying on the right by an element fixing does not change . It is surjective by the definition of the orbit. If , then , so ; hence it is injective. The cardinality identity now follows from Lagrange's theorem.
Place the octahedron's vertices at . A symmetry fixes their centre, so it is an orthogonal map and must take an opposite pair of vertices to another opposite pair. Its matrix is thus a signed permutation matrix. Conversely every signed permutation of these coordinate directions preserves the vertices, edges and faces. Therefore the full octahedral symmetry group has
These same signed permutation matrices preserve the cube with vertices , so the group is also the symmetry group of a cube. The opposite-vertex lines are the three coordinate axes, so . The action on them is transitive, giving a line stabilizer of order .
For the line , the precise axis stabilizer in the full octahedral symmetry group consists of the block matrices
The eight possible are the symmetries of a square in the perpendicular plane, a dihedral group of order eight; the independent sign reverses the selected axis. Thus
Here denotes the order-eight square-symmetry group. The selected line is unoriented: its two endpoints may be exchanged. Fixing an individual endpoint instead would give only the order-eight subgroup with .