Exercise :
(A.1) Let G be a group. The subgroup $Z(G) = \{z \in G | zg =gz \space \forall \space g \in G\}$ is called the center of $G$. Show that $Z(G)$ is a proper subgroup of $G$.
(A.2) Find the center of the dihedral group $D_3$.
(A.3) Show that the groups $D_3$ and $S_3$ are isomorphic. Using (A.2) find the center of $S_3$.
(A.4) Show that for all $n>2$ the center $Z(S_n)$ of the permutation group $S_n$ contains only the identity permutation.
Attempt :
(A.1)
From the definition of the identity element : $eg = ge = g \space \forall \space g \in G$. This means that $e \in Z(G) \Rightarrow Z(G) \neq \emptyset$.
Now, let $a,b \in Z(G)$. Then :
$$\forall \space g \in G: (ab)g = a(bg) = a(gb) = (ag)b = (ga)b = g(ab)$$
which means that $ab \in Z(G)$.
Finally, let $c \in Z(G)$. Then :
$\forall \space g \in G : cg=gc \Rightarrow c^{-1}(gc)c^{-1}=c^{-1}(gc)c^{-1} \Rightarrow egc^{-1} =c^{-1}ge \Rightarrow gc^{-1} = c^{-1}g \Rightarrow c^{-1} \in Z(G) $
which finally leads to $Z(G) \leq G$.
(A.2)
I found an elaboration for the center of the dihedral group $D_{2n}$ here but it won't work to find out the center of $D_3$, so I would appreciate any tips or links.
For (A.3)-(A.4) I am at loss on how to even start, so I would really appreciate any thorough answer or links with similar exercises - tips.
Sorry for not being able to provide an attempt but currently I'm going over problems that were in exams the previous years (for my semester exams) and it seems there are a lot of stuff that I have difficulty handling, which seem more weird that what we had handled this far.