Sponsored links: Algebra eBooks ### The Maxima on-line user's manual

Algebra Calculator

#### Search: #### Hessian

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)`. 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) ```

### Related Articles

How to create Hessian matrix

### Related Examples

##### hessian

f(x,y,v1,v2,v3,v4):=1...

h:hessian(f,[x,y,v1,v...

Calculate

##### hessian

hessian((x*y+x+2*y+z*...

Calculate

##### hessian

hessian(e^(x*y)+ln(2*...

Calculate

##### hessian

hessian (xy^2 + yz^2,...

Calculate

##### hessian

hessian (x/ (x^2+y^2+...

Calculate

##### hessian

eq1:hessian(((x^2*(2*...

Calculate

##### hessian-tanh

hessian (y+(x-y)*0.5*...

Calculate

##### hessian

hessian(x+y+z+t*(x^2+...

Calculate

##### hessian

hessian((a*x^2 + b*y)...

Calculate

##### hessian-sin

hessian (x^2 * sin (y...

Calculate 