Theorem (implicit function theorem)
Let $f: U\to\R^m$ with $U\subseteq \R^{n+m}$ open, and $(x_0, y_0)\in U$.
If $f\in{}$$C^1(U)$, $f(x_0, y_0) = 0$ and $D_y f(x_0, y_0) \in \mathcal{L}(\R^m, \R^m)$ is invertible, then there exists an open neighbourhood $V$ of $x_0$ and a unique $g: V\to\R^m$ such that
-
$g(x_0) = y_0$; and
-
$f(x, g(x)) = 0$; and
-
there exists a neighbourhood $W\subseteq \R^n$ of $y_0$ such that if $(x,y)\in V\times W$, then $f(x,y)=0 \iff y=g(x)$.
Moreover, $g\in C^1(V)$ with derivative $$ \begin{align*} Dg(x) = -\bigl(D_y f(x,g(x))\bigr)\inv \bigl(D_x f(x,g(x))\bigr). \end{align*} $$