I came across this problem:
Let $f: \mathbb{R}^n \to \mathbb{R}^m$ be a totally differentiable function, whose derivative $Df$ vanishes for all $x\in \mathbb{R}^n$. Show that $f$ is constant. Hint: Consider the line segment $L$ connecting two arbitrary points $x_{0},y_{0}\in\mathbb{R}^n$ and show that for suitable points $x_{i},y_{i}\in L$, $|f(x_{i})-f(y_{i})|$ is sufficiently small. Use compactness to proof the statement.
We aren't supposed to use partial derivatives like this: Functions where the total derivative is zero. Also, we don't have a mean value theorem for multi variable functions and we didn't introduce connectedness yet (as used in the second answer above).
For the first part of the hint, one could use continuity of $f$ to force $|f(x_{i})-f(y_{i})|$ small enough. But this would require $\delta$ to be (very) small aswell. Regarding compactness, my first guess was to define a sequence of points $\in L$ and use sequential compactness in some sense. None of my thoughts worked out so far.
Regards cerocius