Let the permutation group $S_3$ act on $\mathbb{R}^3$ by permuting the elements.
How can we show that this action can be written as $\sigma (x_1, x_2, x_3) = ( x_{\sigma^{-1}(1)}, x_{\sigma^{-1}(2)}, x_{\sigma^{-1}(3)})$ for $\sigma \in S_3$, $(x_1, x_2, x_3) \in \mathbb{R}^3$.
For instance, if $\sigma = (123)$, we have $\sigma (x_1, x_2, x_3) = (123)(x_1, x_2, x_3) = (x_3, x_1, x_2)$.
Just looking at some examples, this seems so obvious, but I'm not sure how to go about showing it.
AFAIK, we define the action of group $G$ on set $X$ like this. Note that they denote $\varphi(g, x)$ as $g.x$
We can think of action of group $G$ on an object $R$ as a homomorphism from $G$ to $Aut(R)$. Or, as the the first definition, you have $\varphi: G\times R \rightarrow R$, where $\varphi(g,x) = \phi_g(x)$. Please check this satisfy the first definition.
Here we have $\varphi: S_3 \rightarrow Aut(\mathbb{R}^3)$, where $\varphi(\sigma) : \mathbb{R}^3 \rightarrow \mathbb{R}^3$ and $\varphi(\sigma)(x_1.x_2,x_3) = (x_{\sigma^{-1}(1)},x_{\sigma^{-1}(2)},x_{\sigma^{-1}(3)})$.
Then, $\sigma(x_1,x_2,x_3) = \varphi(\sigma(x_1,x_2,x_3)) = \varphi(\sigma)(x_1,x_2,x_3) = (x_{\sigma^{-1}(1)},x_{\sigma^{-1}(2)},x_{\sigma^{-1}(3)})$.
Now we check that $\varphi$ is homomorphism, i.e $\varphi(\sigma\circ \theta) =\varphi(\sigma)\circ \varphi(\theta)$.
Let $(x_1,x_2,x_3) \in \mathbb{R}^3$, we have $$\varphi(\sigma\circ \theta)(x_1,x_2,x_3) = (x_{(\sigma\circ\theta)^{-1}(1)},x_{(\sigma\circ\theta)^{-1}(2)},x_{(\sigma\circ\theta)^{-1}(3)})$$ $$= (x_{\theta^{-1}\circ\sigma^{-1}(1)},x_{\theta^{-1}\circ\sigma^{-1}(2)},x_{\theta^{-1}\circ\sigma^{-1}(3)}) = \varphi(\theta)(x_{\sigma^{-1}(1)},x_{\sigma^{-1}(2)},x_{\sigma^{-1}(3)}) = \varphi(\sigma)\circ \varphi(\theta).$$