The Implicit Function Theorem
Consider the equation , the unit circle. Near the point , can we solve for as a smooth function of ? Near the point , can we? The equation itself never mentions "solving for ." It is a single constraint treating and symmetrically. Yet in ordinary life we routinely think of one variable as depending on another. For example, pressure as a function of volume and temperature via an equation of state. Or a budget constraint pinning down one purchase given the others. The Implicit Function Theorem tells us exactly when, and in what sense, an implicit relation can be legitimately rewritten as for a smooth function . It does this without ever solving the equation explicitly. This question matters because most equations arising in geometry, physics, and optimization are not presented in solved form. Level sets of functions, constraint surfaces in Lagrange Multipliers problems, conservation laws, and equilibrium conditions in economics all come as implicit relations . The theorem gives a computable criterion. This criterion is nonvanishing of a partial derivative, or more generally invertibility of a Jacobian block. It guarantees that a local, smooth, unique dependent-variable function exists. It also hands us a formula for that function's derivative, even though we may never write the function down explicitly. The big picture is that the Implicit Function Theorem is really a disguised form of the Inverse Function Theorem. Both theorems answer the same underlying question: when can a map be locally "solved"? They phrase this in two dialects. The Inverse Function Theorem solves for globally in all variables. The Implicit Function Theorem solves for some of the variables in terms of the rest. We will derive the Implicit Function Theorem directly from the Inverse Function Theorem. This makes the connection between them completely transparent, rather than treating them as two independent black boxes. This article states the precise hypotheses: continuous differentiability, and a nonsingular partial Jacobian. It proves the theorem by reduction to the inverse function case. It derives the implicit-differentiation formula for the derivative of the solved-for variable. It also works through asymmetric examples, including a genuinely vector-valued implicit system. It closes by previewing how the theorem underlies the local parametrization of level sets used in Surface Integrals and Parametrized Surfaces.
- The Implicit Function Theorem gives conditions under which can be locally solved for as a smooth function .
- The key hypothesis is that the partial Jacobian of with respect to is invertible at the point in question.
- It is proved by applying the Inverse Function Theorem to an auxiliary map that appends the free variable to .
- The derivative of the implicit function is obtained without ever solving for explicitly, via .
- Failure of the nonsingularity hypothesis (e.g. at on the unit circle) is exactly where the implicit solution breaks down or becomes non-unique/non-smooth.
- Key idea: local invertibility of a square sub-block of the Jacobian is precisely the condition that lets an implicit equation be "solved" for the corresponding variables.
Where this lives today
In differential geometry, the Implicit Function Theorem is the tool that certifies a level set of a map with surjective derivative is locally a smooth submanifold, the starting point for defining tangent spaces and, downstream, for Surface Integrals and Parametrized Surfaces, where a surface given implicitly (e.g. a sphere ) is locally reparametrized as a graph to compute flux or area integrals. In constrained optimization, it justifies the sensitivity analysis behind Lagrange Multipliers: it shows how the optimal point of a constrained problem moves as the constraint or objective is perturbed, by implicitly differentiating the first-order (KKT) conditions with respect to a parameter. In economics, comparative statics — how an equilibrium quantity shifts when a parameter like a tax rate changes — is literally an application of the derivative formula to equilibrium conditions. In numerical analysis and control theory, implicit ODE solvers and feedback linearization rely on locally solving implicit algebraic equations at each time step, with the theorem certifying well-posedness. In algebraic geometry and singularity theory, points where the Jacobian hypothesis fails are precisely the singular points of a variety, making the theorem a diagnostic for smoothness. In machine learning, implicit differentiation through fixed-point layers (e.g. deep equilibrium models) uses exactly the formula to backpropagate gradients through an implicitly defined layer without unrolling an iterative solver.
Ask the tutor: How does implicit differentiation of the Lagrange multiplier conditions let us compute how an optimal solution changes when a constraint's constant is perturbed?
Let be open, and let
be a map. Write points of as with , . Let satisfy
Let denote the matrix of partial derivatives of with respect to the -variables only, evaluated at :
The theorem asserts: if is invertible, then there exist open sets in and in , with , and a unique function
such that and, for every ,
Moreover the derivative of is given at every by
where is the matrix of partials of with respect to the -variables.
Intuition
Think of as a system of equations in unknowns — generically this cuts out an -dimensional solution set, matching the count of free variables . The role of is to be pinned down by ; the condition that makes this pinning-down work smoothly and uniquely is that the "-part" of the linearization of is nonsingular, exactly as in solving a linear system for requires invertible. The Implicit Function Theorem is the nonlinear, local version of "invert the coefficient matrix of the variables you want to solve for." Geometrically, for the classic case : is a curve in the plane, and means the curve is not tangent to the -direction at — equivalently its tangent line is not vertical, so it locally looks like the graph of a function . Where the curve does have a vertical tangent, such as at on the unit circle where , no such local function can exist: two values of (or none) correspond to nearby . The proof strategy is to build a bigger map that keeps as a passenger. Define , a map from to . Its Jacobian at is block triangular with the identity in the top-left and in the bottom-right, so is a local diffeomorphism there by the Inverse Function Theorem. Inverting and reading off the -component of produces exactly the implicit function .
Let be open, a map, with , and suppose the matrix is invertible. Then there exist open sets containing and containing with , and a unique function of class , such that
Furthermore for all ,
Technique: reduction to the Inverse Function Theorem via an auxiliary map. Step 1 — Construct the auxiliary map. Define by
Since is and the identity map on the -slot is , is on . Step 2 — Compute and invert the Jacobian at . In block form, writing coordinates , the derivative of is
because the first block-row is the identity map's derivative , and the second block-row is by definition of the partial Jacobians. This is a block lower-triangular matrix, so its determinant is
At , by hypothesis is invertible, so , i.e. is an invertible linear map. Step 3 — Apply the Inverse Function Theorem. Since is near and is invertible, the Inverse Function Theorem gives open sets in and in , such that is a bijection with inverse . Step 4 — Identify the structure of . Since has identity first coordinate, for any writing we have
The first coordinate forces for all . So has the form
for some function , and the second coordinate equation reads
Step 5 — Define and the neighborhoods. Set . Since is open and contains , the set
is open (it is the preimage of the open set under the continuous, indeed , map ) and contains . On , is as a composition/restriction of the map . By with :
Also the -component of , so . Since is open in and contains , choose open boxes containing and containing small enough that (possible since is open, using that products of small enough open balls/boxes around lie in any open set containing ) and additionally so that (possible by continuity of at with , shrinking further if necessary). Restrict to this ; by , satisfies for all . Step 6 — Prove the equivalence on . The direction is restricted to . For the converse, suppose and . Then . Also by , and since . Both and lie in and map under the injective map (injective since is a bijection by Step 3) to the same point . Injectivity forces , i.e. . Step 7 — Uniqueness of . Suppose is any function (not assumed a priori) with and for all . Fix ; then and , so by Step 6 (the equivalence just proved) . Hence , proving uniqueness among functions satisfying these implicit relations, in particular uniqueness of a solution. Step 8 — Differentiate to get the derivative formula. Since identically for and both and are , the chain rule applies to the composite map . Differentiating the identity with respect to gives, for each ,
where the left side is the chain rule expansion of into its dependence through the first slot ( term) and through in the second slot ( term). We must justify that is invertible for near to solve for : the determinant map is continuous in (as a composition of the continuous maps , , and ), and it is nonzero at by hypothesis; hence by continuity it is nonzero on a neighborhood of . Shrinking to this neighborhood (intersected with the earlier ; this does not disturb Steps 1–7 since neighborhoods can always be shrunk while preserving those conclusions), is invertible for all , and we may solve:
This completes the proof.
∎If in addition is (, possibly ) or real-analytic on , then the implicit function produced above is , respectively real-analytic, on . The case follows by bootstrapping the derivative formula : the right side is a composition of maps (matrix inversion is smooth where defined) once is known to be , inductively raising the regularity of by one order at each step. The analytic case requires convergent power series majorization arguments and is beyond the present scope.
Worked examples
Example 1 (scalar case, asymmetric constants): the curve . This is a variant of the folium of Descartes. Let . Look for an implicit solution near the point : check
so is not on the curve; instead try :
Try : . We want a genuine root; solve directly: try satisfying . Instead pick a clean root: set : ; at : . Try the cleanest asymmetric root by inspection: : . Take . Check the hypothesis: , so at ,
This is nonzero, so the Implicit Function Theorem applies: there is an open interval around and a unique (in fact , since is a polynomial) function with and near . Compute using the formula, with :
Then
So near , , a genuine local linear approximation to the curve obtained without solving the cubic for in closed form.
Example 2 (vector-valued implicit system, , ): solving two equations for two unknowns in terms of one parameter. Let be the free variable and the dependent pair. Define by
We seek a base point. Try : the system becomes
(Note the sign: ; at this is .) Look for with sum of squares and product : these are roots of paired with , not integral. Choose instead : then , . Solve for : need , and check the second equation at : . Not consistent. Instead, fix and choose 's constant so it is consistent — but to keep fixed as stated, find an actual common root. Solve directly: from equation 1, . Substitute into equation 2:
Try : then . Check eq. 2: . Try (asymmetric swap): . Eq. 2 at : . Try : . Eq 2: . Rather than hunt further, use a cleaner but still asymmetric built to have an exact, checkable root. Redefine:
Try the point :
Try : ; . Try : ; . Try : ; . Try : ; . Try : ; . Solve systematically instead: from , . Substitute into :
Pick : . Take (irrational but exact and checkable). Then . So is an exact root: ✓, and . Compute . So ✓. Now compute the Jacobian blocks. We have
At :
Its determinant is
So is invertible: the Implicit Function Theorem applies, giving a (indeed , since is polynomial) function near with and . Compute at this point using , where . The inverse of is
So
Numerically, , so
both evaluated at . This gives the exact local linear behavior of as functions of near this point, obtained entirely from Jacobian data without ever inverting the nonlinear system symbolically.
Let , so , and consider the point , which satisfies . Here
so the key hypothesis of the theorem — invertibility (here, nonvanishing) of — fails. Consequently no local function can exist with near and : solving for near gives , which is only defined for (undefined for , since there), so no function is even defined on a full open interval around . Even restricting to , has , so fails to be differentiable at from the relevant side, let alone on an open neighborhood. This shows the nonvanishing hypothesis is not a technical convenience but is exactly what fails at points where the level curve has a vertical tangent — precisely where solving for as a function of breaks down. Contrast: , so instead can be solved smoothly as a function of near (), illustrating that the theorem's hypothesis singles out which variable may be solved for, not whether the level set is smooth at all.
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| invertible | Theorem applies fully: unique local solution , with derivative formula. |
| singular but (or some other block) invertible | Solve for a different set of variables instead; the roles of "independent" and "dependent" variables are not intrinsic to , only to the chosen partition. |
| only continuous, not | Theorem can fail entirely: continuity of alone does not guarantee even a continuous implicit function exists locally in general non-degenerate settings; (or at least differentiability with continuity of the relevant partials) is essential to the proof via the Inverse Function Theorem. |
| Whole Jacobian has rank | No sub-block is invertible; the level set may fail to be a manifold at all near (e.g. a self-intersection or cusp). |
| () | Degenerates exactly to the Inverse Function Theorem: there is no , and "solving " becomes finding the local inverse of near a point where under invertible. |
The mathematician behind it
Origins · 1 minAugustin-Louis Cauchy and how this was discovered
Cauchy is the mathematician most closely associated with turning implicit-function reasoning, long used informally, into a rigorous existence theorem grounded in careful estimates, as part of his broader program to place calculus on a foundation of precise limits and inequalities rather than infinitesimal intuition. The modern Banach-space and Jacobian-based formulation used today, tying the Implicit Function Theorem directly to the Inverse Function Theorem, was consolidated later, but the core existence argument — controlling a solution branch by dominating series or fixed-point estimates — traces to Cauchy's analytic methods and was extended by his contemporaries and successors working on differential equations and complex analysis.
Why is the theorem called "implicit" rather than just an existence theorem for functions?
The name reflects that the function is never constructed by an explicit formula — it is defined only implicitly, through the relation . Unlike explicit function definitions such as , the theorem provides no closed form in general; for a degree-5 polynomial equation in two variables, for instance, no algebraic closed form for may even exist by Galois-theoretic obstructions (unsolvability of the general quintic), yet the theorem still guarantees exists locally, is , and has a computable derivative. This is the theorem's real power: existence and differentiability of are established without needing an explicit formula for itself.
How does this theorem relate to the Inverse Function Theorem exactly?
They are logically equivalent in the sense that each can be derived from the other. This article derives the Implicit Function Theorem from the Inverse Function Theorem by considering the augmented map and inverting it. Conversely, the Inverse Function Theorem is the special case of the Implicit Function Theorem: given with and parameter playing the role of , solving for as a function of is precisely constructing the local inverse of .
Does the theorem tell us anything about second derivatives of the implicit function?
Yes, by further implicit differentiation. If is , differentiate the identity once more with respect to , using the product and chain rules, to obtain a linear equation for the second derivative (Hessian) of in terms of the second partials of and the already-known . This is exactly how implicit differentiation is extended to compute concavity/convexity of implicitly defined curves, e.g. in constrained optimization sensitivity analysis tied to Lagrange Multipliers.
Can the theorem fail even when is a polynomial and looks perfectly smooth?
Yes — smoothness of is necessary but not sufficient; the Jacobian condition can still fail at special points. For example (a cuspidal cubic) is a polynomial, hence , but at , and also , so neither variable can be locally solved for smoothly there, matching the fact that the curve has an actual cusp singularity at the origin.
Why must we shrink the neighborhood in the proof, rather than using the full domain ?
The Inverse Function Theorem itself only guarantees a local diffeomorphism, valid on some possibly small open set around — invertibility of says nothing about behavior far away, where could fail to be injective or its Jacobian could become singular again. Since the whole proof is built by pulling back through this local inverse, the resulting implicit function inherits the same local-only validity. This is why the theorem's conclusion is always phrased with "there exist open sets " rather than any global domain.
What goes wrong if is invertible but is only continuous, not differentiable?
The entire proof strategy collapses because it relies on differentiating and invoking the Inverse Function Theorem, both of which require at least regularity. Without differentiability there is no linearization to test for invertibility, so the hypothesis " invertible" cannot even be stated. Purely continuous implicit relations can behave pathologically — failing to have any continuous local branch, or having infinitely many — so (or comparable) smoothness is not a technical nicety but load-bearing throughout the argument.
Is the implicit function ever unique globally, not just on the small set ?
Not in general. Uniqueness in the theorem is only asserted within the specific box constructed in the proof; outside that box, or even inside a larger neighborhood of , there can be other branches of solutions to . The unit circle again illustrates this: near the unique local branch in a small box is , but globally there is also the branch solving the same equation, just not passing through or lying in the same small .