‹ Class 12 · Ch 11
Three Dimensional Geometry · Principle 3 of 10

From P to Q

Direction ratios of PQ: x₂ − x₁, y₂ − y₁, z₂ − z₁; divide by PQ for l, m, n.

Stuck? Ask Guru

NCERT: 11.2.1 Direction cosines of a line passing through two points

Think

Two points, one line

Exactly one line passes through two points P and Q. Its direction is the direction of PQ.

Which three numbers are direction ratios of the line PQ?

What this lesson covers

The idea

For P(x₁, y₁, z₁) and Q(x₂, y₂, z₂), the direction cosines of PQ are (x₂ − x₁)/PQ, (y₂ − y₁)/PQ, (z₂ − z₁)/PQ, and x₂ − x₁, y₂ − y₁, z₂ − z₁ are direction ratios.

Two points, one line

Exactly one line passes through two points P and Q. Its direction is the direction of PQ.

Which three numbers are direction ratios of the line PQ?

  • x₂ − x₁, y₂ − y₁, z₂ − z₁
  • x₁ + x₂, y₁ + y₂, z₁ + z₂
  • x₂, y₂, z₂

Move Q

P is fixed at (−2, 4, −5). Move Q with the steppers. The readout gives Q − P, the length PQ and the direction cosines.

Line through two points

For P(x₁, y₁, z₁) and Q(x₂, y₂, z₂), x₂ − x₁, y₂ − y₁, z₂ − z₁ are direction ratios of PQ, and its direction cosines are (x₂ − x₁)/PQ, (y₂ − y₁)/PQ, (z₂ − z₁)/PQ, where PQ = √((x₂ − x₁)² + (y₂ − y₁)² + (z₂ − z₁)²).

Example 3: P(−2, 4, −5) and Q(1, 2, 3) give direction ratios 3, −2, 8 and PQ = √77, so l, m, n = 3/√77, −2/√77, 8/√77.

Example 5: AB has direction ratios −1, −5, 7 and BC has 2, 10, −14. They are proportional, so AB ∥ BC; with B common to both, A, B and C are collinear.

Notes

Line PQ: direction ratios x₂ − x₁, y₂ − y₁, z₂ − z₁ (or their negatives). Direction cosines: each divided by PQ.

Check yourself

Example 3: P(−2, 4, −5) and Q(1, 2, 3). PQ = √N. Find N.

Answer: 77

3² + (−2)² + 8² = 9 + 4 + 64 = 77.

Exercise 11.1, Q4: A(2, 3, 4), B(−1, −2, 1), C(5, 8, 7). BC has direction ratios 6, 10, k. Find k.

Answer: 6

7 − 1 = 6. So BC has 6, 10, 6, which is −2 times AB’s −3, −5, −3: A, B, C are collinear.

Direction ratios of PQ may also be taken as …

  • x₂ + x₁, y₂ + y₁, z₂ + z₁. Sums of coordinates are not a direction.
  • x₁ − x₂, y₁ − y₂, z₁ − z₂ — correct. Yes! That is the direction QP: proportional, with k = −1.
  • x₂/x₁, y₂/y₁, z₂/z₁. Ratios of coordinates are not direction ratios.