MatheramaMatherama
← Vector Algebra and Three Dimensional Geometry

Planes

Introduction§

A plane is a surface that is completely flat. Mathematically, it is a surface such that if we take any two points on it, the line segment joining them also lies entirely on the surface.

We now seek to find an equation that describes a plane. That is, we aim to determine a condition that a point (x,y,z)(x, y, z) must satisfy to lie on a given plane. Alternatively, in vector form, if r\mathbf{r} is the position vector of any point on the plane, we wish to derive the equation that r\mathbf{r} must satisfy.

Equation of a Plane§

There are several ways to express the equation of a plane. We begin by exploring a less common vector form.

Parametric Equation of a Plane§

Consider a plane that passes through a fixed point AA whose position vector is a\mathbf{a}. Suppose two non-collinear vectors b\mathbf{b} and c\mathbf{c} lie parallel to the plane. Since two non-collinear vectors define a plane, our plane must be parallel to the plane formed by b\mathbf{b} and c\mathbf{c}. However, infinitely many such planes exist, all parallel to the plane of b\mathbf{b} and c\mathbf{c}. To uniquely specify a single plane, we also require a fixed point AA on it. This ensures a unique plane.

plane

To determine the equation of this plane, let PP be any point on the plane, with its position vector denoted by r\mathbf{r}. The displacement vector from AA to PP is

AP=OP−OA=r−a.\mathbf{AP} = \mathbf{OP} - \mathbf{OA} = \mathbf{r} - \mathbf{a}.

Since AP\mathbf{AP}, b\mathbf{b}, and c\mathbf{c} are coplanar, by the fundamental theorem of three-dimensional geometry, the vector r−a\mathbf{r} - \mathbf{a} must be expressible as a linear combination of b\mathbf{b} and c\mathbf{c}:

r−a=λb+μc,λ,μ∈R.\mathbf{r} - \mathbf{a} = \lambda \mathbf{b} + \mu \mathbf{c}, \quad \lambda, \mu \in \mathbb{R}.

Thus, the equation of the plane is given by

r=a+λb+μc,λ,μ∈R.\mathbf{r} = \mathbf{a} + \lambda \mathbf{b} + \mu \mathbf{c}, \quad \lambda, \mu \in \mathbb{R}.

By varying λ\lambda and μ\mu, we obtain different points r\mathbf{r} on the plane. These parameters provide a parametric representation of the plane, ensuring that each point on the plane corresponds to a unique pair of values (λ,μ)(\lambda, \mu).

Two points and a vector parallel to the plane are known

If two points on the plane are known, along with a vector parallel to the plane, we can determine its equation as follows.

Let AA and BB be two points on the plane with position vectors a\mathbf{a} and b\mathbf{b}, respectively. Suppose a vector c\mathbf{c} is also given, which is parallel to the plane.

Now, let PP be any point on the plane with position vector r\mathbf{r}. The displacement vectors are:

AP=r−a,AB=b−a.\mathbf{AP} = \mathbf{r} - \mathbf{a}, \quad \mathbf{AB} = \mathbf{b} - \mathbf{a}.

Since AP\mathbf{AP}, AB\mathbf{AB}, and c\mathbf{c} are coplanar, we apply the fundamental theorem of three-dimensional geometry, which states that a vector lying in the plane of two other vectors can be expressed as their linear combination. Thus,

r−a=λ(b−a)+μc,λ,μ∈R.\mathbf{r} - \mathbf{a} = \lambda (\mathbf{b} - \mathbf{a}) + \mu \mathbf{c}, \quad \lambda, \mu \in \mathbb{R}.

Rearranging, we obtain the equation of the plane:

r=a+λ(b−a)+μc,λ,μ∈R.\mathbf{r} = \mathbf{a} + \lambda (\mathbf{b} - \mathbf{a}) + \mu \mathbf{c}, \quad \lambda, \mu \in \mathbb{R}.

Here, λ\lambda and μ\mu are independent parameters, allowing us to generate all points r\mathbf{r} on the plane. This provides a parametric representation of the plane when two specific points and a parallel vector are known.

Parametric forms of planes are not very commonly used, but whenever they appear, one should be able to interpret them correctly.

The equation

r=j+k+s(i−j)+t(2i−j+3k)\mathbf{r} = \mathbf{j} + \mathbf{k} + s (\mathbf{i} - \mathbf{j}) + t (2\mathbf{i} - \mathbf{j} + 3\mathbf{k})

represents a plane that is parallel to the vectors i−j\mathbf{i} - \mathbf{j} and 2i−j+3k2\mathbf{i} - \mathbf{j} + 3\mathbf{k} and passes through the point whose position vector is j+k\mathbf{j} + \mathbf{k}.

Here, ss and tt are independent parameters that generate all points on the plane.

Three points on the plane given

If we know the position vectors of three non-collinear points on a plane, then the plane is uniquely determined.

Let AA, BB, and CC be three points on the plane with position vectors a\mathbf{a}, b\mathbf{b}, and c\mathbf{c}, respectively. Let PP be any point on the plane with position vector r\mathbf{r}.

Since the vectors PA\mathbf{PA}, AB\mathbf{AB}, and AC\mathbf{AC} lie in the plane, they are coplanar. The displacement vectors are:

PA=r−a,AB=b−a,AC=c−a.\mathbf{PA} = \mathbf{r} - \mathbf{a}, \quad \mathbf{AB} = \mathbf{b} - \mathbf{a}, \quad \mathbf{AC} = \mathbf{c} - \mathbf{a}.

By the fundamental theorem of three-dimensional geometry, since these vectors are coplanar, PA\mathbf{PA} must be a linear combination of AB\mathbf{AB} and AC\mathbf{AC}, meaning there exist scalars λ,μ∈R\lambda, \mu \in \mathbb{R} such that:

r−a=λ(b−a)+μ(c−a).\mathbf{r} - \mathbf{a} = \lambda (\mathbf{b} - \mathbf{a}) + \mu (\mathbf{c} - \mathbf{a}).

Rearranging,

r=a+λ(b−a)+μ(c−a),λ,μ∈R.\mathbf{r} = \mathbf{a} + \lambda (\mathbf{b} - \mathbf{a}) + \mu (\mathbf{c} - \mathbf{a}), \quad \lambda, \mu \in \mathbb{R}.

This is the parametric equation of the plane passing through the three given points. Different values of λ\lambda and μ\mu generate different points r\mathbf{r} on the plane.

Scalar Triple Product Form of the Plane Equation§

Given a point AA with position vector a\mathbf{a} on the plane and two non-collinear vectors b\mathbf{b} and c\mathbf{c} parallel to the plane, let r\mathbf{r} be the position vector of an arbitrary point on the plane.

