SECOND DERIVATIVE TEST for CONSTRAINED EXTREMA This

SECOND DERIVATIVE TEST for CONSTRAINED EXTREMA This

SECOND DERIVATIVE TEST FOR CONSTRAINED EXTREMA This handout presents the second derivative test for a local extrema of a Lagrange multiplier problem. The Section 1 presents a geometric motivation for the criterion involving the second derivatives of both the function f and the constraint function g. The main result is given in section 3, with the special cases of one constraint given in Sections 4 and 5 for two and three dimensions respectively. The result is given in terms of the determinant of what is called the bordered Hessian matrix, which is defined in Section 2 using the Lagrangian function. 1. Intuitive Reason for Terms in the Test In order to understand why the conditions for a constrained extrema involve the second partial derivatives of both the function maximized f and the constraint function g, we start with an example in two dimensions. Consider the extrema of f (x, y) = x2 + 4y2 on the constraint 1 = x2 + y2 = g(x, y). The four critical points found by Lagrange multipliers are (±1, 0) and (0, ±1). The points (±1, 0) are minima, f (±1, 0) = 1; the points (0, ±1) are maxima, f (0, ±1) = 2. The Hessian of f is the same for all points, f f 2 0 H f (x, y) = xx xy = . fyx fyy 0 8 Therefore the fact that some of the critical points are local minima and others are local maxima cannot depend on the second partial derivatives of f alone. The above figure displays the level curves 1 = g(x, y), and f (x, y) = C for C = (0.9)2, 1, (1.1)2, (1.9), 22, and (2.1)2 on one plot. The level curve f (x, y) = 1 intersects 1 = g(x, y) at (±1, 0). For nearby values of f , the level curve f (x, y) = (0.9)2 does not intersect 1 = g(x, y), while the level curve f (x, y) = (1.1)2 intersects 1 = g(x, y) in four points. Therefore, the points (±1, 0) are local minima for f . Notice that the level curve f (x, y) = 1 bends more sharply near (±1, 0) than the level curve for g and so the level curve for f lies inside the level curve for g. Since it lies inside the level curve for g and the gradient of f points outward, these points are local minima for f on the level curve of g. On the other hand, the level curve f (x, y) = 4 intersects 1 = g(x, y) at (0, ±1), f (x, y) = (1.9) intersects in four points, and f (x, y) = (2.1)2 does not intersect. Therefore, the points (0, ±1) are local maxima for f . Notice that the level curve f (x, y) = 4 bends less sharply near (0, ±1) than the level curve for g and so the level curve for f lies outside the level curve for g. Since it lies outside the level curve for g and the gradient of f points outward, these points are local maxima for f on the level curve of g. 1 2 CONSTRAINED EXTREMA Thus, the second partial derivatives of f are the same at both (±1, 0) and (0, ±1), but the sharpness with which the two level curves bend determines which are local maxima and which are local minima. This discussion motivates the fact that it is the comparison of the second partial derivatives of f and g which is relevant. 2. Lagrangian Function One way to getting the relevant matrix is to form the Lagrangian function, which is a combination of f and g. For the problem of finding the extrema (maxima or minima) of f (x) with ik constraints g`(x) = C` for 1 ≤ ` ≤ k , the Lagrangian function is defined to be the function Xk L(λ, x) = f (x) − λ` [g`(x) − C`] . `=1 The solution of the Lagrange multiplier problems is then a critical point of L, ∂ L ∗ ∗ ∗ (λ , x ) = −g`(x ) + C` = 0, for 1 ≤ ` ≤ k and ∂λ` ∂ L ∗ ∗ ∂ f ∗ Xk ∗ ∂g` ∗ (λ , x ) = (x ) − λ (x ) = 0 for 1 ≤ i ≤ n. = ` ∂xi ∂xi ` 1 ∂xi The second derivative test involves the matrix of all second partial derivatives of L, including those with ∂2 L respect to λ. In dimensions n greater than two, the test also involves submatrices. Notice that (λ∗, x∗) = ∂λ2 ∂2 L ∂g ∂g ∂g 0 and (λ∗, x∗) = − ` (x∗). We could use ` (x∗) in the matrix instead of − ` (x∗) it does not ∂λ`∂xi ∂xi ∂xi ∂xi change the determinant (both a row and a column are multiplied by minus one). The matrix of all second partial derivatives of L is called the bordered Hessian matrix because the the second derivatives of L with respect to the xi variables is bordered by the first order partial derivatives of g. The bordered Hessian matrix is defined to be ··· 0 0 -(g1)x1 ... -(g1)xn . . .. . 0 ··· 0 -(g ) ... -(g ) 0 -Dg (1) HL(λ∗, x∗) = k x1 k xn = -(g ) ··· -(g ) L ... L -DgT D L 1 x1 k x1 x1x1 x1xn x . . ··· -(g1)xn -(gk)xn L xn x1 ... L xn xn where all the partial derivatives are evaluated with x = x∗ and λ = λ∗. In the following, we use the notation 2 ∗ 2 ∗ ∗ 2 ∗ Pk ∗ 2 ∗ Dx L = Dx L(λ , x ) = D f (x ) − `=1 λ` D (g`)(x ) for this submatrix that appears in the bordered Hessian. 3. Derive Second Derivative Conditions The first section gave an intuitive reason why the second derivative test should involve the second deriva- tives of the constraint as well as the function being extremized. In this section, we derive the exact condition which involves the bordered Hessian defined in the last section. First, we should what the second derivative of f along a curve in the level of of the constraint function g. Then, we apply the result mentioned for a quadratic form on the null space of a linear map. ∗ ∗ = ∗ ∗ Lemma 1. Assume that x and λ (λ1, . , λk ) meet the first-order conditions of an extrema of f on the −1 ∗ 0 level set g`(x) = C` for 1 ≤ ` ≤ k. If r(t) is a curve in g (C) with r(0) = x and r (0) = v, then 2 " k # d T 2 ∗ X ∗ 2 ∗ T 2 ∗ ∗ f (r(t)) = v D f (x ) − λ D g`(x ) v = v D L(λ , x )v. dt2 ` x t=0 `=1 CONSTRAINED EXTREMA 3 Proof. Using the chain rule and product rule, n d 0 X ∂ f 0 f (r(t)) = D f (r(t))r (t) = (r(t))r (t) dt ∂x i i=1 i (by the chain rule) and 2 n n d X d ∂ f 0 X ∂ f 00 f (r(t)) = (r(t)) r (0) + (r(0))r (0) dt2 dt ∂x i ∂x i t=0 i=1 i t=0 i=1 i (by the product rule) 2 X ∂ f ∗ 0 0 ∗ 00 = (x )r (0)r (0) + D f (x )r (0) ∂x ∂x i j i=1,...,n i j j=1,...,n (by the chain rule) k 0 T 2 ∗ 0 X ∗ ∗ 00 = (r (0)) D f (x )r (0) + λ` D(g`)(x )r (0). `=1 2 ∗ Pk ∗ ∗ In the last equality, we used the definition of D f and the fact that D f (x ) = `=1 λ` D(g`)(x ). We can perform a similar calculation for the constraint equation 0 = g`(r(t)) whose derivatives are zero: d X ∂g` 0 0 = g (r(t)) = (r(t)) r (t), dt ` ∂x i i=1,...,n i 2 d X d ∂g` 0 0 = g`(r(t)) = (r(t)) r (t) dt2 dt ∂x i t=0 i=1,...,n i t=0 2 X ∂ g` ∗ 0 0 ∗ 00 = (x ) r (0)r (0) + D(g )(x )r (0), and ∂x ∂x i j ` i=1,...,n j i j=1,...,n ∗ ∗ 00 ∗ 0 T 2 ∗ 0 λ` D(g`)(x )r (0) = −λ` (r (0)) D (g`)(x )r (0). Substituting this equality into the expression for the second derivative of f (r(t)), 2 " # d T 2 ∗ X ∗ 2 ∗ f (r(t)) = v D f (x ) − λ D g`(x ) v, dt2 ` t=0 `=1,...,k 0 where v = r (0). This is what is claimed. The next theorem uses the above lemma to derive conditions for local maxima and minima in terms of 2 ∗ ∗ the second derivative of the Lagrangian Dx L on the set of vectors Nul(Dg(x )). n → 2 ≤ ≤ ∗ ∈ n ∗ = ∗ ∗ Theorem 2. Assume f, g` : R R are C for 1 ` k. Assume that x R and λ (λ1. , λk ) meet the first-order conditions of the Theorem of Lagrange on g−1(C). −1 ∗ T 2 ∗ ∗ a. If f has a local maximum on g (C) at x , then v Dx L v ≤ 0 for all v ∈ Nul(Dg(x )). −1 ∗ T 2 ∗ ∗ b. If f has a local minimum on g (C) at x , then v Dx L v ≥ 0 for all v ∈ Nul(Dg(x )). T 2 ∗ ∗ ∗ −1 c. If v Dx L v < 0 for all v ∈ Nul(Dg(x )) r {0}, then x is a strict local maximum of f on g (C). T 2 ∗ ∗ ∗ −1 d. If v Dx L v > 0 for all v ∈ Nul(Dg(x )) r {0}, then x is a strict local minimum of f on g (C). T 2 ∗ ∗ e. If v Dx L v is positive for some vector v ∈ Nul(Dg(x )) and negative for another such vector, then x∗ is neither a local maximum nor a local minimum of f on g−1(C).

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    9 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us