THE IMPLICIT FUNCTION THEOREM Statement of the theorem A SIMPLE VERSION OF THE IMPLICIT FUNCTION THEOREM Theorem (Simple Implicit Function Theorem) Suppose that φ is a real-valued functions defined on a domain D and continuously differentiable on an open set D D R n, ( x 0, x0 2,, x0 n) D, and Further suppose that ( ) φ x 0, x0 2,, x0 n 0 () φ ( x 0, x0 2,, x0 n) x 0 (2) Then there exists a neighborhood V δ (x2 0, x0 3,, x0 n) D, an open set W R containing x 0 and a real valued function ψ : V W, continuously differentiable on V, such that Furthermore for k 2,, n, ( ) x 0 ψ x2 0, x0 3,, x0 n ( ) φ ψ (x2 0, x0 3,, x0 n), x2 0, x0 3,, x0 n 0 (3) ψ (x 0 2, x0 3,, x0 n) φ(ψ (x 0 2, x0 3,, x0 n),x 0 2, x0 3,, x0 n) φ(ψ (x 0 2, x0 3,, x0 n),x 0 2, x0 3,, x0 n) x φ(x 0 ) φ(x 0 ) x (4) We can prove this last statement as follows Define g:v R n as ( ) g x2 0, x0 3,, x0 n ψ (x2 0,, x0 n) x 0 2 x3 0 x 0 n (5) Then (φ g)(x 0 2,, x0 n) 0 for all (x 0 2,, x0 n) V Thus by the chain rule Date: June, 205
2 THE IMPLICIT FUNCTION THEOREM ( ) D(φ g)(x2 0,, x0 n) D φ g(x2 0,, x0 n) D g(x2 0, x0 n) 0 ( ) D φ x 0, x0 2,, x0 n D g(x2 0, x0 n) 0 D φ x 0 x2 0 x 0 3 ψ (x2 0,, x0 n) x 0 2 D x 0 3 0 (6) [ φ x, φ,, φ For any k 2, 3,, n, we then have x 0 n x n ψ ψ x 0 n ψ x 3 x n 0 0 0 0 [ 0 0 0 0 0 φ(x 0, x0 2,, x0 n) x ψ (x 0 2,, x0 n) + φ(x0, x0 2,, x0 n) 0 ψ (x 0 2,, x0 n) We can, of course, solve for any other x k ψ k (x 0, x0 2,, x0 k, x0 k+,, x0 n the other x s rather than x as a function of ( x 0 2, x0 3, x0 n) 2 Examples 2 Production function Consider a production function given by φ(x 0,x0 2,,x0 n) φ(x 0,x0 2,,x0 n) x (7) ), as a function of Write this equation implicitly as y f(x, x 2, x n ) (8) φ(x, x 2,, x n, y) f(x, x 2, x n ) y 0 (9) where φ is now a function of n+ variables instead of n variables Assume that φ is continuously differentiable and the Jacobian matrix has rank ie, φ f 0, j, 2,, n (0) Given that the implicit function theorem holds, we can solve equation 9 for x k as a function of y and the other x s ie Thus it will be true that x k ψ k(x, x 2,, x k, x k+,, y) ()
THE IMPLICIT FUNCTION THEOREM 3 or that φ(y, x, x 2,, x k, x k, x k+,, x n ) 0 (2) y f(x, x 2,, x k, x k, x k+,, x n ) (3) Differentiating the identity in equation 3 with respect to x j will give or 0 f + f (4) Or we can obtain this directly as f f RTS MRS (5) φ(y, x, x 2,, x k, ψ k, x k+,, x n ) φ ψ k φ(y, x, x 2,, x k, ψ k, x k+,, x n ) φ (6) Consider the specific example f f MRS y 0 f (x, x 2 ) x 2 2x x 2 + x x 3 2 To find the partial derivative of x 2 with respect to x we find the two partials of f as follows x f x f 22 Utility function 2 x 2 x 2 + x 3 2 3 x x 2 2 2 x 2 x 2 2 x x 3 2 3 x x 2 2 2 x u 0 u(x, x 2 ) To find the partial derivative of x 2 with respect to x we find the two partials of U as follows x u x u
4 THE IMPLICIT FUNCTION THEOREM 23 Another utility function Consider a utility function given by This can be written implicitly as u x 4 x 3 2 x 6 3 f (u, x, x 2, x 3 ) u x 4 x 3 2 x 6 3 0 Now consider some of the partial derivatives arising from this implicit function First consider the marginal rate of substitution of x for x 2 x f f x ( 3 ) x 4 x 2 3 6 2 x 3 ( 4 ) 3 x 4 3 x 6 2 x 3 4 x 3 x 2 Now consider the marginal rate of substitution of x 2 for x 3 x 3 Now consider the marginal utility of x 2 f x 3 f ( 6 ) x 4 3 x 2 x 5 6 3 ( 3 ) x 4 x 3 2 6 2 x 3 x 2 2 x 3 u f f u ( 3 ) x 4 x 2 3 2 x 6 3 3 x 4 x 2 3 2 x 6 3 2 THE GENERAL IMPLICIT FUNCTION THEOREM WITH P INDEPENDENT VARIABLES AND M IMPLICIT EQUATIONS 2 Motivation for implicit function theorem We are often interested in solving implicit systems of equations for m variables, from the set of variables x, x 2,, x m, x m+, x m+p in terms of p of the variables where there are a minimum of m equations in the system We typically label the variables x m+, x m+2,, x m+p as y, y 2,, y p We are frequently interested in the derivatives x i where it is implicit that all other x k and all y l are held constant The conditions guaranteeing
THE IMPLICIT FUNCTION THEOREM 5 that we can solve for m of the variables in terms of p variables along with a formula for computing derivatives are given by the implicit function theorem One motivation for the implicit function theorem is that we can eliminate m variables from a constrained optimization problem using the constraint equations In this way the constrained problem is converted to an unconstrained problem and we can use the results on unconstrained problems to determine a solution 22 Description of a system of equations Suppose that we have m equations depending on m + p variables (parameters) written in implicit form as follows φ (x, x 2,, x m, y, y 2,, y p ) 0 φ 2 (x, x 2,, x m, y, y 2,, y p ) 0 0 φ m (x, x 2,, x m, y, y 2,, y p ) 0 For example with m 2 and p 3, we might have (7) φ (x, x 2, p, w, w 2 ) (04) p x 06 x2 02 w 0 φ 2 (x, x 2, p, w, w 2 ) (02) p x 04 x 2 08 w 2 0 where p, w and w 2 are the independent variables y, y 2, and y 3 23 Jacobian matrix of the system The Jacobian matrix of the system in 7 is defined as matrix of first partials as follows φ φ φ x x m φ x J 2 x m (9) φ m φ m φ x m x m This matrix will be of rank m if its determinant is not zero 24 Statement of implicit function theorem Theorem 2 (Implicit Function Theorem) Suppose that φ i are real-valued functions defined on a domain D and continuously differentiable on an open set D D R m+p, where p>0and φ (x 0, x0 2,, x0 m, y0, y0 2,, y0 p) 0 φ 2 (x 0, x0 2,, x0 m, y0, y0 2,, y0 p) 0 (8) 0 (20) φ m (x 0, x0 2,, x0 m, y 0, y0 2,, y0 p) 0 We often write equation 20 as follows (x 0, y 0 ) D φ i (x 0, y 0 ) 0, i, 2,, m, and(x 0, y 0 ) D (2)
6 THE IMPLICIT FUNCTION THEOREM Assume the Jacobian matrix [ φi (x 0, y 0 ) has rank m Then there exists a neighborhood N δ (x 0, y 0 ) D, an open set D 2 R p containing y 0 and real valued functions ψ k, k, 2,, m, continuously differentiable on D 2, such that the following conditions are satisfied: x 0 ψ (y 0 ) x 0 2 ψ 2(y 0 ) (22) x 0 m ψ m (y 0 ) For every y D 2, we have φ i (ψ (y), ψ 2 (y),, ψ m (y), y, y 2,, y p ) 0, i, 2,, m or (23) φ i (ψ(y), y) 0, i, 2,, m We also have that for all (x,y) N δ (x 0, y 0 ), the Jacobian matrix [ φi (x, y) y D 2, the partial derivatives of ψ(y) are the solutions of the set of linear equations has rank m Furthermore for m k m k φ (ψ(y), y) φ 2 (ψ(y), y) ψ k (y) φ (ψ(y), y) ψ k (y) φ 2(ψ(y), y) (24) m k φ m (ψ(y), y) ψ k (y) φ m(ψ(y), y) We can write equation 24 in the following alternative manner m k φ i (ψ(y), y) or perhaps most usefully as the following matrix equation This of course implies φ φ x x φ m x φ m ψ k (y) φ i(ψ(y), y) i, 2,, m (25) φ x m x m φ m x m ψ (y) ψ 2 (y) ψ m (y) φ (ψ(y),y) φ 2 (ψ(y),y) φ m (ψ(y),y) (26)
THE IMPLICIT FUNCTION THEOREM 7 ψ (y) ψ 2 (y) ψ m (y) φ φ x x φ m x φ m φ x m x m φ m x m φ (ψ(y),y) φ 2 (ψ(y),y) φ m (ψ(y),y) We can expand equation 27 to cover the derivatives with respect to the other y l by expanding the matrix equation (27) ψ (y) y ψ 2 (y) y ψ m(y) y ψ (y) y 2 ψ 2 (y) y 2 ψ m(y) y 2 ψ (y) y p ψ 2 (y) y p ψ m(y) y p φ x φ x φ m x φ m φ φ (ψ(y),y) x m y x m φ 2 (ψ(y),y) y φ m φ m(ψ(y),y) x m y φ (ψ(y),y) y 2 φ 2 (ψ(y),y) y 2 φ m(ψ(y),y) y 2 φ (ψ(y),y) y p φ 2 (ψ(y),y) y p φ m(ψ(y),y) y p (28) 25 Some intuition for derivatives computed using the implicit function theorem To see the intuition of equation 24, take the total derivative of φ i in equation 23 with respect to y j as follows φ i ψ ψ y j + φ i ψ 2 ψ 2 y j φ i (ψ (y), ψ 2 (y),, ψ m (y), y) 0 + + φ i ψ m ψ m y j + φ i y j 0 (29) and then move φ i y j to the right hand side of the equation Then perform a similar task for the other equations to obtain m equations in the m partial derivatives, x i y j For the case of only one implicit equation 24 reduces to m φ(ψ(y), y) x k k ψ i y j ψ k (y) φ(ψ(y), y) (30) If there is only one equation, we can solve for only one of the x variables in terms of the other x variables and the p y variables and obtain only one implicit derivative which can be rewritten as φ(ψ(y), y) ψ k (y) φ(ψ(y), y) (3) ψ k (y) This is more or less the same as equation 4 φ(ψ(y), y) (32) φ(ψ(y), y) If there are only two variables, x and x 2 where x 2 is now like y, we obtain
8 THE IMPLICIT FUNCTION THEOREM φ(ψ (x 2 ), x 2 ) x ψ (x 2 ) φ(ψ (x 2 ), x 2 ) x ψ (x 2 ) φ(ψ (x 2 ),x 2 ) φ(ψ (x 2 ),x 2 ) x which is like the example in section 2 where φ takes the place of f (33) 26 Examples 26 One implicit equation with three variables φ(x 0, x0 2, y0 ) 0 (34) The implicit function theorem says that we can solve equation 34 for x 0 as a function of x0 2 and y 0, ie, and that The theorem then says that x 0 ψ (x 0 2, y0 ) (35) φ(ψ (x 2, y), x 2, y) 0 (36) φ(ψ (x 2, y), x 2, y) x ψ φ(ψ (x 2, y), x 2, y) φ(ψ (x 2, y), x 2, y) x x (x 2, y) φ(ψ (x 2, y), x 2, y) x (x 2, y) φ(ψ (x 2, y), x 2, y) φ(ψ (x 2, y), x 2, y) x (37) 262 Production function example φ(x 0, x0 2, y0 ) 0 (38) y 0 f(x 0, x0 2 ) 0 The theorem says that we can solve the equation for x 0 It is also true that x 0 ψ (x 0 2, y0 ) (39) Now compute the relevant derivatives φ(ψ (x 2, y), x 2, y) 0 y f(ψ (x 2, y), x 2 ) 0 (40)
THE IMPLICIT FUNCTION THEOREM 9 φ(ψ (x 2, y), x 2, y) x f(ψ (x 2, y), x 2 ) x φ(ψ (x 2, y), x 2, y) f(ψ (x 2, y), x 2 ) The theorem then says that x (x 2, y) φ(ψ (x 2, y), x 2, y) φ(ψ (x 2, y), x 2, y) x f(ψ (x 2, y),x 2 ) f(ψ (x 2, y),x 2 ) x f(ψ (x 2, y),x 2 ) f(ψ (x 2, y),x 2 ) x 27 General example with two equations and three variables Consider the following system of equations The Jacobian is given by φ (x, x 2, y) 3x + 2x 2 + 4y 0 φ 2 (x, x 2, y) 4x + x 2 + y 0 [ φ x φ φ 2 x φ 2 [ 3 2 4 We can solve system 43 for x and x 2 as functions of y Move y to the right hand side in each equation (4) (42) (43) (44) 3x + 2x 2 4y (45a) 4x + x 2 y (45b) Now solve equation 45b for x 2 x 2 y 4x (46) Substitute the solution to equation 46 into equation 45a and simplify 3x + 2( y 4x ) 4y 3x 2y 8x 5x 4y 2y (47) x 2 5 y ψ (y) Substitute the solution to equation 47 into equation 46 and simplify
0 THE IMPLICIT FUNCTION THEOREM x 2 y 4 [ 2 5 y x 2 5 5 y 8 5 y (48) 3 5 y ψ 2(y) If we substitute these expressions for x and x 2 into equation 43 we obtain and Furthermore ( 2 φ 5 y, 3 ) 5 y, y ( 2 φ 2 5 y, 3 ) 5 y, y [ 2 3 5 y [ + 2 3 5 y 6 5 y 26 5 y + 20 5 y 20 5 y + 20 5 y 0 [ 2 4 5 y + [ 3 5 y 8 5 y 3 5 y + 5 5 y 3 5 y 3 5 y 0 ψ y 2 5 ψ 2 y 3 5 We can solve for these partial derivatives using equation 24 as follows + 4y + y (49) (50) (5) φ ψ x y + φ ψ 2 y φ y φ 2 ψ x y + φ 2 ψ 2 y φ 2 y Now substitute in the derivatives of φ and φ 2 with respect to x, x 2, and y (52a) (52b) 3 ψ y + 2 ψ 2 y 4 (53a) 4 ψ y + ψ 2 y (53b) Solve equation 53b for ψ 2 y
THE IMPLICIT FUNCTION THEOREM ψ 2 y 4 ψ y Now substitute the answer from equation 54 into equation 53a 3 ψ ( y + 2 4 ψ ) y 4 3 ψ y 2 8 ψ y 4 5 ψ y 2 (54) (55) If we substitute equation 55 into equation 54 we obtain ψ y 2 5 ψ 2 y 4 ψ y ψ 2 y 4 5 5 We could also do this by inverting the matrix ( 2 5 ) 8 5 3 5 (56) 27 Profit maximization example Consider the system in equation 8 We can solve this system of m implicit equations for all m of the x variables as functions of the p independent (y) variables Specifically, we can solve the two equations for x and x 2 as functions of p, w (, and ) w 2, ie, x ψ (p, w, w 2 ) and x 2 ψ 2 (p, w, w 2 ) We can also find x and, that is ψi, from the following two equations derived from equation 8 which is repeated here φ (x, x 2, p, w, w 2 ) (04) p x 06 x 02 2 w 0 φ 2 (x, x 2, p, w, w 2 ) (02) p x 04 x 08 2 w 2 0 [ ( 024) p x 6 x2 02 x [ ( 008) p x 06 x2 08 We can write this in matrix form as ( 008) p x 06 x 2 08 x2 [ + x [ + ( 06) p x 04 x 2 8 [ ( 024) p x 6 x2 02 ( 008) p x 06 x 2 08 ( 008) p x 06 x2 08 ( 06) p x 04 x 2 8 [ x x2 (04) x 06 x2 02 (02) x04 x 08 2 [ (04) x 06 x2 02 (02) x 04 x 2 08 (57) (58)
2 THE IMPLICIT FUNCTION THEOREM 272 Profit maximization example 2 Let the production function for a firm be given by y 4x + x 2 x 2 x2 2 (59) Profit for the firm is given by π py w x w 2 x 2 p(4x + x 2 x 2 x2 2 ) w x w 2 x 2 (60) The first order conditions for profit maximization imply that π 4 p x + p x 2 p x 2 p x2 2 w x w 2 x 2 π x φ 4 p 2 p x w 0 π φ 2 p 2 p x 2 w 2 0 (6) We can solve the first equation for x as follows π x 4 p 2 p x w 0 2 p x 4 p w x 4 p w 2 p 7 w 2 p (62) In a similar manner we can find x 2 from the second equation π p 2 p x 2 w 2 0 2 p x 2 p w 2 x 2 p w 2 2 p 55 w 2 2 p (63) We can find the derivatives of x and x 2 with respect to p, w and w 2 directly as follows:
THE IMPLICIT FUNCTION THEOREM 3 x x 2 x 7 2 w p 55 2 w 2 p 2 w p 2 x w 2 p x w 2 0 (64) 2 w 2 p 2 w 2 2 p w 2 0 We can also find these derivatives using the implicit function theorem The two implicit equations are φ (x, x 2, p, w, w 2 ) 4 p 2 p x w 0 φ 2 (x, x 2 p, w, w 2 ) p 2 p x 2 w 2 0 First we check the Jacobian of the system It is obtained by differentiating φ and φ 2 with respect to x and x 2 as follows J [ φ φ x x [ 2 p 0 0 2p The determinant is 4p 2 which is positive Now we have two equations we can solve using the implicit function theorem The theorem says m φ i (g(y), y) g k (y) φ i(ψ(y), y), i, 2, (67) x k k For the case of two equations we obtain (65) (66) φ x x + φ φ x x + We can write this in matrix form as follows [ φ Solving for x and we obtain x φ x [ x [ φ (68) (69)
4 THE IMPLICIT FUNCTION THEOREM [ x [ φ x φ x [ φ We can compute the various partial derivatives of φ as follows (70) φ (x, x 2, p, w, w 2 ) 4 p 2 p x w 0 φ x 2 p φ 0 φ 4 2 x φ 2 (x, x 2 p, w, w 2 ) p 2 p x 2 w 2 0 (7) x 0 2 p φ 2 x 2 Now writing out the system we obtain for the case at hand we obtain [ x [ φ x φ x Now substitute in the elements of the inverse matrix [ x If we then invert the matrix we obtain Given that we obtain [ x [ φ [ [ 2p 0 2 x 4 0 2p 2 x 2 x [ 2p 0 0 2p [ 7 x p 55 x 2 p [ 2 x 4 2 x 2 (72) (73) (74) 7 2 w p x 2 55 2 w 2 p (75)
THE IMPLICIT FUNCTION THEOREM 5 x 7 x p 7 (7 2 w p ) p 2 w p 2 55 x 2 p 55 (55 2 w 2 p ) p (76) 2 w 2 p 2 which is the same as before 273 Profit maximization example 3 Verify the implicit function theorem derivatives x for the profit maximization example 2 w, x w 2, 274 Profit maximization example 4 A firm sells its output into a perfectly competitive market and faces a fixed price p It hires labor in a competitive labor market at a wage w, and rents capital in a competitive capital market at rental rate r The production is f(l, K) The production function is strictly concave The firm seeks to maximize its profits which are The first-order conditions for profit maximization are w, π p f(l, K) wl rk (77) w 2 π L p f L (L, K ) w 0 π K p f K (L, K ) r 0 This gives two implicit equations for K and L The second order conditions are (78) 2 π L 2 (L, K ) < 0, We can compute these derivatives as 2 π L 2 2 π K 2 [ 2 2 π > 0 at (L, K ) (79) L K 2 π L 2 (p f L(L, K ) w) p f L LL 2 π K 2 (p f K(L, K ) r) p f KK (80) L 2 π L K (p f L(L, K ) w) p f KL K The first of the second order conditions is satisfied by concavity of f We then write the second condition as
6 THE IMPLICIT FUNCTION THEOREM D p f LL p f L K p f K L p f K K > 0 p 2 f LL f L K > 0 f K L f K K p 2 ( f LL f KK f KL f LK ) > 0 The expression is positive or at least non-negative because f is assumed to be strictly concave Now we wish to determine the effects on input demands, L and K, of changes in the input prices Using the implicit function theorem in finding the partial derivatives with respect to w, we obtain for the first equation (8) L π LL w + π K LK w + π Lw 0 L p f LL w + p f K KL w 0 For the second equation we obtain L π KL w + π KK L p f KL K w + π Kw 0 K w 0 w + p f KK We can write this in matrix form as [ [ p fll p f LK L [ / w p f KL p f KK K / w 0 Using Cramer s rule, we then have the comparative-statics results L w K w p f LK 0 p f KK D p f LL p f KL 0 D p f KK D p f KL D (82) (83) (84) (85) The sign of the first is negative because f KK < 0 and D > 0 from the second-order conditions Thus, the demand curve for labor has a negative slope However, in order to sign the effect of a change in the wage rate on the demand for capital, we need to know the sign of f KL, the effect of a change in the labor input on the marginal product of capital We can derive the effects of a change in the rental rate of capital in a similar way 275 Profit maximization example 5 Let the production function be Cobb-Douglas of the form y L α K β Find the comparative-static effects L / w and K / w Profits are given by π p f (L, K) wl rk p L α K β w L r K The first-order conditions are for profit maximization are (86)
THE IMPLICIT FUNCTION THEOREM 7 π L α p L α K β w 0 π K β p L α K β r 0 This gives two implicit equations for K and L The second order conditions are (87) 2 π L 2 (L, K ) < 0, 2 π L 2 2 π K 2 [ 2 2 π > 0 at (L, K ) (88) L K We can compute these derivatives as 2 π L 2 α(α ) p L α 2 K β 2 π K 2 β(β ) p L α K β 2 (89) 2 π L K α β p Lα K β The first of the second order conditions is satisfied as long as α, β < We can write the second condition as We can simplify D as follows D α(α ) p Lα 2 K β α β p L α K β D α(α ) p Lα 2 K β α β p L α K β α β p L α K β β(β ) p L α K β 2 α β p L α K β β(β ) p L α K β 2 > 0 (90) p 2 α(α ) L α 2 K β α β L α K β α β L α K β β(β ) L α K β 2 [ p 2 α β(α )(β ) L α 2 K β L α K β 2 α 2 β 2 L 2α 2 K 2β 2 [ p 2 α β L α 2 K β L α K β 2 ( (α )(β ) α β ) [ p 2 α β L α 2 K β L α K β 2 ( α β β α + α β ) [ p 2 α β L α 2 K β L α K β 2 ( α β ) (9) The condition is then that This will be true if α+β < D p 2 α β L 2α 2 K 2β 2 ( α β) > 0 (92) Now we wish to determine the effects on input demands, L and K, of changes in the input prices Using the implicit function theorem in finding the partial derivatives with respect to w, we obtain for the first equation
8 THE IMPLICIT FUNCTION THEOREM α(α ) p L α 2 K β L w For the second equation we obtain π LL L w + π LK K w + π Lw 0 + α β p Lα β K K w 0 (93) α β p L α β L K w We can write this in matrix form as L π KL w + π KK [ α(α ) p L α 2 K β α β p L α K β α β p L α K β K w + π Kw 0 + β(β ) p Lα β 2 K K w 0 β(β ) p L α K β 2 [ L / w K / w Using Cramer s rule, we then have the comparative-statics results L α β p Lα K β w 0 β(β ) p L α K β 2 D β(β ) p Lα K β 2 D K α(α ) p Lα 2 K β w α β p L α K β 0 α β p Lα K β D D The sign of L w is negative because p β(β ) Lα K β 2 < 0 (β < ), and D > 0 by the second order conditions The cross partial derivative K w is also less than zero because p α β Lα K β > 0 and D > 0 So, for the case of a two-input Cobb-Douglas production function, an increase in the wage unambiguously reduces the demand for capital 3 TANGENTS TO Œ(x, x 2,,) c AND PROPERTIES OF THE GRADIENT 3 Direction numbers A direction in R 2 is determined by an ordered pair of two numbers (a,b), not both zero, called direction numbers The direction corresponds to all lines parallel to the line through the origin (0,0) and the point (a,b) The direction numbers (a,b) and the direction numbers (ra,rb) determine the same direction, for any nonzero r A direction in R n is determined by an ordered n-tuple of numbers ( x 0, x0 2,, x0 n), not all zero, called direction numbers The direction corresponds to all lines parallel to the line through the origin (0,0,,0) and the point ( x 0, x0 2,, x0 n) The direction numbers ( x 0, x 0 2,, x0 n) and the direction numbers ( rx 0, rx0 2,, rx0 n) determine the same direction, for any nonzero r If pick an r in the following way [ 0 (94) (95) (96) then r (x 0)2 + (x2 0)2 + + (x 0 n) 2 x 0 (97)
THE IMPLICIT FUNCTION THEOREM 9 cos γ x 0 (x 0 )2 + (x 0 2 )2 + + (x 0 n) 2 cos γ 2 cos γ n x 0 2 (x 0 )2 + (x 0 2 )2 + + (x 0 n) 2 x 0 n (x 0 )2 + (x 0 2 )2 + + (x 0 n) 2 (98) where γ j is the angle of the vector running through the origin and the point ( x 0, x0 2,, x0 n) with the x j axis With this choice of r, the direction numbers (ra,rb) are just the cosines of the angles that the line makes with the positive x,x 2, and x n axes These angles γ, γ 2, are called the direction angles, and their cosines (cos[γ, cos[γ 2, ) are called the direction cosines of that direction See figure They satisfy cos 2 [γ + cos 2 [γ 2 + + cos 2 [γ n FIGURE Direction numbers as cosines of vector angles with the respective axes x 2 05 0 x 0 x 0 x 3 x 2 x 3 05 0 0,0,0 x From equation 98, we can also write
20 THE IMPLICIT FUNCTION THEOREM x 0 ( ) x 0, x0 2,, x0 n x 0 (cos[γ, cos[γ 2,, cos[γ n ) ( x 0 cos[γ, x 0 cos[γ 2,, x 0 cos[γ n ) (99) Therefore x 0 x0 (cos[γ, cos[γ 2,, cos[γ n ) (00) which says that the direction cosines of x 0 are the components of the unit vector in the direction of x 0 Theorem 3 If θ is the angle between the vectors a and b, then 32 Planes inr n a b a b cos θ (0) 32 Planes through the origin A plane through the origin inr n is given implicitly by the equation p x 0 p x + p 2 x 2 + + p n x n 0 (02) 322 More general planes inr n A plane in R n through the point ( x 0, x0 2,, x0 n) is given implicitly by the equation p (x x 0 ) 0 p (x x 0 ) + p 2(x 2 x 0 2 ) + + p n(x n x 0 n) 0 (03) We say that the vector p is orthogonal to the vector ( x x 0) or x x 0 [ x 2 x 0 2 p p 2 p n 0 (04) x n x 0 n The coefficients [p,p 2,, p n are the direction numbers of a line L passing through the point x 0 or alternatively they are the coordinates of a point on a line through the origin that is parallel to L If p is equal to -, we can write equation 04 as follows x x 0 p 2(x 2 x 0 2 ) + p 3(x 2 x 0 3 ) + + p n(x n x 0 n) (05)
THE IMPLICIT FUNCTION THEOREM 2 33 The general equation for a tangent hyperplane Theorem 4 Suppose D R n is open, ( x 0, x0 2,, n) x0 D, φ : D R is continuously differentiable, and Dφ ( x 0, x0 2,, ( n) x0 0 Suppose φ x 0, x2 0,, n) x0 c Then consider the level surface of the function φ(x, x 2,, x n ) φ ( x 0, x0 2,, n) x0 c Denote this level service by M φ ({c}) which consists ( all all values of (x, x 2,, x n ) such that φ(x, x 2,, x n ) c Then the tangent hyperplane at x 0, x2 0,, ) x0 n of M is given by that is φ(x 0 ) is nomal to the tangent hyperplane T x 0 M {x R n : Dφ(x 0 )(x x 0 ) 0} (06) Proof Because Dφ(x 0 ) 0, we may assume without loss of generality that x (x 0 ) 0 Apply the implicit function theorem (Theorem ) to the function φ c We then know that the level set can be expressed as a graph of the function x ψ (x 2, x 3,, x n ) for some continuous function ψ Now the tangent plane to the graph x ψ (x 2, x 3,, x n ) at the point x 0 [ψ (x2 0, x0 3,, x0 n), x2 0, x0 3, x0 n is the graph of the gradient Dψ (x 0 2, x0 3,, x0 n) translated so that it passes through x 0 Using equation 05 where ψ ( x 0 2, x 0 3,, x0 n) are the direction numbers we obtain x x 0 n k2 ψ ( ) x2 0 x, x0 3,, x0 n (x k x 0 k ) (07) k Now make the substitution from equation 4 in equation 07 to obtain φ x x 0 n k2 n k2 Rearrange equation 08 to obtain φ(ψ (x2 0, x0 3,, x0 n),x2 0, x0 3,, x0 n) (x φ(ψ (x2 0, x0 3,, x0 n),x2 0, x0 3,, k x 0 x0 k ) n) x φ(x 0 ) (x φ(x 0 ) k x 0 k ) x (08) n φ(x 0 ) (x x 0 k ) + φ(x0 ) (x x 0 k2 k x ) Dφ(x0 )(x x 0 ) 0 (09) 34 Example Consider a function y f (x, x 2,, x n ) (0) evaluated at the point ( x 0, x0 2,, x0 n) y 0 f (x 0, x0 2,, x0 n) () The equation of the hyperplane tangent to the surface at this point is given by
22 THE IMPLICIT FUNCTION THEOREM (y y 0 ) f x (x x 0 ) + f (x 2 x 0 2 ) + + f x n (x n x 0 n) f x (x x 0 ) + f (x 2 x 0 2 ) + + f x n (x n x 0 n) ( y y 0 ) 0 f(x, x 2,, x n ) f(x 0, x0 2,, x0 n)+ f x (x x 0 )+ f (x 2 x 0 2 )+ + f x n (x n x 0 n) where the partial derivatives f x i are evaluated at ( x 0, x0 2,, x0 n) We can also write this as Compare this to the tangent equation with one variable (2) f (x) f (x 0 ) f (x 0 )(x x 0 ) (3) and the tangent plane with two variables y f (x 0 ) f (x 0 )(x x 0 ) y f (x 0 ) + f (x 0 )(x x 0 ) (4) y f(x 0, x0 2 ) f x (x x 0 ) + f (x 2 x 0 2 ) y f(x 0, x0 2 ) + f x (x x 0 ) + f (x 2 x 0 2 ) 35 Vector functions of a real variable Let x, x 2,,x n be functions of a variable t defined on an interval I and write (5) x(t) (x (t), x 2 (t),, x n (t)) (6) The function t x(t) is a transformation from R to R n and is called a vector function of a real variable As x runs through I, x(t) traces out a set of points in n-space called a curve In particular, if we put x (t) x 0 + t a, x 2 (t) x 0 2 + t a 2,, x n (t) x 0 n + t a n (7) the resulting curve is a straight line in n-space It passes through the point x 0 ( x 0, x0 2,, x0 n) at t 0, and it is in the direction of the vector a ( a, a 2,, a n ) We can define the derivative of x(t) as d x d t ẋ(t) ( d x (t) d t, d x 2(t) d t,, d x n(t) d t If K is a curve in n-space traced out by x(t), then ẋ(t) can be interpreted as a vector tangent to K at the point t 36 Tangent vectors Consider the function r(t) (x (t), x 2 (t),, x n (t))and its derivative ṙ(t) (ẋ (t), ẋ 2 (t),, ẋ n (t)) This function traces out a curve in R n We can call the curve K For fixed t, ) (8) r(t + h) r(t) ṙ(t) lim h 0 h (9)
THE IMPLICIT FUNCTION THEOREM 23 If ṙ(t) 0, then for t + h close enough to t, the vector r(t+h) - r(t) will not be zero As h tends to 0, the quantity r(t+h) - r(t) will come closer and closer to serving as a direction vector for the tangent to the curve at the point P This can be seen in figure 2 FIGURE 2 Tangent to a Curve It may be tempting to take this difference as approximation of the direction of the tangent and then take the limit lim [ r(t + h) r(t) (20) h 0 and call the limit the direction vector for the tangent But the limit is zero and the zero vector has no direction Instead we use the a vector that for small h has a greater length, that is we use r(t + h) r(t) h For any real number h, this vector is parallel to r(t+h) - r(t) Therefore its limit ṙ(t) lim h 0 r(t + h) r(t) h can be taken as a direction vector for the tangent line (2) (22)
24 THE IMPLICIT FUNCTION THEOREM 37 Tangent lines, level curves and gradients Consider the equation f (x) f (x, x 2,, x n ) c (23) which defines a level curve for the function f Let x 0 ( x 0, x0 2,, x0 n) be a point on the surface and let x(t) ( x (t), x 2 (t),, x n (t)) represent a differentiable curve K lying on the surface and passing through x 0 at t t 0 Because K lies on the surface, f [x(t) f [x (t), x 2 (t),,,, x n (t) c for all t Now differentiate equation 23 with respect to t f (x) x x t + f (x) t + + f (x) t 0 f (x 0 ) ẋ(t 0 ) 0 Because the vector ẋ(t) ( ẋ (t), ẋ 2 (t),, ẋ n (t)) has the same direction as the tangent to the curve K at x 0, the gradient of f is orthogonal to the curve K at the point x 0 Theorem 5 Suppose f(x, x 2,, x n ) is continuous and differentiable in a domain A and suppose that x(x, x 2,, x n ) A The gradient ( f f f,,, f ) x x n has the following properties at points x where f(x) 0 () f(x) is orthogonal to the level surfaces f(x, x 2,, x n ) c (2) f(x) points in the direction of the steepest increase on f (3) f(x) is the value of the directional derivative in the direction of steepest increase (24)
THE IMPLICIT FUNCTION THEOREM 25 REFERENCES [ Hadley, G Linear Algebra Reading, MA: Addison-Wesley, 96 [2 Sydsaeter, Knut Topics in Mathematical Analysis for Economists New York: Academic Press, 98