Critical Points

The critical point can be a maximum, minimum or neither

If f is differentiable at x=a that attains a maximum or minimum value at x=a, then f(a)=0

If f is twice differentiable at a critical point (a,f(a)) then:

Multi-Variable

If f(x,y) has continuous first partial derivatives and (a,b) is a local maximum or minimum of f(x,y) then fx(a,b)=0 and fy(a,b)=0

Hessian matrix

Hf(x,y)=(fxx(x,y)fxy(x,y)fyx(x,y)fyy(x,y))

Second derivative test

Suppose that f(x,y) has continuous second partial derivatives near(a,b) and fx(a,b) =fy(a,b)=0 (critical point)

If Hf(a,b) is

  1. positive definite then (a,b) is a local minimum of f
  1. negative definite then (a,b) is a local maximum of f
  1. indefinite then (a,b) is a saddle point of f