Consider a point P with position vector a and a plane π1​ whose equation is r⋅n^=d.
Consider a plane π2​ through P parallel to the plane π1​. The unit vector normal to π2​ is n^. Hence, its equation is (r−a)⋅n^=0 i.e. r⋅n^=a⋅n^
Thus, the distance ON' of this plane from the origin is ∣a⋅n^∣. Therefore, the distance PQ from the plane π1​ is [Fig. (a)] i.e., ON−ON=∣d−a⋅n^∣
which is the length of the perpendicular from a point to the given plane.
We may establish the similar results for Fig. (b).