Second Derivative Test & Hessian - Multivariable Calculus

  1. A function f(x,y)f(x, y) has a critical point PP where fxx(P)=−5f_{xx}(P) = -5 and fxy(P)=fyy(P)f_{xy}(P) = f_{yy}(P). Let k=fxy(P)k = f_{xy}(P). For what values of kk does the Second Derivative Test classify the point PP as a local maximum?
    Answer: −5<k<0-5 < k < 0 For a critical point to be a local maximum, the Second Derivative Test requires two conditions: D>0D > 0 and fxx<0f_{xx} < 0. We are given fxx(P)=−5f_{xx}(P) = -5, so the second condition (fxx<0f_{xx} < 0) is already satisfied. We need to find the values of kk that make the discriminant DD positive. The discriminant is D=fxxfyy−(fxy)2D = f_{xx}f_{yy} - (f_{xy})^2. At point PP, we have fxx=−5f_{xx} = -5, fyy=kf_{yy} = k, and fxy=kf_{xy} = k. So, D=(−5)(k)−(k)2=−5k−k2D = (-5)(k) - (k)^2 = -5k - k^2. We need to solve the inequality D>0D > 0: −5k−k2>0-5k - k^2 > 0 Multiplying by -1 and reversing the inequality sign: k2+5k<0k^2 + 5k < 0 k(k+5)<0k(k+5) < 0 The roots of k(k+5)=0k(k+5)=0 are k=0k=0 and k=−5k=-5. The quadratic k(k+5)k(k+5) is a parabola opening upwards, so it is negative between its roots. Therefore, the inequality holds for −5<k<0-5 < k < 0.
  2. Consider the function f(x,y)=e−x2−y2+2x−4y−5f(x, y) = e^{-x^2-y^2+2x-4y-5}. Using the Second Derivative Test, classify the sole critical point of this function.
    Answer: Local maximum Since the exponential function eue^u is strictly increasing, the local extrema of f(x,y)f(x, y) will occur at the same points as the local extrema of its exponent, g(x,y)=−x2−y2+2x−4y−5g(x, y) = -x^2-y^2+2x-4y-5. We can analyze g(x,y)g(x,y) to classify the critical point. First, find the critical point by setting the partial derivatives of gg to zero: gx=−2x+2=0  ⟹  x=1g_x = -2x + 2 = 0 \implies x = 1 gy=−2y−4=0  ⟹  y=−2g_y = -2y - 4 = 0 \implies y = -2 The sole critical point is (1,−2)(1, -2). Next, find the second partial derivatives of gg: gxx=−2g_{xx} = -2 gyy=−2g_{yy} = -2 gxy=0g_{xy} = 0 These are constant for all (x,y)(x,y). The discriminant is D=gxxgyy−(gxy)2=(−2)(−2)−(0)2=4D = g_{xx}g_{yy} - (g_{xy})^2 = (-2)(-2) - (0)^2 = 4. Since D=4>0D = 4 > 0 and gxx=−2<0g_{xx} = -2 < 0, the function g(x,y)g(x,y) has a local maximum at (1,−2)(1, -2). Therefore, f(x,y)f(x, y) also has a local maximum at (1,−2)(1, -2).
  3. Consider the system where f(x,y)=ax2+bxy+cy2+dx+ey+kf(x,y) = ax^2 + bxy + cy^2 + dx + ey + k has a critical point at (1,−2)(1,-2) and the second derivative test gives D=b2−4ac=16D = b^2 - 4ac = 16. Which constraint on the coefficients ensures this critical point is a saddle point?
    Answer: The given information is insufficient because the problem notation confuses quadratic form discriminant with Hessian determinant The student has confused the discriminant of a quadratic form (b2−4acb^2 - 4ac) with the Hessian determinant. For f(x,y)=ax2+bxy+cy2+dx+ey+kf(x,y) = ax^2 + bxy + cy^2 + dx + ey + k, the Hessian matrix is H=(2abb2c)H = \begin{pmatrix} 2a & b \\ b & 2c \end{pmatrix} with determinant D=4ac−b2D = 4ac - b^2. The condition b2−4ac=16>0b^2 - 4ac = 16 > 0 means D=−16<0D = -16 < 0, which would indicate a saddle point. However, the problem statement incorrectly identifies b2−4acb^2 - 4ac as the result of the 'second derivative test,' creating confusion. The correct interpretation requires recognizing this notational error.
  4. A function f(x,y)f(x,y) has the property that its Hessian matrix at a critical point (a,b)(a,b) satisfies det⁡(H)=0\det(H) = 0 but tr(H)≠0\text{tr}(H) \neq 0. What can be concluded about the behavior of ff near (a,b)(a,b)?
    Answer: The standard second derivative test is inconclusive, requiring analysis of higher-order derivatives When det⁡(H)=0\det(H) = 0, the Hessian has at least one zero eigenvalue, making the standard second derivative test inconclusive. The condition tr(H)≠0\text{tr}(H) \neq 0 means the sum of eigenvalues is nonzero, so if one eigenvalue is zero, the other must be nonzero. However, this doesn't automatically determine the point's nature - it could still be a minimum, maximum, or saddle point depending on the behavior along the eigenvector corresponding to the zero eigenvalue, which requires examining higher-order terms. Choice A incorrectly assumes zero eigenvalue implies saddle point. Choice B is overly specific. Choice D confuses critical point classification with gradient computation.
  5. For the function p(x,y)=x2+xy+y2−6x−3y+5p(x,y) = x^2 + xy + y^2 - 6x - 3y + 5, after finding the critical point and computing the Hessian determinant, what additional step is necessary to complete the classification?
    Answer: Check the sign of pxxp_{xx} at the critical point to distinguish between minimum and maximum The critical point is found by solving px=2x+y−6=0p_x = 2x + y - 6 = 0 and py=x+2y−3=0p_y = x + 2y - 3 = 0, giving (3,0)(3,0). The Hessian has pxx=2p_{xx} = 2, pyy=2p_{yy} = 2, pxy=1p_{xy} = 1, so D=4−1=3>0D = 4 - 1 = 3 > 0. Since D>0D > 0, we need to check pxxp_{xx} to determine the type: pxx=2>0p_{xx} = 2 > 0 indicates a local minimum. Choice B is irrelevant for classification. Choice C misunderstands 'degenerate critical point'. Choice D refers to sufficient conditions for the test's validity, which are typically assumed.
  6. A function g(x,y)g(x,y) has a critical point at P(a,b)P(a,b) where gxx(P)=−3g_{xx}(P) = -3 and gyy(P)=5g_{yy}(P) = 5. What is the nature of this critical point?
    Answer: Saddle point The discriminant for the Second Derivative Test is D=gxxgyy−(gxy)2D = g_{xx}g_{yy} - (g_{xy})^2. At the point PP, we have gxx(P)=−3g_{xx}(P) = -3 and gyy(P)=5g_{yy}(P) = 5. Let's compute the product gxxgyy=(−3)(5)=−15g_{xx}g_{yy} = (-3)(5) = -15. So, the discriminant is D=−15−(gxy)2D = -15 - (g_{xy})^2. Since gxyg_{xy} is a real-valued function, (gxy)2(g_{xy})^2 must be greater than or equal to zero. Therefore, D=−15−(gxy)2≤−15D = -15 - (g_{xy})^2 \le -15. Because DD is always negative, regardless of the value of gxy(P)g_{xy}(P), the critical point PP must be a saddle point. The information given is sufficient.
  7. Let HH be the Hessian matrix of a function f(x,y)f(x,y) at a critical point PP. If det⁡(H)>0\det(H) > 0 and tr(H)<0\mathrm{tr}(H) < 0, where tr(H)\mathrm{tr}(H) is the trace of HH, what is the nature of the point PP?
    Answer: Local maximum The Hessian matrix is H=(fxxfxyfyxfyy)H = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{pmatrix}. The determinant is det⁡(H)=fxxfyy−fxy2=D\det(H) = f_{xx}f_{yy} - f_{xy}^2 = D. The trace is tr(H)=fxx+fyy\mathrm{tr}(H) = f_{xx} + f_{yy}. We are given D>0D > 0. This implies that the point is either a local minimum or a local maximum. It also implies that fxxfyy>fxy2≥0f_{xx}f_{yy} > f_{xy}^2 \ge 0, so fxxf_{xx} and fyyf_{yy} must have the same sign. We are also given tr(H)=fxx+fyy<0\mathrm{tr}(H) = f_{xx} + f_{yy} < 0. Since fxxf_{xx} and fyyf_{yy} have the same sign and their sum is negative, they must both be negative. In the Second Derivative Test, the conditions D>0D > 0 and fxx<0f_{xx} < 0 indicate a local maximum. Therefore, PP is a local maximum.
  8. Let PP be a critical point of a function f(x,y)f(x,y) with continuous second partial derivatives. At point PP, it is known that fxx=2f_{xx} = 2, fyy=8f_{yy} = 8, and fxy=−4f_{xy} = -4. Which of the following can be concluded about the point PP using the Second Derivative Test?
    Answer: The test is inconclusive. To classify the critical point PP, we must compute the discriminant D=fxxfyy−(fxy)2D = f_{xx}f_{yy} - (f_{xy})^2. Given the values at PP: fxx=2f_{xx} = 2, fyy=8f_{yy} = 8, and fxy=−4f_{xy} = -4. D=(2)(8)−(−4)2=16−16=0D = (2)(8) - (-4)^2 = 16 - 16 = 0. When the discriminant DD is zero, the Second Derivative Test is inconclusive. It is not possible to determine from this test alone whether the point is a minimum, maximum, or saddle point. Distractor A is incorrect because the conditions fxx>0f_{xx}>0 and fyy>0f_{yy}>0 are not sufficient; the test also requires D>0D>0. Distractor B incorrectly uses the trace of the Hessian. Distractor C incorrectly links the sign of fxyf_{xy} to the classification.
  9. For g(x,y)=e−(x2+y2)(x2+2xy+y2−1)g(x,y) = e^{-(x^2+y^2)}(x^2 + 2xy + y^2 - 1), the critical point analysis reveals that the origin requires special attention. What makes the classification at (0,0)(0,0) particularly challenging?
    Answer: The Hessian determinant equals zero due to the quadratic form (x+y)2(x+y)^2, making the standard test inconclusive At (0,0): g(0,0)=e0(−1)=−1g(0,0) = e^0(-1) = -1 and ∇g(0,0)=(0,0)\nabla g(0,0) = (0,0), confirming it's critical. The quadratic term x2+2xy+y2=(x+y)2x^2 + 2xy + y^2 = (x+y)^2 creates a special structure. Computing the Hessian at (0,0): the second partial derivatives involve terms that make the determinant zero, rendering the standard second derivative test inconclusive. The behavior along the line x+y=0x+y=0 versus other directions requires higher-order analysis. Choice A is incorrect - exponential functions are infinitely differentiable. Choice C is wrong - the function is smooth everywhere.
  10. The Hessian matrix of a function f(x,y)f(x, y) at a critical point (a,b)(a, b) has eigenvalues λ1=−3\lambda_1 = -3 and λ2=4\lambda_2 = 4. What is the nature of the critical point (a,b)(a, b)?
    Answer: A saddle point, because the eigenvalues have opposite signs. The determinant of the Hessian matrix, DD, is the product of its eigenvalues. At the critical point (a,b)(a, b), D=λ1λ2=(−3)(4)=−12D = \lambda_1 \lambda_2 = (-3)(4) = -12. According to the Second Derivative Test, if D<0D < 0, the critical point is a saddle point. The condition that eigenvalues have opposite signs is equivalent to their product being negative, which means D<0D<0. Therefore, (a,b)(a, b) is a saddle point. For a local maximum, both eigenvalues must be negative. For a local minimum, both must be positive. An inconclusive test corresponds to D=0D=0, meaning at least one eigenvalue is zero.
  11. How many local minima does the function f(x,y)=x4+y4−4xy+1f(x, y) = x^4 + y^4 - 4xy + 1 have?
    Answer: 2 First, find the critical points by setting the gradient of ff to zero. fx=4x3−4y=0  ⟹  y=x3f_x = 4x^3 - 4y = 0 \implies y = x^3 fy=4y3−4x=0  ⟹  x=y3f_y = 4y^3 - 4x = 0 \implies x = y^3 Substitute the first equation into the second: x=(x3)3=x9x = (x^3)^3 = x^9. This gives x9−x=x(x8−1)=0x^9 - x = x(x^8 - 1) = 0. The real solutions are x=0,x=1,x=−1x=0, x=1, x=-1. The corresponding critical points are (0,0)(0,0), (1,1)(1,1), and (−1,−1)(-1,-1). Next, apply the Second Derivative Test. The second partial derivatives are: fxx=12x2f_{xx} = 12x^2, fyy=12y2f_{yy} = 12y^2, fxy=−4f_{xy} = -4. The discriminant is D(x,y)=(12x2)(12y2)−(−4)2=144x2y2−16D(x,y) = (12x^2)(12y^2) - (-4)^2 = 144x^2y^2 - 16. 1. At (0,0)(0,0): D(0,0)=−16<0D(0,0) = -16 < 0. This is a saddle point. 2. At (1,1)(1,1): D(1,1)=144(1)2(1)2−16=128>0D(1,1) = 144(1)^2(1)^2 - 16 = 128 > 0. And fxx(1,1)=12(1)2=12>0f_{xx}(1,1) = 12(1)^2 = 12 > 0. This is a local minimum. 3. At (−1,−1)(-1,-1): D(−1,−1)=144(−1)2(−1)2−16=128>0D(-1,-1) = 144(-1)^2(-1)^2 - 16 = 128 > 0. And fxx(−1,−1)=12(−1)2=12>0f_{xx}(-1,-1) = 12(-1)^2 = 12 > 0. This is also a local minimum. Thus, the function has two local minima.
  12. The function h(x,y)=x4+y4−4x2y2+x2+y2h(x,y) = x^4 + y^4 - 4x^2y^2 + x^2 + y^2 has a critical point at the origin. To determine its nature, which approach gives the most definitive conclusion?
    Answer: The function can be rewritten as (x2−y2)2+x2+y2(x^2-y^2)^2 + x^2 + y^2, immediately showing it's a local minimum Computing the Hessian at (0,0): hxx(0,0)=2h_{xx}(0,0) = 2, hyy(0,0)=2h_{yy}(0,0) = 2, hxy(0,0)=0h_{xy}(0,0) = 0. The discriminant is D=4>0D = 4 > 0 and hxx>0h_{xx} > 0, suggesting a local minimum by the standard test. However, the key insight is recognizing the algebraic form: h(x,y)=(x2−y2)2+x2+y2h(x,y) = (x^2-y^2)^2 + x^2 + y^2. Since both terms are non-negative and equal zero only at (0,0), this definitively proves (0,0) is a global minimum. Choice A is technically correct but misses the simpler approach. Choice B is incorrect since the Hessian is not degenerate (D≠0D \neq 0).
  13. The profit PP from producing xx units of product A and yy units of product B is given by a function P(x,y)P(x,y). At the production level (x0,y0)(x_0, y_0) that maximizes profit, the Hessian matrix of PP is evaluated. Which of the following properties must the Hessian matrix have at (x0,y0)(x_0, y_0), assuming the Second Derivative Test is conclusive?
    Answer: Its determinant is positive and its diagonal entries are negative. For a function of two variables to have a local maximum at a critical point, the Second Derivative Test requires two conditions to be met: 1. The discriminant D=PxxPyy−(Pxy)2D = P_{xx}P_{yy} - (P_{xy})^2 must be positive. The discriminant is the determinant of the Hessian matrix, so the determinant must be positive. 2. The second partial derivative PxxP_{xx} must be negative. If D>0D > 0, then PxxPyy>(Pxy)2≥0P_{xx}P_{yy} > (P_{xy})^2 \ge 0, which means PxxP_{xx} and PyyP_{yy} must have the same sign. Since PxxP_{xx} must be negative for a maximum, PyyP_{yy} must also be negative. Thus, the diagonal entries of the Hessian (PxxP_{xx} and PyyP_{yy}) must be negative. Therefore, to maximize profit, the Hessian must have a positive determinant and negative diagonal entries.
  14. A function f(x,y)f(x,y) has a critical point at the origin (0,0)(0,0). At this point, fxx(0,0)=2f_{xx}(0,0) = 2 and fyy(0,0)=8f_{yy}(0,0)=8. The Second Derivative Test is inconclusive for this point. Which of the following could be the value of fxy(0,0)f_{xy}(0,0)?
    Answer: 44 The Second Derivative Test is inconclusive when the discriminant D=fxxfyy−(fxy)2D = f_{xx}f_{yy} - (f_{xy})^2 is equal to zero. We are given the values of the second partial derivatives at the origin: fxx(0,0)=2f_{xx}(0,0) = 2 and fyy(0,0)=8f_{yy}(0,0) = 8. Let c=fxy(0,0)c = f_{xy}(0,0). We set the discriminant to zero: D=(2)(8)−c2=0D = (2)(8) - c^2 = 0. This simplifies to 16−c2=016 - c^2 = 0, which means c2=16c^2 = 16. The possible values for cc are c=4c=4 and c=−4c=-4. Of the answer choices provided, only 4 is a possible value for fxy(0,0)f_{xy}(0,0).
  15. A function is defined by f(x,y)=x3−3x+y3+ky2f(x, y) = x^3 - 3x + y^3 + ky^2, where kk is a real constant. This function has a critical point at (1,0)(1, 0). For which values of kk does the Second Derivative Test guarantee that ff has a local minimum at (1,0)(1, 0)?
    Answer: k>0k > 0 First, calculate the second partial derivatives of f(x,y)f(x, y). fx=3x2−3  ⟹  fxx=6xf_x = 3x^2 - 3 \implies f_{xx} = 6x fy=3y2+2ky  ⟹  fyy=6y+2kf_y = 3y^2 + 2ky \implies f_{yy} = 6y + 2k fxy=0f_{xy} = 0 Next, evaluate these at the critical point (1,0)(1, 0): fxx(1,0)=6(1)=6f_{xx}(1, 0) = 6(1) = 6 fyy(1,0)=6(0)+2k=2kf_{yy}(1, 0) = 6(0) + 2k = 2k fxy(1,0)=0f_{xy}(1, 0) = 0 The discriminant is D(x,y)=fxxfyy−(fxy)2D(x, y) = f_{xx}f_{yy} - (f_{xy})^2. At (1,0)(1, 0), we have: D(1,0)=(6)(2k)−(0)2=12kD(1, 0) = (6)(2k) - (0)^2 = 12k. For a local minimum, the Second Derivative Test requires D>0D > 0 and fxx>0f_{xx} > 0. We have fxx(1,0)=6>0f_{xx}(1, 0) = 6 > 0, so this condition is met. We also need D>0D > 0, which means 12k>012k > 0, or k>0k > 0.
  16. The function f(x,y)=y2−x4f(x, y) = y^2 - x^4 has a critical point at (0,0)(0, 0). At this point, the Second Derivative Test is inconclusive because the discriminant D=0D=0. By analyzing the function's behavior near (0,0)(0, 0), what is the nature of this critical point?
    Answer: A saddle point. The Second Derivative Test is inconclusive since fxx=0,fyy=2,fxy=0f_{xx}=0, f_{yy}=2, f_{xy}=0 at (0,0)(0,0), so D=0D=0. We must analyze the function's behavior near the critical point (0,0)(0,0). The value of the function at the critical point is f(0,0)=0f(0,0) = 0. Consider approaching the origin along different paths: 1. Along the yy-axis (where x=0x=0): f(0,y)=y2f(0, y) = y^2. For any y≠0y \neq 0, f(0,y)>0f(0, y) > 0. This suggests a possible local minimum. 2. Along the xx-axis (where y=0y=0): f(x,0)=−x4f(x, 0) = -x^4. For any x≠0x \neq 0, f(x,0)<0f(x, 0) < 0. This suggests a possible local maximum. Since the function takes on values greater than f(0,0)f(0,0) and values less than f(0,0)f(0,0) in any arbitrarily small neighborhood of the origin, the point (0,0)(0,0) is a saddle point. The distractors represent incomplete analyses.

Start this quiz