Since the vectors r−a\mathbf{r} - \mathbf{a}, b\mathbf{b}, and c\mathbf{c} are coplanar, instead of expressing r−a\mathbf{r} - \mathbf{a} as a linear combination of b\mathbf{b} and c\mathbf{c}, we use the fact that three vectors are coplanar if and only if their scalar triple product is zero.

(r−a)⋅(b×c)=0(\mathbf{r} - \mathbf{a}) \cdot (\mathbf{b} \times \mathbf{c}) = 0

which in determinant form is written as

[r−a,b,c]=0.[\mathbf{r} - \mathbf{a}, \mathbf{b}, \mathbf{c}] = 0.

Expanding using determinant properties,

[r,b,c]−[a,b,c]=0[\mathbf{r}, \mathbf{b}, \mathbf{c}] - [\mathbf{a}, \mathbf{b}, \mathbf{c}] = 0

which simplifies to

[r,b,c]=[a,b,c].[\mathbf{r}, \mathbf{b}, \mathbf{c}] = [\mathbf{a}, \mathbf{b}, \mathbf{c}].

This provides an alternative implicit form of the plane equation using the scalar triple product.

Normal Form of the Plane Equation§

The normal line of a plane is a line that is perpendicular to every line lying on the plane. This line is said to be perpendicular to the plane itself. A vector parallel to this normal line is called a normal vector to the plane.

We can express the equation of a plane using its normal line or normal vector. The normal vector determines the orientation of the plane, but to uniquely determine the plane, we also require a specific point on it. Given a point on the plane and a normal vector, we can easily derive the equation of the plane.

Let n\mathbf{n} be a normal vector to the plane, and let a\mathbf{a} be the position vector of a known point AA on the plane. Suppose PP is any other general point on the plane, with position vector r\mathbf{r}.

Since n\mathbf{n} is perpendicular to every vector lying on the plane, the displacement vector AP\mathbf{AP}, given by

AP=r−a,\mathbf{AP} = \mathbf{r} - \mathbf{a},

must also be perpendicular to n\mathbf{n}. Thus,

AP⋅n=0.\mathbf{AP} \cdot \mathbf{n} = 0.

This gives the equation of the plane in normal form:

(r−a)⋅n=0.(\mathbf{r} - \mathbf{a}) \cdot \mathbf{n} = 0.

This is the vector equation of a plane using a normal vector.

For example:

Suppose a plane is passing through a point whose position vector is

a=i−j−2k,\mathbf{a} = \mathbf{i} - \mathbf{j} - 2\mathbf{k},

and the plane has a normal vector

n=2i+j+k.\mathbf{n} = 2\mathbf{i} + \mathbf{j} + \mathbf{k}.

Then the equation of the plane is given by

(r−a)⋅n=0  ⟹  r⋅n=a⋅n.(\mathbf{r} - \mathbf{a}) \cdot \mathbf{n} = 0 \implies \mathbf{r} \cdot \mathbf{n} = \mathbf{a} \cdot \mathbf{n}.

Substituting the given vectors,

r⋅(2i+j+k)=(i−j−2k)⋅(2i+j+k)  ⟹  r⋅(2i+j+k)=2−1−2=−1.\mathbf{r} \cdot (2\mathbf{i} + \mathbf{j} + \mathbf{k}) = (\mathbf{i} - \mathbf{j} - 2\mathbf{k}) \cdot (2\mathbf{i} + \mathbf{j} + \mathbf{k}) \implies \mathbf{r} \cdot (2\mathbf{i} + \mathbf{j} + \mathbf{k}) = 2 - 1 - 2 = -1.

Thus,

r⋅(2i+j+k)=−1.\mathbf{r} \cdot (2\mathbf{i} + \mathbf{j} + \mathbf{k}) = -1.

Now, if r=xi+yj+zk\mathbf{r} = x\mathbf{i} + y\mathbf{j} + z\mathbf{k}, that is, if the terminal point is (x,y,z)(x, y, z), then

(xi+yj+zk)⋅(2i+j+k)=−1  ⟹  2x+y+z=−1.(x\mathbf{i} + y\mathbf{j} + z\mathbf{k}) \cdot (2\mathbf{i} + \mathbf{j} + \mathbf{k}) = -1 \implies 2x + y + z = -1.

This is the Cartesian form of the equation of the plane. We will study this form in detail soon.

General Vector Form of Plane§

Now, observe that the equation

(r−a)⋅n=0(\mathbf{r} - \mathbf{a}) \cdot \mathbf{n} = 0

can always be rewritten as

r⋅n=a⋅n.\mathbf{r} \cdot \mathbf{n} = \mathbf{a} \cdot \mathbf{n}.

The quantity a⋅n\mathbf{a} \cdot \mathbf{n} is a scalar constant that depends only on the given point a\mathbf{a} on the plane and the normal vector n\mathbf{n}. Let this constant be denoted by dd. Then the equation becomes

r⋅n=d.\mathbf{r} \cdot \mathbf{n} = d.

Thus, any plane whose equation is written using a normal vector reduces to the general form

r⋅n=d,\mathbf{r} \cdot \mathbf{n} = d,

where n\mathbf{n} is a fixed non-zero vector (the normal vector), and d∈Rd \in \mathbb{R} is a constant. This compact expression captures all planes in space through a linear condition on the dot product of the position vector r\mathbf{r} with the normal vector.

Cartesian Form of the Equation of a Plane§

As discussed earlier, to write the equation of a plane, we require two pieces of data:

– a point on the plane, and
– a vector normal to the plane.

Let a line normal to the plane have direction ratios (a,b,c)(a, b, c), and let it pass through a point A(x1,y1,z1)A(x_1, y_1, z_1) on the plane. Let P(x,y,z)P(x, y, z) be any other point on the plane. Then the direction ratios of the vector AP⃗\vec{AP} are

(x−x1, y−y1, z−z1).(x - x_1,\ y - y_1,\ z - z_1).

Since vector AP⃗\vec{AP} lies on the plane and the normal vector is perpendicular to every vector on the plane, it follows that

a(x−x1)+b(y−y1)+c(z−z1)=0.a(x - x_1) + b(y - y_1) + c(z - z_1) = 0.

This is the Cartesian equation of the plane. It is a first-degree equation in x,y,zx, y, z, and all such equations represent planes in three-dimensional space.

Example:

Suppose a plane has a normal vector with direction ratios (1,−1,2)(1, -1, 2), and passes through the point (0,1,−2)(0, 1, -2). Then the equation of the plane is:

