The function $g : [a, b]\to\mathbb{R}$ is continuous on $[a, b]$, differentiable on $(a, b)$ and satisfies $g'(x) > 0$ for all $x \in (a,b)$.
Explain why $g$ is injective.
Does the Mean Value Theorem prove that a continuous and differentiable function is injective?
Let $x_1,x_2\in[a,b]$ be such that $x_1\neq x_2$. Suppose that $g(x_1)=g(x_2)$. Then by Rolle's theorem we would also have that $g'(\xi)=0$ for some $\xi\in(x_1,x_2)$, which is a contradiction.