Subject: Class 12 Mathematics Chapter: Direction Ratios Topic: 12.3 Direction Ratios – Determine direction ratios of lines
Direction cosines tell us the exact direction of a line, but they are clumsy because they must satisfy l² + m² + n² = 1. A far more convenient tool is the direction ratio, which is any set of three numbers proportional to the direction cosines. If (l, m, n) are the direction cosines of a line, then any triple (a, b, c) such that l : m : n = a : b : c is called a set of direction ratios of that line.
The beauty of direction ratios is their freedom. A line with direction ratios (2, 3, 4) also has direction ratios (4, 6, 8), (1, 1.5, 2) and infinitely many other proportional triples. This flexibility makes direction ratios much easier to write down from equations of lines, from vectors, or straight from the differences of coordinates of two points, without any square roots appearing.
In this chapter we will define direction ratios precisely, learn how to convert direction ratios into direction cosines, and discover that the direction ratios of a line joining two points are just the coordinate differences. Numerous solved examples will show how to switch freely between the two descriptions of a direction, and the tables at the end will summarise every conversion you need.
Any three numbers a, b, c which are proportional to the direction cosines l, m, n of a line are called direction ratios of the line. Symbolically:
l : m : n = a : b : c
Key facts about direction ratios:
Example 1: The direction cosines of a line are (2/7, 3/7, 6/7). Write down two other sets of direction ratios for the same line.
Solution: Since direction ratios are proportional to direction cosines, multiplying by 7 gives (2, 3, 6). Multiplying again by 2 gives (4, 6, 12). Both (2, 3, 6) and (4, 6, 12) are direction ratios of the same line.
Example 2: Find direction ratios of a line whose direction cosines are (1/2, 1/2, 1/√2).
Solution: The direction ratios are any numbers proportional to these. Multiplying by 2 gives (1, 1, √2). This is a valid set of direction ratios. Alternatively (2, 2, 2√2) is another valid set.
If a, b, c are direction ratios of a line, then the direction cosines of the line are given by:
l = a/√(a² + b² + c²), m = b/√(a² + b² + c²), n = c/√(a² + b² + c²)
The quantity √(a² + b² + c²) is the normalising factor that forces the resulting numbers to satisfy l² + m² + n² = 1. When the line is taken in the opposite direction, the same formulas with all signs reversed are used.
Example 3: The direction ratios of a line are (2, −1, 2). Find its direction cosines.
Solution: Compute √(a² + b² + c²) = √(4 + 1 + 4) = √9 = 3. Hence:
l = 2/3, m = −1/3, n = 2/3
Check: (2/3)² + (−1/3)² + (2/3)² = (4 + 1 + 4)/9 = 1. The direction cosines are (2/3, −1/3, 2/3).
Example 4: Show that the line with direction ratios (3, 4, 12) has direction cosines (3/13, 4/13, 12/13).
Solution: Here √(a² + b² + c²) = √(9 + 16 + 144) = √169 = 13. Dividing each ratio by 13 gives l = 3/13, m = 4/13, n = 12/13, and these satisfy l² + m² + n² = 1, as required.
Example 5: Find direction ratios of a line perpendicular to the line with direction ratios (1, 2, 3).
Solution: A line perpendicular to another has direction ratios (a', b', c') satisfying a a' + b b' + c c' = 0, so a' + 2b' + 3c' = 0. One convenient choice is a' = −2, b' = 1, c' = 0, since (−2) + 2(1) + 3(0) = 0. Hence (−2, 1, 0) is a set of direction ratios of a perpendicular line. There are infinitely many such choices.
The simplest way to obtain direction ratios is from two points. If a line passes through A(x1, y1, z1) and B(x2, y2, z2), then its direction ratios are:
a = x2 − x1, b = y2 − y1, c = z2 − z1
The corresponding direction cosines are obtained by dividing each of these by the distance AB = √(a² + b² + c²). Reversing the roles of A and B simply changes all signs of the direction ratios.
Example 6: Find the direction ratios of the line joining P(1, −1, 2) and Q(4, 3, −2).
Solution: Subtract the coordinates of P from those of Q:
a = 4 − 1 = 3 b = 3 − (−1) = 4 c = −2 − 2 = −4
The direction ratios are (3, 4, −4).
Example 7: Find the direction cosines of the line joining A(2, 3, −1) and B(5, 7, 3).
Solution: The direction ratios are (3, 4, 4). The distance AB = √(9 + 16 + 16) = √41. Dividing gives the direction cosines l = 3/√41, m = 4/√41, n = 4/√41.
Example 8: Show that the points A(1, 2, 3), B(4, 5, 6) and C(7, 8, 9) are collinear.
Solution: The direction ratios of AB are (3, 3, 3). The direction ratios of BC are (3, 3, 3). Since the two sets are proportional (indeed identical), the two segments have the same direction and share the point B, so the points are collinear.
| Quantity | Formula |
|---|---|
| Direction ratios | Any triple (a, b, c) proportional to (l, m, n) |
| Normalising factor | √(a² + b² + c²) |
| Direction cosines from ratios | (a/√(a²+b²+c²), b/√(a²+b²+c²), c/√(a²+b²+c²)) |
| DRs of line through two points | (x2−x1, y2−y1, z2−z1) |
| DRs of x-axis | (1, 0, 0) |
| DRs of y-axis | (0, 1, 0) |
| DRs of z-axis | (0, 0, 1) |
| Condition | Consequence for direction ratios |
|---|---|
| Lines parallel | Direction ratios proportional |
| Lines perpendicular | a1a2 + b1b2 + c1c2 = 0 |
| Line parallel to XY-plane | c = 0 |
| Line parallel to YZ-plane | a = 0 |
| Line parallel to ZX-plane | b = 0 |
| Reversed direction | All ratios change sign |
flowchart TD
A[Direction Ratios] --> B[Definition]
A --> C[Conversion to Direction Cosines]
A --> D[From Two Points]
A --> E[Applications]
B --> B1[Proportional to l, m, n]
B --> B2[Not unique]
C --> C1[Divide by sqrt a sq + b sq + c sq]
C --> C2[Identity l sq + m sq + n sq = 1]
D --> D1[Subtract coordinates]
D --> D2[Direction ratios of segment]
E --> E1[Parallel lines proportional]
E --> E2[Perpendicular lines dot zero]
E --> E3[Equation of lines]
Direction ratios give a flexible and convenient way to describe the direction of a line, because any triple proportional to the direction cosines works equally well. Converting between the two representations is straightforward: divide by the square root of the sum of squares to pass from ratios to cosines, and multiply by any constant to return. The direction ratios of a line joining two points are simply the coordinate differences, which makes collinearity and parallelism tests very easy. Together with direction cosines, these tools will now let us write the equations of lines and compute angles between them in the chapters that follow.