Cross and dot product of two vectors in non-orthogonal coordinate

anurag
Messages
5
Reaction score
0
Hi everyone,
I have to find out how to do cross and dot product for two vectors in non-orthogonal coordinate system.
thanks
 
Mathematics news on Phys.org
You could always use the \vec{u}\cdot\vec{v}=|\vec{u}|\ |\vec{v}|\cos\theta and \vec{u}\times\vec{v}=|\vec{u}|\ |\vec{v}|\sin\theta \ \hat{n} definitions. In general the dot and cross product are independent of coordinate system.
 
Dear jk86,
I don't think so. Consider a non-orthogonal coordinate system like in which angle between any two axis in less than 90 degree. and two vector along x and y-axis [1 0 0] & [0 1 0], then the normal cross product is [0 0 1] which is along z-direction but for this coordinate system, z is not perpendicular to x and y axis. and you know cross product of two vector should be perpendicular to both vector.
 
anurag said:
Dear jk86,
I don't think so. Consider a non-orthogonal coordinate system like in which angle between any two axis in less than 90 degree. and two vector along x and y-axis [1 0 0] & [0 1 0], then the normal cross product is [0 0 1] which is along z-direction but for this coordinate system, z is not perpendicular to x and y axis. and you know cross product of two vector should be perpendicular to both vector.

Ah, OK I'm sorry I should have read your post more carefully. If you are calculating the dot product of \vec{a}\cdot\vec{b}, you can expand each in terms of its contravariant components. As an example, define a coordinate system (u,v,w) via the Cartesian coordinates (x,y,z) using some relations:
<br /> \begin{align}<br /> x &amp;= u + v\\<br /> y &amp;= u - v\\<br /> z &amp;= 3uv + 2w<br /> \end{align}<br />
If the basis vectors for the non-orthogonal (u,v,w) coordinate system are \vec{e}_u,\vec{e}_v,\vec{e}_{w} (and they are \hat{e}_x,\hat{e}_y,\hat{e}_z for the Cartesian basis) then you can write a general vector \vec{r}=x\hat{e}_x + y\hat{e}_y+z\hat{e}_z=(u+v)\hat{e}_x + (u-v)\hat{e}_y + (3uv + 2w)\hat{e}_z. You can then find the non-orthogonal basis vectors by:
<br /> \begin{align}<br /> \vec{e}_u &amp;= \frac{\partial \vec{r}}{\partial u} = \hat{e}_x + \hat{e}_y + 3v\hat{e}_z\\<br /> \vec{e}_v &amp;= \frac{\partial \vec{r}}{\partial u} = \hat{e}_x - \hat{e}_y + 3u\hat{e}_z\\<br /> \vec{e}_w &amp;= \frac{\partial \vec{r}}{\partial u} = 2\hat{e}_z<br /> \end{align}<br />
You can verify that the example is indeed non-orthogonal by computing dot products such as \vec{e}_u\cdot\vec{e}_w = (3v\hat{e}_z)\cdot(2\hat{e}_z)=6v. To compute more general dot products, and make all this simpler, you should first find the metric tensor:
<br /> g_{ij}\equiv \vec{e}_i\cdot\vec{e}_j = \begin{bmatrix}2+9v^2 &amp; 9uv &amp; 6v\\ 9uv &amp; 2+9u^2 &amp; 6u\\ 6v &amp; 6u &amp; 4\end{bmatrix}<br />
where i,j refer to u,v,w basis indices. Then for some vectors \vec{a} and \vec{b}, you get \vec{a}\cdot\vec{b}=(\sum_i a^i\vec{e}_i)\cdot (\sum_j b^j\vec{e}_j)=\sum_{ij}g_{ij}a^ib^j. You are then simply sticking a matrix g_{ij} in between the vectors---a matrix which is diagonal in an orthogonal coordinate system. As for the cross product you should be able to do something similar using the orthonormal basis definition [\vec{a}\times\vec{b}]_i = \epsilon_{ijk}\vec{a}^j\vec{b}^k. I think it just becomes [\vec{a}\times\vec{b}]_i = g^{ij}\epsilon_{jkl}a^{k}b^{l}, where \epsilon_{jkl} is the Levi-Civita symbol.
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top