A Hessian matrix is "a square matrix of second-order partial derivatives of a scalar-valued function, or scalar field."
H=(δx2δ2f​δyδxδ2f​​δxδyδ2f​δy2δ2f​​) Another way to write the same equation is
H=(δxxδ2f​δyxδ2f​​δxyδ2f​δyyδ2f​​)