The setting
Consider two smooth real functions and on the coordinate space of a finite index set , defined below, that satisfy the moment equation for a real constant . The question is what matrix identity for the Hessian of results from differentiating the moment equation twice.
Coordinate space
Given an index set , the coordinate space is the real vector space of all functions from to under pointwise addition and scalar multiplication, so that a point is the family of its coordinates.✦ For each index , the standard basis vector in is the vector whose coordinate is and whose every other coordinate is .✦
Derivatives
The directional derivative of a real function on a real normed space along a vector is the real function on whose value at is the Fréchet derivative of at applied to .✦ For an index and a real function on , the partial derivative is the directional derivative along , a real function on .✦
The gradient of a real function on is the map sending each to the vector .✦ At a point , the Hessian matrix of a real function on is the real matrix whose entry is .✦
Given a vector in a real normed space and a map from to the real matrices, the matrix derivative is the map sending each to the real matrix whose entry is the Fréchet derivative at of applied to .✦
The hessian derivative
The Hessian derivative of a function along coordinate records its third partial derivatives in that direction as a square matrix. For a real function on and an index , the Hessian derivative of is the matrix derivative of along .✦
The claim
Theorem. Let be a finite index set, and let be smooth functions such that has nonzero determinant for every . Suppose there is a real constant such that for every . Then for all and every , (1)✦
What is checked
The identity (1) in the theorem above is stated over a finite index set , the coordinate space with its standard basis vectors , the directional derivative , partial derivatives , gradient , Hessian matrix , matrix derivative , and Hessian derivatives , for smooth functions such that has nonzero determinant everywhere and and satisfy the moment equation with a real constant .