Multivariable Calculus Quiz: Second Derivative Test And Hessian
16 questions · exam conditions
0:00
Second Derivative Test And HessianQuestion 1 of 16

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?

PP is a local minimum because fxx>0f_{xx} > 0 and fyy>0f_{yy} > 0.
PP is a local maximum because the trace of the Hessian fxx+fyyf_{xx} + f_{yy} is positive.
PP is a saddle point because fxyf_{xy} is negative.
The test is inconclusive.
← Back to quizzes

Multivariable Calculus Quiz

Multivariable Calculus Quiz: Second Derivative Test And Hessian

Practice Second Derivative Test And Hessian in Multivariable Calculus with focused quiz questions that help you check what you know, review explanations, and build confidence with test-style prompts.

What this quiz covers

This quiz focuses on Second Derivative Test And Hessian, giving you a quick way to practice the rules, question types, and explanations that matter most for Multivariable Calculus.

How to use this quiz

Try each quiz question before looking at the correct answer. Use the explanations to review missed ideas, then come back to similar questions until the pattern feels familiar.

All questions

Question 1

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?

  1. PP is a local minimum because fxx>0f_{xx} > 0 and fyy>0f_{yy} > 0.
  2. PP is a local maximum because the trace of the Hessian fxx+fyyf_{xx} + f_{yy} is positive.
  3. PP is a saddle point because fxyf_{xy} is negative.
  4. The test is inconclusive. (correct answer)
Explanation: 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=1616=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.

Question 2

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)?

  1. 22
  2. 44 (correct answer)
  3. 88
  4. 1616
Explanation: 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 16c2=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).

Question 3

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?

  1. k>0k > 0 or k<5k < -5
  2. k>5k > 5 or k<0k < 0
  3. 0<k<50 < k < 5
  4. 5<k<0-5 < k < 0 (correct answer)
Explanation: 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=5kk2D = (-5)(k) - (k)^2 = -5k - k^2. We need to solve the inequality D>0D > 0: 5kk2>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.

Question 4

The function f(x,y)=y2x4f(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?

  1. A local minimum, because f(x,y)0f(x,y) \ge 0 along the yy-axis.
  2. A local maximum, because f(x,y)0f(x,y) \le 0 along the xx-axis.
  3. A saddle point. (correct answer)
  4. The nature cannot be determined without a higher-order derivative test.
Explanation: 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 y0y \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 x0x \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.

Question 5

A function is defined by f(x,y)=x33x+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)?

  1. k>0k > 0 (correct answer)
  2. k<0k < 0
  3. k=0k = 0
  4. No values of kk exist.
Explanation: First, calculate the second partial derivatives of f(x,y)f(x, y). fx=3x23    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.

Question 6

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?

  1. Local maximum (correct answer)
  2. Local minimum
  3. Saddle point
  4. The information is insufficient to classify the point.
Explanation: The Hessian matrix is H=(fxxfxyfyxfyy)H = \begin{pmatrix} f_{xx} & f_{xy} \\ f_{yx} & f_{yy} \end{pmatrix}. The determinant is det(H)=fxxfyyfxy2=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>fxy20f_{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.

Question 7

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?

  1. Its determinant is negative.
  2. Its determinant is positive and its diagonal entries are positive.
  3. Its determinant is positive and its diagonal entries are negative. (correct answer)
  4. Its determinant is zero.
Explanation: 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)20P_{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.

Question 8

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)?

  1. The point is definitely a saddle point since one eigenvalue is zero and the other is nonzero
  2. The point could be a local extremum if the nonzero eigenvalue and higher-order terms align appropriately
  3. The standard second derivative test is inconclusive, requiring analysis of higher-order derivatives (correct answer)
  4. The function has a degenerate critical point where the gradient computation fails
Explanation: 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.

Question 9

