Message Boards Message Boards

0
|
310 Views
|
3 Replies
|
1 Total Likes
View groups...
Share
Share this post:

How to calculate Stokes' determinant?

Posted 22 days ago

Hello,

I need to calculate the Stokes' determinant in Mathematica, such as

enter image description here

What should I do in Mathematica? I can't image the right code in Mathematica.

POSTED BY: Zhenyu Zeng
3 Replies

Determinants are complicated. One more approach:

stokes[{f1_, f2_, f3_}, {x_, y_, z_}] :=
  Sum[{d[y, z], d[z, x], d[x, y]}[[perm[[1]]]]*
    D[{f1, f2, f3}[[perm[[3]]]], {x, y, z}[[perm[[2]]]]]*
    Signature[perm],
   {perm, Permutations[Range[3]]}];
stokes[{y^2, x, z^2}, {x, y, z}]
POSTED BY: Gianluca Gorni

This is an attempt:

Det[( {
   {d[y, z], d[z, x], d[x, y]},
   {dd[x], dd[y], dd[z]},
   {y^2, x, z^2}
  } )]
% /. a_.*dd[var_]*d[vars__] :> D[a, var] d[vars]
POSTED BY: Gianluca Gorni
Posted 22 days ago

Thanks. It seems a little complicate to do this.

POSTED BY: Zhenyu Zeng
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract