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 (y + x^2/(x*y-1), [x, y]);
derivative (y + x^2/(x*y-1), x);

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

hessian (x^2 + (y-4)^...

hessian (F, [a, b]);

Calculate

hessian

hessian (((x^2)+1)*y,...

Calculate

hessian

p1:1-((1-t1)^(n-1))*(...

t1:(2*(1-p1))/((1-2*p...

Pi1:(1-t2)*(1-t1)^n;

Calculate

hessian

hessian(a/(b*c*d),[a,...

Calculate

hessian

hessian ((x^2 +1)*y, ...

Calculate

hessian

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

Calculate

hessian

f(x,y):=(x^2+y^4-1)^2;

grad((x^2+y^4-1)^2);

hessian((x^2+y^4-1)^2...

Calculate

hessian-log-sin

D (log(x));

hessian (x * sin (y),...

Calculate

hessian

hessian(({x_2} - {x_1...

Calculate

hessian

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

Calculate