Skip to content
VidiMaster it, module by module
Module 1/Vectors

Lines and Planes in ℝ³

Learn to describe lines and planes in three-dimensional space using points and direction vectors, move fluidly between parametric, vector, and normal forms, and test whether a given point lies on a line or plane.

Before you start — give these a try

Attempting first primes your brain for the lesson — even if you miss. Nothing is graded or saved; it's just a warm-up.

A plane passes through p=(2,1,0)\mathbf{p}=(2,1,0) with normal vector n=(1,2,2)\mathbf{n}=(1,2,2). Its scalar equation is x+2y+2z=dx+2y+2z=d. Find the value of dd.

A plane contains the direction vectors u=(1,2,0)\mathbf{u}=(1,2,0) and v=(0,1,1)\mathbf{v}=(0,1,1). Compute the normal vector n=u×v\mathbf{n}=\mathbf{u}\times\mathbf{v} (in that order).

What you’ll be able to do

  • Write the vector and parametric equations of a line in R3\mathbb{R}^3 from a point and a direction vector.
  • Find a direction vector from two points and decide whether a third point lies on the line.
  • Describe a plane both parametrically (a point plus two direction vectors) and in normal form n⋅(x−p)=0\mathbf{n}\cdot(\mathbf{x}-\mathbf{p})=0.
  • Convert a plane between parametric and scalar/normal form using the cross product.
  • Determine whether a point lies on a plane, and find where a line meets a plane.

In your course

· MATH2015 · Linear Algebra & Probability
§1.2.1–1.2.2 Lines and planes in ℝ², ℝ³
  • Definition 1.4Line through the origin, L={t v:t∈R}L=\{t\,v : t\in\mathbb{R}\}
  • Definition 1.5Line through pp parallel to vv, L′={p+t v:t∈R}L'=\{p+t\,v : t\in\mathbb{R}\}
  • Definition 1.6Plane Π=span⁡(v,w)={t v+s w}\Pi=\operatorname{span}(v,w)=\{t\,v+s\,w\} (and p+Πp+\Pi)
1

Lines: a point plus a direction

The big idea. A line is just "a known point and a heading." Fix one point you are sure lies on the line, then say which way the line runs. Everything else on the line is reached by sliding away from that point in the chosen direction.

Let p=[p1p2p3]\mathbf{p} = \begin{bmatrix} p_1 \\ p_2 \\ p_3 \end{bmatrix} be a known point on the line and let d=[d1d2d3]≠0\mathbf{d} = \begin{bmatrix} d_1 \\ d_2 \\ d_3 \end{bmatrix} \neq \mathbf{0} be a direction vector — the arrow that points along the line. The scalar t∈Rt \in \mathbb{R} is the parameter: it tells you how many copies of d\mathbf{d} to add to p\mathbf{p}.

Vector equation. Every point x\mathbf{x} on the line can be written x=p+t d,t∈R.\mathbf{x} = \mathbf{p} + t\,\mathbf{d}, \qquad t \in \mathbb{R}. As tt runs over all real numbers, x\mathbf{x} traces the whole line. At t=0t=0 you are at p\mathbf{p}; positive tt moves one way, negative tt the other.

Parametric equations. Reading the vector equation one coordinate at a time gives three scalar equations: x=p1+t d1,y=p2+t d2,z=p3+t d3.x = p_1 + t\,d_1, \qquad y = p_2 + t\,d_2, \qquad z = p_3 + t\,d_3.

Two things to remember.

  • The direction vector is not unique: any nonzero scalar multiple c dc\,\mathbf{d} (with c≠0c\neq 0) describes the same line. So (2,4,4)(2,4,4), (1,2,2)(1,2,2), and (−1,−2,−2)(-1,-2,-2) are all valid directions for the same line.
  • The point p\mathbf{p} is not unique either — any point on the line works as the anchor.
2

From two points to a line, and testing membership

Finding a direction from two points. If a\mathbf{a} and b\mathbf{b} are two distinct points on a line, the arrow from one to the other points along the line: d=b−a.\mathbf{d} = \mathbf{b} - \mathbf{a}. Then the line is x=a+t(b−a)\mathbf{x} = \mathbf{a} + t(\mathbf{b}-\mathbf{a}). (Notice t=0t=0 gives a\mathbf{a} and t=1t=1 gives b\mathbf{b}.)

Is a given point on the line? Suppose the line is x=p+t d\mathbf{x}=\mathbf{p}+t\,\mathbf{d} and you are handed a point q=(q1,q2,q3)\mathbf{q}=(q_1,q_2,q_3). The point lies on the line exactly when there is a single value of tt that satisfies all three coordinate equations: q1=p1+t d1,q2=p2+t d2,q3=p3+t d3.q_1 = p_1 + t\,d_1, \qquad q_2 = p_2 + t\,d_2, \qquad q_3 = p_3 + t\,d_3.