1(x−0)+(−1)(y−1)+2(z+2)=0  ⟹  x−y+1+2z+4=0  ⟹  x−y+2z+5=0.1(x - 0) + (-1)(y - 1) + 2(z + 2) = 0 \implies x - y + 1 + 2z + 4 = 0 \implies x - y + 2z + 5 = 0.

Thus, the required Cartesian equation of the plane is

x−y+2z+5=0.\boxed{x - y + 2z + 5 = 0}.

General Cartesian Form§

If we expand the general equation of a plane written using a point and a normal vector:

a(x−x1)+b(y−y1)+c(z−z1)=0,a(x - x_1) + b(y - y_1) + c(z - z_1) = 0,

we obtain:

ax+by+cz−(ax1+by1+cz1)=0.ax + by + cz - (ax_1 + by_1 + cz_1) = 0.

The last term is constant, so denote it by d=−(ax1+by1+cz1)d = - (ax_1 + by_1 + cz_1). Hence, the equation becomes

ax+by+cz+d=0.ax + by + cz + d = 0.

This shows that any plane can be represented by an equation of the form

ax+by+cz+d=0.ax + by + cz + d = 0.

But is the converse also true? That is, does any equation of the form ax+by+cz+d=0ax + by + cz + d = 0, where a,b,ca, b, c are not all zero, always represent a plane?
Yes, it does. Let us prove this.

Assume that

ax+by+cz+d=0ax + by + cz + d = 0

defines some surface in R3\mathbb{R}^3. Let P1=(x1,y1,z1)P_1 = (x_1, y_1, z_1) and P2=(x2,y2,z2)P_2 = (x_2, y_2, z_2) be any two points satisfying this equation. Then:

ax1+by1+cz1+d=0,ax2+by2+cz2+d=0.a x_1 + b y_1 + c z_1 + d = 0, \quad a x_2 + b y_2 + c z_2 + d = 0.

Subtracting the two equations,

a(x1−x2)+b(y1−y2)+c(z1−z2)=0.a(x_1 - x_2) + b(y_1 - y_2) + c(z_1 - z_2) = 0.

Now, let

P1P2⃗=(x2−x1)i+(y2−y1)j+(z2−z1)k,\vec{P_1P_2} = (x_2 - x_1)\mathbf{i} + (y_2 - y_1)\mathbf{j} + (z_2 - z_1)\mathbf{k},

and let

n⃗=ai+bj+ck.\vec{n} = a\mathbf{i} + b\mathbf{j} + c\mathbf{k}.

The above scalar equation

a(x1−x2)+b(y1−y2)+c(z1−z2)=0a(x_1 - x_2) + b(y_1 - y_2) + c(z_1 - z_2) = 0

is precisely

P1P2⃗⋅n⃗=0,\vec{P_1P_2} \cdot \vec{n} = 0,

i.e., the vector joining any two points on the surface is orthogonal to the fixed vector n⃗\vec{n}. Hence, n⃗\vec{n} is perpendicular to every line segment joining two points on the surface. This implies that the entire surface lies in a plane orthogonal to n⃗\vec{n}.

Thus,

ax+by+cz+d=0ax + by + cz + d = 0

always represents a plane (provided a,b,ca, b, c are not all zero).

Interpreting ax+by+cz+d=0ax + by + cz + d = 0:

One should be able to interpret the equation

ax+by+cz+d=0ax + by + cz + d = 0

geometrically. This is the Cartesian form of the equation of a plane. It represents a plane in three-dimensional space, provided that a,b,ca, b, c are not all zero.

The key point is that the vector

n⃗=ai+bj+ck\vec{n} = a\mathbf{i} + b\mathbf{j} + c\mathbf{k}

is normal (perpendicular) to the plane. That is, the plane has normal direction ratios (a,b,c)(a, b, c), or equivalently, it has a normal vector n⃗\vec{n} pointing in the direction ai+bj+cka\mathbf{i} + b\mathbf{j} + c\mathbf{k}.

So whenever one sees an equation of the form

ax+by+cz+d=0,ax + by + cz + d = 0,

they should immediately interpret it as describing a plane whose normal vector is

n⃗=ai+bj+ck.\vec{n} = a\mathbf{i} + b\mathbf{j} + c\mathbf{k}.

This vector determines the orientation of the plane.

Other Important Interpretations of the Plane Equation ax+by+cz+d=0ax + by + cz + d = 0

  1. If d=0d = 0:

    The equation becomes

    ax+by+cz=0,ax + by + cz = 0,

    which clearly passes through the origin (0,0,0)(0, 0, 0). So whenever d=0d = 0, the plane passes through the origin.

  2. If c=0c = 0:

    The equation becomes

    ax+by+d=0.ax + by + d = 0.

    There is no zz-term, which means zz can take any real value independently. This looks like a straight line equation in the xyxy-plane, but in three dimensions, it describes a plane parallel to the zz-axis.

    To justify this rigorously: if a plane is parallel to the zz-axis, then its normal vector must be perpendicular to the zz-axis. Here, the normal vector is

    n⃗=ai+bj,and the direction of the z-axis is k.\vec{n} = a\mathbf{i} + b\mathbf{j}, \quad \text{and the direction of the $z$-axis is } \mathbf{k}.

    Since

    n⃗⋅k=0,\vec{n} \cdot \mathbf{k} = 0,

    the plane is indeed perpendicular to k\mathbf{k}, meaning it is parallel to the zz-axis.

  3. If b=0b = 0:

    The equation becomes

    ax+cz+d=0.ax + cz + d = 0.

    There is no yy-term, so yy is unrestricted. The plane is therefore parallel to the yy-axis.

    Similarly, if a=0a = 0, the plane is parallel to the xx-axis.

  4. If b=0b = 0 and c=0c = 0:

    The equation becomes

    ax+d=0,ax + d = 0,

    so xx is fixed, and y,zy, z are free. The plane is parallel to both yy-axis and zz-axis, and hence perpendicular to the xx-axis.

    Similarly:

    • If a=0a = 0 and c=0c = 0, the plane is perpendicular to the yy-axis.
    • If a=0a = 0 and b=0b = 0, the plane is perpendicular to the zz-axis.
  5. All of a,b,ca, b, c cannot be zero simultaneously.

    If a=b=c=0a = b = c = 0, the equation becomes

    0x+0y+0z+d=0  ⟹  d=0,0x + 0y + 0z + d = 0 \implies d = 0,

    which is either always true or always false depending on the value of dd, and hence does not define a plane. Therefore, at least one of a,b,ca, b, c must be non-zero for the equation to represent a plane.

Intercept Form of the Equation of a Plane§

alt text

