Angle between two lines in space

  • Context: Undergrad 
  • Thread starter Thread starter Physicsissuef
  • Start date Start date
  • Tags Tags
    Angle Lines Space
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
5 replies · 18K views
Physicsissuef
Messages
908
Reaction score
0
The formula of angle between two lines in space is:

[tex]\vec{a}=(a_1,a_2,a_3)[/tex] ; [tex]\vec{b}=(b_1,b_2,b_3)[/tex]

[tex]cos\alpha=\frac{|\vec{a} \vec{b}|}{|\vec{a}||\vec{b}|}[/tex]

or out from there:

[tex]cos\alpha=\frac{|a_1b_1+a_2b_2+a_3b_3|}{\sqrt{a_1^2+a_2^2+a_3^2}\sqrt{b_1^2+b_2^2+b_3^2}}[/tex]

Why it is [itex]|\vec{a}\vec{b}|[/itex]? Why not [itex]\vec{a} \vec{b}[/itex]?

Scalar product of two vectors is [tex]\vec{a}\vec{b}=|\vec{a}||\vec{b}|cos(\vec{a},\vec{b})[/tex]
 
Last edited:
Physics news on Phys.org
Because any line contains infinitely many vectors of both directions. The angle between two lines in space can not be greater than [tex]\pi/2[/tex]

Angle between two vectors belongs to [tex][0,\pi][/tex].
 
There are two angles between lines- well, strictly speaking there are four but by "vertical angles theorem" in geometry there are two different angles. If the lines are perpendicular all four angles are right angles, otherwise two angles are less than right, the other two larger. By "the angle" between two lines, we mean the smaller so, as Nedeljko said, the angle cannot be larger than a right angle: the cos must be positive.
 
And what will happen if I use angle from [-pi/2, pi]? Can you give me some example?
 
I speak about angle between two lines in the light of measure of mutable position of the lines. More specific, if [tex]a,b,c,d[/tex] are lines such that [tex]a[/tex] and [tex]b[/tex] has intersection point and [tex]c[/tex] and [tex]d[/tex] has intersection point then [tex]a\cup b=c\cup d[/tex] if and only if the angle between [tex]a[/tex] and [tex]b[/tex] is equal tothe angle between [tex]c[/tex] and [tex]d[/tex]. (Angles are in [tex][0,\pi/2][/tex].)

If you expect the angle between lines in [tex][0,\pi[/tex], then you can not determine the angle without additional informations (what of four angles determined by the lines etc.).

You can use interval [tex][a,b][/tex], [tex]a<b[/tex] if [tex]\cos[/tex] is injective on [tex][a,b][/tex] and if the image of [tex][a,b][/tex] under [tex]\cos[/tex] is [tex][0,1][/tex].
 
Sorry, but can you give me some example, when it works, and when it didn't work?