Let $M = \{m_1,. . . , m_k\} ⊂ \{1, 2, 3,. . . , n\}$ and $H = \{\sigma ∈ S_n | \forall m \in M, \; \sigma(m) \in M\}$.
Show that $H \subset S_n$ is a subgroup.
I tried the following: $m \in M$ and $\sigma \in H$ implies that $\sigma(m) \in M$. If we take $\pi \in H$, then $\pi \sigma = \pi(\sigma(m)) \in M$ which in turn implies that $\pi\sigma \in H$(here the product is defined as a composition).
Update: I have shown that $H$ is nonempty, finite and closed under the operation of multiplication, hence I have shown that it is indeed a subgroup.
(Nonempty, because it contains at least the identity permutation, and finite because it can only have up to $n!$ elements which is a finite number.)
Now, to show that $H$ is isomorphic to $S_k × S_{n−k}$, I have to define a bijective homomorphism. I don't quite understand what this means. I know that permutations are bijective, but how would this work for $S_k × S_{n−k}$? What does $S_k × S_{n−k}$ actually mean?
In Gallian's "Contemporary Abstract Algebra (Eighth Edition)", there is the following theorem.
The proof is fairly straightforward.
So you are done.