Let \(H\) be the hyperplane in \(\RNrSpc{n}\) consisting of all solutions of the linear equation
\[a_1x_1 + \cdots + a_nx_n = c\]If \(\Vect{a}\DefEq (a_1,\dots ,a_n)\neq \Vect{0}\), then the distance from a point \(Q\), with position vector \(\Vect{q}=(q_1,\dots ,q_n)\), in \(\RNrSpc{n}\) from \(H\) is
\[\Dstnc{Q}{H} = \frac{\Abs{ \DotPr{\Vect{a}}{ \Vect{q} } - c}}{ \Norm{ \Vect{a} }}\]