If a plane cuts the x-axis at point P(p,0,0)P(p, 0, 0), we say its x-intercept is pp.
If it cuts the y-axis at point Q(0,q,0)Q(0, q, 0), its y-intercept is qq.
If it cuts the z-axis at point R(0,0,r)R(0, 0, r), its z-intercept is rr.

Given these three intercepts p,q,r≠0p, q, r \ne 0, the points P,Q,RP, Q, R are all on the plane. Since we are given three non-collinear points, the plane is uniquely determined.

To write the equation of the plane, we need:

  1. A point on the plane (we have three),
  2. A normal vector (we’ll compute this now).

Let us construct two vectors in the plane:

PQ⃗=OQ⃗−OP⃗=(0,q,0)−(p,0,0)=−p i+q j,\vec{PQ} = \vec{OQ} - \vec{OP} = (0, q, 0) - (p, 0, 0) = -p\,\mathbf{i} + q\,\mathbf{j}, PR⃗=OR⃗−OP⃗=(0,0,r)−(p,0,0)=−p i+r k.\vec{PR} = \vec{OR} - \vec{OP} = (0, 0, r) - (p, 0, 0) = -p\,\mathbf{i} + r\,\mathbf{k}.

The normal vector to the plane is then given by the cross product:

n⃗=PQ⃗×PR⃗=∣ijk−pq0−p0r∣=i(q⋅r−0)−j(−p⋅r−0)+k(−p⋅0+p⋅q)\vec{n} = \vec{PQ} \times \vec{PR} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ -p & q & 0 \\ -p & 0 & r \end{vmatrix} = \mathbf{i}(q \cdot r - 0) - \mathbf{j}( -p \cdot r - 0) + \mathbf{k}( -p \cdot 0 + p \cdot q) =qr i+pr j+pq k.= q r\,\mathbf{i} + p r\,\mathbf{j} + p q\,\mathbf{k}.

So the normal vector is n⃗=qr i+pr j+pq k\vec{n} = qr\,\mathbf{i} + pr\,\mathbf{j} + pq\,\mathbf{k}, and we can now write the equation of the plane using point P(p,0,0)P(p, 0, 0) and normal vector n⃗\vec{n}:

a(x−p)+b(y−0)+c(z−0)=0,a(x - p) + b(y - 0) + c(z - 0) = 0,

where a=qr,b=pr,c=pqa = qr, b = pr, c = pq. Substituting:

qr(x−p)+pr(y)+pq(z)=0.qr(x - p) + pr(y) + pq(z) = 0.

Divide the entire equation by pqr≠0pqr \ne 0:

xp+yq+zr=1.\frac{x}{p} + \frac{y}{q} + \frac{z}{r} = 1.

This is the intercept form of the equation of a plane. It represents a plane that cuts the x-, y-, and z-axes at p,q,rp, q, r respectively (none of which are zero).

Normalized Form of the Equation of a Plane§

The normalized form of a plane reveals a lot about the orientation and position of the plane in space.

Suppose the equation of a plane is given in vector form as

r⃗⋅n⃗=d,\vec{r} \cdot \vec{n} = d,

or equivalently in Cartesian form as

ax+by+cz+d=0.ax + by + cz + d = 0.

Can we understand the orientation of the plane just by looking at this equation? One way is to rewrite the equation in intercept form, which gives immediate geometric insight. But a more refined and analytically rich way is to write the equation in normalized form.

Assume the plane is given in the form

r⃗⋅n⃗=d,\vec{r} \cdot \vec{n} = d,

where n⃗\vec{n} is the normal vector and d>0d > 0. (If d<0d < 0, we simply multiply both sides by −1-1 to make the right-hand side positive. For instance,

r⃗⋅(i+j−k)=−3can be written asr⃗⋅(−i−j+k)=3.)\vec{r} \cdot (\mathbf{i} + \mathbf{j} - \mathbf{k}) = -3 \quad \text{can be written as} \quad \vec{r} \cdot (-\mathbf{i} - \mathbf{j} + \mathbf{k}) = 3.)

Now, divide both sides by the magnitude of the normal vector ∣n⃗∣|\vec{n}|:

r⃗⋅n⃗∣n⃗∣=d∣n⃗∣.\vec{r} \cdot \frac{\vec{n}}{|\vec{n}|} = \frac{d}{|\vec{n}|}.

Let

n^=n⃗∣n⃗∣,d0=d∣n⃗∣.\hat{n} = \frac{\vec{n}}{|\vec{n}|}, \quad d_0 = \frac{d}{|\vec{n}|}.

Then the equation becomes

r⃗⋅n^=d0.\vec{r} \cdot \hat{n} = d_0.

This is the normalized form of the plane. It satisfies two properties:

– n^\hat{n} is a unit vector normal to the plane,
– d0>0d_0 > 0 is a scalar.

But this form tells much more.

Recall that r⃗\vec{r} is the position vector of any point on the plane. Then r⃗⋅n^\vec{r} \cdot \hat{n} is the projection of r⃗\vec{r} along the direction of n^\hat{n}. Since

r⃗⋅n^=d0>0,\vec{r} \cdot \hat{n} = d_0 > 0,

this projection is positive, meaning that the angle between r⃗\vec{r} and n^\hat{n} is acute. Wherever r⃗\vec{r} lies on the plane, the angle between it and the unit normal vector n^\hat{n} is always acute.

plane and normal vector

Now observe this geometrically: the projection of r⃗\vec{r} onto n^\hat{n} is always a segment of length d0d_0, and since r⃗⋅n^=d0\vec{r} \cdot \hat{n} = d_0 for all r⃗\vec{r} on the plane, this implies the entire plane lies at a fixed perpendicular distance d0d_0 from the origin.

Thus:

  • n^\hat{n} points from the origin toward the plane,
  • d0d_0 is the perpendicular distance from the origin to the plane.

Hence, the normalized form

r⃗⋅n^=d0,with d0>0,\vec{r} \cdot \hat{n} = d_0, \quad \text{with } d_0 > 0,

encodes direction, orientation, and distance all at once.

For example, consider the plane given by the equation

r⃗⋅(i−j+k)+3=0.\vec{r} \cdot (\mathbf{i} - \mathbf{j} + \mathbf{k}) + 3 = 0.

This can be rewritten as

r⃗⋅(−i+j−k)=3.\vec{r} \cdot (-\mathbf{i} + \mathbf{j} - \mathbf{k}) = 3.

Now compute the magnitude of the normal vector:

∣−i+j−k∣=12+12+12=3.|-\mathbf{i} + \mathbf{j} - \mathbf{k}| = \sqrt{1^2 + 1^2 + 1^2} = \sqrt{3}.

