I am struggling to understand this proof.
Suppose that $p$ is the smallest prime that divides $|G|$ show that any subgroup of index $p$ is normal in $G$.
Proof
Let $\phi \rightarrow S_p$ be the homomorphism given by the generalized Cayley theorem. We claim $ker(\phi)=H$ which implies $H$ is normal. By first isomorphism theorem $|G/Ker \phi|$ divides $|S_p|=p!$ON the other hand $|G/Ker \phi|$ divides $|G|$ by lagrange's theorem. Since $ker\phi \leq H$ and $p$ is the smallest prime factor of $|G|$, $ker\phi=H$. I am struggling to understand this if anyone could help explain this?