Three Dimensional Geometry Flashcards

Direction Cosines and Direction Ratios of a Line

In three-dimensional geometry, the orientation of a line is defined using Direction Cosines (DCs) and Direction Ratios (DRs). Direction Cosines are represented by the symbols ll, mm, and nn. These represent the cosines of the angles α\alpha, β\beta, and γ\gamma that a line makes with the positive directions of the xx, yy, and zz axes, respectively. Mathematically, this is expressed as l=cos(α)l = \cos(\alpha), m=cos(β)m = \cos(\beta), and n=cos(γ)n = \cos(\gamma). A fundamental property connecting these three values is that the sum of their squares is always equal to unity, stated by the formula l2+m2+n2=1l^2 + m^2 + n^2 = 1.

Direction Ratios are defined as any three numbers aa, bb, and cc that are proportional to the Direction Cosines of a line. This proportionality implies that la=mb=nc=λ\frac{l}{a} = \frac{m}{b} = \frac{n}{c} = \lambda, where λ\lambda is a constant. Using the identity l2+m2+n2=1l^2 + m^2 + n^2 = 1, we can derive that (aλ)2+(bλ)2+(cλ)2=1(a\lambda)^2 + (b\lambda)^2 + (c\lambda)^2 = 1. Solving for λ\lambda yields λ2(a2+b2+c2)=1\lambda^2(a^2 + b^2 + c^2) = 1, which means λ=±1a2+b2+c2\lambda = \pm \frac{1}{\sqrt{a^2 + b^2 + c^2}}. Consequently, the Direction Cosines can be calculated from the Direction Ratios using the formulas l=±aa2+b2+c2l = \pm \frac{a}{\sqrt{a^2 + b^2 + c^2}}, m=±ba2+b2+c2m = \pm \frac{b}{\sqrt{a^2 + b^2 + c^2}}, and n=±ca2+b2+c2n = \pm \frac{c}{\sqrt{a^2 + b^2 + c^2}}.

Direction Cosines of a Line Passing Through Two Points

Consider a line passing through two distinct points P(x1,y1,z1)P(x_1, y_1, z_1) and Q(x2,y2,z2)Q(x_2, y_2, z_2). To find the Direction Cosines of the line PQPQ, we first determine the Direction Ratios, which are simply the differences between the coordinates of the two points: x2x1x_2 - x_1, y2y1y_2 - y_1, and z2z1z_2 - z_1. Alternatively, one can use x1x2x_1 - x_2, y1y2y_1 - y_2, and z1z2z_1 - z_2.

The length of the line segment PQPQ, which serves as the normalizing factor (hypotenuse), is given by the distance formula: PQ=(x2x1)2+(y2y1)2+(z2z1)2PQ = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}. The Direction Cosines are then defined as the ratio of the coordinate differences to this length:

l=cos(α)=x2x1PQl = \cos(\alpha) = \frac{x_2 - x_1}{PQ}

m=cos(β)=y2y1PQm = \cos(\beta) = \frac{y_2 - y_1}{PQ}

n=cos(γ)=z2z1PQn = \cos(\gamma) = \frac{z_2 - z_1}{PQ}

Examples of Direction Cosines and Ratios

Example 1 (Finding DCs from Angles): If a line makes angles 9090^{\circ}, 6060^{\circ}, and 3030^{\circ} with the positive directions of the xx, yy, and zz axes respectively, find its Direction Cosines. Given α=90\alpha = 90^{\circ}, β=60\beta = 60^{\circ}, and γ=30\gamma = 30^{\circ}, we calculate:

  • l=cos(90)=0l = \cos(90^{\circ}) = 0
  • m=cos(60)=12m = \cos(60^{\circ}) = \frac{1}{2}
  • n=cos(30)=32n = \cos(30^{\circ}) = \frac{\sqrt{3}}{2} The Direction Cosines of the line are 0,12,32\langle 0, \frac{1}{2}, \frac{\sqrt{3}}{2} \rangle.

Example 2 (Finding DCs from DRs): If a line has Direction Ratios 2,1,22, -1, -2, determine its Direction Cosines. First, calculate a2+b2+c2=22+(1)2+(2)2=4+1+4=9=3\sqrt{a^2 + b^2 + c^2} = \sqrt{2^2 + (-1)^2 + (-2)^2} = \sqrt{4 + 1 + 4} = \sqrt{9} = 3. The Direction Cosines are:

  • l=±23l = \pm \frac{2}{3}
  • m=±13m = \pm \frac{-1}{3}
  • n=±23n = \pm \frac{-2}{3} The Direction Cosines are ±(23,13,23)\pm (\frac{2}{3}, -\frac{1}{3}, -\frac{2}{3}).

