Analysis

The Implicit Function Theorem

Most equations that matter do not come pre-solved. An equation like x² + y² − 1 = 0 ties y to x tightly, yet no single formula y = g(x) describes the whole circle. The implicit function theorem says exactly when you can stop worrying: if one block of the derivative is invertible at a point, then near that point the solution set is the graph of a unique smooth function — and you can compute that function's derivative without ever finding the function.

  • FieldMultivariable real analysis
  • Named forUlisse Dini (1845–1918)
  • Hypothesis∂F/∂y invertible at (a, b)
  • ConclusionLevel set is locally a graph y = g(x)
  • DerivativeDg = −(∂F/∂y)⁻¹ (∂F/∂x)
  • ScopeLocal only — never global

Watch the 60-second explainer

A condensed visual walkthrough — narrated, captioned, under a minute.

The problem it solves

Mathematics is full of relationships written as equations rather than as functions. A sphere is x² + y² + z² = r². An economy's equilibrium is a system of market-clearing conditions. A dynamical system's rest points satisfy f(x) = 0. In each case we would like to treat some variables as outputs determined by the others as inputs — but nobody handed us a formula.

Sometimes no formula exists. The unit circle is not the graph of any single function of x: above x = 0 there are two values of y, and outside −1 ≤ x ≤ 1 there are none. Asking for a global solution is hopeless.

The implicit function theorem lowers the ambition to something achievable and then delivers it completely. It does not ask for a formula valid everywhere. It asks only for a small neighbourhood of one known solution, and it gives a checkable, purely algebraic test for whether such a neighbourhood exists.

The modern statement was formalised by Ulisse Dini in his Pisa lectures in the 1870s, and in Italian usage the result is still called teorema di Dini. Earlier forms were used by Cauchy, and the underlying practice of implicit differentiation is older still, going back to the Lagrange era. There is no single crisp discovery date — the theorem was in working use long before it was stated cleanly.

The statement, term by term

Let F: ℝⁿ × ℝᵐ → ℝᵐ be continuously differentiable (C¹) near a point (a, b), with F(a, b) = 0. Write the input as a pair (x, y) where x ∈ ℝⁿ holds the variables we keep as inputs and y ∈ ℝᵐ holds the variables we hope to solve for. Note the matching counts: m equations, m unknowns to eliminate, with n leftover parameters.

The derivative DF at (a, b) splits into two blocks: an m × n block ∂F/∂x and an m × m block ∂F/∂y. Only the square block matters for the hypothesis.

Theorem. If ∂F/∂y evaluated at (a, b) is invertible, then there are open neighbourhoods U ∋ a in ℝⁿ and V ∋ b in ℝᵐ, and a unique C¹ map g: U → V, such that g(a) = b and F(x, g(x)) = 0 for every x ∈ U.

Three words deserve weight. Unique: inside U × V the solution set contains no other points at all, so the level set there is the graph of g. Neighbourhoods: the conclusion is local and says nothing beyond U × V. And C¹ suffices to get a C¹ solution; if F happens to be Cᵏ or real-analytic, then g inherits Cᵏ or analyticity for free.

The unit circle, worked out

Take n = m = 1 and F(x, y) = x² + y² − 1. The level set F = 0 is the unit circle. The two derivative blocks are ∂F/∂x = 2x and ∂F/∂y = 2y. For a 1 × 1 matrix, invertible simply means nonzero, so the hypothesis reads 2y ≠ 0, that is y ≠ 0.

Start at (a, b) = (0, 1). Here ∂F/∂y = 2 ≠ 0, so the theorem applies and indeed the upper semicircle y = √(1 − x²) is a smooth function of x on a neighbourhood of 0. At (0, −1) the block is −2, also invertible, and the lower branch y = −√(1 − x²) does the job. At (√2/2, √2/2) the block is √2, and the upper branch again works.

Now consider (1, 0). Here ∂F/∂y = 0 and the hypothesis fails. And the conclusion fails with it: no matter how small a neighbourhood of x = 1 you take, the circle near (1, 0) has two y-values for every x slightly less than 1 and none for x slightly greater. Geometrically the tangent line is vertical. The same happens at (−1, 0).

