Implicit Function Theorem
In questa pagina 6
This note builds on Jacobian Matrix and the Chain RuleFor F from R^n to R^m, F = (f1, ..., fm), the Jacobian matrix J_F is the m x n matrix with entries d f_i / d x_j: row i is the gradient of f_i. Chain rule: J_(f∘g)(x) = J_f(g(x)) · J_g(x); frequent cases are d/dt f(gamma(t)) = grad f · gamma'(t) and f_x = f_u u_x + f_v v_x. If det J_F(x0) is nonzero, F is invertible near x0 and J_(F^-1) = (J_F)^-1. Polar coordinates: det J = rho.Jacobian Matrix and the Chain Rule → and Differentiability and the Gradientf is differentiable at x0 if f(x) = f(x0) + grad f(x0)·(x - x0) + o(‖x - x0‖), i.e. near x0 the graph is indistinguishable from the tangent plane z = f(x0) + grad f(x0)·(x - x0). Differentiable implies continuous, with partial derivatives and D_v f = grad f · v; continuous partial derivatives imply differentiable. The gradient gives the direction of steepest increase (slope ‖grad f‖) and is orthogonal to level curves.Differentiability and the Gradient →.
Implicitly defined curves
Often a relation between two variables and does not allow us to isolate one variable as a function of the other at once. We speak of an implicitly defined curvethe set of points (x,y) satisfying the equation F(x,y)=0.
The basic problem is to understand whether, given a point satisfying the equation, the points of the curve near can be described as the graph of a function (or ).
The example to keep in mind: the circle . Near its points are the graph of . Near they are not: for slightly less than there are two points of the curve (), for none. At the tangent is vertical. The implicit function theorem identifies exactly these "bad" points through a partial derivative. The level curves of a function of two variables (Functions of Several Variables and Level SetsA function f from a subset D of R^n to R assigns a real number to each point; its natural domain is the region where the expression makes sense, its graph lives in R^(n+1) (a surface for n = 2), and the level set at height c is the set of points where f equals c (a level curve for n = 2).Functions of Several Variables and Level Sets →) are curves of this type, with .
Grafico interattivo: On the circle x² + y² = 1: near (0, 1) it is the graph of y = √(1 − x²) (horizontal tangent); near (1, 0) the tangent is vertical and y is not a function of x, while x = √(1 − y²) is a function of y
The theorem in two variables
The implicit function theorem states the conditions under which the curve can be "made explicit" near one of its points.
Theorem. Let be a function of class on an open set . Let be such that:
Then there exist a neighbourhood of and a unique function of class such that and for every .
Example. at : and , so near we have , with and .
The derivative of the function is obtained by differentiating the identity with respect to via the chain rule:
Formula (derivative of the implicit function).
Example. On the circle at the point : , the tangent has slope .
We can divide by because and, by continuity, stays nonzero near the point. This is also the idea of why the hypothesis is needed: if , say in a rectangle around the point, every function with fixed is strictly increasing, hence vanishes at most once. The value at which it vanishes is .
Tangent line and second derivative
Knowing the derivative , we can find the equation of the tangent line to the curve at the point : Multiplying by gives the symmetric form i.e. the line through orthogonal to the gradient : this is the fact that the gradient is orthogonal to level curves, seen in Differentiability and the Gradientf is differentiable at x0 if f(x) = f(x0) + grad f(x0)·(x - x0) + o(‖x - x0‖), i.e. near x0 the graph is indistinguishable from the tangent plane z = f(x0) + grad f(x0)·(x - x0). Differentiable implies continuous, with partial derivatives and D_v f = grad f · v; continuous partial derivatives imply differentiable. The gradient gives the direction of steepest increase (slope ‖grad f‖) and is orthogonal to level curves.Differentiability and the Gradient →. This form also holds when the tangent is vertical (, ).
To compute , differentiate the expression of again, regarding as a function of : (quotient rule; every partial derivative of is evaluated at , so we differentiate with the chain rule: ). In practice it is more convenient to differentiate the identity twice, as in the example below.
Extrema of the implicit function. has a stationary point where , i.e. where (and ). There the formula reduces to : if it is positive is a local minimum for , if negative a local maximum.
Numerical examples
Unit circle
Consider at the point .
- .
- , so .
The theorem applies. The derivative is . At , . Check with the explicit function : . Moreover : is a maximum for , as one sees from the upper semicircle.
At instead : the theorem does not apply with respect to . But , so we can solve for as a function of : .
An example without an explicit formula
near . We cannot solve for in closed form, but:
- ;
- , so ; is (sum and product of functions).
So there exists with . Differentiating the identity : Tangent line: . Differentiating again (the derivative of is ): Near the implicit function is convex and lies above the tangent line.
Grafico interattivo: The curve x·e^y + y − 1 = 0 (i.e. x = (1 − y)e^{−y}) near (0, 1): the tangent line has slope g′(0) = −e (e·x + y = 1) and the curve lies above it, consistent with g″(0) = 2e² > 0
Singular points
Consider the folium of Descartes with . At the points where , the theorem does not guarantee solving for . If the point is called singular: the theorem applies neither with respect to nor to , and often the curve crosses itself or has a cusp there. At the origin and : it is a singular point, and indeed the folium passes twice through the origin (with tangents along the two axes), so near the origin it is not the graph of any function.
Grafico interattivo: Folium of Descartes x³ + y³ − 3xy = 0 (a = 1): at the origin F_x = F_y = 0, a singular point with two crossing branches; at (2^{2/3}, 2^{1/3}) ≈ (1.59, 1.26) the tangent is vertical (F_y = 0), at (1.26, 1.59) horizontal (F_x = 0)
The case
If , under the hypothesis , the surface can be expressed locally as . The partial derivatives are: (differentiate with respect to and to ). Example: the sphere near has , and , , both zero at the north pole.
Common mistakes
- Forgetting to check .
- Applying the theorem when : in that case the point may have a vertical tangent (like on the circle), where is not a function of .
- Believing the theorem gives on the whole domain: the implicit function exists only in a neighbourhood of .
- Differentiating the identity forgetting that depends on (for example writing that the derivative of is instead of ).
- Getting the sign wrong in the formula for .
Versione ripasso
Theorem. If on an open set of , and , then in a neighbourhood of there is a unique with and .
Why. With on a rectangle around , for each fixed the function is strictly increasing and vanishes at most once: that value is . The differentiability of follows from the chain rule applied to the identity .
Derivative. Differentiating with the chain rule: Example: for the circle at the point , .
Tangent. : the line orthogonal to . It also holds with .
Examples.
- Circle at : , so ; , a maximum.
- At we have but : solve for .
- at : . Differentiating gives (tangent ). Differentiating again, at , so : the curve lies above the tangent.
Extrema of . At points with (and ), : minimum if positive, maximum if negative.
Special cases.
- and : solve for .
- : singular point. The folium has a singular point at the origin, with two crossing branches.
- Surfaces with : , with and . The sphere near gives .
Typical mistakes.
- Applying the theorem without checking .
- Computing with evaluated at instead of at : for different from the value of changes.
- Applying it with : there the tangent may be vertical, like on the circle.
- Believing is defined on the whole domain: it exists only in a neighbourhood of .
- Differentiating forgetting , for example writing that the derivative of is .