Geometry of a Triangle (BC and AC Calculation): From a specific geometric exercise, for a line segment BCBC with Direction Ratios (4,6,4)(-4, -6, 4), the magnitude is BC=16+36+16=68=217|BC| = \sqrt{16 + 36 + 16} = \sqrt{68} = 2\sqrt{17}. The resulting Direction Cosines are 217,317,217\langle -\frac{2}{\sqrt{17}}, -\frac{3}{\sqrt{17}}, \frac{2}{\sqrt{17}} \rangle. For a line segment ACAC passing through points (3,5,4)(3, 5, -4) and (5,5,2)(-5, -5, -2), the Direction Ratios are (8,10,2)(-8, -10, 2). The magnitude is AC=64+100+4=168=242|AC| = \sqrt{64 + 100 + 4} = \sqrt{168} = 2\sqrt{42}. The Direction Cosines are 8242,10242,2242\langle -\frac{8}{2\sqrt{42}}, -\frac{10}{2\sqrt{42}}, \frac{2}{2\sqrt{42}} \rangle.

Equation of a Line in Space

A line in three-dimensional space can be uniquely determined if we know a point through which it passes and the direction along which it lies (represented by a parallel vector).

Vector Form: Let a line pass through a point AA with position vector a\mathbf{a} and be parallel to a vector b\mathbf{b}. If r\mathbf{r} is the position vector of any arbitrary point P(x,y,z)P(x, y, z) on the line, the vector equation is given by r=a+λb\mathbf{r} = \mathbf{a} + \lambda \mathbf{b}, where λ\lambda is a scalar.

Cartesian Form: If the point AA has coordinates (x1,y1,z1)(x_1, y_1, z_1) and the parallel vector b\mathbf{b} has Direction Ratios aa, bb, and cc (so b=ai^+bj^+ck^\mathbf{b} = a\hat{i} + b\hat{j} + c\hat{k}), the equations of the line can be written as xx1a=yy1b=zz1c\frac{x - x_1}{a} = \frac{y - y_1}{b} = \frac{z - z_1}{c}.

Example 6: Find the vector and the Cartesian equations of the line through the point (3,2,4)(3, 2, -4) and which is parallel to the vector 3i^+2j^8k^3\hat{i} + 2\hat{j} - 8\hat{k}. Note: In the provided worked solution, the starting point was taken as A(5,2,4)A(5, 2, -4).

  • Position vector a=5i^+2j^4k^\mathbf{a} = 5\hat{i} + 2\hat{j} - 4\hat{k}.
  • Parallel vector b=3i^+2j^8k^\mathbf{b} = 3\hat{i} + 2\hat{j} - 8\hat{k}.
  • Vector Equation: r=(5i^+2j^4k^)+λ(3i^+2j^8k^)\mathbf{r} = (5\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(3\hat{i} + 2\hat{j} - 8\hat{k}).
  • Cartesian Equation: x53=y22=z+48\frac{x - 5}{3} = \frac{y - 2}{2} = \frac{z + 4}{-8}.

Angle Between Two Lines

The angle θ\theta between two lines can be determined using their Direction Ratios or Direction Cosines. Let line L1L_1 have Direction Ratios a1,b1,c1a_1, b_1, c_1 and line L2L_2 have Direction Ratios a2,b2,c2a_2, b_2, c_2.

Using Direction Ratios: The cosine of the angle is given by the formula: cos(θ)=a1a2+b1b2+c1c2a12+b12+c12a22+b22+c22\cos(\theta) = \frac{|a_1a_2 + b_1b_2 + c_1c_2|}{\sqrt{a_1^2 + b_1^2 + c_1^2} \sqrt{a_2^2 + b_2^2 + c_2^2}} The sine of the angle can be expressed as: sin(θ)=(a1b2a2b1)2+(b1c2b2c1)2+(c1a2c2a1)2a12+b12+c12a22+b22+c22\sin(\theta) = \frac{\sqrt{(a_1b_2 - a_2b_1)^2 + (b_1c_2 - b_2c_1)^2 + (c_1a_2 - c_2a_1)^2}}{\sqrt{a_1^2 + b_1^2 + c_1^2} \sqrt{a_2^2 + b_2^2 + c_2^2}}

Using Direction Cosines: If the Direction Cosines of the lines are l1,m1,n1\langle l_1, m_1, n_1 \rangle and l2,m2,n2\langle l_2, m_2, n_2 \rangle, the formula simplifies significantly because l2+m2+n2=1l^2 + m^2 + n^2 = 1: cos(θ)=l1l2+m1m2+n1n2\cos(\theta) = |l_1l_2 + m_1m_2 + n_1n_2|

Conditions for Perpendicularity and Parallelism:

  1. Perpendicularity: Two lines are perpendicular if the angle θ=90\theta = 90^{\circ}. In this case, cos(90)=0\cos(90^{\circ}) = 0, leading to the condition: a1a2+b1b2+c1c2=0a_1a_2 + b_1b_2 + c_1c_2 = 0 or l1l2+m1m2+n1n2=0l_1l_2 + m_1m_2 + n_1n_2 = 0.
  2. Parallelism: Two lines are parallel if the angle θ=0\theta = 0^{\circ}. This occurs when their Direction Ratios are proportional: a1a2=b1b2=c1c2=k\frac{a_1}{a_2} = \frac{b_1}{b_2} = \frac{c_1}{c_2} = k.