Question: $G=S_5$ and $H=A_4$ and $K=⟨ (12345)⟩$ then show that $HK=A_5$. Where, $HK=\{hk:h\in H,k\in K\}$.
My attempt: I know that, $H$ and $K$ are subgroups of $G$.
First, I will need to show that $HK$ is a subgroup of $G$. (I know the general result that, If $G$ is a group and $H$, $K$ are subgroups of $G$ then $HK$ is subgroup of $G$ if and only if $HK=KH$)
But, I am not able to show that $HK=KH$ here
After this we just need to determine the order of $HK$, which is nothing but equal to $\frac{o(H) o(K)}{o(H\cap K)}$. Clearly it is $60$ (since $H\cap K=\{e\}$)
Now as $HK$ is a subgroup of order $60$ of $G=S_5$, hence we must have $HK=A_5$
So can you help me in the part, where we need to show that $HK$ is a subgroup of $G=S_5$. (Doing it manually i.e. verifying $HK$ is closed under the operation of $G$, takes too much time)