Why does the determinant of the Hessian matrix, combined with the second derivative at the critical point, contain information about maxima, minima, and saddle points? How is this derived?

Relax