Tutorials › Real Analysis › Applications of the Implicit Function Theorem

Multivariable Analysis · Tutorial 808 of 1000

Applications of the Implicit Function Theorem

Use the Implicit Function Theorem to calculate how nearby solutions respond to changing parameters and to interpret their first- and second-order sensitivity.

Advanced 10 min read

What You'll Learn

  • Interpret the implicit function as a local response to parameter changes
  • Calculate first-order sensitivity from the derivative formula
  • Derive a first-order approximation to nearby solutions
  • Relate second derivatives of the solution to the curvature of the defining equations
  • Check local uniqueness and identify when the theorem does not apply

Solutions as Responses to Parameters

The Implicit Function Theorem does more than guarantee that an equation can be solved locally for some of its variables. It also describes how the solution changes when the other variables change. This is useful whenever an equation represents a constraint, a balance condition, or a system whose solution depends on a parameter.

Let \(F(x,y)=0\), where \(x\in\mathbb{R}^m\) is a parameter and \(y\in\mathbb{R}^n\) is the unknown. Suppose \(F(a,b)=0\) and \(D_yF(a,b)\) is invertible. The Implicit Function Theorem gives a continuously differentiable function \(y=\phi(x)\), locally, such that \(F(x,\phi(x))=0\) and \(\phi(a)=b\). Its derivative formula, established in the previous tutorial, is

$$ D\phi(x)=-\bigl(D_yF(x,\phi(x))\bigr)^{-1}D_xF(x,\phi(x)). $$

This formula turns the theorem’s existence conclusion into a sensitivity calculation. A small parameter change \(h\) produces, to first order, a solution change \(D\phi(a)h\). The matrix \(D_yF\) describes how the equations respond to changes in the unknown; solving with its inverse gives the change in \(y\) needed to offset the effect of changing \(x\).

Takeaway: The Implicit Function Theorem provides a local solution branch, and its derivative measures the branch’s first-order response to parameter changes. Both conclusions are local: the theorem does not by itself describe distant solutions or guarantee that a solution branch continues indefinitely.

First-Order Sensitivity

The following result packages the derivative formula as an approximation that can be used directly. The remainder term says that the error is small compared with the size of the parameter change.

Theorem (First-Order Sensitivity of an Implicit Solution): Suppose \(F\) satisfies the hypotheses of the Implicit Function Theorem at \((a,b)\), and let \(\phi\) be the resulting local solution function. For \(h\in\mathbb{R}^m\) tending to \(0\), $$ \phi(a+h)=b-\bigl(D_yF(a,b)\bigr)^{-1}D_xF(a,b)h+o(\|h\|_2). $$

Proof. Since \(\phi\) is differentiable at \(a\), the definition of differentiability gives \(\phi(a+h)=\phi(a)+D\phi(a)h+r(h)\), where \(\|r(h)\|_2/\|h\|_2\to0\) as \(h\to0\), \(h\neq0\). Because \(\phi(a)=b\), and the derivative formula for the implicit function gives \(D\phi(a)=-\bigl(D_yF(a,b)\bigr)^{-1}D_xF(a,b)\), substitution yields the stated expansion. The remainder is precisely \(o(\|h\|_2)\) by differentiability. \(\square\)

For a scalar parameter and scalar unknown, the derivative is a single rate of change. With several parameters and unknowns, the matrix \(D\phi(a)\) records how each solution coordinate responds to each parameter coordinate. The approximation is local; it should not be treated as an exact formula for finite parameter changes.

Worked Example: A Scalar Equilibrium Response

Consider the equation \(y^2+y-p=0\), with parameter \(p\) and unknown \(y\). Set \(F(p,y)=y^2+y-p\). At \((p,y)=(0,0)\), substitution gives \(F(0,0)=0^2+0-0=0\), and \(D_yF(0,0)=2(0)+1=1\), which is invertible. The Implicit Function Theorem therefore gives a unique solution near \(y=0\) for every sufficiently small \(p\).