So on the circle the hypothesis fails at exactly two points, and those are exactly the two points where the level set is not locally a graph. The test is not merely sufficient here — it is sharp.

Why invertibility is the whole theorem

Everything else in the statement is bookkeeping. The content is the square block.

Here is the intuition. Near (a, b) a C¹ map is well approximated by its derivative, so moving by a small step Δx changes F by roughly (∂F/∂x)Δx + (∂F/∂y)Δy. To stay on the level set we need that total change to vanish, which means solving the linear system (∂F/∂y)Δy = −(∂F/∂x)Δx for the correction Δy.

A linear system with a square coefficient matrix has a unique solution for every right-hand side precisely when that matrix is invertible. So:

  • If ∂F/∂y is invertible, every small push in x has exactly one compensating response in y — a function, uniquely determined, is forced to exist.
  • If it is singular, some push in x has no compensating response (existence fails) or infinitely many (uniqueness fails), and the level set has no reason to look like a graph.

The theorem is the statement that this linearised reasoning is not just suggestive but true, on a genuinely open neighbourhood, for the nonlinear map. The ε–δ work in the proof exists only to bound how far the nonlinear error can drag the linear picture — the invertible block is what makes the linear picture solvable in the first place. Lose it and there is nothing left to perturb.

The derivative, for free

The theorem's quiet second half is a formula. Since F(x, g(x)) = 0 identically on U, differentiate both sides with the chain rule:

∂F/∂x + (∂F/∂y) · Dg = 0 ⟹ Dg = −(∂F/∂y)⁻¹ (∂F/∂x)

Read that twice. The derivative of the solution function is computed from derivatives of F alone. You never solve for g. On the circle at (√2/2, √2/2): dy/dx = −(2x)/(2y) = −1, the familiar implicit-differentiation answer, now with a theorem certifying that the y being differentiated actually exists.

A genuine system makes the matrix algebra visible. Let F₁ = x² + y² + z² − 3 and F₂ = x + y − z − 1, so F: ℝ¹ × ℝ² → ℝ² with (x; y, z) and base point (1; 1, 1), where both equations hold. The blocks are

∂F/∂(y,z) = [[2y, 2z], [1, −1]] = [[2, 2], [1, −1]], determinant −4 ≠ 0, and ∂F/∂x = [2x, 1]ᵀ = [2, 1]ᵀ.

Inverting, (∂F/∂(y,z))⁻¹ = [[1/4, 1/2], [1/4, −1/2]], so Dg = −[[1/4, 1/2],[1/4, −1/2]] · [2, 1]ᵀ = −[1, 0]ᵀ. Hence y′(1) = −1 and z′(1) = 0. Checking by hand: the two differentiated equations give y′ + z′ = −1 and y′ − z′ = −1, which agree. The sphere-plane intersection curve is, near this point, a smooth curve parametrised by x.

What goes wrong when the hypothesis fails

A singular ∂F/∂y is a warning, not a verdict. Several different things can happen, and sorting them out is good practice.

  • Branches cross. For F(x, y) = y² − x² the level set is the pair of lines y = ±x, and ∂F/∂y = 2y vanishes at the origin. Every neighbourhood of (0, 0) contains two y-values for each nonzero x, so no single function describes it.
  • A cusp. For F(x, y) = y² − x³, again ∂F/∂y = 0 at the origin, and the two branches y = ±x^(3/2) meet there.
  • Existence survives, smoothness does not. For F(x, y) = y³ − x we have ∂F/∂y = 3y² = 0 at the origin, yet y = x^(1/3) is the unique continuous solution. It exists and is unique — it is simply not differentiable at 0, which is precisely the regularity the theorem would have guaranteed.
  • Nothing goes wrong at all. For F(x, y) = y³ the block 3y² vanishes along the whole solution set y = 0, and yet g(x) = 0 is a perfectly good unique smooth solution.

The lesson: invertibility is sufficient, not necessary. When it holds you are done. When it fails you have learned only that the theorem is silent, and must look at the geometry yourself. Continuity of the derivative also matters — dropping C¹ for mere continuity of F breaks the conclusion.

