A formula walkthrough of three dimensional geometry: direction cosines and ratios, the equations of a line, the angle between two lines, and the distance between skew and parallel lines.
This Class 12 lesson sets up the standard formula sheet for three dimensional geometry. It starts with direction cosines and direction ratios and the relation between them, then builds the vector and Cartesian equations of a line through a point and through two points. From there it covers the angle between two lines, the conditions for lines to be perpendicular or parallel, and finishes with the distance between two skew lines and between two parallel lines.
What you'll learn
How direction cosines and direction ratios are defined and how they relate to each other
The vector and Cartesian equations of a line through a point and through two points
How to find the angle between two lines and the conditions for them to be perpendicular or parallel
How to find the distance between two skew lines and between two parallel lines
Lesson chapters
0:00The three axes and direction cosines
1:10Direction ratios and their relation to cosines
3:44Equation of a line through a point
6:36Equation of a line through two points
8:28Angle between two lines
11:01Perpendicular and parallel conditions
16:32Distance between skew and parallel lines
Lesson notes
This lesson collects the key formulae of three dimensional geometry: direction cosines and ratios, the equations of a line, the angle between two lines, and the distances involving skew and parallel lines.
The three axes and direction cosines
In three dimensions there are three mutually perpendicular axes: the x, y and z axes. A line in space makes angles α, β, γ with these axes. These are the direction angles, and their cosines are the direction cosines, written l, m, n:
l=cosα,m=cosβ,n=cosγ
The direction cosines always satisfy
l2+m2+n2=1,
which is the same as
cos2α+cos2β+cos2γ=1.
Direction ratios
Numbers proportional to the direction cosines are called direction ratios, written a, b, c. The direction cosines are recovered from them by dividing by the length:
l=±a2+b2+c2a,m=±a2+b2+c2b,n=±a2+b2+c2c.
The sign depends on the octant, but in most cases we take the positive values.
Equation of a line through a point
For a line through the point P(x1,y1,z1) and parallel to a vector b, there are two forms.
Vector form. With a the position vector of P,
r=a+λb.
Cartesian form. With a, b, c the direction ratios of the parallel vector,
ax−x1=by−y1=cz−z1.
Equation of a line through two points
For a line through P(x1,y1,z1) and Q(x2,y2,z2), with position vectors a and b:
Vector form.
r=a+λ(b−a).
Cartesian form.
x2−x1x−x1=y2−y1y−y1=z2−z1z−z1.
Angle between two lines
Take two lines with direction vectors b1 and b2, or direction ratios a1,b1,c1 and a2,b2,c2.