I know that the metric tensor can not always be formulated as a Hessian, but sometimes it can. Can you help me to understand what the special conditions are under which the metric tensor is a Hessian of the first fundamental form? (Note: Einstein notation follows)
If the first fundamental form of some vectors of same length u and v is $$I(u,v) = <u,v> = \vec u^T g \vec v = u^i v^j g_{ij} = u^i v^j <x_i , x_j>, $$ then why doesn't the Hessian of the first fundamental form yield the same quantities as the metric tensor?
$$H_{ij} I(u,v) = \frac{\delta}{\delta x_i} \frac{\delta}{\delta x_j} I(u,v) = u^k v^l \frac{\delta}{\delta x_i} \frac{\delta}{\delta x_j} <x_k , x_l> \ne <x_i , x_j> $$
Can you also provide an equation that shows the relationship between the metric tensor and the Hessian of the first fundamental form?