Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: hessian (<f>, <x>) Returns the Hessian matrix of <f> with respect to the list of variables <x>. The (i, j)-th element of the Hessian matrix is diff(<f>, <x>[i], 1, <x>[j], 1).
![Hessian Example hessian (-8*x + x^2 + 12*y + 4*y^2 - 2*x*y, [x, y]);
hessian (F, [a, b]);](http://maxima-online.org//plot.html?g=i-1161019445.png&t=img&db=r-1014702861)
Examples:
(%i1) hessian (x * sin (y), [x, y]);
[ 0 cos(y) ]
(%o1) [ ]
[ cos(y) - x sin(y) ]
(%i2) depends (F, [a, b]);
(%o2) [F(a, b)]
(%i3) hessian (F, [a, b]);
[ 2 2 ]
[ d F d F ]
[ --- ----- ]
[ 2 da db ]
[ da ]
(%o3) [ ]
[ 2 2 ]
[ d F d F ]
[ ----- --- ]
[ da db 2 ]
[ db ](%o1) true (%i2)