I need to prove the following: Let $X$ be a set and $S_x$ the set of all bijections $f: X$ to $X$. Is $S_x$ a group under composition of functions?
I know that to prove something is a group I need to prove
$1)$ associativity,
$2)$ the existence of the identity,
$3)$ the existence of the inverse. I have already proved that the composition of functions is associative in a previous problem, though those functions were not bijective. I'm really stuck on the other two parts.