Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: defining an unknown function
Replies: 1   Last Post: Jan 14, 2013 11:28 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alexei Boulbitch

Posts: 480
Registered: 2/28/08
Re: defining an unknown function
Posted: Jan 14, 2013 11:28 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


Hi all,
I would like to start by defining H = {{\partial_{x,x} L,\partial_{x,y} L},
{\partial_{y,x} L, \partial_{y,y}L}};
where at this stage, the only think i know is that L is of the form L(x,y). This is a Hessian, and I would like to symbolically compute the e-vals and e-vecs. I wanted to know how I should tell mathematica to consider L as L(x,y) ?

Thanks,
Sid.


Hi, Sid,

Is this:

H[f_]:=Det[{{D[f,{x,2}],D[D[f,x],y]},{D[D[f,y],x],D[f,{y,2}]}}]//Simplify;

H[Sin[x*y]]

Cos[x y] (-Cos[x y]+2 x y Sin[x y])

the function that you mean?

Have fun, Alexei

Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44

e-mail: alexei.boulbitch@iee.lu<mailto:alexei.boulbitch@iee.lu>




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.