How it is proved, and where it bites

The standard modern proof turns the theorem into a fixed-point problem. For each fixed x, define the Newton-like map Φₓ(y) = y − (∂F/∂y)⁻¹ F(x, y), with the inverse taken at the base point (a, b). A solution of F(x, y) = 0 is exactly a fixed point of Φₓ. Continuity of the derivative makes Φₓ a contraction on a small closed ball around b for all x close to a, and the Banach fixed-point theorem then supplies a unique fixed point depending continuously — and, with more work, differentiably — on x. That is g.

There is a second route: derive it from the inverse function theorem by applying that theorem to the map (x, y) ↦ (x, F(x, y)), whose derivative is invertible exactly when ∂F/∂y is. The two theorems are equivalent — each follows from the other in two or three lines — so neither is really more fundamental.

Where the theorem earns its keep:

  • Constrained optimisation. It is the reason Lagrange multipliers work: the constraint set can be locally solved for some variables, reducing a constrained problem to a free one.
  • Manifolds. The regular value theorem — a level set of a map with surjective derivative is a smooth manifold — is the implicit function theorem in geometric dress, and it supplies the local charts.
  • Continuation. In ODEs and dynamical systems it tracks how equilibria move as parameters vary, and shows when they persist.
  • Economics. Comparative statics — how an equilibrium responds to a shifted parameter — is literally the formula Dg = −(∂F/∂y)⁻¹ (∂F/∂x).
The unit circle x² + y² − 1 = 0 point by point: the hypothesis ∂F/∂y = 2y ≠ 0 fails at exactly the two points where the circle is not locally a graph over x.
Point on the circle∂F/∂y = 2yHypothesis holds?Locally a graph over x?
(0, 1) — top2YesYes: y = √(1 − x²)
(0, −1) — bottom−2YesYes: y = −√(1 − x²)
(√2/2, √2/2)√2YesYes: y = √(1 − x²)
(1, 0) and (−1, 0) — vertical tangent0NoNo: two branches meet, x cannot pass

Frequently asked questions

Does the theorem tell you what the function g actually is?

No. It is an existence-and-uniqueness result, not a construction. You learn that a unique C¹ function g exists on some neighbourhood and you get its derivative Dg = −(∂F/∂y)⁻¹ (∂F/∂x) exactly, but no closed form for g itself. In practice g is evaluated numerically, typically by the Newton iteration that also underlies the proof.

Why is the conclusion only local?

Because the hypothesis is only a statement about one point. The unit circle shows the gap vividly: ∂F/∂y = 2y is nonzero at every point except (1, 0) and (−1, 0), so the circle is locally a graph almost everywhere, yet globally it is the graph of no function at all. A pointwise hypothesis cannot deliver a global conclusion.

Is invertibility of ∂F/∂y necessary?

No, only sufficient. For F(x, y) = y³ the block 3y² vanishes along the entire solution set, yet g(x) = 0 is a unique smooth solution. For F(x, y) = y³ − x the block vanishes at the origin and the unique solution y = x^(1/3) exists but fails to be differentiable there. Failure of the hypothesis means the theorem says nothing, not that the conclusion is false.

How is it related to the inverse function theorem?

They are equivalent. Applying the inverse function theorem to the map (x, y) ↦ (x, F(x, y)) yields the implicit function theorem, because that map's derivative is invertible exactly when ∂F/∂y is; conversely, applying the implicit function theorem to F(x, y) = f(y) − x gives the inverse function theorem. Each derivation is two or three lines.

What do n and m stand for, concretely?

m is the number of equations, which must equal the number of variables you want to eliminate — that is why ∂F/∂y is square. n counts the remaining variables, kept as inputs. One equation in two unknowns solved for one of them is n = m = 1; two equations in three unknowns solved for two of them is n = 1, m = 2.

How smooth is the solution function?

Exactly as smooth as F. C¹ data gives a C¹ solution, which is the minimal version of the theorem. If F is Cᵏ then g is Cᵏ, and if F is real-analytic then g is real-analytic. The regularity is inherited rather than lost, which is why the theorem is safe to use inside proofs that need higher derivatives.