In Euclidean space, the point on a plane ax+by+cz=d{\displaystyle ax+by+cz=d} that is closest to the origin has the Cartesian coordinates (x,y,z){\displaystyle (x,y,z)}, where
The distance between the origin and point (x,y,z){\displaystyle (x,y,z)} is x2+y2+z2{\displaystyle {\sqrt {x^{2}+y^{2}+z^{2}}}}.