A field whose Jacobian matrix is invertible at a point can be undone near that point by a differentiable inverse, because the best linear approximation can be undone and a contraction argument carries the undoing over to the field itself. Applied to the map (x, y) to (x, F(x, y)) it says that an equation F(x, y) = 0 defines y as a differentiable function of x wherever the partial derivative F_y is not zero, and it gives the formula dy/dx = -F_x/F_y.
Taught in 375/376Apostol, not taughtBeyond the courseMATH 376, Worksheet 1 (Jan 20), problems 1 to 4, and the Lagrange warm-upApostol Vol. 2, 9.6 to 9.8Rudin, Principles of Mathematical Analysis, ch. 9 (the contraction proof)Spivak, Calculus on Manifolds, ch. 2Krantz and Parks, The Implicit Function Theorem (2002)
Most equations cannot be solved for one variable in a formula. The circle x2+y2=1 can, in two pieces; the equation y2+xz+z2−ez=4 cannot at all. Yet we still talk about the slope of the surface, the way z changes when x changes, and every JEE student has differentiated both sides of such an equation and solved for dxdy. This chapter asks the question under that habit. When does an equation really define one variable as a function of the others, so that the habit is legal? And when is a map F:Rn→Rn undoable, so that a function G with G(F(x))=x exists and is differentiable? The two questions turn out to be one theorem seen from two sides. The answer ties the Jacobian determinant of 5.3 to the contraction principle of 4.2, and it is what makes level sets into smooth curves and surfaces, which 5.8 needs.
Before you start
5.4: the chain rule, and the derivative of an inverse field, which assumed that an inverse exists. 4.2: contractions and the Banach fixed point theorem. 5.3: the Jacobian matrix and its determinant, and the gradient being perpendicular to level sets.
Quick checkF:R2→R2 is differentiable with a differentiable inverse G, and DF(a)=[2003]. What is DG(F(a))?
Apply the chain rule to G(F(x))=x: DG(F(a))DF(a)=I, so DG(F(a))=DF(a)−1. The inverse of a diagonal matrix inverts each diagonal entry.Review: the derivative of an inverse field
Quick checkA contraction T of a non-empty complete metric space has how many fixed points?
That is the Banach fixed point theorem. Existence uses completeness (the iterates are Cauchy), and uniqueness uses the contraction factor q<1. Today the space will be a closed ball of Rn and the contraction will undo the error of a linear approximation.Review: the Banach fixed point theorem
Quick checkAt a point of the level curve f(x,y)=c where ∇f=O, which way does the curve run?
Along a curve inside a level set f is constant, so ∇f⋅r′=0: the tangent is perpendicular to the gradient. This chapter proves that such a level curve really is a smooth curve with that tangent.Review: gradient and level sets
The picture: an equation is a curve, a function is a graph
Drag the ringed point round the circle. The blue curve is the set of solutions of F(x,y)=0. The green line is the tangent, the red arrow is ∇F. As long as the red arrow is not horizontal (that is, Fy=0), the curve near the point is the graph of a function y=g(x) and its slope is −Fx/Fy. When the arrow becomes horizontal the tangent is vertical and the graph over the x-axis breaks, though a graph over the y-axis is still fine. Switch to the folium and drag to the origin, where the arrow shrinks to nothing and the curve crosses itself: the theorem has nothing to say. Switch to the cusp: the curve is still a graph over the y-axis, but not a differentiable one.
For the second question, look at the field of 5.3 again:
A differentiable field looks like its linearization when you zoom in. If the linearization is a one-to-one map (an invertible matrix), then the field itself, seen through a microscope, is one-to-one. The theorem says that this survives outside the microscope, on a small but fixed neighbourhood.
The idea, in words
Inverting a field. The linear map v↦Av with A square is undoable exactly when A is invertible, that is detA=0 (2.7). A differentiable field F near a is F(a)+A(x−a) plus a small error, where A=DF(a). If A is invertible, the linear part can be undone. The error is small, so undoing the whole thing should be possible with a small correction, and the correction is again an undoing problem of the same kind but smaller. That is exactly the shape of a contraction: we guess x from the linear part, check how wrong we were, and correct, and each correction is smaller than the last by a fixed factor.
Why· Why the iteration is a contraction
We want to solve F(x)=y for x. Rewrite it as a fixed point problem x=φy(x) where φy(x)=x+A−1(y−F(x)). If x solves F(x)=y then the correction term is 0 and φy(x)=x; if φy(x)=x then A−1(y−F(x))=O, so F(x)=y. The derivative of φy is I−A−1DF(x)=A−1(A−DF(x)), and this is the zero matrix at x=a. By continuity of DF it is small near a: the map φy changes distances by a factor below 21 there. That is the whole proof, plus bookkeeping to check that φy stays inside the ball where it is a contraction.
Implicit functions. The equation F(x,y)=0, with x∈Rn unknown input and y∈Rm unknown output, has m equations. Think of the map Φ(x,y)=(x,F(x,y)) from Rn+m to itself. It keeps x and replaces y by F(x,y). Its inverse (if it exists) takes (x,0) back to (x,g(x)) where F(x,g(x))=0: the inverse of Φ solves the equation. So the implicit function theorem is the inverse function theorem applied to Φ, and the condition ”Φ has an invertible Jacobian” turns out to be “the m×m block DyF is invertible”.
Where this came from· From power series to a rigorous real theorem
Solving an equation for one variable in terms of another is as old as algebra, and Lagrange (1770) gave a formula for the power series of an inverse function. Cauchy is credited with the first rigorous form of the implicit function theorem, for functions given by power series in complex variables. The Italian analyst Ulisse Dini then extended it to real functions of any number of variables, and historians note that he published his proof only in his teaching notes (his Lezioni), which is one reason the theorem was long credited to others. The Pisa school still calls it Dini’s theorem. The inverse function theorem was proved by an iteration scheme in the style of Picard and Goursat. Today’s textbook proof is the same shrinking-map idea packaged by the fixed point theorem Banach stated in 1922 (4.2); it is also how Picard’s iteration proves existence of solutions of ODEs (7.1).
Definitions and theorems
Definition B
Local inverse
A neighbourhood of a point is any open set that contains it, so “near a” means “inside some neighbourhood of a, however small”. A field is continuously differentiable (C1) if all its partial derivatives exist and are continuous. Now let F:U→Rn with U⊆Rn open and a∈U. A local inverse of F at a is a pair of open sets U′∋a and V∋F(a) such that F maps U′ one-to-one onto V, together with the inverse map G:V→U′. If F and G are both continuously differentiable, F∣U′ is a diffeomorphism (5.4) of U′ onto V.
In one lineFor a field F defined near a, a differentiable field G defined on a neighbourhood of F(a) with G(F(x))=x for all x near a and F(G(y))=y for all y near F(a).
Why it existsIt is the word for 'undoing F near this point only', which is all that a derivative can ever promise; the exponential map shows that undoing it everywhere is a different and often false statement.
Before the main theorem we need one tool from one-variable calculus that was not stated for vector fields. In 1.4 the mean value theorem says f(b)−f(a)=f′(c)(b−a). For a map with vector values there is no single point c, but an inequality survives.
Lemma BRudin Thm 9.19
Mean value inequality for fields
Let K⊆Rn be convex (it contains the segment between any two of its points, for example a ball), let H be defined and differentiable on an open set containing K, and suppose the operator norm (3.5) of the Jacobian satisfies ∥DH(z)∥≤M for every z∈K. Then ∥H(x1)−H(x2)∥≤M∥x1−x2∥ for all x1,x2∈K.
In one lineIf H is differentiable on a convex set K and ∥DH(z)∥≤M for all z∈K, then ∥H(x1)−H(x2)∥≤M∥x1−x2∥ for x1,x2∈K.
Why it is trueIt converts a bound on the derivative into a bound on how much distances can change, which is the contraction constant of the next proof.
ProofRudin Thm 9.19
The idea: Choose a unit vector w pointing along H(x1) minus H(x2). The scalar function t to w dot H(x2 + t(x1 - x2)) is an ordinary function of one variable, so the one-variable mean value theorem applies to it. Its derivative is w dot DH times the step, which is at most M times the length of the step.
Assume H(x1)=H(x2) and put w=∥H(x1)−H(x2)∥H(x1)−H(x2), a unit vector.
If H(x1)=H(x2) the inequality is 0≤M∥x1−x2∥, true. Otherwise divide by the length.Reducing a vector inequality to a scalar one by dotting with a well-chosen unit vector is the standard trick when the mean value theorem is needed for vector values.
Define ψ(t)=w⋅H(x2+t(x1−x2)) for t∈[0,1].
K is convex, so the segment from x2 to x1 lies in K, where H is defined.
ψ′(t)=w⋅DH(zt)(x1−x2) with zt=x2+t(x1−x2).
Chain rule along a segment (the path theorem of 5.3 applied to each component of H, then dotted with w): the derivative of t↦H(x2+tv) is DH(x2+tv)v.
ψ(1)−ψ(0)=ψ′(τ) for some τ∈(0,1).
Mean value theorem of 1.4 for the one-variable function ψ on [0,1].
The left side is ψ(1)−ψ(0)=w⋅(H(x1)−H(x2))=∥H(x1)−H(x2)∥.
w⋅(H(x1)−H(x2))=∥H(x1)−H(x2)∥(w⋅w) and w⋅w=1.
The right side satisfies ∣ψ′(τ)∣≤∥DH(zτ)(x1−x2)∥≤M∥x1−x2∥. Put the two sides together. ■
Cauchy–Schwarz (∣w⋅u∣≤∥w∥∥u∥ with ∥w∥=1), then the definition of the operator norm.
Theorem BRudin Thm 9.24; Spivak Thm 2-11
Inverse function theorem
Let U⊆Rn be open, F:U→Rn continuously differentiable, a∈U, and detDF(a)=0. Then there are open sets U′∋a and V∋F(a) such that F:U′→V is a bijection, its inverse G:V→U′ is continuously differentiable, and
DG(y)=(DF(G(y)))−1(y∈V).
In one lineIf F:U→Rn is continuously differentiable on an open set U and detDF(a)=0, then F has a continuously differentiable local inverse G near a, with DG(F(x))=DF(x)−1.
Why it is trueIt says the linear approximation controls the field: if the best linear approximation is undoable, so is the field, near the point. It is the converse of the chain rule fact in 5.4 that a differentiable inverse forces an invertible Jacobian.
ProofRudin Thm 9.24
The idea: Solving F(x) = y is the same as finding a fixed point of the map x to x + A^{-1}(y - F(x)), where A is the Jacobian at a. Its derivative is small near a, so by the mean value inequality it is a contraction of a small closed ball. The Banach fixed point theorem gives a unique solution for each y close to F(a). The same inequality shows the solution depends continuously on y, and the differentiability of F then makes it differentiable.
Put A=DF(a), b=F(a) and α=∥A−1∥. Choose r>0 so that the closed ball K=Bˉ(a,r) lies in U and ∥DF(x)−A∥≤2α1 for all x∈K.
A is invertible since detA=0. The operator norm α of A−1 is a finite positive number (3.5). The entries of DF are continuous, so ∥DF(x)−A∥→0 as x→a.
For each y∈Rn define φy(x)=x+A−1(y−F(x)).
Fixed points of φy are exactly the solutions of F(x)=y: the correction A−1(y−F(x)) is zero if and only if y=F(x), because A−1 is invertible.This is the 'where does the idea come from' step: Newton's method would use DF(x)−1 at each step, and here we use the fixed matrix A−1 so that the iteration map has a derivative we can bound.
Dφy(x)=I−A−1DF(x)=A−1(A−DF(x)), so ∥Dφy(x)∥≤α⋅2α1=21 for x∈K.
Differentiate: D(x)=I, D(F)=DF(x) and A−1 is constant. Factor out A−1 on the left. Operator norm of a product is at most the product of the norms.
So ∥φy(x1)−φy(x2)∥≤21∥x1−x2∥ for all x1,x2∈K.
Mean value inequality for fields, applied to H=φy on the convex set K with M=21.
For x1,x2∈K: ∥x1−x2∥≤21∥x1−x2∥+α∥F(x1)−F(x2)∥, hence ∥x1−x2∥≤2α∥F(x1)−F(x2)∥. (⋆)
The difference φy(x1)−φy(x2)=(x1−x2)−A−1(F(x1)−F(x2)) does not contain y. Rearrange: x1−x2 equals that difference plus A−1(F(x1)−F(x2)), then use the triangle inequality, the previous step, and the operator norm.
In particular F is one-to-one on K.
If F(x1)=F(x2) then (⋆) forces ∥x1−x2∥≤0.
Fix y∈V. Then φy maps K into B(a,r)⊆K.
Let ρ=2αr and V=B(b,ρ), an open ball around b=F(a). For y∈V and x∈K: φy(a)−a=A−1(y−b) has length less than αρ=2r, and ∥φy(x)−φy(a)∥≤21∥x−a∥≤2r. Add them with the triangle inequality.Strict inequality: the sum is below r, so φy(x) is in the open ball B(a,r) and in particular in K.
So φy has exactly one fixed point x in K, that is, exactly one x∈K with F(x)=y, and x∈B(a,r).
K is a closed subset of the complete space Rn, hence complete (4.2); φy:K→K is a contraction with constant 21. Banach fixed point theorem.
Put U′=B(a,r)∩F−1(V). Then U′ is open, contains a, and F:U′→V is a bijection. Let G:V→U′ be its inverse.
F is differentiable, hence continuous (5.3), so F−1(V) is open (open sets from continuous fields, 5.1). The intersection of two open sets is open.
∥G(y1)−G(y2)∥≤2α∥y1−y2∥, so G is continuous (Lipschitz).
Apply (⋆) to x1=G(y1) and x2=G(y2).
The Jacobian DF(x) is invertible for every x∈K: if DF(x)v=O then ∥v∥≤21∥v∥, so v=O.
Suppose DF(x)v=O for some x∈K. Then v=v−A−1DF(x)v=A−1(A−DF(x))v, whose length is at most 21∥v∥. A square matrix with trivial null space is invertible (rank–nullity, 2.3).
Write y−y0=B(x−x0)+∥x−x0∥E(x).
Fix y0∈V, x0=G(y0), B=DF(x0), and let y→y0 with x=G(y). Definition of differentiability of F at x0: F(x)−F(x0)=B(x−x0)+∥x−x0∥E(x) with E(x)→O as x→x0.
∥G(y)−G(y0)−B−1(y−y0)∥≤∥B−1∥∥x−x0∥∥E(x)∥.
Multiply by B−1 and rearrange: x−x0−B−1(y−y0)=−∥x−x0∥B−1E(x).This is the shape of the definition of differentiability for G at y0 with the candidate derivative B−1: the error is the right side.
So the error is at most 2α∥B−1∥∥y−y0∥∥E(G(y))∥, which is ∥y−y0∥ times something tending to 0. Hence G is differentiable at y0 with DG(y0)=B−1=DF(G(y0))−1.
(⋆): ∥x−x0∥≤2α∥y−y0∥. And G is continuous, so x=G(y)→x0, hence E(G(y))→O as y→y0.
DG=(DF∘G)−1 is continuous. So G is continuously differentiable. ■
The entries of the inverse of a 2×2 or n×n matrix are polynomials in its entries divided by the determinant (Cramer's rule, 2.7), so inversion is continuous on invertible matrices. Compose continuous maps: G, then DF, then inversion.
Why· The picture behind the proof
In the visualiser of 5.3 you zoom in on F at a and see a linear map. The proof is a quantitative version of that zoom. The radius r is how far you may zoom out before DF stops being within 2α1 of A. Inside that ball, F never moves two points closer together than half the linear map would (that is (⋆)), so F cannot fold the ball onto itself: it is one-to-one. And F cannot leave holes: the ball V of radius ρ=r/(2α) around F(a) is entirely covered, since the contraction φy finds a pre-image for each of its points.
Proof workshopRebuild the contraction proof of the inverse function theoremRudin Thm 9.24
Tap the lines in the order a proof would write them. Each line can only use what is already above it.
Continuity of the Jacobian at a makes it close to A near a.
The correction term is zero exactly when F of x equals y, because A inverse is invertible.
You need the constant matrix A and the ball before you can define the correction map.
Differentiate the formula and multiply the norm of A inverse by the bound from the first line.
The derivative of the map must be computed before it can be bounded.
A bound on the derivative on a convex set bounds the change in distance; then rearrange with the triangle inequality.
This uses the bound on the derivative from the line before.
The map moves the centre by less than half the radius and the shrinking moves the rest by less than half the radius; a closed ball of R n is complete.
You need the contraction property and the closed ball before you can apply the fixed point theorem.
Lipschitz from the inequality of the fourth line; differentiability by inverting the linear approximation and using continuity of G; continuity of matrix inversion.
This is the conclusion; it needs existence of the inverse first.
Quick checkWhich step of the inverse function theorem's proof uses completeness of Rn?
The mean value inequality and the invertibility of DF(x) are statements about derivatives. The existence of the solution is the fixed point, and a Cauchy sequence of iterates only has a limit because the closed ball is complete. In the rational numbers the iterates could converge to a hole.
Quick checkF(x,y)=(excosy,exsiny) has detDF=e2x=0 at every point. What follows?
The theorem is local. Here F(x,y)=F(x,y+2π), so no inverse exists on the whole plane; near each point there is one (a branch of the logarithm). This is the example of 5.4: local does not mean global.Review: the preview in 5.4
What the hypotheses are for
Watch out· Continuity of the derivative cannot be dropped
The function f(x)=2x+x2sinx1 with f(0)=0 is differentiable everywhere, with f′(0)=21=0. For x=0, f′(x)=21+2xsinx1−cosx1. At the points xk=2πk1 this is 21+0−1=−21, which is negative, and these points get arbitrarily close to 0. So f′ takes both signs in every interval around 0; f goes up and down there and is not one-to-one on any interval around 0. The derivative exists and is invertible at 0, but it is not continuous at 0 (it oscillates between about −21 and 23 near 0), and the proof’s step ”∥DF(x)−A∥ is small near a” fails.
Watch out· The converse is false: det DF(a) = 0 does not forbid an inverse
F(x)=x3 has F′(0)=0, yet F is one-to-one with the inverse y1/3. What fails is only the differentiability of the inverse, and that is forced to fail by the chain rule of 5.4 (G′(0)F′(0)=1 is impossible). So detDF(a)=0 is exactly the condition for a differentiable local inverse; a field with detDF(a)=0 may or may not be locally one-to-one. The map (x,y)↦(x2−y2,2xy) (that is z↦z2 on the complex numbers of 0.6) has determinant 4(x2+y2), which is 0 only at the origin, and there it is two-to-one: z and −z have the same square, so no local inverse exists.
Definition T
Implicit function
Let F be a field of n+m variables, written F(x,y) with x∈Rn, y∈Rm, with m components (so there are as many equations as unknowns y). A function g:W→Rm on an open set W⊆Rn is an implicit function defined by F(x,y)=O if F(x,g(x))=O for every x∈W. The equation does not tell us a formula for g. Example: the upper half of the unit circle, g(x)=1−x2, is an implicit function defined by x2+y2−1=0, and so is −1−x2; each is one of the possible choices of g.
In one lineA function g with F(x,g(x))=0: it is 'defined implicitly' by the equation F(x,y)=0, with no formula given.
Why it existsIt is the exact meaning of the phrase 'assume the equation defines y as a function of x' that every implicit differentiation starts with.
Let F:Ω→Rm be continuously differentiable on an open set Ω⊆Rn+m, with points written (x,y), x∈Rn, y∈Rm. Let (a,b)∈Ω with F(a,b)=O, and suppose that the m×m matrix DyF(a,b) of partial derivatives with respect to the y-variables is invertible. Then there are an open set W∋a, an open set N∋(a,b) and a unique function g:W→Rm such that
g(a)=b,
for (x,y)∈N: F(x,y)=Oif and only ifx∈W and y=g(x),
g is continuously differentiable, and
Dg(x)=−(DyF(x,g(x)))−1DxF(x,g(x)).
In one lineIf F(x,y)=O at (a,b), F is continuously differentiable and the m×m matrix DyF(a,b) is invertible, then near (a,b) the equation defines exactly one y=g(x), it is continuously differentiable, and Dg(x)=−DyF−1DxF.
Why it is trueIt is the licence for implicit differentiation: it says when the function being differentiated exists and has a derivative. The single condition is a Jacobian determinant that is not zero, the same condition as the inverse function theorem.
Here DxF is the m×n matrix of partials with respect to the x-variables and DyF the m×m matrix of partials with respect to the y-variables, so that JF=[DxFDyF] is the Jacobian of F as a field on Rn+m. The statement is the one used as a black box in MATH 376 Worksheet 1; the proof below is not in the course (label B).
ProofRudin Thm 9.28; Spivak Thm 2-12
The idea: Build the map Phi(x, y) = (x, F(x, y)) from R^(n+m) to itself. Its Jacobian is block triangular with determinant det D_yF, so the inverse function theorem inverts it near (a, b). The inverse sends (x, 0) to (x, g(x)); that is the implicit function. The derivative formula is the chain rule applied to the identity F(x, g(x)) = 0.
Define Φ:Ω→Rn+m by Φ(x,y)=(x,F(x,y)).
Phi keeps x and replaces y by the value F(x,y). It is continuously differentiable because F is.
DΦ=[IDxF0DyF], so detDΦ(a,b)=detDyF(a,b)=0.
Jacobian of Φ in block form: the first n rows are [I0] (the derivative of x) and the last m rows are [DxFDyF]. A block lower-triangular matrix has determinant equal to the product of the determinants of its diagonal blocks.
There are open sets N∋(a,b) and V∋(a,O) such that Φ:N→V is a bijection with continuously differentiable inverse Ψ:V→N.
Inverse function theorem (this chapter) for the field Φ at the point (a,b), where Φ(a,b)=(a,O).
Write Ψ(x,z)=(x,h(x,z)).
Φ does not change the first n coordinates, so neither does its inverse: Ψ(x,z)=(x,h(x,z)) for some continuously differentiable h.
Let W={x∈Rn:(x,O)∈V} and g(x)=h(x,O) for x∈W.
V is open and contains (a,O), so W={x:(x,O)∈V} is an open set containing a (it is the preimage of V under the continuous map x↦(x,O)).
So F(x,g(x))=O for every x∈W, and g(a)=b because Ψ(a,O)=(a,b).
Ψ(x,O)=(x,g(x)) lies in N. Apply Φ to both sides: Φ(Ψ(x,O))=(x,O), that is (x,F(x,g(x)))=(x,O).This is the step that produces the implicit function: solving F(x,y)=O for y is the same as inverting Φ along the slice where the second coordinate is O.
Uniqueness: for (x,y)∈N, F(x,y)=O if and only if x∈W and y=g(x).
If (x,y)∈N and F(x,y)=O then Φ(x,y)=(x,O), so (x,O)∈V (so x∈W) and, since Φ is one-to-one on N and Φ(x,g(x))=(x,O) too, y=g(x). Conversely x∈W gives a solution y=g(x).
g is continuously differentiable.
g is built from h and the inclusion x↦(x,O), both continuously differentiable.
DxF+DyFDg=0.
Chain rule applied to the identity F(x,g(x))=O: the field x↦(x,g(x)) has Jacobian [IDg], and the outer Jacobian is [DxFDyF]. The derivative of the constant O is the zero matrix.
Dg(x)=−DyF−1DxF. ■
Multiply on the left by DyF−1, which exists at (x,g(x)) for x near a because DΦ is invertible at every point of N (it has the inverse DΨ there), and detDΦ=detDyF.
Proof workshopGive the reason for each line: the implicit function theorem from the inverse function theoremRudin Thm 9.28
Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.
Let Φ(x,y)=(x,F(x,y)), a continuously differentiable map of Rn+m to itself.
DΦ=[IDxF0DyF] and detDΦ(a,b)=detDyF(a,b)=0.
By the inverse function theorem, Φ has a continuously differentiable inverse Ψ from a neighbourhood V of (a,O) onto a neighbourhood N of (a,b).
Ψ(x,z)=(x,h(x,z)); put g(x)=h(x,O).
Φ(Ψ(x,O))=(x,O) says F(x,g(x))=O.
Differentiating F(x,g(x))=O gives DxF+DyFDg=0, so Dg=−DyF−1DxF.
Implicit differentiation, with permission
Now the habit of every JEE student is a theorem. If the equation defines y=g(x), differentiate the identity F(x,g(x))=0 with the chain rule and solve for g′. The division by Fy is exactly the hypothesis that makes the implicit function theorem work.
Corollary TMATH 376 Worksheet 1; Apostol Thm 9.3 and (9.24)
Implicit differentiation formulas
(a) If F(x,y)=0 with F continuously differentiable and Fy(a,b)=0, then near a the implicit function y=g(x) satisfies g′(x)=−FyFx and, if F is C2,
g′′(x)=−Fy3FxxFy2−2FxyFxFy+FyyFx2.
(b) If F(x,y,z)=0 and Fz=0, then z=z(x,y) has zx=−Fx/Fz and zy=−Fy/Fz.
(c) If F(x,y,u,v)=0 and G(x,y,u,v)=0 at a point where ∂(u,v)∂(F,G)=FuGv−FvGu=0, then near that point they define u=u(x,y), v=v(x,y) with
In one lineUnder the hypotheses of the implicit function theorem: dxdy=−FyFx; for F(x,y,z)=0, zx=−FzFx and zy=−FzFy; for two equations in u,v, ux=−∂(F,G)/∂(u,v)∂(F,G)/∂(x,v).
Why it is trueThese are the formulas used in every implicit differentiation problem, with the exact condition (the denominator not zero) that makes them valid.
ProofApostol 9.6, 9.7
The idea: Everything is the matrix formula Dg = -(D_yF)^(-1) D_xF in the three cases (one unknown, one unknown with two inputs, two unknowns). For the second derivative, differentiate the first formula again, remembering that y depends on x.
(a) g′(x)=−Fy−1Fx.
The implicit function theorem, with m=1 and the single input x: DxF=Fx, DyF=Fy are numbers.
g′′=−Fy2(Fxx+Fxyg′)Fy−Fx(Fyx+Fyyg′).
Quotient rule and the chain rule: Fx and Fy are functions of x and y=g(x), so dxdFx(x,g(x))=Fxx+Fxyg′ and the same for Fy with Fyx, Fyy.
This simplifies to the formula for g′′.
Put g′=−Fx/Fy and use Fxy=Fyx (5.5). The numerator becomes FxxFy−2FxFxy+FyyFx2/Fy; multiply top and bottom by Fy.
(b) (zx,zy)=−Fz−1(Fx,Fy).
Implicit function theorem with the single unknown z and the two inputs (x,y): DxF=(Fx,Fy) and DyF=Fz.
(c) ux=∂(F,G)/∂(u,v)det[−Fx−GxFvGv] and vx=∂(F,G)/∂(u,v)det[FuGu−Fx−Gx].
Here the unknowns are (u,v), so D(u,v)F=[FuGuFvGv] with determinant ∂(F,G)/∂(u,v). Differentiating the two identities in x gives the linear system Fuux+Fvvx=−Fx, Guux+Gvvx=−Gx; solve it by Cramer's rule (2.7).
These are the stated formulas.
Pull the −1 out of the first column of the first determinant and out of the second column of the second determinant. ■
Worked example MATH 376 Worksheet 1 #1
Let x2+y2=1. Find dydx, the tangent vector at (22,22), and dy2d2x.
Solution.
Choose the dependent variable. The worksheet treats x as a function of y, so the hypothesis it needs is Fx=2x=0. The theorem solves for the variable whose partial derivative you divide by. Near the points (±1,0) the circle is a graph over the y-axis; near (0,±1) it is not (there it is a graph over the x-axis).
Differentiate the identity.x(y)2+y2=1 gives 2xdydx+2y=0, so dydx=−xy. Chain rule on x(y)2; the formula −Fy/Fx of the theorem.
Tangent vector. A curve (x(y),y) has velocity (dydx,1). At the point, dydx=−1, so the velocity is ⟨−1,1⟩. Velocity of y↦(x(y),y); it is perpendicular to ∇F=(2,2), as the gradient theorem of 5.3 says.
Second derivative. Differentiate dydx=−xy in y with the quotient rule, remembering that x depends on y: dy2d2x=−x2x−ydydx=−x2x+y2/x=−x3x2+y2=−x31. Replace dydx by −xy, then use the equation of the circle, x2+y2=1.
Evaluate. At x=22: −x31=−2/41=−22. (22)3=822=42.
Answer.dydx=−xy, tangent vector ⟨−1,1⟩, dy2d2x=−x31=−22 at the point. It is negative: the right half of the circle bends to the left as a function of y (the curve is concave as seen from the y-axis).
Your answerOn the circle x2+y2=25, what is dxdy at (3,4)?
Use −Fx/Fy, and check the sign against the picture: at the top right of a circle the curve falls.
F=x2+y2−25, Fx=6, Fy=8 at (3,4), and dy/dx=−Fx/Fy=−86=−43. The tangent is perpendicular to the radius (3,4) (slope 34), and −43 is the negative reciprocal.
Your answerFor x2+y2=1, find dy2d2x at (22,22).
The example gives the formula −1/x3.
dy2d2x=−x31 on the unit circle, and x3=(22)3=42, so the value is −24=−22≈−2.828.
Worked example MATH 376 Worksheet 1 #2
The equation x2+y2+z2=1 defines z=z(x,y) where z=0. Find zx, zy, zxx, zyy, and show zxx+zyy=−z31+z2.
Solution.
State the assumption. Write z=z(x,y), so x2+y2+z(x,y)2−1=0 is an identity in (x,y) near the point. The identity may be differentiated; this is the implicit function theorem with Fz=2z=0.
First derivatives. In x with y fixed: 2x+2zzx=0, so zx=−zx. In y: zy=−zy. Chain rule on z2: dxdz2=2zzx because z depends on x. Dividing by z needs z=0.
Second derivative in x. Quotient rule on −x/z with z depending on x: zxx=−z2z−xzx=−z2z+x2/z=−z3z2+x2. Replace zx by −x/z so no derivative is left, then multiply top and bottom by z.
Second derivative in y. The same computation gives zyy=−z3z2+y2.
Add and simplify.zxx+zyy=−z32z2+x2+y2, and x2+y2=1−z2, so the numerator is 2z2+1−z2=1+z2. Use the original equation to eliminate x2+y2.
Answer.zx=−zx, zy=−zy, zxx+zyy=−z31+z2. Check at the north pole z=1: the upper hemisphere z=1−x2−y2 has zxx=zyy=−1 there, and the formula gives −11+1=−2. ✓.
Worked example MATH 376 Worksheet 1 #3
Differentiate y=arcsinx by implicit differentiation.
Solution.
Turn the inverse into an equation.y=arcsinx means siny=x with y∈[−2π,2π]. Put F(x,y)=siny−x. An inverse function is the implicit function of an equation.
Check the hypothesis.Fy=cosy=0 exactly when y=±2π, that is x=±1. This is where the inverse function is allowed to be differentiated.
Differentiate.dxdy=−FyFx=cosy1. Fx=−1.
Express in x. On [−2π,2π], cosy≥0, so cosy=1−sin2y=1−x2. The sign of the square root is fixed by the range of arcsin.
Answer.dxdarcsinx=1−x21, valid for −1<x<1. At x=±1 the hypothesis fails (Fy=0): the graph of arcsin has a vertical tangent there. The same method gives dxdarctanx=cos2y=1+x21.
Worked example MATH 376 Worksheet 1 #4
The equations x2+y2+z2−w2=1 and x+y+z−w=0 define z=z(x,y) and w=w(x,y). Find zx, wx, and say where the answer is valid.
Solution.
Name the two equations.F=x2+y2+z2−w2−1 and G=x+y+z−w. Two unknowns (z,w), two equations: the theorem applies with m=2.
The condition.∂(z,w)∂(F,G)=det[FzGzFwGw]=det[2z1−2w−1]=−2z+2w=2(w−z). It must be nonzero. The determinant of the matrix you invert, which is the one you divide by below.
Differentiate both equations in x.2x+2zzx−2wwx=0 and 1+zx−wx=0. Chain rule; z and w both depend on x, and y is held fixed.
Solve the linear system. From the second, wx=1+zx. Substituting into the first: 2x+2zzx−2w−2wzx=0, so 2(z−w)zx=2(w−x) and zx=z−ww−x. Then wx=1+zx=z−wz−x. Divide by 2(z−w), which is allowed exactly when the determinant of step 2 is not zero.
Answer.zx=z−ww−x, wx=z−wz−x, valid where z=w. (The same method gives zy=z−ww−y, wy=z−wz−y. The matrix formula Dg=−DyF−1DxF gives all four at once.)
Worked example Apostol 9.6, Example
Assume y2+xz+z2−ez−c=0 defines z=f(x,y). Find c so that f(0,e)=2, and then ∂x∂f and ∂y∂f at (0,e).
Solution.
Find c. At (x,y,z)=(0,e,2): e2+0+4−e2−c=0, so c=4. The point must lie on the surface.
Gradient of F=y2+xz+z2−ez−4.Fx=z, Fy=2y, Fz=x+2z−ez. Ordinary partial derivatives.
Check the hypothesis.Fz(0,e,2)=0+4−e2≈−3.39=0. The theorem applies: z is a differentiable function of (x,y) near the point, although we cannot find a formula for it.
Apply the formulas.fx=−FzFx=−4−e22=e2−42 and fy=−FzFy=e2−42e. zx=−Fx/Fz and zy=−Fy/Fz.
Answer.c=4, fx=e2−42≈0.590, fy=e2−42e≈1.604. We found the derivatives using the value of f at a single point.
Your answerIn the example above, what is ∂f/∂x at (0,e), to three decimal places?
Fx=z=2 and Fz=x+2z−ez=4−e2.
fx=−Fx/Fz=−2/(4−e2)=2/(e2−4)≈2/3.389≈0.590.
Worked example new (a classic implicit-differentiation example; compare Apostol 9.8)
Study the folium of Descartes x3+y3=3xy: the slope dxdy, the slope at (23,23), the points of horizontal tangent, and what happens at the origin.
Solution.
Write F.F(x,y)=x3+y3−3xy, with Fx=3x2−3y and Fy=3y2−3x. Partial derivatives.
Slope.dxdy=−FyFx=y2−xy−x2, valid where y2=x. The formula of the theorem; the hypothesis is Fy=0.
At (23,23). It is on the curve: 2⋅827=427=3⋅49. The slope is 49−2323−49=3/4−3/4=−1. Substitute; the tangent is perpendicular to the diagonal, since the curve is symmetric under x↔y.
Horizontal tangents.Fx=0 means y=x2. Substituting in the equation: x3+x6=3x3, so x6=2x3, giving x=0 or x3=2. For x=21/3 we get y=22/3, the top of the loop. A horizontal tangent has dxdy=0, which needs Fx=0 and Fy=0. Check: Fy=3(24/3)−3(21/3)=0.
The origin.Fx(0,0)=0 and Fy(0,0)=0, so the theorem is silent. The curve passes through the origin twice: near (0,0) the cubic terms are small and the equation is about 3xy=0, so the two branches run along the two axes. The point x=0 found in step 4 has y=0, where Fy=0 too, so the slope formula is 0/0 there. The two branches have tangents y=0 and x=0.
Answer.dxdy=y2−xy−x2; slope −1 at (23,23); horizontal tangent at (21/3,22/3) (and by symmetry vertical tangent at (22/3,21/3)); a double point at the origin where ∇F=O and the curve is not a graph.
Your answerWhat is the slope of the folium x3+y3=3xy at (23,23)?
Quick checkAt which point of the circle x2+y2=1 does the implicit function theorem fail to give y as a function of x near the point?
At (1,0) we have Fy=2y=0: the tangent is vertical, and for x slightly below 1 there are two values of y (±1−x2) while for x>1 there are none. At the other two points Fy=0. Near (1,0) the circle is a graph x=1−y2 over the y-axis instead.Review: the implicit function theorem
Quick checkF(x,y)=x−y3 has Fy(0,0)=0. Does the equation F=0 define y as a function of x near the origin?
The equation y3=x has exactly one real solution for each x, so a function exists. Its derivative 31x−2/3 blows up at 0. The theorem gives a differentiable function when Fy=0; when Fy=0 anything can happen.
Quick checkThe two equations F=0 and G=0 in the unknowns u,v (with x,y as parameters) can be solved for u,v near a solution when:
The block of the Jacobian for the unknowns must be invertible, that is its determinant is nonzero. The determinant with respect to the parameters x,y is irrelevant. Separate nonzero entries are not enough: [1111] has nonzero entries and determinant 0.
Inverse maps in practice
Worked example new (compare Apostol 8.22 and Practice Final 2013 #10)
Where is F(x,y)=(x2−y2,2xy) locally invertible? Find the derivative of the local inverse at F(1,1)=(0,2) without finding the inverse.
Solution.
The Jacobian.DF=[2x2y−2y2x] and detDF=4x2+4y2. Rows are the gradients of x2−y2 and 2xy.
Where the theorem applies.F is continuously differentiable and detDF=0 at every point except the origin. So F has a differentiable local inverse near every point except (0,0). Inverse function theorem.
At the origin. There is no local inverse: F(−x,−y)=F(x,y), so every value near (0,0) (other than (0,0)) has exactly two preimages arbitrarily close to (0,0). This is z↦z2 on the complex numbers, which folds the plane in half by doubling angles.
Derivative of the inverse at (0,2).DF(1,1)=[22−22], determinant 8, inverse 81[2−222]=[41−414141]. DG(F(x))=DF(x)−1; the 2×2 inverse swaps the diagonal, negates the off-diagonal and divides by the determinant.
Check with the real inverse. Near (1,1), G(X,Y) is the principal square root of X+iY. Its derivative at X+iY=2i is 22i1=2(1+i)1=41−i, which as a matrix acts as [41−414141] on (X,Y) (real part 4X+Y, imaginary part 4Y−X). Complex derivative of the square root, 2z1, with z=1+i; multiplying by 41−i is the matrix above.
Answer. Locally invertible everywhere except the origin; DG(0,2)=[41−414141]. Note that F is not one-to-one on the plane minus the origin, so the inverse exists only locally.
Your answerIn the example above, what is the entry in row 1, column 1 of the derivative of the local inverse at F(1,1)=(0,2)?
DF(1,1)=[22−22] has determinant 8 and inverse 81[2−222]; the (1,1) entry is 82=41.
Worked example Apostol 9.7, Example 3
The equations 2x=v2−u2 and y=uv define u,v as functions of x,y. Find ux, uy, vx, vy.
Solution.
Write the system.F=v2−u2−2x, G=uv−y, unknowns (u,v). Move everything to one side.
The condition.∂(u,v)∂(F,G)=det[−2uv2vu]=−2u2−2v2=−2(u2+v2), nonzero except at u=v=0. The matrix to invert.
Differentiate in x.−2uux+2vvx=2 and vux+uvx=0. Chain rule with y held fixed; ∂x∂(2x)=2.
Solve. From the second, vx=−uvux (if u=0). Then −2uux−u2v2ux=2, so ux(−u2(u2+v2))=2 and ux=−u2+v2u, vx=u2+v2v. Multiply through by u and factor.
Differentiate in y.−2uuy+2vvy=0 and vuy+uvy=1. The solution is uy=u2+v2v, vy=u2+v2u. Same steps with the right-hand sides (0,1). Check with the matrix formula: −D(u,v)F−1D(x,y)F.
Answer.ux=−u2+v2u, vx=u2+v2v, uy=u2+v2v, vy=u2+v2u, the same as Apostol’s printed answers.
Python labUndoing a map by iteration: the proof's contraction against Newton
import numpy as npdef F(p): return np.array([p[0]**2 - p[1]**2, 2 * p[0] * p[1]])def DF(p): return np.array([[2 * p[0], -2 * p[1]], [2 * p[1], 2 * p[0]]])target = np.array([0.0, 2.8]) # solve F(x) = target near a = (1, 1)z = np.sqrt(complex(*target)); exact = np.array([z.real, z.imag]) # z -> z^2 has a complex square roota = np.array([1.0, 1.0]); Ainv = np.linalg.inv(DF(a))p = a.copy(); q = a.copy()print(" k contraction error Newton error ratio of contraction errors")prev = np.linalg.norm(p - exact)for k in range(1, 9): p = p + Ainv @ (target - F(p)) # fixed matrix A^(-1): the proof's contraction q = q + np.linalg.solve(DF(q), target - F(q)) # Newton: new Jacobian every step e = np.linalg.norm(p - exact) print(f"{k:2d} {e:.3e} {np.linalg.norm(q - exact):.3e} {e/prev:.3f}") prev = eprint("solution:", exact, " F(solution) =", F(exact))
Try this.Run it. The iteration x to x + A^(-1)(y - F(x)) of the proof uses the Jacobian A at the starting point once and for all. Its error shrinks by a roughly constant factor each step (about 0.18 here), the contraction constant of the theorem. Newton's iteration recomputes the Jacobian at every step, and its error is roughly squared each time (2.4e-2, 1.7e-4, 8e-9, then machine precision). Change the target to (0, 2.2), closer to F(1, 1) = (0, 2): the contraction factor drops to about 0.05. Now change the start a to (0.2, 0.2), where the fixed matrix is a poor model of F at the solution: the contraction iteration blows up (the proof needs a small enough ball), while Newton wanders and then converges.
Level sets are smooth where the gradient is not zero
5.3 defined the tangent plane to a level surface as {x:∇f(a)⋅(x−a)=0} and admitted that nothing yet showed that the surface really is a smooth surface with that plane. The implicit function theorem pays that debt, in any dimension.
Definition B
Regular point
Let F=(F1,…,Fm):RN→Rm be continuously differentiable, m<N. A point a is a regular point of F if the m×N matrix DF(a) has rank m, that is, its rows ∇F1(a),…,∇Fm(a) are linearly independent (2.2). For a single equation (m=1) it means ∇F(a)=O. A point that is not regular is singular: the folium’s origin, the cusp’s origin.
In one lineFor F:RN→Rm with m<N, a point a where the Jacobian DF(a) has rank m: the m gradients ∇F1(a),…,∇Fm(a) are linearly independent.
Why it existsIt is the condition under which m equations cut out a surface of the expected dimension N−m with a tangent plane, and the condition Lagrange multipliers need in 5.8.
Corollary BRudin Thm 9.28; Spivak Thm 5-1
Level sets near a regular point are graphs
Let F be continuously differentiable near a, F(a)=c, and DF(a) of rank m. Then (a) after renaming the coordinates, N−m of them x and m of them y, there is a C1 function g with {F=c}={(x,g(x))} near a; (b) the set of velocity vectors r′(0) of C1 curves r in {F=c} with r(0)=a is exactly the null space kerDF(a), a subspace of dimension N−m.
In one lineIf a is a regular point of F:RN→Rm with F(a)=c, then near a the level set {F=c} is the graph of a C1 function of N−m of the coordinates, and its tangent vectors at a are exactly the vectors in the null space of DF(a).
Why it is trueIt proves that level sets are genuine smooth curves and surfaces away from singular points, and it identifies the tangent space, which is the fact the proof of the Lagrange multiplier theorem uses.
ProofSpivak Thm 5-1
The idea: Rank m means some m columns of the Jacobian are independent, so the m by m block for those variables is invertible and the implicit function theorem solves for them. For the tangent space, a curve in the level set has F of it constant, so its velocity is killed by DF; conversely any vector killed by DF is the velocity of the curve built from the implicit function.
Rename the coordinates so that DyF(a) is invertible.
The rank is the number of independent columns (2.6). Reorder the variables so that the last m columns, for the variables y, are independent; they then form an invertible m×m matrix DyF(a).
There is a C1 function g near ax with F(x,g(x))=c, and these are the only solutions near a. This is (a).
Implicit function theorem for F(x,y)−c=O.
If r is a curve in the level set through a, then DF(a)r′(0)=O, so r′(0)∈kerDF(a).
Chain rule along the curve: F(r(t))=c for all t, so dtdF(r(t))=DF(r(t))r′(t)=O.
Conversely, let v∈kerDF(a). Define the curve r(t)=(ax+tvx,g(ax+tvx)), which lies in the level set.
Write v=(vx,vy). DF(a)v=DxFvx+DyFvy=O means vy=−DyF−1DxFvx=Dg(ax)vx (the implicit function theorem formula).
Its velocity at t=0 is v.
r′(0)=(vx,Dg(ax)vx)=(vx,vy)=v by the previous step. Rank–nullity (2.3) gives dimkerDF(a)=N−m. ■
The corollary closes the gap in 5.3: at a regular point of a level surface in R3 the vectors perpendicular to ∇f(a) fill the whole plane, and every one of them is the velocity of a curve in the surface. The same holds for a curve cut out by two equations in R3 (as in Apostol 8.17 #9 and 9.8 #4, the next example): its tangent line is the null space of the 2×3 Jacobian, that is, the direction perpendicular to both gradients.
Worked example Apostol 9.8 #4(a)
The surfaces 2x2+3y2−z2=25 and x2+y2=z2 meet in a curve through P=(7,3,4). Find a unit tangent vector to the curve at P without parametrising it.
Solution.
Check the point.14+27−16=25 and 7+9=16. P is on both surfaces.
Gradients at P.∇F=(4x,6y,−2z)=(47,18,−8) and ∇G=(2x,2y,−2z)=(27,6,−8), for F=2x2+3y2−z2 and G=x2+y2−z2. The level surfaces F=25 and G=0.
Regular point. The two gradients are not parallel (the ratio of the first entries is 2, of the second 3). So P is a regular point of (F,G) and the intersection is a smooth curve near P.
Tangent direction. The tangent is perpendicular to both gradients, so it is parallel to their cross product: ∇F×∇G=(18(−8)−(−8)(6),(−8)(27)−47(−8),47⋅6−18⋅27)=(−96,167,−127). The null space of a 2×3 matrix of rank 2 is the line spanned by the cross product of its rows.
Normalise. Divide by 4: (−24,47,−37) has length 576+112+63=751. 47 squared is 112 and 37 squared is 63.
Cross-check by the formula. Solving for x,y in terms of z: x2=2z2−25 and y2=25−z2, so dzdx=x2z=78 and dzdy=−yz=−34 at P. The velocity vector (78,−34,1) of the curve z↦(x(z),y(z),z) equals 37−1⋅(−24,47,−37), a multiple of the cross product. Both descriptions give the same line: the null space of the Jacobian is the tangent line.
Answer.T=±751(24,−47,37).
Where it is used
Used inside maths· Inside maths: smooth surfaces, moving roots and differentiable eigenvalues
The corollary above is why the sphere, the torus and every level surface {f=c} with ∇f=O are smooth surfaces: it is the starting point of differential geometry and the definition of a manifold in MATH 551 and 561. Roots of polynomials depend differentiably on the coefficients wherever the root is simple. For p(x,a)=x3−3x+a at a=−2 the root x=2 has ∂p/∂x=3x2−3=9=0, so dadx=−pxpa=−91: raise a by 0.1 and the root moves by about −0.011 (the true root of x3−3x−1.9=0 is 1.9888). At the double root x=1, a=2, where px=0, the roots collide and then become complex: the theorem fails there, and the roots move like ±(2−a)/3, not linearly. The same argument shows that a simple eigenvalue of a matrix is a differentiable function of the entries (problem below), which is how the perturbation theory of 3.1 and 3.5 is justified. Finally, the open mapping property: a C1 map Rn→Rn with detDF=0 everywhere sends open sets to open sets (problem below).
Your answerThe root of x3−3x+a=0 near x=2 (at a=−2) moves with a. What is dx/da at a=−2?
Treat x as an implicit function of a.
p=x3−3x+a, pa=1, px=3x2−3=9 at x=2, so dx/da=−pa/px=−91.
Used in the real world· Robot arms and thermodynamics: solving F(x) = y in practice
Robot inverse kinematics. The two-link arm of 5.3 (links of length 1 m, joint angles θ1,θ2) puts the hand at F(θ)=(cosθ1+cos(θ1+θ2),sinθ1+sin(θ1+θ2)), with detDF=sinθ2. The controller needs the opposite: given a target, find the angles. Set the target to (1,1) and start at θ=(0.3,1.2), hand at (1.026,1.293). Newton’s iteration θ←θ+DF(θ)−1(target−F(θ)) gives θ=(−0.0156,1.6352) (hand (0.951,0.983)), then (−0.0012,1.5720) (hand (0.99994,0.99881)), then (−1.4×10−9,1.570797): three steps from 0.3 m away to a millionth of a metre. The answer is θ=(0,2π), the elbow bent a right angle. A second solution, (2π,−2π), has detDF=sin(−2π)=−1: the elbow bent the other way. The inverse function theorem says each is isolated and depends differentiably on the target, because detDF=±1=0; near full stretch (θ2→0) the determinant tends to 0 and the joint speeds needed blow up.
Thermodynamics. An ideal gas has three state variables with one relation, PV=nRT. One mole (n=1, R=8.314 J/(mol K)) at T=300 K in V=0.025 m3 has P=99,768 Pa. Physicists write (∂V∂P)T for the derivative with T held fixed, which is an implicit derivative of F(P,V,T)=PV−nRT. Here it is −V2nRT=−3.99×106 Pa/m3. The three partial derivatives (∂V∂P)T=−V2nRT, (∂T∂V)P=PnR, (∂P∂T)V=nRV multiply to −VPnRT=−1 (because PV=nRT), not +1 as the naive cancellation of ‘fractions’ would suggest. The problem below proves this for any equation F(x,y,z)=0.
Traps
Watch out· The minus sign, and the cancellation that is not a cancellation
dxdy=−FyFx has a minus sign. And ∂y∂x∂z∂y∂x∂z=−1, not +1: partial derivatives are not fractions, and each one holds a different variable fixed. Check the sign against the circle: at the top right Fx,Fy>0 and the curve is falling.
Watch out· Divide by the right partial derivative
The hypothesis names the variable you solve for: Fy=0 for y=g(x), Fx=0 for x=h(y), Fz=0 for z=z(x,y). The worksheet that treats x as a function of y needs Fx=0. At (1,0) on the circle the first choice fails and the second works. For a system, the condition is a determinant, not separate partial derivatives.
Watch out· Remember the chain rule when differentiating a second time
In zx=−zx, the z in the denominator depends on x too. Forgetting to differentiate it (writing zxx=−z1) gives a wrong answer (Worksheet 1 #2). The cure is to substitute the first derivative back before simplifying.
Watch out· Nonzero Jacobian is local, and the theorem needs C¹
detDF=0 at every point does not make F one-to-one (the exponential map of 5.4, z↦z2 away from the origin). And the derivative must be continuous: the function 2x+x2sinx1 has f′(0)=21 yet is not one-to-one near 0. On the Fall 2025 final the same lesson came as a true or false question: smooth level sets need ∇f=O, and a smooth function can have level sets that end or have corners where the gradient vanishes.
Watch out· The theorem gives existence, not a formula
It says g exists and tells you g′; it does not give g. To compute values of g you iterate (Newton’s method, or the contraction in the proof), as in the lab above. Series for g come from differentiating repeatedly, as the second derivative formula did.
Does x2+y2+z2=1 define z as a differentiable function of (x,y) near (0,0,1)? Near (1,0,0)? If not, which variable can be solved for near (1,0,0)?
Solution
Fz=2z. At (0,0,1), Fz=2=0: yes, z=1−x2−y2. At (1,0,0), Fz=0: the hypothesis fails; indeed for (x,y) near (1,0) with x2+y2>1 there is no z at all. But Fx=2=0, so x=1−y2−z2 is a differentiable function of (y,z) near (0,0).
check
Find dxdy at (0,1) for the curve exy+y=2.
Solution
The point is on the curve: e0+1=2. F=exy+y−2, Fx=yexy=1 and Fy=xexy+1=1 at (0,1). So dxdy=−FyFx=−1.
check
Is F(x,y)=(x2+y,x+y2) locally invertible near (1,1)? Near (21,21)?
Solution
DF=[2x112y], detDF=4xy−1. At (1,1) it is 3=0: yes. At (21,21) it is 0: the theorem gives no conclusion. In this case the news is bad: along the line y=1−x the first component is x2+1−x and the second is x+(1−x)2=x2−x+1, the same number. So the line x+y=1 is sent into the diagonal, and x and 1−x have the same image, so F is not one-to-one on any ball around (21,21), as the vanishing determinant warned.
check
F(x,y)=x−y3 has Fy(0,0)=0. Does F=0 define y as a function of x near (0,0)? Is the function differentiable at 0?
Solution
The solution is y=x1/3, a function, defined for all real x. It is not differentiable at 0 (its difference quotient h−2/3 is unbounded). So the conclusion of the implicit function theorem fails without the hypothesis, although a function exists.
useApostol 9.8 #1
The equations x+y=uv and xy=u−v define x and y as functions of u and v. Show that ∂u∂x=x−yxv−1 when x=y, and say what the hypothesis is.
Solution
Unknowns (x,y), with F=x+y−uv and G=xy−u+v. The determinant ∂(x,y)∂(F,G)=det[1y1x]=x−y, so the hypothesis is x=y. Differentiate in u with v fixed: xu+yu=v and yxu+xyu=1. From the first, yu=v−xu; substituting, yxu+xv−xxu=1, so (y−x)xu=1−xv and xu=x−yxv−1.
useApostol 9.7, Example 5
Eliminating u from x=u+v and y=uv2 gives an equation defining v=h(x,y). Show that ∂x∂h=3h−2xh and find ∂y∂h.
Solution
u=x−v, so y=(x−v)v2, that is F(x,y,v)=xv2−v3−y=0. Fx=v2, Fy=−1, Fv=2xv−3v2. So hx=−2xv−3v2v2=3v−2xv=3h−2xh, and hy=−2xv−3v2−1=2xh−3h21=−h(3h−2x)1.
usenew (thermodynamics)
For F(P,V,T)=PV−nRT, compute (∂V∂P)T, (∂T∂V)P, (∂P∂T)V with the implicit formulas, and verify that the product is −1.
Solution
FP=V, FV=P, FT=−nR. (∂V∂P)T=−FPFV=−VP; (∂T∂V)P=−FVFT=PnR; (∂P∂T)V=−FTFP=nRV. The product is −VP⋅PnR⋅nRV=−1.
useMATH 376 Worksheet 1 #3 style
Use implicit differentiation to find dxdarctanx and state where the hypothesis fails (if anywhere).
Solution
y=arctanx means tany=x, F=tany−x, Fy=sec2y≥1, never zero. So y′=sec2y1=cos2y=1+tan2y1=1+x21 for all real x. The hypothesis never fails, so arctan is differentiable everywhere, unlike arcsin at ±1.
prove
Let F(x,y) be C1, F(a,b)=0 and Fy(a,b)=0. Prove that the tangent line to the level curve F=0 at (a,b) is Fx(a,b)(x−a)+Fy(a,b)(y−b)=0.
Solution
Plan. The implicit function g has slope −Fx/Fy; write the tangent line to its graph.
By the theorem, near a the curve is the graph of g with g(a)=b and g′(a)=−Fx(a,b)/Fy(a,b). The tangent line to a graph at (a,b) is y−b=g′(a)(x−a), that is y−b=−FyFx(x−a). Multiply by Fy=0: Fy(y−b)+Fx(x−a)=0. ■ This is the tangent line ∇F(a,b)⋅((x,y)−(a,b))=0 of 5.3, now justified.
prove
Let F(x,y,z)=0 define each variable as a differentiable function of the other two, with all partial derivatives of F nonzero. Prove that ∂y∂x∂z∂y∂x∂z=−1.
Solution
Plan. Write each factor with the formula −Fother/Fself.
Solving for x with y and z as inputs: ∂y∂x=−FxFy. Solving for y with z and x as inputs: ∂z∂y=−FyFz. Solving for z with x and y as inputs: ∂x∂z=−FzFx. Each is valid because the relevant partial derivative of F is nonzero. The product is (−1)3FxFyFzFyFzFx=−1. ■
provenew (a global contraction)
Let h:Rn→Rn satisfy ∥h(x)−h(x′)∥≤q∥x−x′∥ for all x,x′, with q<1. Prove that F(x)=x+h(x) is a bijection of Rn onto Rn. (Compare with the local theorem: here nothing is local.)
Solution
Plan. Solving F(x)=y means x=y−h(x); the right side is a contraction of the complete space Rn.
Fix y and put Ty(x)=y−h(x). Then ∥Ty(x)−Ty(x′)∥=∥h(x)−h(x′)∥≤q∥x−x′∥, so Ty is a contraction of Rn, which is complete (4.2). By the Banach fixed point theorem Ty has exactly one fixed point x. And Ty(x)=x means y−h(x)=x, that is F(x)=y. So every y has exactly one preimage: F is a bijection. ■
prove
Let F:Rn→Rn be continuously differentiable with detDF(x)=0 for every x. Prove that F maps open sets to open sets.
Solution
Plan. Apply the inverse function theorem at each point of the open set.
Let O be open and y∈F(O), say y=F(a) with a∈O. By the inverse function theorem there are open sets U′∋a and V∋y with F:U′→V a bijection. Shrink: U′′=U′∩O is open and contains a. The image F(U′′) is the set of y′∈V with G(y′)∈U′′, that is the preimage of the open set U′′ under the continuous map G:V→U′; so it is open in V, hence open in Rn. So F(U′′) is an open set containing y and contained in F(O). Every point of F(O) has such a ball, so F(O) is open. ■
stretch
For f(x)=2x+x2sinx1 (f(0)=0), show that f′(0)=21 but f is not one-to-one on any interval around 0.
Solution
Difference quotient: hf(h)=21+hsinh1→21, so f′(0)=21. For x=0, f′(x)=21+2xsinx1−cosx1, and at xk=2πk1 this is 21+0−1=−21. Suppose f were one-to-one on an interval I∋0. It is continuous, and a continuous one-to-one function on an interval is strictly monotone (by the intermediate value theorem of 1.3). If it were increasing then f′≥0 on I, contradicting f′(xk)=−21 for large k; if decreasing then f′≤0, contradicting f′(0)=21. So f is not one-to-one near 0, although f′(0)=0: the continuity of f′ cannot be dropped from the inverse function theorem.
stretchnew (links to 3.1 and 3.5)
The matrix Aε=[2+ε112] has the eigenvalue λ=3 at ε=0. Use the implicit function theorem on the characteristic polynomial to find dεdλ at ε=0, and check it against the eigenvector formula dεdλ=uT(dεdA)u for a unit eigenvector u.
Solution
p(λ,ε)=det(Aε−λI)=(2+ε−λ)(2−λ)−1. At (λ,ε)=(3,0): p=(−1)(−1)−1=0. pλ=−(2−λ)−(2+ε−λ)=1+1=2=0 (so λ=3 is a simple root), and pε=2−λ=−1. So dεdλ=−pλpε=21. Eigenvector formula: u=2(1,1) and dεdA=[1000], so uTdεdAu=21. Exact check: the larger eigenvalue is 24+ε+4+ε2, whose derivative at 0 is 21.
Summary
The inverse function theorem: if F is continuously differentiable and detDF(a)=0, then F has a continuously differentiable local inverse G near a with DG=(DF∘G)−1. It is local only, and it needs the derivative to be continuous.
Proof idea (B): rewrite F(x)=y as the fixed point problem x=x+A−1(y−F(x)) with A=DF(a). The mean value inequality shows this map shrinks distances by 21 on a small ball, and the Banach fixed point theorem (4.2) gives the solution.
The implicit function theorem: if F(a,b)=O and the block DyF(a,b) is invertible, then F(x,y)=O defines a unique C1 function y=g(x) near (a,b) with Dg=−DyF−1DxF. It is the inverse function theorem applied to (x,y)↦(x,F(x,y)).
Implicit differentiation is legal exactly when the denominator is nonzero: dxdy=−FyFx, zx=−FzFx, and for systems the ratio of Jacobian determinants; second derivatives need the chain rule applied once more.
Failure points are where the relevant partial derivative or determinant is zero: the circle at (±1,0) (a vertical tangent, fixed by solving for the other variable), the folium’s origin and the cusp (where ∇F=O). The condition is sufficient, not necessary (y=x1/3).
A regular point (Jacobian of full rank m) of F:RN→Rm has a level set that is locally a graph, with tangent space kerDF(a). This is why level surfaces are smooth and why the Lagrange multiplier theorem of 5.8 holds.
In practice, inverses are computed by iteration: the proof’s contraction converges linearly, and Newton’s method (which recomputes the Jacobian) converges quadratically (5.10).
Watch and read
The same ideas explained by someone else. Use these when an explanation here does not land.
MATH 376: Worksheet 1 (Jan 20) used the implicit function theorem as a black box: 'assume the equations define z implicitly'. Problems 1 to 4 (the circle, the sphere, the derivative of arcsin, and a system of two equations) are worked below, and the hypothesis the worksheet used without proof (F_y not zero, or a Jacobian determinant not zero) is the one this chapter proves.
MATH 375: The derivative of an inverse field (Practice Final 2013, problem 10) assumed an inverse existed. This chapter supplies the converse the lectures left out: when the inverse exists. The Fall 2025 final's true or false about non-smooth level sets is the same story, since smooth level sets need the gradient to be nonzero.
MATH 521: 521 proves the inverse and implicit function theorems in a normed space by the same contraction argument, and uses them for submanifolds, the rank theorem, and existence of solutions of ODEs depending on parameters.
MATH 551 / 561: A smooth manifold is a set that is locally the level set of a map with surjective derivative, or locally the graph of a smooth function. The implicit function theorem is why the two descriptions agree.
Economics and thermodynamics: Comparative statics asks how an optimum moves when a parameter moves; the answer is an implicit derivative. In thermodynamics (dP/dV at fixed T and so on) every partial derivative of a state variable is an implicit derivative.