Let $G$ be a group of mappings on a set $X$ with respect to function composition. Show that if $G$ contains some injective function, then $G\subseteq \text{Sym}(X)$.
What I did: If $X$ is finite, then the injective mapping $g\in G$ is also bijective. Suppose the identity $i\in G$ is not bijective. Then $gi=g$ is not bijective, impossible, so $i$ must be bijective. Then any $h\in G$ must be bijective because of the existence of $h^{-1}$ such that $hh^{-1}=i$. So $G\subseteq\text{Sym}(X)$ indeed.
But when $X$ is infinite, the injective mapping is no longer necessarily bijective, and the whole argument breaks down.
Here's a recipe for how you can do it:
At each stage, employ proof by contradiction. Spoiler: