STEMviz
Mathematics · Geometry, Vectors and Statistics

Relative Positions of Lines in Space

Two distinct lines in a plane have only two possible relationships: parallel, or intersecting at exactly one point. Space adds a third, genuinely new possibility — two lines can miss each other entirely without ever being parallel. This chapter builds a complete, algorithmic method for classifying any two given lines into one of these three categories.

To follow the chapter you need the vector equation of a line, the parallel vectors test, and solving simultaneous equations from the previous chapter and earlier algebra. Have a clear picture of a cube in mind — its edges supply ready examples of all three relationships at once.

Three possibilities, not two. Two distinct lines in 3D space are either parallel (never meeting), intersecting (meeting at exactly one point), or skew (neither parallel nor intersecting — they simply pass by each other in different planes). Skew lines have no analogue in 2D geometry.

1. Parallel Lines

Two lines are parallel exactly when their direction vectors are parallel, i.e. d⃗1=kd⃗2\vec d_1 = k\vec d_2 for some scalar kk. Having established this, a further check distinguishes two sub-cases:

  • If a point of one line also lies on the other, the lines are coincident (literally the same line).
  • If no point of one line lies on the other, the lines are parallel and distinct.

Worked example. Line 1: r⃗=(102)+t(21−1)\vec r=\begin{pmatrix}1\\0\\2\end{pmatrix}+t\begin{pmatrix}2\\1\\-1\end{pmatrix}. Line 2: r⃗=(310)+s(42−2)\vec r=\begin{pmatrix}3\\1\\0\end{pmatrix}+s\begin{pmatrix}4\\2\\-2\end{pmatrix}. Classify them.

The direction vectors satisfy (4,2,−2)=2(2,1,−1)(4,2,-2)=2(2,1,-1), so they are parallel. Testing whether (3,1,0)(3,1,0) lies on line 1: 3=1+2t  ⟹  t=13=1+2t\implies t=1; 1=0+t  ⟹  t=11=0+t\implies t=1; 0=2−t  ⟹  t=20=2-t\implies t=2. The three values of tt disagree, so (3,1,0)(3,1,0) is not on line 1 — the lines are parallel and distinct.

Keep reading: Relative Positions of Lines in Space

This chapter is Premium. Unlock every Mathematics lesson — theory, interactive visualizations, quizzes, exercises and flashcards — with a one-time purchase or a monthly plan, or get every subject at once with the Full Course Bundle. The first 2 chapters of every block are free with an account.