The derivative formula yields \(\phi'(0)=-F_p(0,0)/F_y(0,0)=-(-1)/1=1\). Thus the local solution changes at rate \(1\) at the base point, and the sensitivity theorem gives \(\phi(p)=p+o(|p|)\) as \(p\to0\).

In this example the branch can also be written explicitly. The root near zero is \(\phi(p)=(-1+\sqrt{1+4p})/2\), defined for \(p\) sufficiently close to zero. To verify it, put \(s=\sqrt{1+4p}\), so \(\phi(p)=(s-1)/2\). Then \(\phi(p)^2+\phi(p)=((s-1)^2+2(s-1))/4=(s^2-1)/4=p\). Also \(\phi(0)=0\). Differentiating the explicit expression gives \(\phi'(p)=1/\sqrt{1+4p}\), so \(\phi'(0)=1\), in agreement with the implicit calculation. The other root equals \((-1-\sqrt{1+4p})/2\), which is near \(-1\) rather than \(0\); the local uniqueness conclusion concerns the branch near the specified base solution.

Coupled Equations and a Sign Check

For a system of equations, the same method requires solving a linear system for the response vector. Carefully keeping track of signs matters: the derivative formula has a minus sign, and the parameter derivative must be evaluated at the base point.

Worked Example: Sensitivity in a Two-Equation System

Let \(p\) be a scalar parameter and consider \(F(p,u,v)=(u+2v-p,\ 3u-v-\sin p)\). At \((p,u,v)=(0,0,0)\), direct substitution gives \(F(0,0,0)=(0+0-0,\ 0-0-\sin 0)=(0,0)\). The derivative with respect to the unknowns is

$$ D_{(u,v)}F(0,0,0)= \begin{pmatrix} 1&2\\ 3&-1 \end{pmatrix}, \qquad \det D_{(u,v)}F(0,0,0)=1(-1)-2(3)=-7. $$

Since the determinant is nonzero, the Implicit Function Theorem gives nearby functions \(u=u(p)\) and \(v=v(p)\). Differentiating \(F(p,u(p),v(p))=0\) at \(p=0\) gives \[ \begin{pmatrix}1&2\\3&-1\end{pmatrix} \begin{pmatrix}u'(0)\\v'(0)\end{pmatrix} = \begin{pmatrix}1\\1\end{pmatrix}. \] In scalar form, \(u'(0)+2v'(0)=1\) and \(3u'(0)-v'(0)=1\). The second equation gives \(v'(0)=3u'(0)-1\). Substituting into the first gives \(u'(0)+2(3u'(0)-1)=1\), hence \(7u'(0)=3\). Therefore \(u'(0)=3/7\), and \(v'(0)=3(3/7)-1=2/7\).

An explicit check confirms both the signs and the result. The first equation gives \(u=p-2v\). Substituting this into the second equation gives \(3(p-2v)-v=\sin p\), so \(3p-7v=\sin p\), and therefore \(v=(3p-\sin p)/7\). Then \(u=p-2v=p-2(3p-\sin p)/7=(p+2\sin p)/7\). At \(p=0\), these expressions give \(u(0)=v(0)=0\). Differentiation gives \(v'(0)=(3-\cos 0)/7=2/7\) and \(u'(0)=(1+2\cos 0)/7=3/7\), matching the linear system. In particular, the substitution \(u=p-2v\) follows from \(u+2v=p\); reversing that sign would not satisfy the first equation.

Second-Order Sensitivity and Curvature

When the defining equations are twice continuously differentiable, the solution branch also has a second derivative. It describes curvature: even if the first-order response in some direction vanishes, the solution may still change at second order. To state the result, regard \(F\) as a function on pairs \((x,y)\), and write \(D^2F\) for its second derivative, a bilinear map.

Theorem (Second-Order Sensitivity of an Implicit Solution): Suppose \(F\) is twice continuously differentiable near \((a,b)\), \(F(a,b)=0\), and \(D_yF(a,b)\) is invertible. Let \(\phi\) be the local solution function. For \(h,k\in\mathbb{R}^m\), set \(q(x)=(x,\phi(x))\). Then $$ D^2\phi(a)[h,k] = -\bigl(D_yF(a,b)\bigr)^{-1} D^2F(a,b)\bigl[(h,D\phi(a)h),(k,D\phi(a)k)\bigr]. $$

Proof. The Implicit Function Theorem first gives that \(\phi\) is continuously differentiable near \(a\). At points \(x\) in a sufficiently small neighborhood, \(D_yF(x,\phi(x))\) remains invertible, and the derivative formula gives \(D\phi(x)=-\bigl(D_yF(x,\phi(x))\bigr)^{-1}D_xF(x,\phi(x))\). Because \(F\) is twice continuously differentiable and \(\phi\) is continuously differentiable, the matrix entries on the right are continuously differentiable functions of \(x\). The inverse matrix has continuously differentiable entries wherever its determinant is nonzero: each entry is a cofactor divided by the determinant. Thus \(D\phi\) is continuously differentiable and \(\phi\) is twice continuously differentiable.

Now differentiate the identity \(F(q(x))=0\) in direction \(h\). The chain rule gives \(DF(q(x))Dq(x)h=0\). Differentiate this identity in direction \(k\). The second-derivative chain rule gives \[ D^2F(q(x))[Dq(x)k,Dq(x)h] + DF(q(x))D^2q(x)[k,h]=0. \] At \(x=a\), \(Dq(a)h=(h,D\phi(a)h)\). Also \(D^2q(a)[k,h]=(0,D^2\phi(a)[k,h])\), since the first component of \(q(x)\) is \(x\). Applying \(DF(a,b)\) to this last vector gives \(D_yF(a,b)D^2\phi(a)[k,h]\). The bilinear second derivative is symmetric, so the displayed equation can be written with the ordered directions \(h,k\) as in the theorem. Solving for \(D^2\phi(a)[h,k]\) using the invertibility of \(D_yF(a,b)\) proves the formula. \(\square\)

Worked Example: A Branch with Zero First-Order Response

Consider \(F(p,y)=y+y^2-p^2\) at \((0,0)\). We have \(F(0,0)=0\) and \(F_y(0,0)=1\), so a unique nearby solution branch exists. Its first derivative is \(\phi'(0)=-F_p(0,0)/F_y(0,0)=-0/1=0\). The solution has no first-order response to \(p\) at zero, but this does not mean it is constant.

The second-order formula gives the curvature. In the direction \(h=1\), the tangent vector to the graph at zero is \((1,\phi'(0))=(1,0)\). The Hessian of \(F\) has \(F_{pp}=-2\), \(F_{py}=0\), and \(F_{yy}=2\), so \(D^2F(0,0)[(1,0),(1,0)]=-2\). Consequently, \(\phi''(0)=-1^{-1}(-2)=2\).

The explicit branch verifies the calculation: \(\phi(p)=(-1+\sqrt{1+4p^2})/2\). With \(s=\sqrt{1+4p^2}\), we have \(\phi(p)^2+\phi(p)=(s^2-1)/4=p^2\), so \(F(p,\phi(p))=0\), and \(\phi(0)=0\). Differentiating gives \(\phi'(p)=2p/\sqrt{1+4p^2}\), hence \(\phi'(0)=0\). A further differentiation gives \(\phi''(p)=2(1+4p^2)^{-3/2}\), so \(\phi''(0)=2\). The branch changes quadratically near zero even though its first derivative there vanishes.

Interpreting the Conditions Correctly

The invertibility hypothesis is a condition on the derivative with respect to the unknown variables, \(D_yF(a,b)\), not on the full derivative of \(F\). It ensures that small changes in the equation can be balanced by a uniquely determined small change in \(y\). If this matrix is singular, the theorem supplies no such conclusion. A branch might still exist, but its behavior may require another argument.

The local qualifier is equally important. The theorem describes solutions near the particular point \((a,b)\) and uniqueness within a suitable neighborhood. It does not rule out other solutions farther away, nor does it promise a single solution for every parameter value. In applications, the derivative formulas are reliable local predictions; using them for large changes requires additional information.

For practical calculations, first identify the parameter and unknown variables, then check \(F(a,b)=0\) and the invertibility of \(D_yF(a,b)\). The first derivative gives the linear response. If second-order behavior matters, use the second-derivative formula only when \(F\) is twice continuously differentiable and retain the full dependence of \(D^2F\) on both parameter and unknown directions.

Check Your Understanding

Use the applications and derivative formulas to answer the following questions.

  1. In the first-order sensitivity theorem, what does the term \(o(\|h\|_2)\) say about the approximation error?
  2. For a system with several unknowns, why does calculating \(D\phi(a)h\) require solving a linear system?
  3. In the coupled-equations example, which equation gives \(u=p-2v\), and how can substitution check that sign?
  4. Can a solution branch have zero first derivative at a parameter value and still vary nearby? Explain using the curvature example.
  5. What additional regularity assumption allows the second-order sensitivity formula to be used?