Let $\cdot$ be an action of a group $G$ on a set $X$. For $g\in G$, define the map $\phi(g):X\to X$ by $\phi(g)(x)=g\cdot x$. I'm asked to show that $\phi(g)\in {\rm Sym}(X)$ and that $\phi :G\to{\rm Sym}(X)$ is a homomorphism.
I've shown that $\phi(g)\in{\rm Sym}(X)$, but I don't understand how to show $\phi$ is a homomorphism? I know it follows from the definition of an action, but what even is the function $\phi: G\to Sym(X)$ explicity?
The solution says that $\phi$ being a homomorphism follows immediately from the fact that $\phi (gh)(x)=g\cdot (h\cdot x)$, but aren't $\phi$ and $\phi (g)$ different functions?