Jacobians and Hessians

Jacobians organize first derivatives of vector-valued functions. Hessians organize second derivatives of scalar functions. They are the matrix form of local change, so they connect calculus to optimization, curvature, and chain-rule computation.

Defining math

For , the Jacobian is

For , the Hessian is

The Jacobian composes through matrix multiplication:

The Hessian describes local curvature. In unconstrained twice-differentiable convex optimization, everywhere is a curvature certificate.

Worked example

For

the Jacobian is

At this becomes

For , the Hessian is

so . Its eigenvalues are 6 and 2 because the matrix is diagonal. Both are positive, so the surface has locally positive curvature in both coordinate directions at that point.

Caveats

Full Jacobians and Hessians can be too large to materialize. Modern autodiff often computes Jacobian-vector or vector-Jacobian products instead, which is the practical form used by backpropagation.

References