MHB How to find angle between two vectors, given their spherical co-ordinates?

WMDhamnekar
MHB
Messages
376
Reaction score
28
1591026789994.png


I know that $\arccos{(\cos{\phi_1}\cos{\phi_2}+\sin{\phi_1}\sin{\phi_2}\cos{(\theta_2-\theta_1)})}=\gamma$ But how can i answer the above question? If any member knows the proof of this formula may reply to this question with correct proof.
 
Last edited:
Physics news on Phys.org
Dhamnekar Winod said:
https://www.physicsforums.com/attachments/10317

I know that $\arccos{(\cos{\phi_1}\cos{\phi_2}+\sin{\phi_1}\sin{\phi_2}\cos{(\theta_2-\theta_1)})}=\gamma$ But how can i answer the above question? If any member knows the proof of this formula may reply to this question with correct proof.
The Cartesian coordinates of $P_1$ are $(\rho_1\cos\theta_1, \rho_1\sin\theta_1\cos\phi_1,\rho_1\sin\theta_1\sin\phi_1)$, and similarly for $P_2$. Take the inner product, and use the fact that $\def\bv{\mathbf{v}} \langle\bv_1,\bv_2\rangle = |\bv_1||\bv_2|\cos\gamma.$
 
Opalg said:
The Cartesian coordinates of $P_1$ are $(\rho_1\cos\theta_1, \rho_1\sin\theta_1\cos\phi_1,\rho_1\sin\theta_1\sin\phi_1)$, and similarly for $P_2$. Take the inner product, and use the fact that $\def\bv{\mathbf{v}} \langle\bv_1,\bv_2\rangle = |\bv_1||\bv_2|\cos\gamma.$
In my opinion, the Cartesian co-ordinates of $P_1,P_2$ are as follows:
1591032657425.png


So your answer differs from the above answer for Cartesian co-ordinates of $P_1, P_2$ using appropriate $\rho_i, \theta_i,\phi_i$ where i=1,2.
 
Dhamnekar Winod said:
So your answer differs from the above answer for Cartesian co-ordinates of $P_1, P_2$ using appropriate $\rho_i, \theta_i,\phi_i$ where i=1,2.
The only difference is that I use $\theta$ and $\phi$ where you are using $\phi$ and $\theta$. If you switch the $\theta$s and $\phi$s in my hint then you should be able to prove the result.
 
@Opalg, Do you mean inner product=$\vec{v_1} \cdot \vec{v_2}=\left\langle v_1,v_2 \right\rangle$
 
Yes. :)
 
Back
Top