Isolating vector b from equation in form (axb)xa

  • Context: Graduate 
  • Thread starter Thread starter MannyZanny
  • Start date Start date
  • Tags Tags
    Form Vector
Click For Summary

Discussion Overview

The discussion revolves around isolating a vector variable from a complex equation involving cross products and a diagonal matrix, within the context of developing a physics engine. Participants explore various mathematical approaches and identities related to vector manipulation, particularly in linear algebra and calculus.

Discussion Character

  • Exploratory
  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant describes their struggle to isolate vector j from an equation involving a cross product and a diagonal matrix, expressing a preference for calculus over linear algebra.
  • Another participant references the "triple product expansion" and suggests that unless a specific condition holds, the vector j is parallel to r, indicating a limitation in isolating j.
  • A different participant argues that the vector triple product only provides information about the component of j orthogonal to r, complicating the isolation of j.
  • One participant shares their findings from a paper, proposing an equality involving the cross product matrix and expressing uncertainty about its proof and naming conventions.
  • Another participant requests clarification on the definitions of components and matrices involved, indicating the need for more context to provide assistance.
  • A participant clarifies the definitions of the components of vector r and the nature of the inertial tensor I, emphasizing that I is not necessarily a multiple of the identity matrix.
  • One participant generalizes a finding about the relationship between vectors and matrices, suggesting a broader applicability of their observations.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility of isolating vector j, with some suggesting it is not possible under certain conditions. The discussion remains unresolved, with multiple competing perspectives on the mathematical relationships involved.

Contextual Notes

Participants note limitations in their understanding of certain mathematical identities and the implications of the inertial tensor's properties. There are also references to specific mathematical constructs that may not be universally defined, leading to potential misunderstandings.

MannyZanny
Messages
3
Reaction score
0
I am working on developing a physics engine and I'm having trouble isolating a vector variable from an equation. The entire equation is quite lengthy but I know how to figure out the rest if I find a way to move some variables around. I am much stronger in developing equations in calculus but not so much in linear algebra. Here is a small snippet:

j/m + ((r x j) x r)/I

j/m is vector j divided by scalar m, x is a cross product and I is a 3x3 matrix that is diagonal, sorry not sure of the proper term.

ie. I =
[x 0 0]
[0 x 0]
[0 0 x]

I am trying to factor out j to get something like j ( 1/m + (r x r)/I) so I can move that part to the other side of the equation ending in j=... I realize it's not a full equation which may make it more difficult for you to help me. I have worked out a simpler version of this equation but I can't figure this one out and I've spent hours trying to use identities and trying other things. I have read a couple papers that show these equations but one is expecting to solve component wise (jx = ... jy = ... jz = ...) which I know how to do but I wanted to get the matrix and vector solution. Another one shows the matrix solution but not how to arrive at that answer and uses some math notation I'm not sure of. Thanks for any help and if it is too hard without seeing the complete equation or you would like to see the papers I mentioned, let me know. I'll check the forum in the morning once I get some sleep :)
 
Physics news on Phys.org
Look at the Wikipedia entry "Cross product", "triple product expansion". From this you will find:

(1/m-r^2)j=(r.j)r

Since it is only a part of your equation, no further advice can be given. From this part alone you see that, unless r^2=1/m, j is parallel to r, its magnitude is arbitrary.

P.S. I ignored I as I am not sure whether it is a multiple of the identity or less trivial diagonal matrix. If it is just a multiple of the identity, it is just a number.
 
MannyZanny said:
I am trying to factor out j to get something like j ( 1/m + (r x r)/I) so I can move that part to the other side of the equation ending in j=...
You can't. That vector triple product only carries information about the portion of j that is orthogonal to r. In other words,

[tex](\vec r\times \vec j)\times \vec r = (\vec r\times(\alpha \vec r + \vec j))\times \vec r[/tex]

for any and all values of alpha.
 
I decided to take the answer of the one I found in the paper and try to work backwards from once I got as forward as possible in my solution. The equations were very similar so I knew I was on the right track but there was one part of the equation I couldn't match with the known solution and figured these two different parts must be the same. So, I wrote a program to solve each part and found that they produced the same values within 0.000033 due to rounding errors. What I found was:

((r x j) x r)*I-1 = j (r*T I-1 r*)

where r* is the cross product matrix:

[0 Rz -Ry]
[-Rz 0 Rx]
[Ry -Rx 0 ]

This now allows me to "factor" out j and find an equation. But does anyone know of this equality, it seems to hold true even though I only tested a few sample values and I have no idea how to prove it. Also, the paper I read calls r* the cross product matrix but the cross product matrix I saw on wikipedia looked much different and contained 2 vectors. I stumbled upon the above matrix by noticing a similarity to other works. Is there another name for the cross product matrix above? I found the formula under a heading of Exterior Product or Grassman Product, wikipedia says its part of exterior algebra, anyone know what that is and how it applies here, it seems as though it's part of geometry?
 
You should tell us what are Rx,Ry,Rz and what exactly is I. Then maybe someone will answer your question.
 
r is a vector from the center of mass to the point of collision so r* contains the components of vector r. Rx=x component of r, Ry=y component of r, Rz=z component of r. Sorry, I put a capital to emphasize that it was a component of vector r.
I is the inertial tensor and examples can be seen here http://en.wikipedia.org/wiki/List_of_moment_of_inertia_tensors

I is a 3x3 diagonal matrix but not necessarily a muliple of the identity matrix. ie (scalar)*(Identity Matrix)=I cannot be assumed.

But I tried arbitrary values and found that in general

((a x b) x a)*C-1 = b (a*T C-1 a*)

where a and b are 3D vectors, C is a 3x3 diagonal matrix. And a* is defined as above.
So, if a=(1,2,3) then a*=
[0 3 -2]
[-3 0 1]
[2 -1 0]
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K