In the space, two straight lines can coincide, can be parallels, secants or intersect. The angles that they form are defined in a different way in every case. We will say:
- If two straight lines coincide or are parallel they form an angle of
. - If two straight lines are secant, they determine four angles that are equal in pairs. The smallest angle will be said to be the angle between the lines.
- If two straight lines cross, the angle between them is the smallest of the angles that is formed by the parallel to one of the lines that intersects the other one.
Therefore, as on the plane, the cosine of the angle
where
Therefore,
Finally, if
Example
Compute the angle between the following lines:
First of all we must look for the governing vector of
- A governing vector of
is . - To find a governing vector of
, we choose as a parameter and solve the equations system using Cramer, obtaining:
and therefore a governing vector of
Now we can already apply the formula previously described:
Therefore,