I'm trying to find the original function from the Hessian defined as:
$Hf:= \begin{bmatrix}x-2y & x+2y\\x+2y & 2x+2y\end{bmatrix}$
Since the Hessian is symmetric, and the mixed order partials are equivalent, then there exists some $C^2$ function that can be differentiated twice to give this matrix. I'm not sure how I should go about solving this, though, and I should note it should not require integration.
Regardless, I did try to approach via integration by integrating $x-2y$ and $2x+2y$ to return the partials of x and y respectively, but these do not result in giving the mixed order derivatives.
Is there an alternative approach I should be taking, that does not involve integration? I guess you could logically deduce it...?
EDIT: Could I perhaps use a Taylor series expansion somehow? Though I don't think I have enough information...