How to simplify tensor expression with symbolic coeficients?
Clash Royale CLAN TAG#URR8PPP
up vote
7
down vote
favorite
I can use Vectors
to simplify the following expression:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[3 b.a[Cross]c - 3 c.b[Cross]a]
which gives me 0, and correct.
However, if I change the value "3" into a symbol "g", it fails:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Or
$Assumptions = (a | b | c) â Vectors[3];
$Assumptions = g â Reals;
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Mathematica gives me $g b.atimes c-g c.btimes a$, which should be 0 as well.
How can I do this simplification in Mathematica?
vector tensors
add a comment |Â
up vote
7
down vote
favorite
I can use Vectors
to simplify the following expression:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[3 b.a[Cross]c - 3 c.b[Cross]a]
which gives me 0, and correct.
However, if I change the value "3" into a symbol "g", it fails:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Or
$Assumptions = (a | b | c) â Vectors[3];
$Assumptions = g â Reals;
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Mathematica gives me $g b.atimes c-g c.btimes a$, which should be 0 as well.
How can I do this simplification in Mathematica?
vector tensors
add a comment |Â
up vote
7
down vote
favorite
up vote
7
down vote
favorite
I can use Vectors
to simplify the following expression:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[3 b.a[Cross]c - 3 c.b[Cross]a]
which gives me 0, and correct.
However, if I change the value "3" into a symbol "g", it fails:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Or
$Assumptions = (a | b | c) â Vectors[3];
$Assumptions = g â Reals;
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Mathematica gives me $g b.atimes c-g c.btimes a$, which should be 0 as well.
How can I do this simplification in Mathematica?
vector tensors
I can use Vectors
to simplify the following expression:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[3 b.a[Cross]c - 3 c.b[Cross]a]
which gives me 0, and correct.
However, if I change the value "3" into a symbol "g", it fails:
$Assumptions = (a | b | c) â Vectors[3];
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Or
$Assumptions = (a | b | c) â Vectors[3];
$Assumptions = g â Reals;
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
Mathematica gives me $g b.atimes c-g c.btimes a$, which should be 0 as well.
How can I do this simplification in Mathematica?
vector tensors
edited Aug 26 at 6:51
kglr
158k8183382
158k8183382
asked Aug 26 at 6:36
ZHANG Juenjie
449210
449210
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
7
down vote
accepted
$Assumptions = (a
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
0
add a comment |Â
up vote
5
down vote
$Assumptions=(a|b|c) â Vectors[3] && g â Reals
TensorReduce[g b.a[Cross]c-g c.b[Cross]a]
(*0*)
g doesn't have to be Reals
. Complexes
works too. It just can't be something totally undefined.
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
7
down vote
accepted
$Assumptions = (a
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
0
add a comment |Â
up vote
7
down vote
accepted
$Assumptions = (a
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
0
add a comment |Â
up vote
7
down vote
accepted
up vote
7
down vote
accepted
$Assumptions = (a
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
0
$Assumptions = (a
TensorReduce[g b.a[Cross]c - g c.b[Cross]a]
0
answered Aug 26 at 6:49
kglr
158k8183382
158k8183382
add a comment |Â
add a comment |Â
up vote
5
down vote
$Assumptions=(a|b|c) â Vectors[3] && g â Reals
TensorReduce[g b.a[Cross]c-g c.b[Cross]a]
(*0*)
g doesn't have to be Reals
. Complexes
works too. It just can't be something totally undefined.
add a comment |Â
up vote
5
down vote
$Assumptions=(a|b|c) â Vectors[3] && g â Reals
TensorReduce[g b.a[Cross]c-g c.b[Cross]a]
(*0*)
g doesn't have to be Reals
. Complexes
works too. It just can't be something totally undefined.
add a comment |Â
up vote
5
down vote
up vote
5
down vote
$Assumptions=(a|b|c) â Vectors[3] && g â Reals
TensorReduce[g b.a[Cross]c-g c.b[Cross]a]
(*0*)
g doesn't have to be Reals
. Complexes
works too. It just can't be something totally undefined.
$Assumptions=(a|b|c) â Vectors[3] && g â Reals
TensorReduce[g b.a[Cross]c-g c.b[Cross]a]
(*0*)
g doesn't have to be Reals
. Complexes
works too. It just can't be something totally undefined.
answered Aug 26 at 6:54
Bill Watts
1,9581414
1,9581414
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmathematica.stackexchange.com%2fquestions%2f180669%2fhow-to-simplify-tensor-expression-with-symbolic-coeficients%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password