Proof (continuously differentiable iff partial derivatives are continuous)

$C^1$ $\implies$ continuous partial derivatives

Apply the representation of the derivative in terms of partial derivatives.

Continuous partial derivatives $\implies$ $C^1$

Applying the mean value theorem, we have $$ \begin{align*} f(x_0 + h) - f(x_0) ={}& \sum_{k=1}^{n} \left[f\Bigl(x_0 + \sum_{i=1}^{k} h^i e_i\Bigr) - f\Bigl(x_0 + \sum_{i=1}^{k-1} h^ie_i\Bigr)\right] \\ ={}& \sum_{k=1}^{n} h^k \,\partial_k f\Bigl(x_0 + \sum_{i=1}^{k-1} h^i e_i + λ^k e_k\Bigr) \\ ={}& \sum_{k=1}^{n} h^k \partial_k f(x_0) + ε(h) \, \|h\| \end{align*} $$ where $λ^k$ is between $0$ and $h^k$ and $$ \begin{align*} ε(h) ={}& \frac{1}{\|h\|}\left(\sum_{k=1}^{n} h^k \Bigl(\partial_k f\bigl(x_0 + \sum_{i=1}^{k-1} h^i e_i + λ^k e_k\bigr) - \partial_k f(x_0)\Bigr)\right) \\ \implies \|ε(h)\| \leq{} &\sum_{k=1}^{n} \Bigl\|\partial_k f\bigl(x_0 + \sum_{i=1}^{k-1} h^i e_i + λ^k e_k\bigr) - \partial_k f(x_0)\Bigr\| \\ \to{}& 0 \end{align*} $$ as $h\to 0$ by continuity.