🌱 Tony's Memex Tony's Intertwingled Memex
Digital Garden | OER Curriculum
Home / Digital Garden / Equations of Planes in 3D

Equations of Planes in 3D

Core Definition

In three-dimensional space (R3\mathbb{R}^3), a flat plane is uniquely determined by a known reference point P0(x0,y0,z0)P_0(x_0, y_0, z_0) and a non-zero normal vector n⃗\vec{n} that is perpendicular (orthogonal) to every displacement vector lying entirely within the plane:

  1. Normal Vector (n⃗\vec{n}):
    nβƒ—=⟨a,b,c⟩=ai^+bj^+ck^\vec{n} = \langle a, b, c \rangle = a\hat{i} + b\hat{j} + c\hat{k}
  2. Vector Form:
    nβƒ—β‹…(rβƒ—βˆ’rβƒ—0)=0\vec{n} \cdot (\vec{r} - \vec{r}_0) = 0
  3. Point-Normal Form (Scalar Equation):
    a(xβˆ’x0)+b(yβˆ’y0)+c(zβˆ’z0)=0a(x - x_0) + b(y - y_0) + c(z - z_0) = 0
  4. General Linear Form:
    ax+by+cz=d,where d=ax0+by0+cz0=n⃗⋅r⃗0ax + by + cz = d, \quad \text{where } d = ax_0 + by_0 + cz_0 = \vec{n} \cdot \vec{r}_0

Concept Explanation

Geometric Intuition & Vector Derivation

To define a line in 2D, you need a point and a direction slope. In 3D space, however, a single direction vector cannot define a unique plane because infinitely many planes can rotate around that direction. Instead, a plane is locked in space by specifying a direction that is completely perpendicular to its entire surface: the normal vector nβƒ—=⟨a,b,c⟩\vec{n} = \langle a, b, c \rangle.

Let P0(x0,y0,z0)P_0(x_0, y_0, z_0) be a fixed base point on the plane with position vector rβƒ—0=⟨x0,y0,z0⟩\vec{r}_0 = \langle x_0, y_0, z_0 \rangle, and let P(x,y,z)P(x, y, z) be any arbitrary point in space with position vector rβƒ—=⟨x,y,z⟩\vec{r} = \langle x, y, z \rangle. The displacement vector connecting P0P_0 to PP is:

P0Pβƒ—=rβƒ—βˆ’rβƒ—0=⟨xβˆ’x0,yβˆ’y0,zβˆ’z0⟩\vec{P_0P} = \vec{r} - \vec{r}_0 = \langle x - x_0, y - y_0, z - z_0 \rangle

The point P(x,y,z)P(x, y, z) lies on the plane if and only if P0P⃗\vec{P_0P} is completely parallel to the plane surface, which means it must be strictly perpendicular to the normal vector n⃗\vec{n}. Applying the Dot Product orthogonality condition:

nβƒ—β‹…P0Pβƒ—=0β€…β€ŠβŸΊβ€…β€ŠβŸ¨a,b,cβŸ©β‹…βŸ¨xβˆ’x0,yβˆ’y0,zβˆ’z0⟩=0\vec{n} \cdot \vec{P_0P} = 0 \iff \langle a, b, c \rangle \cdot \langle x - x_0, y - y_0, z - z_0 \rangle = 0
Expanding the dot product gives the Point-Normal Form:
a(xβˆ’x0)+b(yβˆ’y0)+c(zβˆ’z0)=0a(x - x_0) + b(y - y_0) + c(z - z_0) = 0

                   ^ n = <a, b, c> (Perpendicular Normal)
                   |
                   |
         +---------|-------------------+
        /          |                  /
       /           | P_0(x_0, y_0, z_0)
      /            +---------> P(x, y, z)
     /              r - r_0           /  Plane surface: n . (r - r_0) = 0
    +--------------------------------+

From Point-Normal to General Form

Distributing the coefficients a,b,ca, b, c across the parentheses yields:

axβˆ’ax0+byβˆ’by0+czβˆ’cz0=0ax - ax_0 + by - by_0 + cz - cz_0 = 0
ax+by+cz=ax0+by0+cz0ax + by + cz = ax_0 + by_0 + cz_0
Setting the scalar constant d=ax0+by0+cz0d = ax_0 + by_0 + cz_0 produces the standard General Form:
ax+by+cz=dax + by + cz = d

Reading the Normal Vector Directly from General Form

Whenever an equation of a plane is written in general form ax+by+cz=dax + by + cz = d, the normal vector n⃗\vec{n} can be extracted immediately by reading the linear coefficients of x,y,zx, y, z:

nβƒ—=⟨a,b,c⟩\vec{n} = \langle a, b, c \rangle
Any non-zero scalar multiple knβƒ—=⟨ka,kb,kc⟩k\vec{n} = \langle ka, kb, kc \rangle represents the exact same physical plane orientation.

Determining a Plane from Three Non-Collinear Points

