β—€ Back to Note

Tony's Intertwingled Memex β€’ Reference Manual

Equations of Planes in 3D

Formulas & Definitions
Core Definition

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

  1. Normal Vector (n⃗\vec{n}n):
    nβƒ—=⟨a,b,c⟩=ai^+bj^+ck^\vec{n} = \langle a, b, c \rangle = a\hat{i} + b\hat{j} + c\hat{k}n=⟨a,b,c⟩=ai^+bj^​+ck^
  2. Vector Form:
    nβƒ—β‹…(rβƒ—βˆ’rβƒ—0)=0\vec{n} \cdot (\vec{r} - \vec{r}_0) = 0nβ‹…(rβˆ’r0​)=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) = 0a(xβˆ’x0​)+b(yβˆ’y0​)+c(zβˆ’z0​)=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}_0ax+by+cz=d,whereΒ d=ax0​+by0​+cz0​=nβ‹…r0​

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 \ranglen=⟨a,b,c⟩.

Let P0(x0,y0,z0)P_0(x_0, y_0, z_0)P0​(x0​,y0​,z0​) 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 \rangler0​=⟨x0​,y0​,z0β€‹βŸ©, and let P(x,y,z)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 \rangler=⟨x,y,z⟩. The displacement vector connecting P0P_0P0​ to PPP 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 \rangleP0​P​=rβˆ’r0​=⟨xβˆ’x0​,yβˆ’y0​,zβˆ’z0β€‹βŸ©

The point P(x,y,z)P(x, y, z)P(x,y,z) lies on the plane if and only if P0Pβƒ—\vec{P_0P}P0​P​ is completely parallel to the plane surface, which means it must be strictly perpendicular to the normal vector nβƒ—\vec{n}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 = 0nβ‹…P0​P​=0⟺⟨a,b,cβŸ©β‹…βŸ¨xβˆ’x0​,yβˆ’y0​,zβˆ’z0β€‹βŸ©=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) = 0a(xβˆ’x0​)+b(yβˆ’y0​)+c(zβˆ’z0​)=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, ca,b,c across the parentheses yields:

axβˆ’ax0+byβˆ’by0+czβˆ’cz0=0ax - ax_0 + by - by_0 + cz - cz_0 = 0axβˆ’ax0​+byβˆ’by0​+czβˆ’cz0​=0
ax+by+cz=ax0+by0+cz0ax + by + cz = ax_0 + by_0 + cz_0ax+by+cz=ax0​+by0​+cz0​
Setting the scalar constant d=ax0+by0+cz0d = ax_0 + by_0 + cz_0d=ax0​+by0​+cz0​ produces the standard General Form:
ax+by+cz=dax + 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 = dax+by+cz=d, the normal vector n⃗\vec{n}n can be extracted immediately by reading the linear coefficients of x,y,zx, y, zx,y,z:

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

Determining a Plane from Three Non-Collinear Points

Three distinct, non-collinear points A,B,CA, 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 \rangleu=AB=⟨xBβ€‹βˆ’xA​,yBβ€‹βˆ’yA​,zBβ€‹βˆ’zAβ€‹βŸ©
    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 \ranglev=AC=⟨xCβ€‹βˆ’xA​,yCβ€‹βˆ’yA​,zCβ€‹βˆ’zAβ€‹βŸ©
  2. Compute the Cross Product u⃗×v⃗\vec{u} \times \vec{v}u×v. By definition, the cross product produces a vector that is simultaneously orthogonal to both u⃗\vec{u}u and v⃗\vec{v}v, serving as the plane's normal vector:
    n⃗=AB⃗×AC⃗\vec{n} = \vec{AB} \times \vec{AC}n=AB×AC
  3. Substitute n⃗\vec{n}n and any of the three points (e.g., AAA) 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}_1n1​ and nβƒ—2\vec{n}_2n2​ 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 0n1​=kn2​,kξ€ =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 = 0n1​⋅n2​=0
  • Angle Between Two Planes: The dihedral angle θ∈[0,Ο€2]\theta \in [0, \frac{\pi}{2}]θ∈[0,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\|}cosΞΈ=βˆ₯n1​βˆ₯βˆ₯n2​βˆ₯∣n1​⋅n2β€‹βˆ£β€‹

