Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Hessian Calculator

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

hessian (-8*x + x^2 + 12*y + 4*y^2 - 2*x*y, [x, y]);
 hessian (F, [a, b]);

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) 

Hessian Example

Related Examples

hessian

a:x+y+z=6;

hessian(a, [x,y]);

Calculate

hessian

hessian(x(y^2),[x,y]);

Calculate

hessian-sum

sum (i^2, i, 1, 7);

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

Calculate

hessian

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

Calculate

hessian

hessian (x^a * y^(1-a...

Calculate

hessian

hessian(x^2+y^2,[x,y]);

hessian(e^x*y+log*z*x...

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

Calculate

hessian

hessian(x^2,[x,y]);

Calculate

hessian

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

hessian(x+y+z,[x,y,z]);

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

Calculate

hessian

hessian( 4*ln(x/3) , ...

Calculate

hessian

hessian(e^(ax^2+by^2)...

Calculate