Find a point Q1 on L1 and a point Q2 on L2 so that d(Q1,Q2) = d












0












$begingroup$


Let L1 be the line passing through the point P1 = (−2, 3, 1) with direction vector →d = <−2, −1, −2>, and let L2 be the line passing through the point P2 = (4, 4, −4) with the same direction vector.
Find the shortest distance d between these two lines, and find a point Q1 on L1 and a point Q2 on L2 so that d(Q1,Q2) = d.



What I've solved for so far:



L1: <-2,3,1> + t<-2,-1,2>



L2: <4,4-4> + u<-2,-1,2>



Consider a point (-2,3,1) and a point on L2 which is <4-2u, 4-u, -4-2u>



Distance between the points is:



d$^2$ = (-2u+6)$^2$ + (-u+1)$^2$ + (-2u-5)$^2$



I then differentiated both sides to get:



(4u-12) + (u-1) + (4u+10) = 0



u = $frac13$



Shortest distance between the lines is then:



d$^2$ = (-2($frac13$)+6)$^2$ + (-($frac13$)+1)$^2$ + (-2($frac13$)-5)$^2$



d = $sqrt{61}$



So I've gotten d to equal $sqrt{61}$. I don't know where to go from here and solve for Q1 and Q2.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    Let L1 be the line passing through the point P1 = (−2, 3, 1) with direction vector →d = <−2, −1, −2>, and let L2 be the line passing through the point P2 = (4, 4, −4) with the same direction vector.
    Find the shortest distance d between these two lines, and find a point Q1 on L1 and a point Q2 on L2 so that d(Q1,Q2) = d.



    What I've solved for so far:



    L1: <-2,3,1> + t<-2,-1,2>



    L2: <4,4-4> + u<-2,-1,2>



    Consider a point (-2,3,1) and a point on L2 which is <4-2u, 4-u, -4-2u>



    Distance between the points is:



    d$^2$ = (-2u+6)$^2$ + (-u+1)$^2$ + (-2u-5)$^2$



    I then differentiated both sides to get:



    (4u-12) + (u-1) + (4u+10) = 0



    u = $frac13$



    Shortest distance between the lines is then:



    d$^2$ = (-2($frac13$)+6)$^2$ + (-($frac13$)+1)$^2$ + (-2($frac13$)-5)$^2$



    d = $sqrt{61}$



    So I've gotten d to equal $sqrt{61}$. I don't know where to go from here and solve for Q1 and Q2.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      Let L1 be the line passing through the point P1 = (−2, 3, 1) with direction vector →d = <−2, −1, −2>, and let L2 be the line passing through the point P2 = (4, 4, −4) with the same direction vector.
      Find the shortest distance d between these two lines, and find a point Q1 on L1 and a point Q2 on L2 so that d(Q1,Q2) = d.



      What I've solved for so far:



      L1: <-2,3,1> + t<-2,-1,2>



      L2: <4,4-4> + u<-2,-1,2>



      Consider a point (-2,3,1) and a point on L2 which is <4-2u, 4-u, -4-2u>



      Distance between the points is:



      d$^2$ = (-2u+6)$^2$ + (-u+1)$^2$ + (-2u-5)$^2$



      I then differentiated both sides to get:



      (4u-12) + (u-1) + (4u+10) = 0



      u = $frac13$



      Shortest distance between the lines is then:



      d$^2$ = (-2($frac13$)+6)$^2$ + (-($frac13$)+1)$^2$ + (-2($frac13$)-5)$^2$



      d = $sqrt{61}$



      So I've gotten d to equal $sqrt{61}$. I don't know where to go from here and solve for Q1 and Q2.










      share|cite|improve this question









      $endgroup$




      Let L1 be the line passing through the point P1 = (−2, 3, 1) with direction vector →d = <−2, −1, −2>, and let L2 be the line passing through the point P2 = (4, 4, −4) with the same direction vector.
      Find the shortest distance d between these two lines, and find a point Q1 on L1 and a point Q2 on L2 so that d(Q1,Q2) = d.



      What I've solved for so far:



      L1: <-2,3,1> + t<-2,-1,2>



      L2: <4,4-4> + u<-2,-1,2>



      Consider a point (-2,3,1) and a point on L2 which is <4-2u, 4-u, -4-2u>



      Distance between the points is:



      d$^2$ = (-2u+6)$^2$ + (-u+1)$^2$ + (-2u-5)$^2$



      I then differentiated both sides to get:



      (4u-12) + (u-1) + (4u+10) = 0



      u = $frac13$



      Shortest distance between the lines is then:



      d$^2$ = (-2($frac13$)+6)$^2$ + (-($frac13$)+1)$^2$ + (-2($frac13$)-5)$^2$



      d = $sqrt{61}$



      So I've gotten d to equal $sqrt{61}$. I don't know where to go from here and solve for Q1 and Q2.







      linear-algebra vectors






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Nov 12 '18 at 3:03









      qbufferqbuffer

      63




      63






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          If the lines have the same direction vector, then they must be parallel.



          So the plane perpendicular to line $P_1+td = (-2-2t, 3-t, 1-2t)$ will also be perpendicular to the line $P_2+ud = (4-2u, 4-u, -4-2u)$.



          Since that plane passes through the point $$Q_1=(-2,3,1)$$ and is perpendicular to the direction $(2,1,2)$. Its equation is $2(x+2) +1(y-3) + 2(z-1) = 0$. Which simplifies to



          $$2x+y+2z = -1$$



          It will intersect the other line when $(4-2u)+(4-u)+2(-4-2u) = -1$, which is when
          $u = dfrac 13$. This gives us the point $$Q_2 = frac 13(10, 11, -14)$$. Then



          $$d = left |(-2,3,1) - frac 13(10, 11, -14) right | = sqrt{61}$$






          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%2f2994775%2ffind-a-point-q1-on-l1-and-a-point-q2-on-l2-so-that-dq1-q2-d%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0












            $begingroup$

            If the lines have the same direction vector, then they must be parallel.



            So the plane perpendicular to line $P_1+td = (-2-2t, 3-t, 1-2t)$ will also be perpendicular to the line $P_2+ud = (4-2u, 4-u, -4-2u)$.



            Since that plane passes through the point $$Q_1=(-2,3,1)$$ and is perpendicular to the direction $(2,1,2)$. Its equation is $2(x+2) +1(y-3) + 2(z-1) = 0$. Which simplifies to



            $$2x+y+2z = -1$$



            It will intersect the other line when $(4-2u)+(4-u)+2(-4-2u) = -1$, which is when
            $u = dfrac 13$. This gives us the point $$Q_2 = frac 13(10, 11, -14)$$. Then



            $$d = left |(-2,3,1) - frac 13(10, 11, -14) right | = sqrt{61}$$






            share|cite|improve this answer









            $endgroup$


















              0












              $begingroup$

              If the lines have the same direction vector, then they must be parallel.



              So the plane perpendicular to line $P_1+td = (-2-2t, 3-t, 1-2t)$ will also be perpendicular to the line $P_2+ud = (4-2u, 4-u, -4-2u)$.



              Since that plane passes through the point $$Q_1=(-2,3,1)$$ and is perpendicular to the direction $(2,1,2)$. Its equation is $2(x+2) +1(y-3) + 2(z-1) = 0$. Which simplifies to



              $$2x+y+2z = -1$$



              It will intersect the other line when $(4-2u)+(4-u)+2(-4-2u) = -1$, which is when
              $u = dfrac 13$. This gives us the point $$Q_2 = frac 13(10, 11, -14)$$. Then



              $$d = left |(-2,3,1) - frac 13(10, 11, -14) right | = sqrt{61}$$






              share|cite|improve this answer









              $endgroup$
















                0












                0








                0





                $begingroup$

                If the lines have the same direction vector, then they must be parallel.



                So the plane perpendicular to line $P_1+td = (-2-2t, 3-t, 1-2t)$ will also be perpendicular to the line $P_2+ud = (4-2u, 4-u, -4-2u)$.



                Since that plane passes through the point $$Q_1=(-2,3,1)$$ and is perpendicular to the direction $(2,1,2)$. Its equation is $2(x+2) +1(y-3) + 2(z-1) = 0$. Which simplifies to



                $$2x+y+2z = -1$$



                It will intersect the other line when $(4-2u)+(4-u)+2(-4-2u) = -1$, which is when
                $u = dfrac 13$. This gives us the point $$Q_2 = frac 13(10, 11, -14)$$. Then



                $$d = left |(-2,3,1) - frac 13(10, 11, -14) right | = sqrt{61}$$






                share|cite|improve this answer









                $endgroup$



                If the lines have the same direction vector, then they must be parallel.



                So the plane perpendicular to line $P_1+td = (-2-2t, 3-t, 1-2t)$ will also be perpendicular to the line $P_2+ud = (4-2u, 4-u, -4-2u)$.



                Since that plane passes through the point $$Q_1=(-2,3,1)$$ and is perpendicular to the direction $(2,1,2)$. Its equation is $2(x+2) +1(y-3) + 2(z-1) = 0$. Which simplifies to



                $$2x+y+2z = -1$$



                It will intersect the other line when $(4-2u)+(4-u)+2(-4-2u) = -1$, which is when
                $u = dfrac 13$. This gives us the point $$Q_2 = frac 13(10, 11, -14)$$. Then



                $$d = left |(-2,3,1) - frac 13(10, 11, -14) right | = sqrt{61}$$







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered Jan 17 at 21:54









                steven gregorysteven gregory

                18.2k32258




                18.2k32258






























                    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%2f2994775%2ffind-a-point-q1-on-l1-and-a-point-q2-on-l2-so-that-dq1-q2-d%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

                    'app-layout' is not a known element: how to share Component with different Modules

                    android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

                    WPF add header to Image with URL pettitions [duplicate]