For g(x,y)=e(x2+y2)(x2+2xy+y21)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?

  1. The exponential factor creates discontinuities in the second partial derivatives at the origin
  2. The Hessian determinant equals zero due to the quadratic form (x+y)2(x+y)^2, making the standard test inconclusive (correct answer)
  3. The function is not differentiable at the origin due to the product of exponential and polynomial terms
  4. The critical point coincides with a zero of the polynomial factor, requiring specialized analysis techniques
Explanation: 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.

Question 10

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=b24ac=16D = b^2 - 4ac = 16. Which constraint on the coefficients ensures this critical point is a saddle point?

  1. b2>4acb^2 > 4ac and a>0a > 0, since the discriminant condition dominates the classification
  2. b24ac>0b^2 - 4ac > 0 with no additional constraints needed, as this always indicates a saddle point
  3. b24ac=16>0b^2 - 4ac = 16 > 0 automatically makes it a saddle point regardless of individual coefficient signs
  4. The given information is insufficient because the problem notation confuses quadratic form discriminant with Hessian determinant (correct answer)
Explanation: The student has confused the discriminant of a quadratic form (b24acb^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=4acb2D = 4ac - b^2. The condition b24ac=16>0b^2 - 4ac = 16 > 0 means D=16<0D = -16 < 0, which would indicate a saddle point. However, the problem statement incorrectly identifies b24acb^2 - 4ac as the result of the 'second derivative test,' creating confusion. The correct interpretation requires recognizing this notational error.

Question 11

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)?

  1. A local maximum, because at least one eigenvalue is negative.
  2. A local minimum, because at least one eigenvalue is positive.
  3. A saddle point, because the eigenvalues have opposite signs. (correct answer)
  4. The test is inconclusive, because the sum of the eigenvalues is positive.
Explanation: 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.

Question 12

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?

  1. Local maximum
  2. Local minimum
  3. Saddle point (correct answer)
  4. The nature cannot be determined without knowing the value of gxy(P)g_{xy}(P).
Explanation: 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)215D = -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.

Question 13

How many local minima does the function f(x,y)=x4+y44xy+1f(x, y) = x^4 + y^4 - 4xy + 1 have?

  1. 0
  2. 1
  3. 2 (correct answer)
  4. 3
Explanation: First, find the critical points by setting the gradient of ff to zero. fx=4x34y=0    y=x3f_x = 4x^3 - 4y = 0 \implies y = x^3 fy=4y34x=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 x9x=x(x81)=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=144x2y216D(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)216=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)216=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.

Question 14

Consider the function f(x,y)=ex2y2+2x4y5f(x, y) = e^{-x^2-y^2+2x-4y-5}. Using the Second Derivative Test, classify the sole critical point of this function.

  1. Local minimum
  2. Local maximum (correct answer)
  3. Saddle point
  4. The test is inconclusive.
Explanation: 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)=x2y2+2x4y5g(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=2y4=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).

Question 15

For the function p(x,y)=x2+xy+y26x3y+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?

  1. Check the sign of pxxp_{xx} at the critical point to distinguish between minimum and maximum (correct answer)
  2. Evaluate the function value at the critical point to determine if it's above or below the surface
  3. Compute the gradient magnitude to ensure the critical point is not degenerate
  4. Verify that higher-order partial derivatives exist and are continuous in a neighborhood
Explanation: The critical point is found by solving px=2x+y6=0p_x = 2x + y - 6 = 0 and py=x+2y3=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=41=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.

Question 16

The function h(x,y)=x4+y44x2y2+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?

  1. The standard second derivative test is sufficient since the discriminant is non-zero
  2. Higher-order derivatives must be examined because the Hessian is degenerate at the origin
  3. The function can be rewritten as (x2y2)2+x2+y2(x^2-y^2)^2 + x^2 + y^2, immediately showing it's a local minimum (correct answer)
  4. Directional derivatives along coordinate axes provide complete information about the critical point type
Explanation: 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)=(x2y2)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 (D0D \neq 0).