Consider two vectors:
then the acute angle θ between two straight lines is given by:
Where b and dcan be considered as the is the direction vectors of the two lines as shown above.The lines do not have to beintersecting – the angle is the angle between them if one was moved along so they do intersect.
In case the lines L1 and L2 do not pass through the origin, we may consider that lines L1’ and L2’are parallel to L1 and L2 respectively and pass them throughthe origin so that these lines have the same equation with different free vector.
Suppose direction cosines of two lines L1 and L2 are given: (l1, m1, n1) and (l2, m2, n2) then we can find the acute angle in the following manner:
Note that, two lines containing direction ration a1, b1, c1 and a2, b2, c2 are considered as:
- Perpendicular where θ =90°
- Parallel where θ =0°
Now, let us consider the angle between two lines when their equations are given in the question. If θ is assumed as an acuteangle then the angle between the lines can be written as:
Therefore, in the cartesian form we can write:
Therefore, to find the acute angle using direction ratio we can write:
Find the acute angle between the lines with vector equations:
r = (2i + j + k) + t(3i – 8j – k)
and r = (7i + 4j + k) + s(2i + 2j + 3k)
Calculate the dot product of a and b
Now calculate the magnitude of a and b:
Substitute the values above to find the angle:
Since the answer is negative, we need to ‘make it positive’ by multiplying by -1
Example: Consider the pair of lines given below, find the angle between them.
Solution:in the cartesian form recall that:
The direction ratios of the first line can be seen from the cartesian equation are 3, 5, 4 and for the second line are 1, 1, 2. If θ is the angle between them,they can be written as:
Hence we can find the required acute angle by taking