๐Ÿ“ Mathematics โ€” Class XII ยท Three Dimensional Geometry

Three Dimensional Geometry

Lines, planes, and distances in three-dimensional space โ€” the geometry of our world

๐Ÿ“– Chapter 11 โฑ ~65 min read ๐Ÿท 3D Geometry

In this chapter

  1. Introduction
  2. Direction Cosines and Direction Ratios of a Line
  3. Equation of a Line in Space
  4. Angle between Two Lines
  5. Shortest Distance between Two Lines
  6. Summary

11.1 Introduction

In Class XI, we studied the 3D coordinate geometry. Now we extend this to study the geometry of lines and planes in three-dimensional space. In everyday life, we live in a three-dimensional space โ€” every object has length, breadth and height. This chapter develops the tools to describe lines and planes in this space using algebra.

We already know that a line in space can be determined if it passes through a given point and has a given direction. Similarly, a plane can be determined if it passes through a given point and has a given direction (normal). The aim of this chapter is to find the equations of lines and planes in space under different given conditions.

11.2 Direction Cosines and Direction Ratios of a Line

Recall that if a directed line L makes angles ฮฑ, ฮฒ, ฮณ with the positive directions of the x, y and z axes respectively, measured in the anticlockwise direction, then these angles are called the direction angles of the line L. If the direction angles are ฮฑ, ฮฒ, ฮณ, then their cosines cos ฮฑ, cos ฮฒ, cos ฮณ are called the direction cosines of the line L.

Direction cosines, line equations, and angle between lines in 3D
Figure 11.1 โ€” Direction cosines, equations of a line in space, and angle between two lines
Property

If l, m, n are the direction cosines of a line, then lยฒ + mยฒ + nยฒ = 1.

Direction Cosines of a Line Joining Two Points

If P(xโ‚, yโ‚, zโ‚) and Q(xโ‚‚, yโ‚‚, zโ‚‚) are two points on a line, then the direction cosines of the line segment PQ are:

Direction cosines through two points l = (xโ‚‚โˆ’xโ‚)/PQ,   m = (yโ‚‚โˆ’yโ‚)/PQ,   n = (zโ‚‚โˆ’zโ‚)/PQ
where PQ = โˆš((xโ‚‚โˆ’xโ‚)ยฒ + (yโ‚‚โˆ’yโ‚)ยฒ + (zโ‚‚โˆ’zโ‚)ยฒ)

Direction Ratios

If l, m, n are the direction cosines and a, b, c are the direction ratios of a line, then: l = a/โˆš(aยฒ+bยฒ+cยฒ), m = b/โˆš(aยฒ+bยฒ+cยฒ), n = c/โˆš(aยฒ+bยฒ+cยฒ).

11.3 Equation of a Line in Space

Vector Form

The equation of a line that passes through a given point whose position vector is a and is parallel to a given vector b is:

Vector equation of a line r = a + ฮปb    where ฮป is a scalar parameter

Cartesian Form

Equation of a line through a point (xโ‚, yโ‚, zโ‚) and having direction cosines l, m, n is:

Symmetric form (Cartesian) (x โˆ’ xโ‚)/l = (y โˆ’ yโ‚)/m = (z โˆ’ zโ‚)/n

Equation Through Two Points

The vector equation of a line passing through two points whose position vectors are a and b is:

Line through two points r = a + ฮป(b โˆ’ a)
Key insight

The parameter ฮป represents the "t" value โ€” when ฮป = 0, we are at point P; when ฮป = 1, we reach point Q. Any value of ฮป gives a point on the line.

11.4 Angle between Two Lines

If ฮธ is the acute angle between two lines Lโ‚: r = aโ‚ + ฮปbโ‚ and Lโ‚‚: r = aโ‚‚ + ฮผbโ‚‚, then:

Angle between lines (vector form) cos ฮธ = |bโ‚ ยท bโ‚‚| / (|bโ‚| |bโ‚‚|)