Three distinct, non-collinear points A,B,CA, B, C uniquely determine a plane in 3D:

  1. Construct two independent in-plane displacement vectors sharing a common vertex:
    uβƒ—=ABβƒ—=⟨xBβˆ’xA,yBβˆ’yA,zBβˆ’zA⟩\vec{u} = \vec{AB} = \langle x_B - x_A, y_B - y_A, z_B - z_A \rangle
    vβƒ—=ACβƒ—=⟨xCβˆ’xA,yCβˆ’yA,zCβˆ’zA⟩\vec{v} = \vec{AC} = \langle x_C - x_A, y_C - y_A, z_C - z_A \rangle
  2. Compute the Cross Product u⃗×v⃗\vec{u} \times \vec{v}. By definition, the cross product produces a vector that is simultaneously orthogonal to both u⃗\vec{u} and v⃗\vec{v}, serving as the plane's normal vector:
    n⃗=AB⃗×AC⃗\vec{n} = \vec{AB} \times \vec{AC}
  3. Substitute n⃗\vec{n} and any of the three points (e.g., AA) into the point-normal form.

Parallel and Orthogonal Planes

The spatial orientation of a plane is entirely governed by its normal vector:

  • Parallel Planes: Two planes with normal vectors nβƒ—1\vec{n}_1 and nβƒ—2\vec{n}_2 are parallel if and only if their normal vectors are scalar multiples:
    n⃗1=kn⃗2,k≠0\vec{n}_1 = k\vec{n}_2, \quad k \neq 0
  • Orthogonal (Perpendicular) Planes: Two planes are perpendicular if their normal vectors are orthogonal:
    n⃗1⋅n⃗2=0\vec{n}_1 \cdot \vec{n}_2 = 0
  • Angle Between Two Planes: The dihedral angle θ∈[0,Ο€2]\theta \in [0, \frac{\pi}{2}] between two intersecting planes is the acute angle between their normal vectors:
    cos⁑θ=∣nβƒ—1β‹…nβƒ—2∣βˆ₯nβƒ—1βˆ₯βˆ₯nβƒ—2βˆ₯\cos\theta = \frac{|\vec{n}_1 \cdot \vec{n}_2|}{\|\vec{n}_1\| \|\vec{n}_2\|}

Geometric Meaning of Zero Coefficients

When one or two components of nβƒ—=⟨a,b,c⟩\vec{n} = \langle a, b, c \rangle are zero, the plane adopts a special orientation relative to the Cartesian coordinate axes:

  • If a=0a = 0, the equation is by+cz=dby + cz = d. The normal vector nβƒ—=⟨0,b,c⟩\vec{n} = \langle 0, b, c \rangle is perpendicular to the xx-axis, meaning the plane itself is parallel to the xx-axis.
  • If a=b=0a = b = 0, the equation simplifies to cz=dβ€…β€ŠβŸΉβ€…β€Šz=dccz = d \implies z = \frac{d}{c}, which represents a horizontal plane parallel to the xyxy-coordinate plane.

Engineering Applications

  • Robotics & Safe Workspaces: Defining virtual planar boundary barriers in robotic arm control loops to prevent tooling end-effectors from colliding with conveyors or human workstations.
  • Civil & Structural BIM Modeling: Establishing 3D Building Information Modeling (BIM) datum planes for structural floor slabs, sloping roof trusses, and precast curtain wall facades.
  • Computer Vision & LiDAR Point Clouds: Segmenting flat surfaces (walls, roadways, ramps) from raw 3D LiDAR point cloud scans using RANSAC plane-fitting algorithms.
  • Aerospace Control Surfaces: Defining planar hinge references and aerodynamic deflector orientations on supersonic control fins.

Example Problems

Example 1: Point-Normal to General Form with a Missing Variable

Find the general equation of the plane that passes through P(2,5,6)P(2, 5, 6) and has normal vector nβƒ—=⟨0,2,6⟩=2j^+6k^\vec{n} = \langle 0, 2, 6 \rangle = 2\hat{j} + 6\hat{k}.

Solution
  1. Identify the Components:
    • Normal vector components: a=0,b=2,c=6a = 0, b = 2, c = 6.
    • Known base point: x0=2,y0=5,z0=6x_0 = 2, y_0 = 5, z_0 = 6.
  2. Substitute into Point-Normal Form:
    a(xβˆ’x0)+b(yβˆ’y0)+c(zβˆ’z0)=0a(x - x_0) + b(y - y_0) + c(z - z_0) = 0
    0(xβˆ’2)+2(yβˆ’5)+6(zβˆ’6)=00(x - 2) + 2(y - 5) + 6(z - 6) = 0
  3. Distribute and Simplify:
    2yβˆ’10+6zβˆ’36=0β€…β€ŠβŸΉβ€…β€Š2y+6z=462y - 10 + 6z - 36 = 0 \implies 2y + 6z = 46
  4. Divide by Common Factor 2:
    y+3z=23y + 3z = 23
    Geometric Note: Because xx is absent (a=0a = 0), the plane is parallel to the xx-axis.

