General method to find the perpendicular distance between a plane and a point.












2












$begingroup$


Here's the question I'm puzzling over:



$textbf{Find the perpendicular distance of the point } (p, q, r) textbf{ from the plane } \ax + by + cz = d.$



I tried bringing in the idea of a dot product and attempted to get going with solving the problem, but I'm heading nowhere. That is:



$text{The direction vector of the normal of the plane } = (atextbf{i}+btextbf{j}+ctextbf{k}) text{, where } \textbf{i}, textbf{ j},textbf{ k } text{ are unit vectors.}$



This dotted with the direction vector of the point (position vector, precisely) should equal 0. Am I right? And will this method work even?










share|cite|improve this question









$endgroup$

















    2












    $begingroup$


    Here's the question I'm puzzling over:



    $textbf{Find the perpendicular distance of the point } (p, q, r) textbf{ from the plane } \ax + by + cz = d.$



    I tried bringing in the idea of a dot product and attempted to get going with solving the problem, but I'm heading nowhere. That is:



    $text{The direction vector of the normal of the plane } = (atextbf{i}+btextbf{j}+ctextbf{k}) text{, where } \textbf{i}, textbf{ j},textbf{ k } text{ are unit vectors.}$



    This dotted with the direction vector of the point (position vector, precisely) should equal 0. Am I right? And will this method work even?










    share|cite|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      Here's the question I'm puzzling over:



      $textbf{Find the perpendicular distance of the point } (p, q, r) textbf{ from the plane } \ax + by + cz = d.$



      I tried bringing in the idea of a dot product and attempted to get going with solving the problem, but I'm heading nowhere. That is:



      $text{The direction vector of the normal of the plane } = (atextbf{i}+btextbf{j}+ctextbf{k}) text{, where } \textbf{i}, textbf{ j},textbf{ k } text{ are unit vectors.}$



      This dotted with the direction vector of the point (position vector, precisely) should equal 0. Am I right? And will this method work even?










      share|cite|improve this question









      $endgroup$




      Here's the question I'm puzzling over:



      $textbf{Find the perpendicular distance of the point } (p, q, r) textbf{ from the plane } \ax + by + cz = d.$



      I tried bringing in the idea of a dot product and attempted to get going with solving the problem, but I'm heading nowhere. That is:



      $text{The direction vector of the normal of the plane } = (atextbf{i}+btextbf{j}+ctextbf{k}) text{, where } \textbf{i}, textbf{ j},textbf{ k } text{ are unit vectors.}$



      This dotted with the direction vector of the point (position vector, precisely) should equal 0. Am I right? And will this method work even?







      vector-spaces vectors 3d






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 14 '18 at 4:56









      RamanaRamana

      17210




      17210






















          2 Answers
          2






          active

          oldest

          votes


















          2












          $begingroup$

          Let
          $$bbox {
          vec{n} = ( a , b , c ) = left [ begin{matrix} a \ b \ c end{matrix} right ] }, quad bbox {
          vec{v} = ( p , q , r ) = left [ begin{matrix} p \ q \ r end{matrix} right ] }, quad bbox {
          vec{w} = ( x , y , z ) = left [ begin{matrix} x \ y \ z end{matrix} right ] }$$

          where $vec{n}$ is the plane normal vector, $vec{v}$ is the point those distance $L$ to the plane we want to find out, and $vec{w}$ is just an example point. The equation of the plane is then
          $$bbox{ vec{n} cdot vec{w} = d }$$



          The signed distance $l$ between the plane and point $vec{v}$, in units of plane normal length, is
          $$bbox{ l = vec{n} cdot vec{v} - d }$$
          because both $d$ (the signed distance between origin and the plane) and $l$ (the signed distance between the point and the plane) are measured in the same direction, $vec{n}$.



          To find the actual distance $L$ between the point $vec{v}$ and the plane, we must divide the absolute value of $l$ by the length of the normal vector $vec{n}$:
          $$bbox[#fffff7, 1em] { L = frac{leftlvert vec{n} cdot vec{v} - d rightrvert }{leftlVert vec{n} rightrVert} = frac{ leftlvert a p + b q + c r - d rightrvert}{sqrt{a^2 + b^2 + c^2}} }$$



          For a more detailed derivation, look at the Wolfram Mathworld Point-Plane Distance article.






          share|cite|improve this answer









          $endgroup$





















            2












            $begingroup$

            If $(x,y,z)$ is the point in the plane which has shortest distance to $(p,q,r)$ then $(x-p,y-q,z-r)$ must be along the normal, i.e. $(x-p,y-q,z-r)=alpha (a,b,c)$ for some $alpha$. Thus $ x=p+alpha a$ etc. Use the equation of the plane to find $alpha$ and then compute $sqrt {(x-p)^{2}+(y-q)^{2}+(z-r)^{2}}$.






            share|cite|improve this answer









            $endgroup$














              Your Answer





              StackExchange.ifUsing("editor", function () {
              return StackExchange.using("mathjaxEditing", function () {
              StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
              StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
              });
              });
              }, "mathjax-editing");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "69"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              noCode: true, onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3038965%2fgeneral-method-to-find-the-perpendicular-distance-between-a-plane-and-a-point%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2












              $begingroup$

              Let
              $$bbox {
              vec{n} = ( a , b , c ) = left [ begin{matrix} a \ b \ c end{matrix} right ] }, quad bbox {
              vec{v} = ( p , q , r ) = left [ begin{matrix} p \ q \ r end{matrix} right ] }, quad bbox {
              vec{w} = ( x , y , z ) = left [ begin{matrix} x \ y \ z end{matrix} right ] }$$

              where $vec{n}$ is the plane normal vector, $vec{v}$ is the point those distance $L$ to the plane we want to find out, and $vec{w}$ is just an example point. The equation of the plane is then
              $$bbox{ vec{n} cdot vec{w} = d }$$



              The signed distance $l$ between the plane and point $vec{v}$, in units of plane normal length, is
              $$bbox{ l = vec{n} cdot vec{v} - d }$$
              because both $d$ (the signed distance between origin and the plane) and $l$ (the signed distance between the point and the plane) are measured in the same direction, $vec{n}$.



              To find the actual distance $L$ between the point $vec{v}$ and the plane, we must divide the absolute value of $l$ by the length of the normal vector $vec{n}$:
              $$bbox[#fffff7, 1em] { L = frac{leftlvert vec{n} cdot vec{v} - d rightrvert }{leftlVert vec{n} rightrVert} = frac{ leftlvert a p + b q + c r - d rightrvert}{sqrt{a^2 + b^2 + c^2}} }$$



              For a more detailed derivation, look at the Wolfram Mathworld Point-Plane Distance article.






              share|cite|improve this answer









              $endgroup$


















                2












                $begingroup$

                Let
                $$bbox {
                vec{n} = ( a , b , c ) = left [ begin{matrix} a \ b \ c end{matrix} right ] }, quad bbox {
                vec{v} = ( p , q , r ) = left [ begin{matrix} p \ q \ r end{matrix} right ] }, quad bbox {
                vec{w} = ( x , y , z ) = left [ begin{matrix} x \ y \ z end{matrix} right ] }$$

                where $vec{n}$ is the plane normal vector, $vec{v}$ is the point those distance $L$ to the plane we want to find out, and $vec{w}$ is just an example point. The equation of the plane is then
                $$bbox{ vec{n} cdot vec{w} = d }$$



                The signed distance $l$ between the plane and point $vec{v}$, in units of plane normal length, is
                $$bbox{ l = vec{n} cdot vec{v} - d }$$
                because both $d$ (the signed distance between origin and the plane) and $l$ (the signed distance between the point and the plane) are measured in the same direction, $vec{n}$.



                To find the actual distance $L$ between the point $vec{v}$ and the plane, we must divide the absolute value of $l$ by the length of the normal vector $vec{n}$:
                $$bbox[#fffff7, 1em] { L = frac{leftlvert vec{n} cdot vec{v} - d rightrvert }{leftlVert vec{n} rightrVert} = frac{ leftlvert a p + b q + c r - d rightrvert}{sqrt{a^2 + b^2 + c^2}} }$$



                For a more detailed derivation, look at the Wolfram Mathworld Point-Plane Distance article.






                share|cite|improve this answer









                $endgroup$
















                  2












                  2








                  2





                  $begingroup$

                  Let
                  $$bbox {
                  vec{n} = ( a , b , c ) = left [ begin{matrix} a \ b \ c end{matrix} right ] }, quad bbox {
                  vec{v} = ( p , q , r ) = left [ begin{matrix} p \ q \ r end{matrix} right ] }, quad bbox {
                  vec{w} = ( x , y , z ) = left [ begin{matrix} x \ y \ z end{matrix} right ] }$$

                  where $vec{n}$ is the plane normal vector, $vec{v}$ is the point those distance $L$ to the plane we want to find out, and $vec{w}$ is just an example point. The equation of the plane is then
                  $$bbox{ vec{n} cdot vec{w} = d }$$



                  The signed distance $l$ between the plane and point $vec{v}$, in units of plane normal length, is
                  $$bbox{ l = vec{n} cdot vec{v} - d }$$
                  because both $d$ (the signed distance between origin and the plane) and $l$ (the signed distance between the point and the plane) are measured in the same direction, $vec{n}$.



                  To find the actual distance $L$ between the point $vec{v}$ and the plane, we must divide the absolute value of $l$ by the length of the normal vector $vec{n}$:
                  $$bbox[#fffff7, 1em] { L = frac{leftlvert vec{n} cdot vec{v} - d rightrvert }{leftlVert vec{n} rightrVert} = frac{ leftlvert a p + b q + c r - d rightrvert}{sqrt{a^2 + b^2 + c^2}} }$$



                  For a more detailed derivation, look at the Wolfram Mathworld Point-Plane Distance article.






                  share|cite|improve this answer









                  $endgroup$



                  Let
                  $$bbox {
                  vec{n} = ( a , b , c ) = left [ begin{matrix} a \ b \ c end{matrix} right ] }, quad bbox {
                  vec{v} = ( p , q , r ) = left [ begin{matrix} p \ q \ r end{matrix} right ] }, quad bbox {
                  vec{w} = ( x , y , z ) = left [ begin{matrix} x \ y \ z end{matrix} right ] }$$

                  where $vec{n}$ is the plane normal vector, $vec{v}$ is the point those distance $L$ to the plane we want to find out, and $vec{w}$ is just an example point. The equation of the plane is then
                  $$bbox{ vec{n} cdot vec{w} = d }$$



                  The signed distance $l$ between the plane and point $vec{v}$, in units of plane normal length, is
                  $$bbox{ l = vec{n} cdot vec{v} - d }$$
                  because both $d$ (the signed distance between origin and the plane) and $l$ (the signed distance between the point and the plane) are measured in the same direction, $vec{n}$.



                  To find the actual distance $L$ between the point $vec{v}$ and the plane, we must divide the absolute value of $l$ by the length of the normal vector $vec{n}$:
                  $$bbox[#fffff7, 1em] { L = frac{leftlvert vec{n} cdot vec{v} - d rightrvert }{leftlVert vec{n} rightrVert} = frac{ leftlvert a p + b q + c r - d rightrvert}{sqrt{a^2 + b^2 + c^2}} }$$



                  For a more detailed derivation, look at the Wolfram Mathworld Point-Plane Distance article.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 15 '18 at 13:47









                  Nominal AnimalNominal Animal

                  7,1332617




                  7,1332617























                      2












                      $begingroup$

                      If $(x,y,z)$ is the point in the plane which has shortest distance to $(p,q,r)$ then $(x-p,y-q,z-r)$ must be along the normal, i.e. $(x-p,y-q,z-r)=alpha (a,b,c)$ for some $alpha$. Thus $ x=p+alpha a$ etc. Use the equation of the plane to find $alpha$ and then compute $sqrt {(x-p)^{2}+(y-q)^{2}+(z-r)^{2}}$.






                      share|cite|improve this answer









                      $endgroup$


















                        2












                        $begingroup$

                        If $(x,y,z)$ is the point in the plane which has shortest distance to $(p,q,r)$ then $(x-p,y-q,z-r)$ must be along the normal, i.e. $(x-p,y-q,z-r)=alpha (a,b,c)$ for some $alpha$. Thus $ x=p+alpha a$ etc. Use the equation of the plane to find $alpha$ and then compute $sqrt {(x-p)^{2}+(y-q)^{2}+(z-r)^{2}}$.






                        share|cite|improve this answer









                        $endgroup$
















                          2












                          2








                          2





                          $begingroup$

                          If $(x,y,z)$ is the point in the plane which has shortest distance to $(p,q,r)$ then $(x-p,y-q,z-r)$ must be along the normal, i.e. $(x-p,y-q,z-r)=alpha (a,b,c)$ for some $alpha$. Thus $ x=p+alpha a$ etc. Use the equation of the plane to find $alpha$ and then compute $sqrt {(x-p)^{2}+(y-q)^{2}+(z-r)^{2}}$.






                          share|cite|improve this answer









                          $endgroup$



                          If $(x,y,z)$ is the point in the plane which has shortest distance to $(p,q,r)$ then $(x-p,y-q,z-r)$ must be along the normal, i.e. $(x-p,y-q,z-r)=alpha (a,b,c)$ for some $alpha$. Thus $ x=p+alpha a$ etc. Use the equation of the plane to find $alpha$ and then compute $sqrt {(x-p)^{2}+(y-q)^{2}+(z-r)^{2}}$.







                          share|cite|improve this answer












                          share|cite|improve this answer



                          share|cite|improve this answer










                          answered Dec 14 '18 at 5:55









                          Kavi Rama MurthyKavi Rama Murthy

                          73.3k53170




                          73.3k53170






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Mathematics Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              Use MathJax to format equations. MathJax reference.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3038965%2fgeneral-method-to-find-the-perpendicular-distance-between-a-plane-and-a-point%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                              ComboBox Display Member on multiple fields

                              Is it possible to collect Nectar points via Trainline?