Geometric Meaning of Zero Coefficients

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

  • If a=0a = 0a=0, the equation is by+cz=dby + cz = dby+cz=d. The normal vector nβƒ—=⟨0,b,c⟩\vec{n} = \langle 0, b, c \ranglen=⟨0,b,c⟩ is perpendicular to the xxx-axis, meaning the plane itself is parallel to the xxx-axis.
  • If a=b=0a = b = 0a=b=0, the equation simplifies to cz=dβ€…β€ŠβŸΉβ€…β€Šz=dccz = d \implies z = \frac{d}{c}cz=d⟹z=cd​, which represents a horizontal plane parallel to the xyxyxy-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)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}n=⟨0,2,6⟩=2j^​+6k^.

Solution
  1. Identify the Components:
    • Normal vector components: a=0,b=2,c=6a = 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 = 6x0​=2,y0​=5,z0​=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) = 0a(xβˆ’x0​)+b(yβˆ’y0​)+c(zβˆ’z0​)=0
    0(xβˆ’2)+2(yβˆ’5)+6(zβˆ’6)=00(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 = 462yβˆ’10+6zβˆ’36=0⟹2y+6z=46
  4. Divide by Common Factor 2:
    y+3z=23y + 3z = 23y+3z=23
    Geometric Note: Because xxx is absent (a=0a = 0a=0), the plane is parallel to the xxx-axis.

Example 2: Plane Determined by Three Points

Find the equation of the plane passing through A(1,2,βˆ’1)A(1, 2, -1)A(1,2,βˆ’1), B(3,βˆ’1,2)B(3, -1, 2)B(3,βˆ’1,2), and C(0,1,1)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 \rangleu=AB=⟨3βˆ’1,βˆ’1βˆ’2,2βˆ’(βˆ’1)⟩=⟨2,βˆ’3,3⟩
    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 \ranglev=AC=⟨0βˆ’1,1βˆ’2,1βˆ’(βˆ’1)⟩=βŸ¨βˆ’1,βˆ’1,2⟩
  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=uΓ—v=​i^2βˆ’1​j^β€‹βˆ’3βˆ’1​k^32​​
    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^[(βˆ’3)(2)βˆ’(3)(βˆ’1)]βˆ’j^​[(2)(2)βˆ’(3)(βˆ’1)]+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 \ranglen=i^[βˆ’6+3]βˆ’j^​[4+3]+k^[βˆ’2βˆ’3]=βˆ’3i^βˆ’7j^β€‹βˆ’5k^=βŸ¨βˆ’3,βˆ’7,βˆ’5⟩
    Multiply by βˆ’1-1βˆ’1 to obtain an equivalent positive normal vector: nβƒ—=⟨3,7,5⟩\vec{n} = \langle 3, 7, 5 \ranglen=⟨3,7,5⟩.
  3. Apply Point-Normal Form Using Point C(0,1,1)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) = 03(xβˆ’0)+7(yβˆ’1)+5(zβˆ’1)=0
    3x+7yβˆ’7+5zβˆ’5=03x + 7y - 7 + 5z - 5 = 03x+7yβˆ’7+5zβˆ’5=0
    3x+7y+5z=123x + 7y + 5z = 123x+7y+5z=12
  4. Verification with Points AAA and BBB:
    • Point A(1,2,βˆ’1)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 = 123(1)+7(2)+5(βˆ’1)=3+14βˆ’5=12. (Verified)
    • Point B(3,βˆ’1,2)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 = 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)P(βˆ’2,3,1) that is parallel to the plane 4xβˆ’2y+5z=194x - 2y + 5z = 194xβˆ’2y+5z=19.

Solution
  1. Extract the Normal Vector: From 4xβˆ’2y+5z=194x - 2y + 5z = 194xβˆ’2y+5z=19, the normal vector is nβƒ—=⟨4,βˆ’2,5⟩\vec{n} = \langle 4, -2, 5 \ranglen=⟨4,βˆ’2,5⟩.
  2. Apply Parallelism: Parallel planes share the same normal vector orientation. Thus, use nβƒ—=⟨4,βˆ’2,5⟩\vec{n} = \langle 4, -2, 5 \ranglen=⟨4,βˆ’2,5⟩.
  3. Construct the Equation with Point P(βˆ’2,3,1)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) = 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) = 04(x+2)βˆ’2(yβˆ’3)+5(zβˆ’1)=0
    4x+8βˆ’2y+6+5zβˆ’5=04x + 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 = -94xβˆ’2y+5z+9=0⟹4xβˆ’2y+5z=βˆ’9

Connections & References

  • Parent Concepts: Vectors in 2D and 3D | Dot and Cross Products
  • Related Notes: Equations of Lines in 3D | Tangent Planes | Cross Product | Dot Product
  • Course Sessions: Calc-3 Session 10