Divide both sides by 3\sqrt{3} to obtain the normalized form:

r⃗⋅(−i+j−k3)=3.\vec{r} \cdot \left( \frac{-\mathbf{i} + \mathbf{j} - \mathbf{k}}{\sqrt{3}} \right) = \sqrt{3}.

Thus, the plane lies at a distance 3\sqrt{3} from the origin, and the unit normal vector

n^=−i+j−k3\hat{n} = \frac{-\mathbf{i} + \mathbf{j} - \mathbf{k}}{\sqrt{3}}

points from the origin toward the plane.

The direction of this vector shows that the plane is oriented to cut:

– the negative x-axis (since the ii-component is negative),
– the positive y-axis (since the jj-component is positive),
– the negative z-axis (since the kk-component is negative).

alt text

This geometric picture is captured in the figure above: the red vector n⃗\vec{n} is the unit normal from the origin to the plane, and the perpendicular length from the origin to the plane is 3\sqrt{3}.

So, in normalized form, the equation

r⃗⋅n^=d0\vec{r} \cdot \hat{n} = d_0

gives both the orientation (via n^\hat{n}) and the position (via d0d_0) of the plane in a geometrically meaningful way.

Normalized Cartesian Form

If the equation of the plane is given in Cartesian form as

ax+by+cz+d=0,ax + by + cz + d = 0,

then we first rearrange it as

ax+by+cz=−d.ax + by + cz = -d.

To express this in normalized form, we must ensure that the right-hand side is positive. If −d>0-d > 0, proceed directly. If −d<0-d < 0, multiply both sides by −1-1 to make the right-hand side positive.

Now divide both sides by

a2+b2+c2,\sqrt{a^2 + b^2 + c^2},

which is the magnitude ∣n⃗∣|\vec{n}| of the normal vector n⃗=ai+bj+ck\vec{n} = a\mathbf{i} + b\mathbf{j} + c\mathbf{k}.

We get:

ax+by+cza2+b2+c2=−da2+b2+c2.\frac{ax + by + cz}{\sqrt{a^2 + b^2 + c^2}} = \frac{-d}{\sqrt{a^2 + b^2 + c^2}}.

Let

n^=ai+bj+cka2+b2+c2,d0=−da2+b2+c2.\hat{n} = \frac{a\mathbf{i} + b\mathbf{j} + c\mathbf{k}}{\sqrt{a^2 + b^2 + c^2}}, \quad d_0 = \frac{-d}{\sqrt{a^2 + b^2 + c^2}}.

Then the equation becomes

r⃗⋅n^=d0,\vec{r} \cdot \hat{n} = d_0,

which is the normalized form of the plane. It gives a unit normal vector n^\hat{n} pointing from the origin toward the plane, and d0>0d_0 > 0 is the perpendicular distance of the plane from the origin.

Interaction of a Point with a Plane§

When a point PP lies near a plane Π\Pi, we are often interested in certain geometric quantities that describe the relationship between the point and the plane. These include:

– the perpendicular distance from point PP to the plane Π\Pi,
– the foot of the perpendicular from PP onto the plane Π\Pi,
– the image of point PP with respect to the plane Π\Pi (i.e., its reflection across the plane).

We shall now learn how to compute all of these using both the vector form and the Cartesian form of the equation of a plane.

Plane in Vector Form§

Consider a point PP having position vector p⃗\vec{p}, and a plane given by the equation

(r⃗−a⃗)⋅n⃗=0,(\vec{r} - \vec{a}) \cdot \vec{n} = 0,

representing a plane that passes through point AA, whose position vector is a⃗\vec{a}, and has a normal vector n⃗\vec{n}.

plane with respect to point P

Drop a perpendicular from point PP to the plane, and let it meet the plane at point NN. Then triangle △APN\triangle APN is a right-angled triangle at NN, and the vector n⃗\vec{n} lies along the direction of PN⃗\vec{PN}, the perpendicular from PP to the plane.

The vector from AA to PP is

AP⃗=p⃗−a⃗.\vec{AP} = \vec{p} - \vec{a}.

The length of the perpendicular segment PN⃗\vec{PN} is the magnitude of the projection of vector AP⃗\vec{AP} along n⃗\vec{n}. That is,

∣PN⃗∣=∣(p⃗−a⃗)⋅n⃗∣n⃗∣∣=∣(p⃗−a⃗)⋅n⃗∣∣n⃗∣.|\vec{PN}| = \left| \frac{ (\vec{p} - \vec{a}) \cdot \vec{n} }{ |\vec{n}| } \right| = \frac{ |(\vec{p} - \vec{a}) \cdot \vec{n}| }{|\vec{n}| }.

This expression gives the perpendicular distance from point PP to the plane.

Calculation of Foot:

Let us now compute the foot of the perpendicular from the point PP.

Let NN be the foot of the perpendicular from PP onto the plane. Then the vector NP⃗\vec{NP} is the projection of AP⃗\vec{AP} along the normal direction, i.e.,

NP⃗=((p⃗−a⃗)⋅n⃗∣n⃗∣2)n⃗.\vec{NP} = \left( \frac{(\vec{p} - \vec{a}) \cdot \vec{n}}{|\vec{n}|^2} \right) \vec{n}.

Since

OP⃗−ON⃗=NP⃗,\vec{OP} - \vec{ON} = \vec{NP},

we get:

ON⃗=OP⃗−NP⃗=p⃗−((p⃗−a⃗)⋅n⃗∣n⃗∣2)n⃗.\vec{ON} = \vec{OP} - \vec{NP} = \vec{p} - \left( \frac{(\vec{p} - \vec{a}) \cdot \vec{n}}{|\vec{n}|^2} \right) \vec{n}.

Hence, the position vector of the foot NN of point PP on the plane is:

r⃗N=p⃗−(p⃗−a⃗)⋅n⃗∣n⃗∣2n⃗.\boxed{ \vec{r}_N = \vec{p} - \frac{(\vec{p} - \vec{a}) \cdot \vec{n}}{|\vec{n}|^2} \vec{n} }.

Calculation of Perpendicular Distance and Foot when the Plane is in General Vector Form

But in most problems, the plane is not given in the form (r⃗−a⃗)⋅n⃗=0(\vec{r} - \vec{a}) \cdot \vec{n} = 0. Instead, it is typically given in the form

r⃗⋅n⃗=d,\vec{r} \cdot \vec{n} = d,

which does not explicitly mention any point a⃗\vec{a} on the plane.

Let us compute the perpendicular distance from a point PP, having position vector p⃗\vec{p}, to the plane Π\Pi with equation r⃗⋅n⃗=d\vec{r} \cdot \vec{n} = d.

