PGD01C01
Module 4 · Vectors and Geometry of Space

Lines and Planes in Space

Core Titles
Key headlines and terms for quick recall
  • Line vector form r⃗=r⃗0+td⃗\vec{r} = \vec{r}_0 + t \vec{d}
  • Line parametric form x=x0+at,  y=y0+bt,  z=z0+ctx = x_0 + at,\; y = y_0 + bt,\; z = z_0 + ct
  • Line symmetric form x−x0a=y−y0b=z−z0c\dfrac{x - x_0}{a} = \dfrac{y - y_0}{b} = \dfrac{z - z_0}{c}
  • Plane vector form n⃗⋅(r⃗−r⃗0)=0\vec{n} \cdot (\vec{r} - \vec{r}_0) = 0
  • Plane Cartesian ax+by+cz=dax + by + cz = d
  • Intersection of two planes is a line (or empty)
Basic Idea
What it is, why it matters, how it works

Line in space

A line is determined by a point r⃗0=(x0,y0,z0)\vec{r}_0 = (x_0, y_0, z_0) on it and a direction vector d⃗=(a,b,c)\vec{d} = (a, b, c).

Vector form r⃗(t)=r⃗0+td⃗,t∈R.\vec{r}(t) = \vec{r}_0 + t\vec{d}, \quad t \in \mathbb{R}.

Parametric form x=x0+at,y=y0+bt,z=z0+ct.x = x_0 + at, \quad y = y_0 + bt, \quad z = z_0 + ct.

Symmetric form (when a,b,ca, b, c all non-zero) x−x0a=y−y0b=z−z0c.\frac{x - x_0}{a} = \frac{y - y_0}{b} = \frac{z - z_0}{c}.

Line through two points A,BA, B

Direction = B⃗−A⃗\vec{B} - \vec{A}. So r⃗(t)=A⃗+t(B⃗−A⃗)\vec{r}(t) = \vec{A} + t(\vec{B} - \vec{A}).

Plane in space

Determined by a point r⃗0\vec{r}_0 and a normal vector n⃗=(a,b,c)\vec{n} = (a, b, c).

Vector form n⃗⋅(r⃗−r⃗0)=0\vec{n} \cdot (\vec{r} - \vec{r}_0) = 0

Cartesian form a(x−x0)+b(y−y0)+c(z−z0)=0orax+by+cz=d.a(x - x_0) + b(y - y_0) + c(z - z_0) = 0 \quad \text{or} \quad ax + by + cz = d.

Plane through three non-collinear points A,B,CA, B, C

Take n⃗=(B⃗−A⃗)×(C⃗−A⃗)\vec{n} = (\vec{B} - \vec{A}) \times (\vec{C} - \vec{A}), then use point-normal form.

Intersections

  • Two planes with non-parallel normals → a line.
  • Line and plane: substitute parametric line into plane equation, solve for tt.

Why this matters in Data Science

Lines/planes are the geometric backbone of classification (decision boundary), regression (best-fit plane), and dimensionality reduction.

Mind Map
Visual structure of the concept
LINES & PLANES IN SPACE
├── LINE
│   ├── Vector: r = r₀ + td
│   ├── Parametric: (x₀+at, y₀+bt, z₀+ct)
│   ├── Symmetric: (x−x₀)/a = (y−y₀)/b = (z−z₀)/c
│   └── Through A, B: d = B − A
└── PLANE
    ├── Vector: n·(r − r₀) = 0
    ├── Cartesian: ax + by + cz = d
    ├── Normal vector n
    └── Through 3 points: n = (B−A) × (C−A)
Exam Q&A
Part A (2 marks) and Part B (20 marks) style questions

Part A (2 marks each)

Q1. Write the vector equation of a line. r⃗(t)=r⃗0+td⃗\vec{r}(t) = \vec{r}_0 + t \vec{d}, where r⃗0\vec{r}_0 is a point on the line and d⃗\vec{d} its direction.

Q2. Write the equation of a plane in vector form. n⃗⋅(r⃗−r⃗0)=0\vec{n} \cdot (\vec{r} - \vec{r}_0) = 0.

Q3. Find the equation of the line through (1,0,2)(1, 0, 2) and (3,4,−1)(3, 4, -1). Direction (2,4,−3)(2, 4, -3). Equation: r⃗(t)=(1,0,2)+t(2,4,−3)\vec{r}(t) = (1, 0, 2) + t(2, 4, -3).

Q4. What is the normal to the plane 2x−3y+4z=52x - 3y + 4z = 5? n⃗=(2,−3,4)\vec{n} = (2, -3, 4).


Part B (20 marks)

Q. Derive the equation of a line and a plane in space. Find the equation of the plane passing through A(1,1,1)A(1,1,1), B(2,3,4)B(2,3,4), C(0,1,2)C(0,1,2), and the equation of the line through the origin perpendicular to this plane.

Equation of a line. Given a point r⃗0\vec{r}_0 and direction d⃗\vec{d}, every point on the line is r⃗0+td⃗\vec{r}_0 + t\vec{d} for some scalar tt. Hence vector form r⃗(t)=r⃗0+td⃗\vec{r}(t) = \vec{r}_0 + t\vec{d}; in components, parametric equations.

Equation of a plane. Given point r⃗0\vec{r}_0 on the plane and normal n⃗\vec{n}, any point r⃗\vec{r} on the plane satisfies (r⃗−r⃗0)⊥n⃗(\vec{r} - \vec{r}_0) \perp \vec{n}, i.e., n⃗⋅(r⃗−r⃗0)=0\vec{n} \cdot (\vec{r} - \vec{r}_0) = 0.

Plane through A,B,CA, B, C.

Step 1 — Two edge vectors. AB⃗=(1,2,3),AC⃗=(−1,0,1)\vec{AB} = (1, 2, 3), \quad \vec{AC} = (-1, 0, 1).

Step 2 — Normal via cross product. n⃗=AB⃗×AC⃗=∣i^j^k^123−101∣=i^(2⋅1−3⋅0)−j^(1⋅1−3⋅−1)+k^(1⋅0−2⋅−1)\vec{n} = \vec{AB} \times \vec{AC} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 1 & 2 & 3 \\ -1 & 0 & 1 \end{vmatrix} = \hat{i}(2 \cdot 1 - 3 \cdot 0) - \hat{j}(1 \cdot 1 - 3 \cdot -1) + \hat{k}(1 \cdot 0 - 2 \cdot -1) =2i^−4j^+2k^=(2,−4,2)= 2\hat{i} - 4\hat{j} + 2\hat{k} = (2, -4, 2). Simplify: (1,−2,1)(1, -2, 1).

Step 3 — Cartesian form. Using point A(1,1,1)A(1,1,1): 1(x−1)−2(y−1)+1(z−1)=0⇒x−2y+z=01(x - 1) - 2(y - 1) + 1(z - 1) = 0 \Rightarrow x - 2y + z = 0.

Line through origin perpendicular to this plane. Direction = normal n⃗=(1,−2,1)\vec{n} = (1, -2, 1), passes through origin: r⃗(t)=(0,0,0)+t(1,−2,1)=(t,−2t,t).\vec{r}(t) = (0,0,0) + t(1, -2, 1) = (t, -2t, t). Parametric: x=t,  y=−2t,  z=tx = t, \; y = -2t, \; z = t. Symmetric: x1=y−2=z1\dfrac{x}{1} = \dfrac{y}{-2} = \dfrac{z}{1}.