I'm currently taking a class in abstract algebra, and the textbook we are using is Ted Shifrin's Abstract Algebra: A Geometric Approach. In the chapter on group actions and symmetry, he defines a group actions as follows
$$\phi: G \mapsto \operatorname{Perm}(S)$$
where $G$ is a group acting on set $S$. However, most internet sources I've come across define a group action as
$$\phi: G \times S \to S$$
There are a few sources that talk about how the two are equivalent, but the explanations are overly brief. Can someone help me reconcile these two definitions?
The first definition assumes that the map $\phi: G \to \mbox{Perm}S$ is a homomorphism of groups, i.e. that the map preserves multiplication. Now, already, elements of $\mbox{Perm}(S)$ are just bijections $p: S \to S.$ So for any $g \in G,$ $\phi(g): S \to S$ will be such a bijection. Perhaps it is good to emphasize that $\phi$ takes an element of $g$ to a function on $S.$ Sometimes we write this function as $\phi_g.$ This makes the notation nicer; it is nicer to write $\phi_g(s)$ for the image of an element $s \in S$ under the function $\phi(g) \in \mbox{Perm}(S)$ than it is to write $\phi(g)(s).$
In any case, the corresponding map $\psi: G \times S \to S$ is just $\psi(g,s) = \phi_g(s),$ i.e. the image of $s$ under $\phi(g).$ This map in fact yields a group action since $\phi_{g h} = \phi(g h) = \phi(g) \circ \phi(h)= \phi_g \circ \phi_h$ so $\psi(g h,s) = \phi_{g h}(s) = \phi_g(\phi_h(s)) = \psi(g,\psi(h,s)),$ which is what is required for a map to be a group action (cf. @Dylan Moreland's comment).
Conversely, if we were to start off with such a group action $\psi: G \times S \to S$ satisfying $\psi(g h, s) = \psi(g, \psi(h,s)), $ then we may define $\phi: G \to \mbox{Perm}(S)$ by how the image of an element of g under $\phi$ acts on elements of $s.$ That is, we define $\phi(g)$ to be that element $f:S\to S$ of $\mbox{Perm}{S}$ such that $f(s) = \psi(g,s).$ Then you may check that this yields a homomorphism of $G$ into $\mbox{Perm}{S}.$