I am trying to prove that the center of the dihedral group $Z(D_{10})$ is trivial.
The only way I've been able to do it so far is to draw the group table, but I am trying to find a more elegant way of proving the result. If I fix an $a \in Z(D_{10})$ and assume $ab = ba$ for all $b \in B$, I am not able to prove that $a = e$ because there isn't a way to, for example, multiply by inverses. If I broke it into cases, I could possibly use the fact that reflections invert themselves.
This follows from a general fact. Every dihedral group $D$ of order $2n$ (the group of symmetries of the regular $n$-gon), $n>2$, consists of $n$ rotations $\rho_i$ through angles $2\pi i/n$, $i=0,1,2,...,n-1$ and of $n$ reflections about lines that connect either opposite vertices or a vertex and the midpoint of the opposite side or two opposite midpoints.
Suppose $n$ is odd. Then none of the reflections commute with $\rho_1$ and none of the rotations $\rho_i, i>0$ commutes with all reflections. Hence the center of group $D$ is trivial $=\{\rho_0\}$.
If $n$ is even then the center consists of two rotations through angles $0$ and $\pi$ which are $\rho_0$ and $\rho_{\frac n2}$.