From point PP, drop a perpendicular to the plane. Let this perpendicular meet the plane at point NN, the foot of the perpendicular. Since the line segment PNPN is perpendicular to the plane, it must be parallel to the normal vector n⃗\vec{n}.

Hence, the line passing through point PP and directed along n⃗\vec{n} is given by

r⃗=p⃗+λn⃗,λ∈R.\vec{r} = \vec{p} + \lambda \vec{n}, \quad \lambda \in \mathbb{R}.

To find the foot NN, we need the value of λ\lambda such that this point lies on the plane. Substituting into the plane equation:

(p⃗+λn⃗)⋅n⃗=d  ⟹  p⃗⋅n⃗+λ∣n⃗∣2=d  ⟹  λ=d−p⃗⋅n⃗∣n⃗∣2.(\vec{p} + \lambda \vec{n}) \cdot \vec{n} = d \implies \vec{p} \cdot \vec{n} + \lambda |\vec{n}|^2 = d \implies \lambda = \frac{d - \vec{p} \cdot \vec{n}}{|\vec{n}|^2}.

Therefore, the position vector of point NN is

r⃗N=p⃗+d−p⃗⋅n⃗∣n⃗∣2n⃗.\vec{r}_N = \vec{p} + \frac{d - \vec{p} \cdot \vec{n}}{|\vec{n}|^2} \vec{n}.

Now, the vector from PP to NN is

PN⃗=r⃗N−p⃗=d−p⃗⋅n⃗∣n⃗∣2n⃗.\vec{PN} = \vec{r}_N - \vec{p} = \frac{d - \vec{p} \cdot \vec{n}}{|\vec{n}|^2} \vec{n}.

Hence, the distance from point PP to the plane is

∣PN⃗∣=∣d−p⃗⋅n⃗∣n⃗∣2n⃗∣=∣d−p⃗⋅n⃗∣n⃗∣2∣⋅∣n⃗∣=∣d−p⃗⋅n⃗∣∣n⃗∣.|\vec{PN}| = \left| \frac{d - \vec{p} \cdot \vec{n}}{|\vec{n}|^2} \vec{n} \right| = \left| \frac{d - \vec{p} \cdot \vec{n}}{|\vec{n}|^2} \right| \cdot |\vec{n}| = \frac{ |d - \vec{p} \cdot \vec{n}| }{|\vec{n}| }.

This is the general formula for the perpendicular distance from a point to a plane given in the form r⃗⋅n⃗=d\vec{r} \cdot \vec{n} = d.

While computing the perpendicular distance from point PP to the plane r⃗⋅n⃗=d\vec{r} \cdot \vec{n} = d, we also obtained the foot of the perpendicular, that is, the point NN on the plane where the perpendicular from PP meets the plane.

This point NN has position vector

r⃗N=p⃗+d−p⃗⋅n⃗∣n⃗∣2n⃗.\boxed {\vec{r}_N = \vec{p} + \frac{d - \vec{p} \cdot \vec{n}}{|\vec{n}|^2} \vec{n}}.

Cartesian Form of Plane: Foot of the Perpendicular and Distance from a Point to a Plane§

Consider a plane Π\Pi given by

ax+by+cz+d=0,ax + by + cz + d = 0,

and a point P(x0,y0,z0)P(x_0, y_0, z_0) in space. Drop a perpendicular PNPN from the point PP to the plane. Let the foot of this perpendicular be NN. Since PNPN is normal to the plane, its direction ratios are (a,b,c)(a, b, c).

Let us now write the equation of the line passing through PP and perpendicular to the plane. The direction ratios are (a,b,c)(a, b, c), and the line passes through (x0,y0,z0)(x_0, y_0, z_0), so the line is given by:

x−x0a=y−y0b=z−z0c=λ.\frac{x - x_0}{a} = \frac{y - y_0}{b} = \frac{z - z_0}{c} = \lambda.

This gives the coordinates of any point on the line as:

x=aλ+x0,y=bλ+y0,z=cλ+z0.x = a\lambda + x_0,\quad y = b\lambda + y_0,\quad z = c\lambda + z_0.

Since point NN lies on this line and also lies on the plane, it must satisfy the plane equation. Substituting into the plane equation:

a(aλ+x0)+b(bλ+y0)+c(cλ+z0)+d=0,a(a\lambda + x_0) + b(b\lambda + y_0) + c(c\lambda + z_0) + d = 0, λ(a2+b2+c2)+ax0+by0+cz0+d=0,\lambda(a^2 + b^2 + c^2) + ax_0 + by_0 + cz_0 + d = 0, λ=−(ax0+by0+cz0+d)a2+b2+c2.\lambda = \frac{-(ax_0 + by_0 + cz_0 + d)}{a^2 + b^2 + c^2}.

This gives us the value of λ\lambda corresponding to the foot of the perpendicular.

The coordinates of the foot NN are then:

x=aλ+x0,y=bλ+y0,z=cλ+z0.x = a\lambda + x_0,\quad y = b\lambda + y_0,\quad z = c\lambda + z_0.

Now, the distance from point PP to the plane is simply the length of vector PN⃗\vec{PN}, which is:

Distance=(aλ)2+(bλ)2+(cλ)2=∣λ∣a2+b2+c2.\text{Distance} = \sqrt{(a\lambda)^2 + (b\lambda)^2 + (c\lambda)^2} = |\lambda| \sqrt{a^2 + b^2 + c^2}.

Substituting the expression for λ\lambda, we get:

Distance=∣ax0+by0+cz0+d∣a2+b2+c2.\boxed{\text{Distance} = \frac{|ax_0 + by_0 + cz_0 + d|}{\sqrt{a^2 + b^2 + c^2}}}.

This is the well-known formula for the perpendicular distance from a point to a plane in Cartesian form.

Since the value of λ\lambda corresponding to the foot of the perpendicular NN is

λ=−(ax0+by0+cz0+d)a2+b2+c2,\lambda = \frac{ - (a x_0 + b y_0 + c z_0 + d) }{ a^2 + b^2 + c^2 },

we can now directly substitute this value into the symmetric form of the line:

x−x0a=y−y0b=z−z0c=λ.\frac{x - x_0}{a} = \frac{y - y_0}{b} = \frac{z - z_0}{c} = \lambda.

Thus, the coordinates of the foot NN are given by

x−x0a=y−y0b=z−z0c=−ax0+by0+cz0+da2+b2+c2.\boxed{\frac{x - x_0}{a} = \frac{y - y_0}{b} = \frac{z - z_0}{c} = -\frac{a x_0 + b y_0 + c z_0 + d}{a^2 + b^2 + c^2}}.

