Implicit Function Theorem
A function is explicit when one variable is written as a formula in the others, as in . It is implicit when the relation is given only as an equation, . Every explicit function can be written implicitly as . The implicit function theorem, also called Dini’s theorem, says when the converse works near a known solution. It also gives the derivative of the implicit function without solving the equation.
In the univariate case, let solve . Assume that is continuously differentiable in a neighborhood of and that . Then there is exactly one function , defined in a neighborhood of and taking values near , with and . Its derivative is
where and are the partial derivatives of , evaluated on the curve.In the multivariate case, equations link unknowns to parameters . Let solve the system. Assume every is continuously differentiable near . Assume also that the Jacobian matrix has a nonzero determinant at that point. This is the matrix with in row and column . Then there is exactly one set of functions , defined near and taking values near , with and . Its partial derivatives follow from Cramer’s rule:
The numerator is the Jacobian with column replaced by . The denominator is the same for every and .Both conclusions are local. They hold only in some neighborhood of the starting point. When , or the Jacobian determinant is zero, the theorem gives no conclusion. In economics the equations are usually first-order conditions or constraints. The theorem then gives the slope of an indifference curve and the comparative statics of an optimal choice.
Intuition
Economic models rarely give an explicit formula for the choice. A consumer’s demand or a firm’s output is determined by an equation, such as a first-order condition, that often has no closed-form solution. We still want to know how the solution moves when a price or an income moves. The implicit function theorem answers this with the partial derivatives of the equation at one known solution.
Look at the level set in a small neighborhood of a known point. In a small enough neighborhood the curve is close to its tangent line. A tangent line that is not vertical can be solved for as a function of , and its slope is . A vertical tangent cannot be solved that way. In the diagram the zero set is the circle . Near the upper arc is the graph of , with slope . At the tangent is vertical and . Immediately to the left of each has two values of , and to the right of it none. No function exists there.
\usepackage{tikz}
\begin{document}
\definecolor{hot}{HTML}{D9483B}
\definecolor{cold}{HTML}{2F80ED}
\definecolor{mid}{HTML}{8A8A8A}
\begin{tikzpicture}[x=2.6cm,y=2.6cm,>=latex]
\draw[->] (-1.25,0) -- (1.6,0) node[right] {$p$};
\draw[->] (0,-1.2) -- (0,1.3) node[above] {$x$};
\draw[thick,mid] (0,0) circle (1);
\node[mid,above left] at (-0.72,0.72) {$f(p,x) = 0$};
\draw[line width=2.2pt,hot] (69.51:1) arc (69.51:34.92:1);
\node[hot,right] at (0.86,0.77) {$x = g(p)$};
\draw[thick,hot,dashed] (0.2,1.1) -- (0.95,0.5375);
\node[hot,above right] at (0.22,1.09) {\small slope $-f'_p/f'_x$};
\filldraw (0.6,0.8) circle (1.3pt);
\node[below left] at (0.6,0.8) {$(p_0,x_0)$};
\draw[thick,cold,dashed] (1,-0.55) -- (1,0.55);
\filldraw (1,0) circle (1.3pt);
\node[cold,below right] at (1,0) {$f'_x = 0$};
\node[cold,right] at (1.02,0.3) {\small no $x$ for $p > 1$};
\draw[dotted,thick] (0.93,-0.3676) -- (0.93,0.3676);
\filldraw[cold] (0.93,0.3676) circle (1pt);
\filldraw[cold] (0.93,-0.3676) circle (1pt);
\node[cold,left] at (0.9,-0.42) {\small two $x$ for one $p$};
\end{tikzpicture}
\end{document}Microeconomics uses the theorem wherever an equation defines a choice. An indifference curve is an implicit function, and its slope is the MRS from 6.1.4 Indifference Curves and MRS. The first-order conditions of an optimization problem define the optimal choice implicitly. The theorem then gives the response of that choice to prices, income, or interest rates, as in 6.3.1 Comparative Statics and 6.5.3 Intertemporal Choice. The method of 7.2 Lagrange Multipliers also comes from applying the theorem to a constraint.
Properties
(Reuse the Denominator) The Jacobian determinant is computed once and serves every derivative .
Every derivative in the Cramer formula has the same denominator, . That determinant was already needed to check the second hypothesis. When the equations are the first-order conditions of a function , the Jacobian of the system is the Hessian of . Its determinant is then , the last leading principal minor in the second-order conditions of 7.1 Unconstrained Optimality Conditions. At a point that passes that second-order test, the determinant is nonzero and its sign is known in advance. With two choice variables at a maximum it is positive. The sign of then depends only on the numerator.
(One-Equation Sign Rule) For a single first-order condition with , has the sign of the cross partial .
Let solve , and suppose , the second-order condition for a strict maximum. Applying the univariate theorem to the equation gives
The denominator is negative, and it cancels the minus sign. So the choice rises with exactly when a higher raises the marginal return to . Many signed results in consumer theory come from this check. For several equations the same logic holds, but the numerator determinant can mix several cross partials.
(Swapping Roles) When but , the equation defines as a function of instead.
The theorem treats the two variables alike. At the rightmost point of the circle, but . The theorem then gives near , with . Where both derivatives exist, they are reciprocals: . The hypothesis is a sufficient condition, and a function can exist without it. The equation has at , yet is a function of . That function has an infinite slope at , so the derivative formula still fails there.
(Local Only) The function depends on the starting point, so the derivative must be evaluated at that point.
The circle has two solutions for every in . Starting from , the theorem picks the upper arc, with slope . Starting from , it picks the lower arc, with slope . The formula gives both answers because it uses the of the starting point. The requirement that take values near rules out the other arc. When an economic problem has several optima, each one has its own comparative statics.
Derivation
We want the derivative formula from the total differential. The total differential of is
It gives the first-order change in when each argument changes by . Along the curve the value of stays at zero, so :
Solving for the ratio gives , which requires . This calculation finds the slope once is known to exist and to be differentiable. Those two facts are the content of the theorem.
For a system, take the total differential of each equation with only changing:
This is a linear system , with and . Cramer’s rule solves it when . It gives , where is with column replaced by . A determinant is linear in each column, so the factor comes out of column . Dividing by gives the formula in the callout.
Sign and Order
The formula carries a minus sign, and the derivative with respect to the variable being solved for goes in the denominator. Dropping the minus sign reverses every comparative-statics result.
Examples
(Easy) A Curve That Solves Only One Way
The equation passes through the point .
Can the equation be solved explicitly for ? For ? Find at . Solving for gives . Solving for is not possible with elementary functions, because appears both inside and outside the exponential. The implicit function theorem gives the slope anyway.
Let . It is continuously differentiable everywhere. Its partial derivatives are and , which equal and at . The second hypothesis holds because . So near there is a unique function with , and
The explicit function in the other direction gives a check. From , the derivative is , which equals at . Its reciprocal is .
(Medium) Keeping Output Fixed at a Café
A café makes coffees per hour from barista hours and espresso-machine hours. It currently uses and . The set of input pairs that give the same output is an isoquant, the production version of an indifference curve.
What is the slope of the isoquant at ? If the café cuts barista time by hours, about how many more machine hours keep output unchanged? Compare with the exact answer. Output is , so the isoquant is the implicit function . The partial derivatives are the marginal products and . Since , the theorem applies: A change therefore needs about extra machine hours.
For the exact answer, output means on this isoquant. At this gives , so the café needs extra hours. The derivative is the slope at only. The isoquant is convex and lies above its tangent line, so the linear estimate falls short for a finite change.
(Hard) Shared Oven at a Bakery
A bakery sells bread at price and pastries at price . Its daily cost is . The term appears because both products share one oven. The parameter rises with the price of a flour used only for bread. Profit is
At , use the implicit function theorem on the first-order conditions to find and . Check against the explicit solution. The first-order conditions are two equations in with parameter : At they give and . The Jacobian with respect to is so the theorem applies. This matrix is also the Hessian of , and 7.1 Unconstrained Optimality Conditions uses it to confirm that is a maximum.
The derivatives with respect to are and . Replacing column , and then column , by gives
Both derivatives reuse the determinant . Dearer flour cuts bread output. Less bread lowers the marginal cost of pastries, , so pastry output rises.The explicit solution confirms this. Solving the two conditions gives and . Their derivatives are and , which equal and at .
See Also
- 7.1 Unconstrained Optimality Conditions, where the Jacobian of the first-order conditions appears as the Hessian.
- 7.2 Lagrange Multipliers, whose conditions follow from this theorem applied to the constraint.
- 7.3 Envelope Theorem, which gives the derivative of the optimal value.
- 6.1.4 Indifference Curves and MRS, the first economic use of the univariate formula.