The conjugacy class of is . An irreducible representation acts on a nonzero vector space with no nonzero proper subspace invariant under every group element.
In the quaternion group, and commute with all elements, so each forms its own conjugacy class. The element commutes with , while conjugation by or changes it to . Thus its class is . The same argument for gives all five classes:
Their sizes sum to eight. Equivalently each noncentral element has a four-element centralizer and hence a two-element class.
Use the following finite-group representation theorems over : the number of inequivalent irreducible representations equals the number of conjugacy classes, and their dimensions obey the sum of squares of irreducible representation dimensions, . Thus there are five irreducibles, with . Starting with five dimensions equal to one uses five of those eight units; increasing one dimension from one to two uses exactly the remaining three, while any larger increase would exceed eight. Therefore
These are the dimensions underlying the character table of the quaternion group. The scalar field matters: the quaternionic irreducible becomes four-dimensional over the reals. The class-count and dimension-sum statements used here have their standard complex meaning.
The elements commute with the whole quaternion group, so they form singleton classes. Each of the three remaining pairs is a conjugacy class: for example conjugation by sends to , and likewise cyclically. No such pair can mix with a different pair, because the quotient by is abelian and its cosets , , are preserved by conjugation. Hence
For a finite group over , the number of inequivalent irreducible representations equals the number of conjugacy classes, so there are five. The sum of squares of irreducible representation dimensions is the group order, eight. With five positive integer dimensions, the only possibility is
Indeed five one-dimensional contributions give five, and replacing one by a two-dimensional contribution adds exactly three; any further enlargement would exceed eight. These are the dimensions used in the character table of the quaternion group.
For a one-dimensional character, write and . Since , the relations require . Also gives . The four sign choices therefore supply all four linear characters.
For the remaining two-dimensional character , its value at the identity is two. Column orthogonality between the identity and gives , so . Between the identity and each of the other classes, the four linear-character values sum to zero, forcing the remaining character values to vanish. Thus the character table is
Here column orthogonality is the standard finite-group character theorem for . The rows also have unit norm and are mutually orthogonal in the character inner product with the displayed class-size weights. This completes the character table of the quaternion group.