THREE DIMENSIONAL GEOMETRY 467
Solution We know the direction cosines of the line passing through two points
P(x
1
, y
1
, z
1
) and Q(x
2
, y
2
, z
2
) are given by
,
,
where PQ =
2
12
2
12
2
12
) ( )( z z y yx x − + − +−
Here P is (– 2, 4, – 5) and Q is (1, 2, 3).
So PQ =
−− + − + −−
=
77
Thus, the direction cosines of the line joining two points is
Example 4 Find the direction cosines of x, y and z-axis.
Solution The x-axis makes angles 0°, 90° and 90° respectively with x, y and z-axis.
Therefore, the direction cosines of x-axis are cos 0°, cos 90°, cos 90° i.e., 1,0,0.
Similarly, direction cosines of y-axis and z-axis are 0, 1, 0 and 0, 0, 1 respectively.
Example 5 Show that the points A (2, 3, – 4), B (1, – 2, 3) and C (3, 8, – 11) are
collinear.
Solution Direction ratios of line joining A and B are
1 – 2, – 2 – 3, 3 + 4 i.e., – 1, – 5, 7.
The direction ratios of line joining B and C are
3 –1, 8 + 2, – 11 – 3, i.e., 2, 10, – 14.
It is clear that direction ratios of AB and BC are proportional, hence, AB is parallel
to BC. But point B is common to both AB and BC. Therefore, A, B, C are
collinear points.
EXERCISE 11.1
1. If a line makes angles 90°, 135°, 45° with the x, y and z-axes respectively, find its
direction cosines.
2. Find the direction cosines of a line which makes equal angles with the coordinate
axes.
3. If a line has the direction ratios –18, 12, – 4, then what are its direction cosines ?
4. Show that the points (2, 3, 4), (– 1, – 2, 1), (5, 8, 7) are collinear.
5. Find the direction cosines of the sides of the triangle whose vertices are
(3, 5, – 4), (– 1, 1, 2) and (– 5, – 5, – 2).