Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Vector $\mathbf{v}$ and $\mathbf{v'}$ make angles $\alpha , \beta, \gamma$ and $\alpha ', \beta', \gamma$' with the coordinate axes respectively.

$\phi$ is the angle between $\mathbf{v}$ and $\mathbf{v'}$.

Why is $\cos(\phi)=\cos(\alpha)\cos(\alpha')+\cos(\beta)\cos(\beta')+\cos(\gamma)\cos(\gamma')$?

share|improve this question
2  
Hint: $\mathbf{v}=\cos(\alpha)\mathbf{e}_1+\cos(\beta)\mathbf{e}_2+\cos(\gamma)\mathbf‌​{e}_3$ and similar for $\mathbf{v}'$. Then you compute $\mathbf{v}\cdot \mathbf{v}'$. –  Sigur Dec 3 '12 at 18:22
    
I don't know why the third vector is not in boldface. Also, I supposed $\mathbf{v}$ unitary. If not, multiply by its norm. –  Sigur Dec 3 '12 at 18:24
    
I see it now- I was being a 2D chauvinist; angles in 3 dimensions threw me. –  Alyosha Dec 3 '12 at 18:29

1 Answer 1

up vote 5 down vote accepted

Note that $$ \cos(\alpha) = \frac{v_1}{||v||},\; \cos(\beta) = \frac{v_2}{||v||}, \;\cos(\gamma) = \frac{v_3}{||v||}$$ and $$ \cos(\alpha') = \frac{v_1'}{||v'||},\; \cos(\beta') = \frac{v_2'}{||v'||}, \;\cos(\gamma') = \frac{v_3'}{||v'||}.$$ Then $$ \cos(\phi) = \frac{\langle v, v' \rangle}{||v|| \cdot ||v'||} = \frac{v_1 v_1' + v_2v_2' + v_3v_3'}{||v|| \cdot ||v'||} = $$ $$\cos(\alpha) \cos(\alpha') + \cos(\beta) \cos(\beta') + \cos(\gamma) \cos(\gamma').$$

share|improve this answer
    
Now you gave the complete solution!!! –  Sigur Dec 3 '12 at 18:25
    
@sigur I only saw your comment after pressing "post". At least we seem to agree. –  WimC Dec 3 '12 at 18:26
    
I forgot the norm. Edited now. –  Sigur Dec 3 '12 at 18:30
    
Is $\left \langle v,v' \right \rangle$ notation for the dot product? –  Alyosha Dec 3 '12 at 18:34
1  
@Alyosha yes. That's quite a standard notation for it. –  WimC Dec 3 '12 at 18:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.