Let $f$ and $g$ be one-to-one functions such that the domain of $f$ is $A$, the range of $f$ is $B$, the domain of of $g$ is $B$, and the range of $g$ is $C$.
- Prove that $g \circ f$ is a one-to-one function.
- Prove that $f^{−1} \circ g^{−1}$ is the inverse of $g \circ f$.
Not sure if I should be letting $f(x)$ and $g(x)$ be actual functions here then proving it, or what's going on..
Here's a simple proof for part 1:
Suppose $h(x)=g(f(x))$
Since we know $f,g$ are two (equal or distinct) one-to-one functions, for all $x\ne y \in A$, $f(x) \neq f(y)$ (by definition of one-to-one).
Now, we are given that $f(x), f(y) \in B$, which is also the domain of $g$.
Also, we now know that $g(f(x)) \neq g(f(y))$, since we know that $g$ is also a one-to-one function.
But we have $h(x)=g(f(x)), h(y) =g(f(y)) \implies h(x) \neq h(y)$, which is the definition of a one-to-one function.
This proves our theorem, since $h(x) =g(f(x)) = g\circ f$.