Matrix Factorization: Spherical & Cartesian Vectors

In summary, the matrix T represents the relation between spherical and cartesian unit vectors and cannot be factored into simpler matrices. However, it can be decomposed using rotations and trigonometry identities to transform between different coordinate systems.
  • #1
psholtz
136
0
The matrix giving the relation between spherical (unit) vectors and cartesian (unit) vectors can be expressed as:

[tex]\left( \begin{array}{c} \hat{r} \\ \hat{\phi} \\ \hat{\theta} \end{array} \right) =
\left( \begin{array}{ccc} \sin\theta \cos\phi & \sin\theta \sin\phi & \cos\theta \\ -\sin\phi & \cos \phi & 0 \\ \cos\theta \cos\phi & \cos\theta \sin\phi & -\sin\theta \end{array}\right) \cdot \left( \begin{array}{c} \hat{x} \\ \hat{y} \\ \hat{z} \end{array} \right) [/tex]

or

[tex]T = \left( \begin{array}{ccc} \sin\theta \cos\phi & \sin\theta \sin\phi & \cos\theta \\ -\sin\phi & \cos \phi & 0 \\ \cos\theta \cos\phi & \cos\theta \sin\phi & -\sin\theta \end{array}\right) [/tex]

where phi is the polar angle and theta is the azimuthal angle.

Can this matrix T be factored into simpler matrices?
 
Physics news on Phys.org
  • #2
Hi psholtz! :smile:

I'm not really sure where you're headed with your question.
But the short answer would be: no, you can't simplify this matrix.
 
  • #3
There is more than one way to decompose this. Usually for this kind of thing you simply perform rotations to construct the transformation from one set of coordinates to the other. In your case it is a little weird since you didn't order your output coordinates in a right-handed way. By the way, I am assuming here that you mis-typed: phi is azimuthal and theta is polar?

Anyway, here is one option

[tex]T = \left( \begin{array}{ccc} 0 & 0 & 1 \\ 0 & 1 & 0 \\ 1 & 0 & 0 \end{array}\right) \left( \begin{array}{ccc} \cos \theta & 0 & -\sin \theta \\ 0 & 1 & 0 \\ \sin \theta & 0 & \cos\theta \end{array}\right) \left( \begin{array}{ccc} \cos \phi & \sin \phi & 0 \\ -\sin \phi & \cos \phi & 0 \\ 0 & 0 & 1 \end{array} \right)[/tex]

edit: The left-most matrix is not a rotation; a non-rotation is required here since your output coordinates are not in rigt-handed order. I mapped to (theta,phi,r), which is right-handed, and then used the left matrix to map to your ordering. Given my ordering, the right-most matrix rotates about z to make y and phi coincide, the middle matrix then rotates about the y-axis to make z and r coincide and x and theta coincide.

jason
 
Last edited:
  • #4
The only way to solve this matrix is to try and use LU factorisation ,but if look @ entries (t11 and t13 are will never be reduced and this is similar to the other entries in the matrix ,HENCE this matrix can not be reduced to row echelon form. 4 an advice try and use trigonometry identites and see if u r goinn to find U. or u can try and use (sin) as the scalar multiple of T.
 
  • #5
The only way to solve this matrix is to try and use LU factorisation ,but if look @ entries (t11 and t13 are will never be reduced and this is similar to the other entries in the matrix ,HENCE this matrix can not be reduced to row echelon form. 4 an advice try and use trigonometry identites and see if u r goinn to find U. or u can try and use (sin) as the scalar multiple of T.
 

FAQ: Matrix Factorization: Spherical & Cartesian Vectors

What is matrix factorization?

Matrix factorization is a mathematical technique used to decompose a matrix into two or more matrices, with the goal of simplifying the representation of the original matrix and making it easier to analyze or manipulate.

What are spherical and cartesian vectors?

Spherical and cartesian vectors are two different coordinate systems used to represent points or vectors in three-dimensional space. In spherical coordinates, a vector is described by its distance from the origin, the angle it makes with the positive z-axis, and the angle it makes with the positive x-axis. In cartesian coordinates, a vector is described by its x, y, and z coordinates.

What is the purpose of using matrix factorization with spherical and cartesian vectors?

The purpose of using matrix factorization with spherical and cartesian vectors is to simplify the representation of vectors in three-dimensional space. By decomposing a matrix into two or more matrices, we can manipulate and analyze the vectors more easily, and also understand the relationships between them more intuitively.

How does matrix factorization work with spherical and cartesian vectors?

In matrix factorization, the original matrix is decomposed into two or more matrices using mathematical operations such as multiplication, addition, or subtraction. In the case of spherical and cartesian vectors, the original matrix represents the vectors in one coordinate system and the resulting matrices represent the vectors in the other coordinate system. This allows us to switch between the two systems and perform calculations more easily.

What are some real-world applications of matrix factorization with spherical and cartesian vectors?

Matrix factorization with spherical and cartesian vectors has various applications in fields such as computer graphics, physics, and engineering. For example, it can be used to simplify and speed up calculations in 3D modeling and animation, or to analyze and manipulate data in physics experiments. It can also be used in machine learning algorithms to reduce the dimensionality of data and improve performance.

Similar threads

Replies
1
Views
762
Replies
3
Views
1K
Replies
2
Views
1K
Replies
2
Views
1K
Replies
3
Views
9K
Back
Top