Skip to content

Mathematics · Ch 9 — Three-Dimensional Geometry

Summary

Summary

Coordinate axes and planes. Space is referenced against three mutually perpendicular axes OX,OY,OZOX,OY,OZ meeting at the origin OO (a right-handed system), giving three coordinate planes (XYXY, YZYZ, ZXZX) and eight octants; a point's coordinates (x,y,z)(x,y,z) are its signed perpendicular distances from these three planes.

Coordinates and distance.

OP=x2+y2+z2P1P2=(x2−x1)2+(y2−y1)2+(z2−z1)2OP=\sqrt{x^2+y^2+z^2}\qquad P_1P_2=\sqrt{(x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2}

derived by applying the Pythagorean theorem twice. Collinearity of three points is tested by checking the additive relation between their three pairwise distances.

Direction cosines and ratios. For a line making angles α,β,γ\alpha,\beta,\gamma with the axes, direction cosines l=cos⁡α, m=cos⁡β, n=cos⁡γl=\cos\alpha,\ m=\cos\beta,\ n=\cos\gamma always satisfy

l2+m2+n2=1.l^2+m^2+n^2=1.

Direction ratios (a,b,c)(a,b,c) are any triple proportional to (l,m,n)(l,m,n); for the line joining (x1,y1,z1)(x_1,y_1,z_1) and (x2,y2,z2)(x_2,y_2,z_2), direction ratios are (x2−x1, y2−y1, z2−z1)(x_2-x_1,\,y_2-y_1,\,z_2-z_1).

Equation of a line. Through a point a⃗\vec a with direction b⃗\vec b:

Vector: r⃗=a⃗+λb⃗Cartesian: x−x1a=y−y1b=z−z1c\text{Vector: }\vec r=\vec a+\lambda\vec b \qquad\qquad \text{Cartesian: }\frac{x-x_1}{a}=\frac{y-y_1}{b}=\frac{z-z_1}{c}

Through two points, b⃗\vec b (or a,b,ca,b,c) is simply the coordinate/position difference between them.

Skew lines. Two lines are skew if they are neither parallel nor intersecting -- possible only in three (or more) dimensions, never in a plane. Tested algebraically: not parallel, and the system obtained by equating the two lines' general points is inconsistent.

Shortest distance.

Skew lines: d=∣(a⃗2−a⃗1)⋅(b⃗1×b⃗2)∣b⃗1×b⃗2∣∣Parallel lines: d=∣b⃗×(a⃗2−a⃗1)∣b⃗∣∣\text{Skew lines: } d=\left|\frac{(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)}{|\vec b_1\times\vec b_2|}\right| \qquad\qquad \text{Parallel lines: } d=\left|\frac{\vec b\times(\vec a_2-\vec a_1)}{|\vec b|}\right| …