When you want to know the angle between two lines, you can find the angle between their directional vectors. If you have a line along the vector and a line along the vector , you can find the angle between the two lines this way:
Formula
Note! If , the real angle between the lines is . This is because the angle between two lines always is .
Example 1
You have a line along the vector and a line along the vector . The angle between them is
The lines are perpendicular!