Procedure. Solve for tt using one coordinate (any coordinate whose di≠0d_i \neq 0), then check that the same tt works in the other two.

  • If all three agree ⇒\Rightarrow the point is on the line.
  • If even one disagrees ⇒\Rightarrow it is off the line.

This is the most common mistake to avoid: a point can match in two coordinates and still fail in the third, so you must check all of them.

3

Planes: two directions, or one normal

A line needed one direction; a plane is two-dimensional, so it needs two independent directions — or, cleverly, a single arrow that sticks straight out of it.

Parametric (point + two directions). Fix a point p\mathbf{p} on the plane and two direction vectors u,v\mathbf{u},\mathbf{v} that lie in the plane and are not parallel (neither is a scalar multiple of the other). Then every point of the plane is x=p+s u+t v,s,t∈R.\mathbf{x} = \mathbf{p} + s\,\mathbf{u} + t\,\mathbf{v}, \qquad s,t \in \mathbb{R}. Here ss and tt are two independent parameters — you need two knobs because a plane is a 2D sheet.

Normal form (point + normal). A cleaner description uses a normal vector n≠0\mathbf{n}\neq\mathbf{0}, an arrow perpendicular to the plane. A point x\mathbf{x} is on the plane exactly when the displacement x−p\mathbf{x}-\mathbf{p} is perpendicular to n\mathbf{n}, i.e. their dot product is zero: n⋅(x−p)=0.\mathbf{n}\cdot(\mathbf{x}-\mathbf{p}) = 0.

Scalar (Cartesian) form. Expanding the dot product with n=(n1,n2,n3)\mathbf{n}=(n_1,n_2,n_3) and x=(x,y,z)\mathbf{x}=(x,y,z) gives the familiar single equation n1x+n2y+n3z=d,where d=n⋅p=n1p1+n2p2+n3p3.n_1 x + n_2 y + n_3 z = d, \qquad \text{where } d = \mathbf{n}\cdot\mathbf{p} = n_1 p_1 + n_2 p_2 + n_3 p_3. The coefficients of x,y,zx,y,z are precisely the components of a normal vector — read a plane's normal straight off its equation.

4

Converting between forms and finding intersections

Parametric →\to normal. Given two in-plane directions u,v\mathbf{u},\mathbf{v}, a normal is their cross product, which is perpendicular to both: n=u×v=[u2v3−u3v2u3v1−u1v3u1v2−u2v1].\mathbf{n} = \mathbf{u}\times\mathbf{v} = \begin{bmatrix} u_2 v_3 - u_3 v_2 \\ u_3 v_1 - u_1 v_3 \\ u_1 v_2 - u_2 v_1 \end{bmatrix}. Then use d=n⋅pd = \mathbf{n}\cdot\mathbf{p} to get the scalar equation. (Swapping the order v×u\mathbf{v}\times\mathbf{u} flips the sign of n\mathbf{n} — still a valid normal, since n\mathbf{n} and −n-\mathbf{n} describe the same plane.)

Three points →\to plane. Given points a,b,c\mathbf{a},\mathbf{b},\mathbf{c} (not all on one line), build two directions u=b−a\mathbf{u}=\mathbf{b}-\mathbf{a} and v=c−a\mathbf{v}=\mathbf{c}-\mathbf{a}, then cross them.

Is a point on a plane? Plug its coordinates into the scalar equation n1x+n2y+n3z=dn_1 x + n_2 y + n_3 z = d. If the left side equals dd, it is on the plane; otherwise not. (No parameter-solving needed — one arithmetic check.)

Where does a line meet a plane? Substitute the line's parametric coordinates into the plane's scalar equation, which leaves a single equation in tt. Solve for tt, then plug that tt back into the line to get the intersection point.

  • One solution for tt ⇒\Rightarrow a single crossing point.
  • No solution (0=0 = nonzero) ⇒\Rightarrow the line is parallel to the plane and misses it.
  • Every tt works (0=00=0) ⇒\Rightarrow the line lies entirely in the plane.
Vector and Parametric Equation of a Line

A line through the point p∈R3\mathbf{p}\in\mathbb{R}^3 with direction vector d≠0\mathbf{d}\neq\mathbf{0} is the set of points x=p+t d\mathbf{x}=\mathbf{p}+t\,\mathbf{d} for t∈Rt\in\mathbb{R}; equivalently x=p1+td1,  y=p2+td2,  z=p3+td3x=p_1+t d_1,\; y=p_2+t d_2,\; z=p_3+t d_3. A point q\mathbf{q} lies on the line iff a single value of tt satisfies all three coordinate equations.

