Coordinate axes and planes. Space is referenced against three mutually perpendicular axes OX,OY,OZ meeting at the origin O (a right-handed system), giving three coordinate planes (XY, YZ, ZX) and eight octants; a point's coordinates (x,y,z) are its signed perpendicular distances from these three planes.
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 α,β,γ with the axes, direction cosines l=cosα,m=cosβ,n=cosγ always satisfy
l2+m2+n2=1.
Direction ratios (a,b,c) are any triple proportional to (l,m,n); for the line joining (x1,y1,z1) and (x2,y2,z2), direction ratios are (x2−x1,y2−y1,z2−z1).
Equation of a line. Through a point a with direction b:
Vector: r=a+λbCartesian: ax−x1=by−y1=cz−z1
Through two points, b (or a,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.