If $X$ is a set, what does $S(X) = \{f\colon X \to X | \text{where $f$ is a bijection}\}$ mean. From my understanding it means the Set containing the function $f$ that maps elements of $X$ onto elements of $X$, where $f$ is a bijection. However, in the proof to see whether $S(X)$ is a group under composition, they said that composition is a closed binary operation for $S(X)$ because if $f$ is a bijection, then $f(g)$ is also a bijection so $f(g)$ is in $S(X)$
But where did they get $g$ from? Why can you randomly talk about other functions if $S(X)$ only contains the function $f$ that is bijective.
Thanks in advance
This notation means $S(X)$ is the set of all bijective mappings from $X$ to $X$.
You can easily check that this is a group:
closed under $\circ$, since compositions of bijective mappings are bijective
neutral element: $id\colon X\to X, x\mapsto x$.
inverse element: $f\circ f^{-1} = id$