Multivariable calculus

Partial Derivatives of 2x^2 - 3xy + 5y^2

For f(x, y) = 2x^2 - 3xy + 5y^2 the partial with respect to x is 4x - 3y, and the partial with respect to y is -3x + 10y. Both partials are linear, so the second partials are the constants 4, 10, and -3, and the only critical point is the origin.

f(x,y)=2x23xy+5y2f(x,y) = 2x^2 - 3xy + 5y^2
fx=4x3y\frac{\partial f}{\partial x} = 4x - 3y
fy=3x+10y\frac{\partial f}{\partial y} = -3x + 10y

Differentiating a quadratic form

Every term is degree two, so every partial is degree one. Holding yy fixed, the term 5y25y^2 is a constant and contributes nothing, while 3xy-3xy contributes its constant multiplier 3y-3y.

fx=4x3y,fy=3x+10y\frac{\partial f}{\partial x} = 4x - 3y, \qquad \frac{\partial f}{\partial y} = -3x + 10y

At (1,2)(1,2) these evaluate to 46=24 - 6 = -2 and 3+20=17-3 + 20 = 17. The function is climbing hard in the yy direction there and drifting down in xx.

Quadratic forms like this one are the model every second derivative test is built on, because a smooth function near a critical point looks like a quadratic form plus a small error.

The mistake: losing the sign on the cross term

The 3xy-3xy term is where marks are lost. Two errors show up repeatedly: dropping the minus sign, and keeping the wrong letter.

  • x(3xy)=3y\frac{\partial}{\partial x}(-3xy) = -3y, not 3x-3x and not +3y+3y.
  • y(3xy)=3x\frac{\partial}{\partial y}(-3xy) = -3x.
  • The coefficient 3-3 carries through untouched in both cases.

A quick check: the mixed partials must agree. Differentiating 4x3y4x - 3y with respect to yy gives 3-3, and differentiating 3x+10y-3x + 10y with respect to xx also gives 3-3. If your two answers give different mixed partials, one of the cross-term signs is wrong.

What the constant Hessian tells you

Because the partials are linear, the second partials are numbers rather than functions.

fxx=4,fyy=10,fxy=fyx=3f_{xx} = 4, \qquad f_{yy} = 10, \qquad f_{xy} = f_{yx} = -3

The discriminant is fxxfyyfxy2=409=31>0f_{xx}f_{yy} - f_{xy}^2 = 40 - 9 = 31 > 0 with fxx>0f_{xx} > 0, so the surface is a bowl everywhere, not just near one point. Setting both partials to zero gives the single solution (0,0)(0,0), the vertex of that bowl.

Since f(0,0)=0f(0,0) = 0 and the form is positive definite, f(x,y)>0f(x,y) > 0 at every other point in the plane. That is a global minimum, which quadratic forms hand you for free.

Frequently asked questions

Why are both partials linear?

Differentiation drops the degree of every term by one. Since each term of ff has total degree two, each surviving term in a partial has total degree one, so both partials are linear functions of xx and yy.

Where is the only critical point?

Solving 4x3y=04x - 3y = 0 together with 3x+10y=0-3x + 10y = 0 gives x=y=0x = y = 0. The system has determinant 4(10)(3)(3)=3104(10) - (-3)(-3) = 31 \neq 0, so the origin is the unique solution.