Example 2: Plane Determined by Three Points

Find the equation of the plane passing through A(1,2,βˆ’1)A(1, 2, -1), B(3,βˆ’1,2)B(3, -1, 2), and C(0,1,1)C(0, 1, 1).

Solution
  1. Form Two In-Plane Displacement Vectors:
    uβƒ—=ABβƒ—=⟨3βˆ’1,βˆ’1βˆ’2,2βˆ’(βˆ’1)⟩=⟨2,βˆ’3,3⟩\vec{u} = \vec{AB} = \langle 3 - 1, -1 - 2, 2 - (-1) \rangle = \langle 2, -3, 3 \rangle
    vβƒ—=ACβƒ—=⟨0βˆ’1,1βˆ’2,1βˆ’(βˆ’1)⟩=βŸ¨βˆ’1,βˆ’1,2⟩\vec{v} = \vec{AC} = \langle 0 - 1, 1 - 2, 1 - (-1) \rangle = \langle -1, -1, 2 \rangle
  2. Compute the Normal Vector via Cross Product:
    nβƒ—=uβƒ—Γ—vβƒ—=∣i^j^k^2βˆ’33βˆ’1βˆ’12∣\vec{n} = \vec{u} \times \vec{v} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & -3 & 3 \\ -1 & -1 & 2 \end{vmatrix}
    nβƒ—=i^[(βˆ’3)(2)βˆ’(3)(βˆ’1)]βˆ’j^[(2)(2)βˆ’(3)(βˆ’1)]+k^[(2)(βˆ’1)βˆ’(βˆ’3)(βˆ’1)]\vec{n} = \hat{i}[(-3)(2) - (3)(-1)] - \hat{j}[(2)(2) - (3)(-1)] + \hat{k}[(2)(-1) - (-3)(-1)]
    nβƒ—=i^[βˆ’6+3]βˆ’j^[4+3]+k^[βˆ’2βˆ’3]=βˆ’3i^βˆ’7j^βˆ’5k^=βŸ¨βˆ’3,βˆ’7,βˆ’5⟩\vec{n} = \hat{i}[-6 + 3] - \hat{j}[4 + 3] + \hat{k}[-2 - 3] = -3\hat{i} - 7\hat{j} - 5\hat{k} = \langle -3, -7, -5 \rangle
    Multiply by βˆ’1-1 to obtain an equivalent positive normal vector: nβƒ—=⟨3,7,5⟩\vec{n} = \langle 3, 7, 5 \rangle.
  3. Apply Point-Normal Form Using Point C(0,1,1)C(0, 1, 1):
    3(xβˆ’0)+7(yβˆ’1)+5(zβˆ’1)=03(x - 0) + 7(y - 1) + 5(z - 1) = 0
    3x+7yβˆ’7+5zβˆ’5=03x + 7y - 7 + 5z - 5 = 0
    3x+7y+5z=123x + 7y + 5z = 12
  4. Verification with Points AA and BB:
    • Point A(1,2,βˆ’1)A(1, 2, -1): 3(1)+7(2)+5(βˆ’1)=3+14βˆ’5=123(1) + 7(2) + 5(-1) = 3 + 14 - 5 = 12. (Verified)
    • Point B(3,βˆ’1,2)B(3, -1, 2): 3(3)+7(βˆ’1)+5(2)=9βˆ’7+10=123(3) + 7(-1) + 5(2) = 9 - 7 + 10 = 12. (Verified)

Example 3: Constructing a Parallel Plane

Find the equation of the plane passing through P(βˆ’2,3,1)P(-2, 3, 1) that is parallel to the plane 4xβˆ’2y+5z=194x - 2y + 5z = 19.

Solution
  1. Extract the Normal Vector: From 4xβˆ’2y+5z=194x - 2y + 5z = 19, the normal vector is nβƒ—=⟨4,βˆ’2,5⟩\vec{n} = \langle 4, -2, 5 \rangle.
  2. Apply Parallelism: Parallel planes share the same normal vector orientation. Thus, use nβƒ—=⟨4,βˆ’2,5⟩\vec{n} = \langle 4, -2, 5 \rangle.
  3. Construct the Equation with Point P(βˆ’2,3,1)P(-2, 3, 1):
    4(xβˆ’(βˆ’2))βˆ’2(yβˆ’3)+5(zβˆ’1)=04(x - (-2)) - 2(y - 3) + 5(z - 1) = 0
    4(x+2)βˆ’2(yβˆ’3)+5(zβˆ’1)=04(x + 2) - 2(y - 3) + 5(z - 1) = 0
    4x+8βˆ’2y+6+5zβˆ’5=04x + 8 - 2y + 6 + 5z - 5 = 0
    4xβˆ’2y+5z+9=0β€…β€ŠβŸΉβ€…β€Š4xβˆ’2y+5z=βˆ’94x - 2y + 5z + 9 = 0 \implies 4x - 2y + 5z = -9

Connections & References