Skip to main content
Tweeted twitter.com/#!/StackMma/status/311743216544272384
added 7 characters in body; edited title
Source Link
whuber
  • 20.6k
  • 2
  • 61
  • 113

How do I simplysimplify a vector expression?

I am doing vector analysis. I have figured out that the following expression won't be simplified in Mathematica:

Simplify[Dot[x, y] - Dot[y, x]]

I think the reason is that x and y could be matrixmatrices, so generally the operation does not commute. But But for a vector, the commutation relation should hold. What I don't know is how to tell Mathematica to consider x and y to be vectors.

Also, how can I expand Cross[x + y, z] to be Cross[x, y] + Cross[y, z]? I tried to use Expand and ExpandAll but neither worked.

BTW, in Mathematica, is it possible to define a abstract row/column vector without explicitly specifyspecifying the number of entries?

How do I simply a vector expression?

I am doing vector analysis. I have figured out that the following expression won't be simplified in Mathematica

Simplify[Dot[x, y] - Dot[y, x]]

I think the reason is that x and y could be matrix, so generally the operation does not commute. But for a vector, the commutation relation should hold. What I don't know is how to tell Mathematica to consider x and y to be vectors.

Also, how can I expand Cross[x + y, z] to be Cross[x, y] + Cross[y, z]? I tried to use Expand and ExpandAll but neither worked.

BTW, in Mathematica, is it possible to define a abstract row/column vector without explicitly specify the number of entries?

How do I simplify a vector expression?

I am doing vector analysis. I have figured out that the following expression won't be simplified in Mathematica:

Simplify[Dot[x, y] - Dot[y, x]]

I think the reason is that x and y could be matrices, so generally the operation does not commute. But for a vector, the commutation relation should hold. What I don't know is how to tell Mathematica to consider x and y to be vectors.

Also, how can I expand Cross[x + y, z] to be Cross[x, y] + Cross[y, z]? I tried to use Expand and ExpandAll but neither worked.

BTW, in Mathematica, is it possible to define a abstract row/column vector without explicitly specifying the number of entries?

Made English more idiomatic.
Source Link
m_goldberg
  • 108.1k
  • 16
  • 104
  • 259

How todo I simply a vector expression and define the commutation relation?

I am working ondoing vector analysis and figure. I have figured out that the following expression won't be simplified in MathematicaMathematica

Simplify[Dot[x, y] - Dot[y, x]]

I think the reason is that x and y could be matrix so in general, so generally the operation does not commute. But for a vector, the commutation relation should hold but how can. What I force the interpreterdon't know is how to tell Mathematica to consider x and y to be vector not matrix?vectors.

Also, how do wecan I expand Cross[x+y, z]Cross[x + y, z] to be Cross[x, y] + Cross[y, z]Cross[x, y] + Cross[y, z]? I trytried to use ExpandExpand and ExpandAllExpandAll but didn't workneither worked.

BTW, in MathematicaMathematica, is thatit possible to define a abstract row/column vector without explicitly specify the number of entries?

How to simply vector expression and define the commutation relation?

I am working on vector analysis and figure out that the following expression won't be simplified in Mathematica

Simplify[Dot[x, y]-Dot[y,x]]

I think the reason is that x and y could be matrix so in general, the operation does not commute. But for vector, the commutation relation should hold but how can I force the interpreter to consider x and y to be vector not matrix?

Also, how do we expand Cross[x+y, z] to be Cross[x, y] + Cross[y, z]? I try to use Expand and ExpandAll but didn't work.

BTW, in Mathematica, is that possible to define a abstract row/column vector without explicitly specify the number of entries?

How do I simply a vector expression?

I am doing vector analysis. I have figured out that the following expression won't be simplified in Mathematica

Simplify[Dot[x, y] - Dot[y, x]]

I think the reason is that x and y could be matrix, so generally the operation does not commute. But for a vector, the commutation relation should hold. What I don't know is how to tell Mathematica to consider x and y to be vectors.

Also, how can I expand Cross[x + y, z] to be Cross[x, y] + Cross[y, z]? I tried to use Expand and ExpandAll but neither worked.

BTW, in Mathematica, is it possible to define a abstract row/column vector without explicitly specify the number of entries?

added 130 characters in body
Source Link
user1285419
  • 577
  • 1
  • 4
  • 12

I am working on vector analysis and figure out that the following expression won't be simplified in Mathematica

Simplify[Dot[x, y]-Dot[y,x]]

I think the reason is that x and y could be matrix so in general, the operation does not commute. But for vector, the commutation relation should hold but how can I force the interpreter to consider x and y to be vector not matrix?

Also, how do we expand Cross[x+y, z] to be Cross[x, y] + Cross[y, z]? I try to use Expand and ExpandAll but didn't work.

BTW, in Mathematica, is that possible to define a abstract row/column vector without explicitly specify the number of entries?

I am working on vector analysis and figure out that the following expression won't be simplified in Mathematica

Simplify[Dot[x, y]-Dot[y,x]]

I think the reason is that x and y could be matrix so in general, the operation does not commute. But for vector, the commutation relation should hold but how can I force the interpreter to consider x and y to be vector not matrix?

Also, how do we expand Cross[x+y, z] to be Cross[x, y] + Cross[y, z]? I try to use Expand and ExpandAll but didn't work.

I am working on vector analysis and figure out that the following expression won't be simplified in Mathematica

Simplify[Dot[x, y]-Dot[y,x]]

I think the reason is that x and y could be matrix so in general, the operation does not commute. But for vector, the commutation relation should hold but how can I force the interpreter to consider x and y to be vector not matrix?

Also, how do we expand Cross[x+y, z] to be Cross[x, y] + Cross[y, z]? I try to use Expand and ExpandAll but didn't work.

BTW, in Mathematica, is that possible to define a abstract row/column vector without explicitly specify the number of entries?

Source Link
user1285419
  • 577
  • 1
  • 4
  • 12
Loading