If aโ‚, bโ‚, cโ‚ and aโ‚‚, bโ‚‚, cโ‚‚ are the direction ratios of two lines and ฮธ is the acute angle between the two lines, then:

Angle between lines (Cartesian form) cos ฮธ = |aโ‚aโ‚‚ + bโ‚bโ‚‚ + cโ‚cโ‚‚| / โˆš((aโ‚ยฒ+bโ‚ยฒ+cโ‚ยฒ)(aโ‚‚ยฒ+bโ‚‚ยฒ+cโ‚‚ยฒ))
โˆฅ

Parallel Lines

Two lines are parallel if their direction vectors are proportional: bโ‚ = kbโ‚‚ for some scalar k.

โŠฅ

Perpendicular Lines

Two lines are perpendicular if bโ‚ ยท bโ‚‚ = 0, i.e., aโ‚aโ‚‚ + bโ‚bโ‚‚ + cโ‚cโ‚‚ = 0.

11.5 Shortest Distance between Two Lines

If two lines in space intersect at a point, then the shortest distance between them is zero. Also, if two lines in space are parallel, then the shortest distance between them will be the perpendicular distance, i.e. the length of the perpendicular drawn from a point on one line onto the other line.

Further, in space, there are lines which are neither intersecting nor parallel. In fact, such pair of lines are non-coplanar and are called skew lines.

Shortest distance between skew and parallel lines
Figure 11.2 โ€” Shortest distance between skew lines (common perpendicular) and between parallel lines

Shortest Distance Between Skew Lines

Definition

The shortest distance between two skew lines is the length of the line segment perpendicular to both the lines. This is the unique line segment that is perpendicular to both lines and connects them.

For two skew lines r = aโ‚ + ฮปbโ‚ and r = aโ‚‚ + ฮผbโ‚‚, the shortest distance is:

Shortest distance โ€” skew lines (vector form) d = |(aโ‚‚ โˆ’ aโ‚) ยท (bโ‚ ร— bโ‚‚)| / |bโ‚ ร— bโ‚‚|

The common perpendicular direction is bโ‚ ร— bโ‚‚, and the numerator is the scalar triple product of (aโ‚‚ โˆ’ aโ‚), bโ‚ and bโ‚‚.

Shortest Distance Between Parallel Lines

If two lines are parallel (bโ‚ โˆฅ bโ‚‚), the formula simplifies. The direction bโ‚ ร— bโ‚‚ would be zero (since parallel vectors have zero cross product), so we use a different approach:

Shortest distance โ€” parallel lines d = |(aโ‚‚ โˆ’ aโ‚) ร— bโ‚| / |bโ‚|

Cartesian Form

For lines (xโˆ’xโ‚)/aโ‚ = (yโˆ’yโ‚)/bโ‚ = (zโˆ’zโ‚)/cโ‚ and (xโˆ’xโ‚‚)/aโ‚‚ = (yโˆ’yโ‚‚)/bโ‚‚ = (zโˆ’zโ‚‚)/cโ‚‚:

Shortest distance โ€” Cartesian form d = |(xโ‚‚โˆ’xโ‚)(bโ‚cโ‚‚โˆ’bโ‚‚cโ‚) โˆ’ (yโ‚‚โˆ’yโ‚)(aโ‚cโ‚‚โˆ’aโ‚‚cโ‚) + (zโ‚‚โˆ’zโ‚)(aโ‚bโ‚‚โˆ’aโ‚‚bโ‚)|
     / โˆš((bโ‚cโ‚‚โˆ’bโ‚‚cโ‚)ยฒ + (aโ‚cโ‚‚โˆ’aโ‚‚cโ‚)ยฒ + (aโ‚bโ‚‚โˆ’aโ‚‚bโ‚)ยฒ)
Special cases

If the lines intersect, the shortest distance is d = 0 (the lines are coplanar). The condition for intersection is that the determinant |aโ‚‚โˆ’aโ‚, bโ‚, bโ‚‚| = 0.

โˆ‘ Summary

Ch 10 โ€” Vector Algebra Ch 12 โ€” Linear Programming