Lines in Space
A line in space is the set of all points satisfying , the locus of a point moving in a fixed direction through a base point . Key result: a line in is determined by a point and a direction vector (4 effective parameters), and two lines are either intersecting, parallel, or skew. Where it applies: analytic geometry, computer graphics, linear algebra, robotics, physics. Who/when: rooted in Euclid (~300 BCE), made algebraic by Descartes (1637) and vectorial by Gibbs and Heaviside (late 1800s).
A line in three-dimensional space is a one-dimensional affine subspace: the collection of all points obtained by starting at a fixed point and adding all scalar multiples of a fixed nonzero direction vector. It matters because lines are the simplest non-trivial geometric objects in space, serving as the building blocks for planes, rays, segments, and the tangent objects of calculus and differential geometry. Unlike lines in the plane, a single linear equation in describes a plane, not a line — a line requires two simultaneous linear equations, or equivalently a parametric description. A surprising fact: most pairs of lines in space neither meet nor are parallel; they are skew, a phenomenon impossible in two dimensions.
The Core Insight
A line is the orbit of a single point under translation in one fixed direction. Everything else — distances, angles, intersections — follows from comparing direction vectors and the vectors connecting base points. In , the "missing dimension" compared to the plane forces a third category of relative position (skew lines) and means a line cannot be captured by one scalar equation.
Formal Statement
Line in Space — Vector / Parametric Form
Let be a fixed point in and a nonzero direction vector. The line through with direction is:
Here is the parameter, the position vector of a generic point, the base point, and the direction with components called direction numbers. Writing components separately gives the parametric equations:
If are all nonzero, eliminating yields the symmetric (Cartesian) equations:
Line as Intersection of Two Planes
Equivalently, a line is the solution set of two independent linear equations:
The direction of this line is , the cross product of the two plane normals.
Classification of Two Lines in Space
Two distinct lines and in fall into exactly one category:
- Parallel if (i.e. ).
- Intersecting if and .
- Skew if and .
The scalar triple product is the coplanarity test: it vanishes iff the four points/vectors lie in a common plane.
Why It Holds / Derivation
Distance Between Two Skew Lines
We derive the minimum distance between skew lines and .
Step 1. The shortest connecting segment must be perpendicular to both lines, so its direction is parallel to (nonzero since the lines are not parallel). Step 2. Take any vector joining the lines, e.g. , connecting base points. Step 3. The distance equals the length of the projection of onto the common normal direction :Distance From a Point to a Line
The distance from point (position ) to line is found by the area of the parallelogram spanned by and :
René Descartes | 1596–1650
Descartes' La Géométrie (1637) fused algebra with Euclid's geometry, replacing pure constructions with coordinate equations. Though his work was largely two-dimensional, the coordinate method he pioneered made the algebraic description of lines and surfaces in three dimensions possible. The full vector formulation we use today emerged much later, but every parametric and symmetric equation traces back to Descartes' insight that points are number-tuples and geometric loci are equations.
Building Intuition
Picture walking in a fixed compass direction across a flat field while also climbing a uniform slope — your path traces a line in space. The base point is where you start; the direction encodes how much you move east, north, and up per unit of . The parameter is "how far along" — negative walks backward. Two roads in a city are intersecting if they cross, parallel if they run side by side forever, but a highway overpass crossing a road beneath it is skew: the two never touch yet never stay equidistant either. That third possibility is the signature of three-dimensionality.
Three relative positions of lines in space: intersecting, parallel, and skew
Worked Examples
Line Through Two Points & a Distance
Given: Points and . Find the parametric equations of line , then the distance from to this line. Step 1 — direction: . Step 2 — parametric equations: using base ,Cross product :
Skew Lines and Their Minimum Distance
Given: and . Determine their relation and the distance between them. Step 1 — directions: , . Not parallel (not scalar multiples). Step 2 — common normal: . Step 3 — base-to-base: . Step 4 — coplanarity test: . So the lines are skew. Step 5 — distance: .Common Misconceptions
A single linear equation does NOT define a line in space. In , is a line, but in , is a plane. A line in space needs two equations (two intersecting planes) or a parametric form. Forgetting this is the most common source of dimension errors when students transfer plane intuition to three dimensions. Direction vectors are not unique, and neither are base points. The same line is described by and for any and any base point on the line. When comparing two lines, always check parallelism of directions (cross product zero), not literal equality of vectors. "If two lines don't intersect, they must be parallel." False in space. The lines (the -axis) and (a line at height running in ) never meet — the first stays at , the second at — yet their directions and are perpendicular, not parallel. They are skew. This configuration has no analogue in the plane.Connections
Lines in space are the affine span of one vector and connect directly to many neighbouring topics. They are degree-one cases of Planes in Space (a plane needs two independent directions; a line needs one). The classification by direction vectors rests on the Cross Product and Dot Product from Vector Algebra. As one-dimensional affine subspaces they are special cases studied in Linear Algebra and Affine Geometry. The tangent line to a curve is the calculus-limit object built from the same parametric form, linking to Vector-Valued Functions and Differential Geometry of Curves. Pairs of skew lines also seed the study of Ruled Surfaces and the line geometry of Projective Space.
Real-World Applications
- Computer graphics & ray tracing: every rendered pixel shoots a parametric ray from the camera; intersection of these rays with surfaces drives all 3D rendering.
- Robotics & motion planning: robot arm links and laser sightlines are modeled as line segments; collision detection uses point-to-line and line-to-line distance formulas.
- Computer-aided design (CAD): edges of solids, extrusion axes, and mirror/rotation axes are stored as lines in parametric or two-plane form.
- GPS and surveying: lines of sight and intersection of measured bearings (resection/triangulation) reduce to line intersection problems in 3D.
- Aerospace collision avoidance: predicting whether two aircraft trajectories (approximated as lines over short intervals) pass within a safe distance uses the skew-line distance formula directly.
- Crystallography: crystal lattice directions ([Miller indices] like ) are exactly direction numbers of lines through the lattice.
- Physics — optics and mechanics: light rays, the instantaneous axis of rotation of a rigid body, and force lines of action are all spatial lines analyzed with these tools.
Historical Development
- ~300 BCE — Euclid's Elements treats lines synthetically; Book XI begins solid geometry, defining lines and planes in space without coordinates.
- ~250 BCE — Apollonius studies conics, implicitly handling lines as chords, tangents, and axes.
- 1637 — Descartes' La Géométrie introduces coordinate geometry, enabling algebraic equations for geometric loci.
- 1748 — Euler's Introductio in analysin infinitorum systematically develops analytic geometry in three dimensions, including space curves and lines.
- 1827 — Möbius introduces barycentric/homogeneous coordinates, paving the way for projective treatment of lines.
- 1844 — Grassmann's Ausdehnungslehre lays the abstract algebraic foundation (exterior algebra) underlying line and subspace representation.
- 1865 — Plücker introduces Plücker coordinates, a six-component representation of lines in space, founding line geometry.
- 1880s — Gibbs and Heaviside develop modern vector analysis, giving the cross-product/dot-product formulas for distances and classification used today.
- 1900s onward — Linear and affine algebra formalize lines as one-dimensional affine subspaces, the standard undergraduate framework.
Subtleties & Limits
The parametric description breaks down gracefully but instructively at boundaries. Direction with zero components: if , the symmetric form [3] fails ( over is undefined); one must split into a pair like and . Plücker coordinates give a representation-free (up to scale) encoding of lines as points on the Klein quadric in projective 5-space; understanding which 6-tuples are valid lines (the Plücker relation ) is a gateway to algebraic geometry. Open-ended generalizations: lines in remain one-dimensional but the "generic relative position" becomes ever more disjoint; in projective space, parallel lines meet "at infinity," dissolving the parallel/skew distinction. The geometry of families of lines (line congruences and complexes) and the enumeration of lines satisfying constraints (e.g. the classic 27 lines on a cubic surface) remain rich areas connecting elementary line geometry to deep modern mathematics.