An example is definitely a must to understand how to use this foot of the perpendicular formula.

Consider the plane

2x−y−2z−4=0,2x - y - 2z - 4 = 0,

and let us compute the foot of the perpendicular from the point P(−1,1,1)P(-1, 1, 1) to this plane.

According to the formula, the coordinates of the foot are given by

x+12=y−1−1=z−1−2=−2(−1)−(1)−2(1)−422+(−1)2+(−2)2.\frac{x + 1}{2} = \frac{y - 1}{-1} = \frac{z - 1}{-2} = -\frac{2(-1) - (1) - 2(1) - 4}{2^2 + (-1)^2 + (-2)^2}.

Compute the right-hand side directly:

=−−2−1−2−44+1+4=−−99=1.= -\frac{-2 - 1 - 2 - 4}{4 + 1 + 4} = -\frac{-9}{9} = 1.

Now equating each expression to 1:

x+12=1  ⟹  x=1,y−1−1=1  ⟹  y=0,z−1−2=1  ⟹  z=−1.\frac{x + 1}{2} = 1 \implies x = 1, \quad \frac{y - 1}{-1} = 1 \implies y = 0, \quad \frac{z - 1}{-2} = 1 \implies z = -1.

Hence, the foot of the perpendicular from point (−1,1,1)(-1, 1, 1) to the plane 2x−y−2z−4=02x - y - 2z - 4 = 0 is

(1,0,−1).\boxed{(1, 0, -1)}.

Image of a Point in a Plane§

The calculation of the image of a point with respect to a plane is quite straightforward.

Let QQ be the image of a point PP in a plane Π\Pi. Then, by definition, the midpoint of the segment PQPQ lies on the plane and is the foot of the perpendicular from PP to the plane. Let this foot be denoted by NN.

Since NN is the midpoint of PP and QQ, we have:

Q=2N−P.Q = 2N - P.

alt text

So to compute the image point QQ, we first compute the foot NN of point PP on the plane, and then use the midpoint formula to compute QQ.

There is also a direct formula to calculate the image of point P(x0,y0,z0)P(x_0, y_0, z_0) in the plane

ax+by+cz+d=0,ax + by + cz + d = 0,

without computing the foot explicitly.

The image point Q(x,y,z)Q(x, y, z) satisfies the symmetric equation:

x−x0a=y−y0b=z−z0c=−2(ax0+by0+cz0+d)a2+b2+c2.\frac{x - x_0}{a} = \frac{y - y_0}{b} = \frac{z - z_0}{c} = -\frac{2(ax_0 + by_0 + cz_0 + d)}{a^2 + b^2 + c^2}.

This formula is similar to the one used for the foot of the perpendicular, but now includes a factor of 2 in the numerator. This factor appears because the image point lies on the opposite side of the plane, at the same distance as PP, along the line perpendicular to the plane.

You are encouraged to derive this formula yourself in the same we derived foot formula above.

Ratio in Which a Plane Divides a Line Segment§

We wish to calculate the ratio in which a plane

Π:ax+by+cz+d=0\Pi : ax + by + cz + d = 0

divides a line segment joining two points

A(x1,y1,z1)andB(x2,y2,z2).A(x_1, y_1, z_1) \quad \text{and} \quad B(x_2, y_2, z_2).

The division may be internal or external, depending on the sign of the ratio. Let the plane Π\Pi intersect the line segment ABAB at a point PP. Assume that PP divides ABAB in the ratio λ:1\lambda : 1, where λ∈R\lambda \in \mathbb{R}.

plane relative to two points

Then, by the section formula, the coordinates of point PP are:

(λx2+x1λ+1, λy2+y1λ+1, λz2+z1λ+1).\left( \frac{\lambda x_2 + x_1}{\lambda + 1},\ \frac{\lambda y_2 + y_1}{\lambda + 1},\ \frac{\lambda z_2 + z_1}{\lambda + 1} \right).

Since PP lies on the plane Π\Pi, it must satisfy the plane equation. Substituting the coordinates of PP into the plane equation:

a(λx2+x1λ+1)+b(λy2+y1λ+1)+c(λz2+z1λ+1)+d=0.a \left( \frac{\lambda x_2 + x_1}{\lambda + 1} \right) + b \left( \frac{\lambda y_2 + y_1}{\lambda + 1} \right) + c \left( \frac{\lambda z_2 + z_1}{\lambda + 1} \right) + d = 0.

Combine all terms over the common denominator λ+1\lambda + 1:

λ(ax2+by2+cz2)+(ax1+by1+cz1)λ+1+d=0.\frac{ \lambda (a x_2 + b y_2 + c z_2) + (a x_1 + b y_1 + c z_1) }{\lambda + 1} + d = 0.

Multiply both sides by λ+1\lambda + 1:

λ(ax2+by2+cz2)+(ax1+by1+cz1)+d(λ+1)=0.\lambda (a x_2 + b y_2 + c z_2) + (a x_1 + b y_1 + c z_1) + d(\lambda + 1) = 0.

Group and simplify:

λ(ax2+by2+cz2+d)+(ax1+by1+cz1+d)=0.\lambda (a x_2 + b y_2 + c z_2 + d) + (a x_1 + b y_1 + c z_1 + d) = 0.

Isolating λ\lambda:

λ=−ax1+by1+cz1+dax2+by2+cz2+d.\lambda = -\frac{a x_1 + b y_1 + c z_1 + d}{a x_2 + b y_2 + c z_2 + d}.

This can be abbreviated as

λ=−Π(x1,y1,z1)Π(x2,y2,z2),\lambda = -\frac{\Pi(x_1, y_1, z_1)}{\Pi(x_2, y_2, z_2)},

where Π(x,y,z)\Pi(x, y, z) denotes the left-hand side of the plane equation evaluated at that point.

Thus, to find the ratio in which the plane divides the segment ABAB, we evaluate the plane equation at both endpoints, and take the negative ratio.

Relative Location of Points with Respect to a Plane§

Consider two points

A(x1,y1,z1)andB(x2,y2,z2)A(x_1, y_1, z_1) \quad \text{and} \quad B(x_2, y_2, z_2)

in space, and let there be a plane

Π:ax+by+cz+d=0.\Pi : ax + by + cz + d = 0.

We wish to determine whether the points AA and BB lie on the same side of the plane, on opposite sides, or if either of them lies on the plane.

alt text

This concept has wide relevance—not just in geometry, but also in machine learning, where it is used to classify objects. For instance, an algorithm might learn to distinguish a cat from a dog by representing them as points in a high-dimensional space, and then using a plane (called a decision boundary) to separate the two classes. This geometric idea is precisely what's happening here.