Intuition. A line is one anchor point plus a heading. The parameter tt measures how far, and in which direction, you have slid along that heading from the anchor. Because every coordinate is driven by the same tt, a point is on the line only if one consistent tt explains all three coordinates at once.
Scalar (Normal) Equation of a Plane

A plane through p\mathbf{p} with nonzero normal vector n=(n1,n2,n3)\mathbf{n}=(n_1,n_2,n_3) is n⋅(x−p)=0\mathbf{n}\cdot(\mathbf{x}-\mathbf{p})=0, which expands to n1x+n2y+n3z=dn_1 x + n_2 y + n_3 z = d where d=n⋅pd=\mathbf{n}\cdot\mathbf{p}. Conversely, the equation n1x+n2y+n3z=dn_1 x + n_2 y + n_3 z = d describes a plane whose normal vector is (n1,n2,n3)(n_1,n_2,n_3).

Intuition. A plane is a flat sheet, and a normal is the one direction that pokes straight out of it. A point is on the sheet precisely when its displacement from a known point has no component along the normal — that is, when the dot product with n\mathbf{n} vanishes. The coefficients of x,y,zx,y,z in the Cartesian equation literally are the normal's components.
Cross Product as a Normal Vector

If u,v\mathbf{u},\mathbf{v} are non-parallel directions lying in a plane, then n=u×v=(u2v3−u3v2,  u3v1−u1v3,  u1v2−u2v1)\mathbf{n}=\mathbf{u}\times\mathbf{v}=\big(u_2 v_3-u_3 v_2,\; u_3 v_1-u_1 v_3,\; u_1 v_2-u_2 v_1\big) is perpendicular to both and hence is a normal vector of the plane.

Intuition. The cross product manufactures a vector at right angles to the two it is fed. Since both input vectors lie flat in the plane, their perpendicular partner must stick out of the plane — exactly what a normal is. Reversing the order negates it, but ±n\pm\mathbf{n} describe the same plane.

Worked examples

Example 1

Find the vector and parametric equations of the line through A=(1,0,2)A=(1,0,2) and B=(3,4,6)B=(3,4,6). Then decide whether P=(7,12,14)P=(7,12,14) lies on this line.

  1. 1

    Step 1 — find a direction vector. Subtract the two points to get an arrow along the line: d=B−A=(3−1,  4−0,  6−2)=(2,4,4)\mathbf{d}=B-A=(3-1,\;4-0,\;6-2)=(2,4,4). Any nonzero multiple works, so (1,2,2)(1,2,2) would do too, but (2,4,4)(2,4,4) is fine.

  2. 2

    Step 2 — write the vector equation. Use AA as the anchor point: x=A+t d=[102]+t[244]\mathbf{x}=A+t\,\mathbf{d}=\begin{bmatrix}1\\0\\2\end{bmatrix}+t\begin{bmatrix}2\\4\\4\end{bmatrix}, for t∈Rt\in\mathbb{R}.

  3. 3

    Step 3 — write the parametric equations. Read it coordinate by coordinate: x=1+2t,y=0+4t,z=2+4t.x=1+2t,\quad y=0+4t,\quad z=2+4t.

  4. 4

    Step 4 — test P=(7,12,14)P=(7,12,14). Solve for tt using the xx-coordinate: 7=1+2t⇒2t=6⇒t=3.7=1+2t \Rightarrow 2t=6 \Rightarrow t=3.

  5. 5

    Step 5 — check the same tt in the other coordinates. yy: 0+4(3)=120+4(3)=12, which matches PP's y=12y=12. zz: 2+4(3)=142+4(3)=14, which matches PP's z=14z=14. All three coordinates agree at t=3t=3.

  6. 6

    Step 6 — conclude. Because a single value t=3t=3 satisfies all three equations, PP lies on the line (it is the point reached at t=3t=3).

Answer. Line: x=(1,0,2)+t(2,4,4)\mathbf{x}=(1,0,2)+t(2,4,4), i.e. x=1+2t,  y=4t,  z=2+4tx=1+2t,\;y=4t,\;z=2+4t. The point P=(7,12,14)P=(7,12,14) does lie on the line (at t=3t=3).
Example 2

A plane passes through p=(1,1,1)\mathbf{p}=(1,1,1) and contains the direction vectors u=(1,0,1)\mathbf{u}=(1,0,1) and v=(0,1,1)\mathbf{v}=(0,1,1). Find its scalar equation n1x+n2y+n3z=dn_1 x+n_2 y+n_3 z=d.

Example 3

Find the point where the line x=(2,1,0)+t(1,1,2)\mathbf{x}=(2,1,0)+t(1,1,2) meets the plane 2x−y+z=62x-y+z=6.