[solution]
**Step 1: Establish the sign of $f(b) - f(a)$.** Since $f$ is injective and $a \neq b$, we have $f(a) \neq f(b)$. Without loss of generality, assume $f(a) < f(b)$; we will show $f$ is strictly increasing. (The case $f(a) > f(b)$ gives strictly decreasing by applying the argument to $-f$.)
**Step 2: Suppose for contradiction that $f$ is not strictly increasing.** Then there exist $c, d \in [a, b]$ with $c < d$ but $f(c) \geq f(d)$. Since $f$ is injective, $f(c) > f(d)$.
**Step 3: Apply the IVT to derive a contradiction.** Consider the value $\gamma = f(d)$. We have $f(a) < f(b)$ and $f(c) > f(d)$, and we need to find two distinct points mapping to the same value.
*Case 1: $f(d) \geq f(a)$.* Then $f(a) \leq f(d) < f(c)$. By the [Intermediate Value Theorem](/theorems/180) applied to $f$ on $[a, c]$, there exists $x_1 \in [a, c]$ with $f(x_1) = f(d)$. Since $x_1 \in [a, c]$ and $d > c$, we have $x_1 \neq d$ but $f(x_1) = f(d)$, contradicting injectivity.
*Case 2: $f(d) < f(a)$.* Then $f(d) < f(a) < f(b)$. By the IVT applied to $f$ on $[d, b]$, there exists $x_2 \in [d, b]$ with $f(x_2) = f(a)$. Since $x_2 \in [d, b]$ and $a < d$, we have $x_2 \neq a$ but $f(x_2) = f(a)$, contradicting injectivity.
**Step 4: Conclude.** In both cases, the assumption that $f$ is not strictly increasing leads to a contradiction with injectivity. Therefore $f$ is strictly increasing (given $f(a) < f(b)$).
This result shows that continuous injections on intervals are automatically monotone — a purely topological constraint that fails for discontinuous injections (e.g., $f(x) = \mathbf{1}_\mathbb{Q}(x) + x$ is injective on $[0, 1]$ but not monotone). It also explains why continuous bijections from $[a, b]$ to $[f(a), f(b)]$ are automatically homeomorphisms: the inverse is continuous because it is the inverse of a strictly monotone continuous function. $\checkmark$
[/solution]