Let us now analyze the situation.

Evaluate the left-hand side of the plane equation at both points:

Π(A)=ax1+by1+cz1+d,Π(B)=ax2+by2+cz2+d.\Pi(A) = ax_1 + by_1 + cz_1 + d, \quad \Pi(B) = ax_2 + by_2 + cz_2 + d.

Now suppose AA and BB lie on opposite sides of the plane. Then the plane divides the line segment ABAB internally, and the ratio in which it divides is

λ=−ax1+by1+cz1+dax2+by2+cz2+d.\lambda = -\frac{ax_1 + by_1 + cz_1 + d}{ax_2 + by_2 + cz_2 + d}.

Since this is an internal division, the ratio λ\lambda must be positive, so:

−Π(A)Π(B)>0  ⟹  Π(A)Π(B)<0  ⟹  Π(A)⋅Π(B)<0.-\frac{\Pi(A)}{\Pi(B)} > 0 \implies \frac{\Pi(A)}{\Pi(B)} < 0 \implies \Pi(A) \cdot \Pi(B) < 0.

That is, the two evaluated expressions must have opposite signs, meaning the two points are on opposite sides of the plane.

Similarly, if both points lie on the same side of the plane, then the plane divides the line joining them externally, and the ratio λ\lambda is negative, so:

−Π(A)Π(B)<0  ⟹  Π(A)⋅Π(B)>0.-\frac{\Pi(A)}{\Pi(B)} < 0 \implies \Pi(A) \cdot \Pi(B) > 0.

Thus:

In simple terms, if two points are on the same side of a plane, then when we substitute their coordinates into the left-hand side of the plane equation

ax+by+cz+d,ax + by + cz + d,

both will give values with the same sign—either both positive or both negative.

On the other hand, if the two points are on opposite sides of the plane, then substituting their coordinates into the left-hand side of the plane equation will give opposite signs—one positive and one negative.


This leads to an important geometric conclusion:

A plane divides the entire space into two distinct regions—
– In one region, every point gives a positive value when substituted into the plane equation.
– In the other region, every point gives a negative value.
– The points on the plane itself are precisely those for which the value is zero.

plane dividing the space in two regions

This is the fundamental idea behind how a plane partitions space.

In vector form, a plane is written as

r⃗⋅n⃗=d,\vec{r} \cdot \vec{n} = d,

where n⃗\vec{n} is the normal vector to the plane and dd is a constant.

Just like in Cartesian form, this equation divides space into three parts:

– For points on the plane:

r⃗⋅n⃗=d.\vec{r} \cdot \vec{n} = d.

– For points on one side of the plane:

r⃗⋅n⃗>d.\vec{r} \cdot \vec{n} > d.

– For points on the other side of the plane:

r⃗⋅n⃗<d.\vec{r} \cdot \vec{n} < d.

Thus, the plane divides space into two regions:

– One region where every point satisfies r⃗⋅n⃗>d\vec{r} \cdot \vec{n} > d,
– Another region where every point satisfies r⃗⋅n⃗<d\vec{r} \cdot \vec{n} < d.

Distance of a Point from a Plane Measured Along a Given Line§

Consider a plane given by

ax+by+cz+d=0,ax + by + cz + d = 0,

and a point P(x0,y0,z0)P(x_0, y_0, z_0) in space.

We already have the standard formula to measure the perpendicular distance from PP to the plane—that is, the shortest distance measured along the normal to the plane.

But suppose we want to measure the distance from PP to the plane along some other line, not necessarily perpendicular to the plane. Let this line have direction ratios l,m,nl, m, n.

That is, we draw a line passing through point PP with direction ratios (l,m,n)(l, m, n), and let this line intersect the plane at a point QQ. The length of the segment PQPQ is then what we call the distance of point PP from the plane measured along the line l,m,nl, m, n.

alt text

We begin by writing the equation of the line PQPQ in symmetric form:

x−x0l=y−y0m=z−z0n=λ.\frac{x - x_0}{l} = \frac{y - y_0}{m} = \frac{z - z_0}{n} = \lambda.

Hence, the coordinates of point QQ can be expressed as:

x=lλ+x0,y=mλ+y0,z=nλ+z0,x = l\lambda + x_0, \quad y = m\lambda + y_0, \quad z = n\lambda + z_0,

for some λ∈R\lambda \in \mathbb{R}.

Now, since point QQ lies on the plane, it must satisfy the plane equation. Substituting:

a(lλ+x0)+b(mλ+y0)+c(nλ+z0)+d=0.a(l\lambda + x_0) + b(m\lambda + y_0) + c(n\lambda + z_0) + d = 0.

Expanding and isolating λ\lambda:

λ(al+bm+cn)+(ax0+by0+cz0+d)=0,\lambda(al + bm + cn) + (ax_0 + by_0 + cz_0 + d) = 0, λ=−ax0+by0+cz0+dal+bm+cn.\lambda = -\frac{ax_0 + by_0 + cz_0 + d}{al + bm + cn}.

Now we compute the exact length of PQPQ. The coordinates of QQ are

x=lλ+x0,y=mλ+y0,z=nλ+z0,x = l\lambda + x_0,\quad y = m\lambda + y_0,\quad z = n\lambda + z_0,

so the segment PQPQ has length

PQ=(lλ+x0−x0)2+(mλ+y0−y0)2+(nλ+z0−z0)2=(lλ)2+(mλ)2+(nλ)2=∣λ∣l2+m2+n2.PQ = \sqrt{(l\lambda + x_0 - x_0)^2 + (m\lambda + y_0 - y_0)^2 + (n\lambda + z_0 - z_0)^2} = \sqrt{(l\lambda)^2 + (m\lambda)^2 + (n\lambda)^2} = |\lambda| \sqrt{l^2 + m^2 + n^2}.

Substituting the value of λ\lambda:

PQ=∣ax0+by0+cz0+dal+bm+cn∣⋅l2+m2+n2.PQ = \left| \frac{ax_0 + by_0 + cz_0 + d}{al + bm + cn} \right| \cdot \sqrt{l^2 + m^2 + n^2}.

If the direction ratios l,m,nl, m, n are direction cosines, i.e.,

l2+m2+n2=1,l^2 + m^2 + n^2 = 1,

then the formula simplifies to:

PQ=∣ax0+by0+cz0+dal+bm+cn∣.PQ = \left| \frac{ax_0 + by_0 + cz_0 + d}{al + bm + cn} \right|.

This gives the distance from a point to a plane measured not perpendicularly, but along a given line.

Section 13 of 15 · Vector Algebra and Three Dimensional Geometry

Mark this section complete when you have worked through its proofs.