Line intersecting 2 lines and parallel to another











up vote
1
down vote

favorite
1












The problem is :



Find parametric equations of the line L intersecting the given lines L1 and L2 and parallel to the given line L3.



L1: x = 1 + (t1), y = 2 + 2(t1), z = -2 + (t1)



L2: x = 2 + (t2), y = 1 + 2(t2), z = 3 + 3(t2)



L3: x = 1 + 2(t3), y = 1 + 7(t3), z = 1 + 3(t3)



(t1), (t2) and (t3) are in R



Thank you










share|cite|improve this question






















  • What have you tried so far? Are you stuck at some point? or at some concept?
    – Andrei
    Nov 20 at 16:29










  • I know that the direction vector of L is parallel to that of L3 if it is a scalar multiple of the direction vector of L3... Now how do I find the points where L intersects L1 and L2?
    – L. M. E.
    Nov 20 at 16:37















up vote
1
down vote

favorite
1












The problem is :



Find parametric equations of the line L intersecting the given lines L1 and L2 and parallel to the given line L3.



L1: x = 1 + (t1), y = 2 + 2(t1), z = -2 + (t1)



L2: x = 2 + (t2), y = 1 + 2(t2), z = 3 + 3(t2)



L3: x = 1 + 2(t3), y = 1 + 7(t3), z = 1 + 3(t3)



(t1), (t2) and (t3) are in R



Thank you










share|cite|improve this question






















  • What have you tried so far? Are you stuck at some point? or at some concept?
    – Andrei
    Nov 20 at 16:29










  • I know that the direction vector of L is parallel to that of L3 if it is a scalar multiple of the direction vector of L3... Now how do I find the points where L intersects L1 and L2?
    – L. M. E.
    Nov 20 at 16:37













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





The problem is :



Find parametric equations of the line L intersecting the given lines L1 and L2 and parallel to the given line L3.



L1: x = 1 + (t1), y = 2 + 2(t1), z = -2 + (t1)



L2: x = 2 + (t2), y = 1 + 2(t2), z = 3 + 3(t2)



L3: x = 1 + 2(t3), y = 1 + 7(t3), z = 1 + 3(t3)



(t1), (t2) and (t3) are in R



Thank you










share|cite|improve this question













The problem is :



Find parametric equations of the line L intersecting the given lines L1 and L2 and parallel to the given line L3.



L1: x = 1 + (t1), y = 2 + 2(t1), z = -2 + (t1)



L2: x = 2 + (t2), y = 1 + 2(t2), z = 3 + 3(t2)



L3: x = 1 + 2(t3), y = 1 + 7(t3), z = 1 + 3(t3)



(t1), (t2) and (t3) are in R



Thank you







linear-algebra geometry vectors 3d






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 20 at 16:19









L. M. E.

84




84












  • What have you tried so far? Are you stuck at some point? or at some concept?
    – Andrei
    Nov 20 at 16:29










  • I know that the direction vector of L is parallel to that of L3 if it is a scalar multiple of the direction vector of L3... Now how do I find the points where L intersects L1 and L2?
    – L. M. E.
    Nov 20 at 16:37


















  • What have you tried so far? Are you stuck at some point? or at some concept?
    – Andrei
    Nov 20 at 16:29










  • I know that the direction vector of L is parallel to that of L3 if it is a scalar multiple of the direction vector of L3... Now how do I find the points where L intersects L1 and L2?
    – L. M. E.
    Nov 20 at 16:37
















What have you tried so far? Are you stuck at some point? or at some concept?
– Andrei
Nov 20 at 16:29




What have you tried so far? Are you stuck at some point? or at some concept?
– Andrei
Nov 20 at 16:29












I know that the direction vector of L is parallel to that of L3 if it is a scalar multiple of the direction vector of L3... Now how do I find the points where L intersects L1 and L2?
– L. M. E.
Nov 20 at 16:37




I know that the direction vector of L is parallel to that of L3 if it is a scalar multiple of the direction vector of L3... Now how do I find the points where L intersects L1 and L2?
– L. M. E.
Nov 20 at 16:37










3 Answers
3






active

oldest

votes

















up vote
0
down vote



accepted










Let us use vector notation for the sake of simplicity:
$L_1: vec r_1+t_1vec l_1$ ,where $vec l_1=(1,2,1)$ and $vec r_1=(1,2,-2)$.
Likewise
$L_2: vec r_2+t_2vec l_1$ where $vec l_2=(1,2,3)$ and $vec r_2=(2,1,3)$. Let us call the line $L$ that intersects $L_1$ and $L_2$ and is parallel to $L_3$. So we get
$L: vec r+t vec l_3$ ,where $vec l_3=(2,7,3)$ and $vec r$ yet to be determined.

From intersection of $L_1$ and $L$ we get:
$$vec r_1+t_1 vec l_1=vec r+ t'_1 vec l_3$$
And from intersection of $L_2$ and $L$ we get:
$$vec r_2+t_2 vec l_2=vec r+ t'_2 vec l_3$$
If we subtract the last two vector equation we get:
$$vec r_1-vec r_2+t_1 vec l_1-t_2 vec l_2=(t'_1-t'_2)vec l_3$$
If we substitute the numerical values we get three equations as below:
$$left{begin{array}{c}-1+t_1-t_2=2(t'_1-t'_2) \1+2(t_1-t_2)=7(t'_1-t'_2)\-5+t_1-3t_2=3(t'_1-t'_2)end{array}right.$$
We can consider $t_1$ , $t_2$ and $t'_1-t'_2$ as three unknowns in the system of three equations to get: $t_1=0.5$, $t_2=-2.5$, and $t'_1-t'_2=1$.
So from intersecting $L$ and $L_1$ we can get $vec r$ as below
$$vec r=vec r_1+t_1 vec l_1-t'_1 vec l_3=(1,2,-2)+0.5(1,2,1)-t'_1 vec l_3=(1.5,3,-1.5)-t'_1 vec l_3$$
Then the parametric equation for $L$ will be:
$$L: vec r+t vec l_3=(1.5,3,-1.5)-t'_1 vec l_3+t vec l_3$$
or by having $t''=t-t'$ we get
$$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' vec l_3$$
or
$$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' (2,7,3)$$
or
$$ L: x=1.5+2t'', y=3+7t'', z=-1.5+3t''$$






share|cite|improve this answer























  • I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
    – L. M. E.
    Nov 20 at 20:18


















up vote
1
down vote













If two lines intersect, then they are coplanar. In particular, $L$ and $L_1$ must lie on the same plane, as must $L$ and $L_2$, therefore $L$ lies on the intersection of these two planes. The cross product of the direction vectors of each of these pairs of lines is normal to the plane in which they lie, and you can extract a known point on each of $L_1$ and $L_2$ from their parametric equations, so you can easily construct an equation for each of these planes. Once you have the two equations, finding their intersection is also straightforward. Indeed, you only need to find a point in the intersection since you already know what the direction vector of the line must be, but it’s worth going through the entire calculation to ensure that the planes do in fact intersect.



Specifically, we have for the first plane’s normal $(2,7,3)times(1,2,1)=(1,1,-3)$ and so an equation for it is $$x+y-3z=9.$$ For the second plane, we have the normal $(2,7,3)times(1,2,3)=(15,-3,-3)$, giving the equation $$5x-y-z=6.$$ These two normals are not parallel, so the planes do intersect in a line. I’ll leave the rest to you.






share|cite|improve this answer






























    up vote
    0
    down vote













    The geometry of this question is interesting, most notably for the curious conditions governing the existence of a solution, so I would like to provide an answer that emphasizes this aspect, and in the process illustrate how the problem can be tackled in the most general case, not just for the particular example of this question. Then, at the very end, the solution to this specific question will also be provided in a way that is hopefully as clear as it is simple.



    In vector terms, we have

    L1:$ vec{P} + t_1vec{D_1}$

    L2:$ vec{Q} + t_2vec{D_2}$

    L3:$ vec{R} + t_3vec{D_3}$



    and seek $vec{S}$

    L:$ vec{S} + tvec{D_3}$

    such that L intersects both L1 and L2.



    It is interesting to note that there are solutions when the line directions $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent.



    If $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent, then there is no solution except when L1 and L2 are located in a plane parallel to L3 without both individually being parallel to L3. The solution then is $vec{S} = vec{P}$.

    This case occurs if $ ((vec{P} - vec{Q}) times vec{D_1}) cdot vec{D_3} = 0$ and $ (vec{D_3} cdot vec{D_1} ≠ 0 $ or $ vec{D_3} cdot vec{D_2} ≠ 0) $.



    All other solutions involve linearly independent $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$, in which case the solution is
    $vec{S} = vec{P} + t_1vec{D_1} + t_3vec{D_3} = vec{Q} + t_2vec{D_2}$

    for some $t_1$, $t_2$ and $t_3$.
    $vec{S} = vec{P} + t_1vec{D_1}$ and $vec{Q} + t_2vec{D_2}$ are then the intersection points of L with L1 and L2 respectively.



    Setting



    $vec{P}= begin{pmatrix} p_x cr p_y cr p_z cr end{pmatrix}, vec{Q}= begin{pmatrix} q_x cr q_y cr q_z cr end{pmatrix}$,



    $vec{D_1}= begin{pmatrix} x_1 cr y_1 cr z_1 cr end{pmatrix}, vec{D_2}= begin{pmatrix} x_2 cr y_2 cr z_2 cr end{pmatrix}, vec{D_3}= begin{pmatrix} x_3 cr y_3 cr z_3 cr end{pmatrix}$,



    the system of equations to solve is



    $p_x + t_1 x_1 + t_3 x_3 = q_x + t_2 x_2$
    $p_y + t_1 y_1 + t_3 y_3 = q_y + t_2 y_2$
    $p_y + t_1 z_1 + t_3 z_3 = q_z + t_2 z_2$.



    As an example, in this question we then have



    $t_1 - t_2 + 2t_3 = 1$
    $2t_1 - 2t_2 + 7t_3 = -1$
    $t_1 - 3t_2 + 3t_3 = 5$,



    giving $ t_1 = {1 over 2}$, $ t_2 = -{5 over 2} $ and $ t_3 = -1$,

    and so the two intersection points are



    $vec{S} = vec{P} + t_1vec{D_1} = begin{pmatrix} 1 cr 2 cr -2 cr end{pmatrix} + {1 over 2} begin{pmatrix} 1 cr 2 cr 1 cr end{pmatrix} = {1 over 2} begin{pmatrix} 3 cr 6 cr -3 cr end{pmatrix}= begin{pmatrix} {3 over 2} cr 3 cr -{3 over 2} cr end{pmatrix}$

    and
    $vec{Q} + t_2vec{D_2} = begin{pmatrix} 2 cr 1 cr 3 cr end{pmatrix} - {5 over 2} begin{pmatrix} 1 cr 2 cr 3 cr end{pmatrix} = -{1 over 2} begin{pmatrix} 1 cr 8 cr 9 cr end{pmatrix}= begin{pmatrix} -{1 over 2} cr -4 cr -{9 over 2} cr end{pmatrix}$.






    share|cite|improve this answer























      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',
      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%2f3006523%2fline-intersecting-2-lines-and-parallel-to-another%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      3 Answers
      3






      active

      oldest

      votes








      3 Answers
      3






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote



      accepted










      Let us use vector notation for the sake of simplicity:
      $L_1: vec r_1+t_1vec l_1$ ,where $vec l_1=(1,2,1)$ and $vec r_1=(1,2,-2)$.
      Likewise
      $L_2: vec r_2+t_2vec l_1$ where $vec l_2=(1,2,3)$ and $vec r_2=(2,1,3)$. Let us call the line $L$ that intersects $L_1$ and $L_2$ and is parallel to $L_3$. So we get
      $L: vec r+t vec l_3$ ,where $vec l_3=(2,7,3)$ and $vec r$ yet to be determined.

      From intersection of $L_1$ and $L$ we get:
      $$vec r_1+t_1 vec l_1=vec r+ t'_1 vec l_3$$
      And from intersection of $L_2$ and $L$ we get:
      $$vec r_2+t_2 vec l_2=vec r+ t'_2 vec l_3$$
      If we subtract the last two vector equation we get:
      $$vec r_1-vec r_2+t_1 vec l_1-t_2 vec l_2=(t'_1-t'_2)vec l_3$$
      If we substitute the numerical values we get three equations as below:
      $$left{begin{array}{c}-1+t_1-t_2=2(t'_1-t'_2) \1+2(t_1-t_2)=7(t'_1-t'_2)\-5+t_1-3t_2=3(t'_1-t'_2)end{array}right.$$
      We can consider $t_1$ , $t_2$ and $t'_1-t'_2$ as three unknowns in the system of three equations to get: $t_1=0.5$, $t_2=-2.5$, and $t'_1-t'_2=1$.
      So from intersecting $L$ and $L_1$ we can get $vec r$ as below
      $$vec r=vec r_1+t_1 vec l_1-t'_1 vec l_3=(1,2,-2)+0.5(1,2,1)-t'_1 vec l_3=(1.5,3,-1.5)-t'_1 vec l_3$$
      Then the parametric equation for $L$ will be:
      $$L: vec r+t vec l_3=(1.5,3,-1.5)-t'_1 vec l_3+t vec l_3$$
      or by having $t''=t-t'$ we get
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' vec l_3$$
      or
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' (2,7,3)$$
      or
      $$ L: x=1.5+2t'', y=3+7t'', z=-1.5+3t''$$






      share|cite|improve this answer























      • I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
        – L. M. E.
        Nov 20 at 20:18















      up vote
      0
      down vote



      accepted










      Let us use vector notation for the sake of simplicity:
      $L_1: vec r_1+t_1vec l_1$ ,where $vec l_1=(1,2,1)$ and $vec r_1=(1,2,-2)$.
      Likewise
      $L_2: vec r_2+t_2vec l_1$ where $vec l_2=(1,2,3)$ and $vec r_2=(2,1,3)$. Let us call the line $L$ that intersects $L_1$ and $L_2$ and is parallel to $L_3$. So we get
      $L: vec r+t vec l_3$ ,where $vec l_3=(2,7,3)$ and $vec r$ yet to be determined.

      From intersection of $L_1$ and $L$ we get:
      $$vec r_1+t_1 vec l_1=vec r+ t'_1 vec l_3$$
      And from intersection of $L_2$ and $L$ we get:
      $$vec r_2+t_2 vec l_2=vec r+ t'_2 vec l_3$$
      If we subtract the last two vector equation we get:
      $$vec r_1-vec r_2+t_1 vec l_1-t_2 vec l_2=(t'_1-t'_2)vec l_3$$
      If we substitute the numerical values we get three equations as below:
      $$left{begin{array}{c}-1+t_1-t_2=2(t'_1-t'_2) \1+2(t_1-t_2)=7(t'_1-t'_2)\-5+t_1-3t_2=3(t'_1-t'_2)end{array}right.$$
      We can consider $t_1$ , $t_2$ and $t'_1-t'_2$ as three unknowns in the system of three equations to get: $t_1=0.5$, $t_2=-2.5$, and $t'_1-t'_2=1$.
      So from intersecting $L$ and $L_1$ we can get $vec r$ as below
      $$vec r=vec r_1+t_1 vec l_1-t'_1 vec l_3=(1,2,-2)+0.5(1,2,1)-t'_1 vec l_3=(1.5,3,-1.5)-t'_1 vec l_3$$
      Then the parametric equation for $L$ will be:
      $$L: vec r+t vec l_3=(1.5,3,-1.5)-t'_1 vec l_3+t vec l_3$$
      or by having $t''=t-t'$ we get
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' vec l_3$$
      or
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' (2,7,3)$$
      or
      $$ L: x=1.5+2t'', y=3+7t'', z=-1.5+3t''$$






      share|cite|improve this answer























      • I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
        – L. M. E.
        Nov 20 at 20:18













      up vote
      0
      down vote



      accepted







      up vote
      0
      down vote



      accepted






      Let us use vector notation for the sake of simplicity:
      $L_1: vec r_1+t_1vec l_1$ ,where $vec l_1=(1,2,1)$ and $vec r_1=(1,2,-2)$.
      Likewise
      $L_2: vec r_2+t_2vec l_1$ where $vec l_2=(1,2,3)$ and $vec r_2=(2,1,3)$. Let us call the line $L$ that intersects $L_1$ and $L_2$ and is parallel to $L_3$. So we get
      $L: vec r+t vec l_3$ ,where $vec l_3=(2,7,3)$ and $vec r$ yet to be determined.

      From intersection of $L_1$ and $L$ we get:
      $$vec r_1+t_1 vec l_1=vec r+ t'_1 vec l_3$$
      And from intersection of $L_2$ and $L$ we get:
      $$vec r_2+t_2 vec l_2=vec r+ t'_2 vec l_3$$
      If we subtract the last two vector equation we get:
      $$vec r_1-vec r_2+t_1 vec l_1-t_2 vec l_2=(t'_1-t'_2)vec l_3$$
      If we substitute the numerical values we get three equations as below:
      $$left{begin{array}{c}-1+t_1-t_2=2(t'_1-t'_2) \1+2(t_1-t_2)=7(t'_1-t'_2)\-5+t_1-3t_2=3(t'_1-t'_2)end{array}right.$$
      We can consider $t_1$ , $t_2$ and $t'_1-t'_2$ as three unknowns in the system of three equations to get: $t_1=0.5$, $t_2=-2.5$, and $t'_1-t'_2=1$.
      So from intersecting $L$ and $L_1$ we can get $vec r$ as below
      $$vec r=vec r_1+t_1 vec l_1-t'_1 vec l_3=(1,2,-2)+0.5(1,2,1)-t'_1 vec l_3=(1.5,3,-1.5)-t'_1 vec l_3$$
      Then the parametric equation for $L$ will be:
      $$L: vec r+t vec l_3=(1.5,3,-1.5)-t'_1 vec l_3+t vec l_3$$
      or by having $t''=t-t'$ we get
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' vec l_3$$
      or
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' (2,7,3)$$
      or
      $$ L: x=1.5+2t'', y=3+7t'', z=-1.5+3t''$$






      share|cite|improve this answer














      Let us use vector notation for the sake of simplicity:
      $L_1: vec r_1+t_1vec l_1$ ,where $vec l_1=(1,2,1)$ and $vec r_1=(1,2,-2)$.
      Likewise
      $L_2: vec r_2+t_2vec l_1$ where $vec l_2=(1,2,3)$ and $vec r_2=(2,1,3)$. Let us call the line $L$ that intersects $L_1$ and $L_2$ and is parallel to $L_3$. So we get
      $L: vec r+t vec l_3$ ,where $vec l_3=(2,7,3)$ and $vec r$ yet to be determined.

      From intersection of $L_1$ and $L$ we get:
      $$vec r_1+t_1 vec l_1=vec r+ t'_1 vec l_3$$
      And from intersection of $L_2$ and $L$ we get:
      $$vec r_2+t_2 vec l_2=vec r+ t'_2 vec l_3$$
      If we subtract the last two vector equation we get:
      $$vec r_1-vec r_2+t_1 vec l_1-t_2 vec l_2=(t'_1-t'_2)vec l_3$$
      If we substitute the numerical values we get three equations as below:
      $$left{begin{array}{c}-1+t_1-t_2=2(t'_1-t'_2) \1+2(t_1-t_2)=7(t'_1-t'_2)\-5+t_1-3t_2=3(t'_1-t'_2)end{array}right.$$
      We can consider $t_1$ , $t_2$ and $t'_1-t'_2$ as three unknowns in the system of three equations to get: $t_1=0.5$, $t_2=-2.5$, and $t'_1-t'_2=1$.
      So from intersecting $L$ and $L_1$ we can get $vec r$ as below
      $$vec r=vec r_1+t_1 vec l_1-t'_1 vec l_3=(1,2,-2)+0.5(1,2,1)-t'_1 vec l_3=(1.5,3,-1.5)-t'_1 vec l_3$$
      Then the parametric equation for $L$ will be:
      $$L: vec r+t vec l_3=(1.5,3,-1.5)-t'_1 vec l_3+t vec l_3$$
      or by having $t''=t-t'$ we get
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' vec l_3$$
      or
      $$L: vec r+t vec l_3=(1.5,3,-1.5)+t'' (2,7,3)$$
      or
      $$ L: x=1.5+2t'', y=3+7t'', z=-1.5+3t''$$







      share|cite|improve this answer














      share|cite|improve this answer



      share|cite|improve this answer








      edited Nov 20 at 22:21

























      answered Nov 20 at 16:42









      Arash Rashidi

      538




      538












      • I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
        – L. M. E.
        Nov 20 at 20:18


















      • I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
        – L. M. E.
        Nov 20 at 20:18
















      I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
      – L. M. E.
      Nov 20 at 20:18




      I'm pretty sure the line L can intersect L1 at some point P1 and intersect L2 at another point P2, with P1 ≠ P2
      – L. M. E.
      Nov 20 at 20:18










      up vote
      1
      down vote













      If two lines intersect, then they are coplanar. In particular, $L$ and $L_1$ must lie on the same plane, as must $L$ and $L_2$, therefore $L$ lies on the intersection of these two planes. The cross product of the direction vectors of each of these pairs of lines is normal to the plane in which they lie, and you can extract a known point on each of $L_1$ and $L_2$ from their parametric equations, so you can easily construct an equation for each of these planes. Once you have the two equations, finding their intersection is also straightforward. Indeed, you only need to find a point in the intersection since you already know what the direction vector of the line must be, but it’s worth going through the entire calculation to ensure that the planes do in fact intersect.



      Specifically, we have for the first plane’s normal $(2,7,3)times(1,2,1)=(1,1,-3)$ and so an equation for it is $$x+y-3z=9.$$ For the second plane, we have the normal $(2,7,3)times(1,2,3)=(15,-3,-3)$, giving the equation $$5x-y-z=6.$$ These two normals are not parallel, so the planes do intersect in a line. I’ll leave the rest to you.






      share|cite|improve this answer



























        up vote
        1
        down vote













        If two lines intersect, then they are coplanar. In particular, $L$ and $L_1$ must lie on the same plane, as must $L$ and $L_2$, therefore $L$ lies on the intersection of these two planes. The cross product of the direction vectors of each of these pairs of lines is normal to the plane in which they lie, and you can extract a known point on each of $L_1$ and $L_2$ from their parametric equations, so you can easily construct an equation for each of these planes. Once you have the two equations, finding their intersection is also straightforward. Indeed, you only need to find a point in the intersection since you already know what the direction vector of the line must be, but it’s worth going through the entire calculation to ensure that the planes do in fact intersect.



        Specifically, we have for the first plane’s normal $(2,7,3)times(1,2,1)=(1,1,-3)$ and so an equation for it is $$x+y-3z=9.$$ For the second plane, we have the normal $(2,7,3)times(1,2,3)=(15,-3,-3)$, giving the equation $$5x-y-z=6.$$ These two normals are not parallel, so the planes do intersect in a line. I’ll leave the rest to you.






        share|cite|improve this answer

























          up vote
          1
          down vote










          up vote
          1
          down vote









          If two lines intersect, then they are coplanar. In particular, $L$ and $L_1$ must lie on the same plane, as must $L$ and $L_2$, therefore $L$ lies on the intersection of these two planes. The cross product of the direction vectors of each of these pairs of lines is normal to the plane in which they lie, and you can extract a known point on each of $L_1$ and $L_2$ from their parametric equations, so you can easily construct an equation for each of these planes. Once you have the two equations, finding their intersection is also straightforward. Indeed, you only need to find a point in the intersection since you already know what the direction vector of the line must be, but it’s worth going through the entire calculation to ensure that the planes do in fact intersect.



          Specifically, we have for the first plane’s normal $(2,7,3)times(1,2,1)=(1,1,-3)$ and so an equation for it is $$x+y-3z=9.$$ For the second plane, we have the normal $(2,7,3)times(1,2,3)=(15,-3,-3)$, giving the equation $$5x-y-z=6.$$ These two normals are not parallel, so the planes do intersect in a line. I’ll leave the rest to you.






          share|cite|improve this answer














          If two lines intersect, then they are coplanar. In particular, $L$ and $L_1$ must lie on the same plane, as must $L$ and $L_2$, therefore $L$ lies on the intersection of these two planes. The cross product of the direction vectors of each of these pairs of lines is normal to the plane in which they lie, and you can extract a known point on each of $L_1$ and $L_2$ from their parametric equations, so you can easily construct an equation for each of these planes. Once you have the two equations, finding their intersection is also straightforward. Indeed, you only need to find a point in the intersection since you already know what the direction vector of the line must be, but it’s worth going through the entire calculation to ensure that the planes do in fact intersect.



          Specifically, we have for the first plane’s normal $(2,7,3)times(1,2,1)=(1,1,-3)$ and so an equation for it is $$x+y-3z=9.$$ For the second plane, we have the normal $(2,7,3)times(1,2,3)=(15,-3,-3)$, giving the equation $$5x-y-z=6.$$ These two normals are not parallel, so the planes do intersect in a line. I’ll leave the rest to you.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Nov 26 at 21:25

























          answered Nov 21 at 0:42









          amd

          28.8k21049




          28.8k21049






















              up vote
              0
              down vote













              The geometry of this question is interesting, most notably for the curious conditions governing the existence of a solution, so I would like to provide an answer that emphasizes this aspect, and in the process illustrate how the problem can be tackled in the most general case, not just for the particular example of this question. Then, at the very end, the solution to this specific question will also be provided in a way that is hopefully as clear as it is simple.



              In vector terms, we have

              L1:$ vec{P} + t_1vec{D_1}$

              L2:$ vec{Q} + t_2vec{D_2}$

              L3:$ vec{R} + t_3vec{D_3}$



              and seek $vec{S}$

              L:$ vec{S} + tvec{D_3}$

              such that L intersects both L1 and L2.



              It is interesting to note that there are solutions when the line directions $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent.



              If $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent, then there is no solution except when L1 and L2 are located in a plane parallel to L3 without both individually being parallel to L3. The solution then is $vec{S} = vec{P}$.

              This case occurs if $ ((vec{P} - vec{Q}) times vec{D_1}) cdot vec{D_3} = 0$ and $ (vec{D_3} cdot vec{D_1} ≠ 0 $ or $ vec{D_3} cdot vec{D_2} ≠ 0) $.



              All other solutions involve linearly independent $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$, in which case the solution is
              $vec{S} = vec{P} + t_1vec{D_1} + t_3vec{D_3} = vec{Q} + t_2vec{D_2}$

              for some $t_1$, $t_2$ and $t_3$.
              $vec{S} = vec{P} + t_1vec{D_1}$ and $vec{Q} + t_2vec{D_2}$ are then the intersection points of L with L1 and L2 respectively.



              Setting



              $vec{P}= begin{pmatrix} p_x cr p_y cr p_z cr end{pmatrix}, vec{Q}= begin{pmatrix} q_x cr q_y cr q_z cr end{pmatrix}$,



              $vec{D_1}= begin{pmatrix} x_1 cr y_1 cr z_1 cr end{pmatrix}, vec{D_2}= begin{pmatrix} x_2 cr y_2 cr z_2 cr end{pmatrix}, vec{D_3}= begin{pmatrix} x_3 cr y_3 cr z_3 cr end{pmatrix}$,



              the system of equations to solve is



              $p_x + t_1 x_1 + t_3 x_3 = q_x + t_2 x_2$
              $p_y + t_1 y_1 + t_3 y_3 = q_y + t_2 y_2$
              $p_y + t_1 z_1 + t_3 z_3 = q_z + t_2 z_2$.



              As an example, in this question we then have



              $t_1 - t_2 + 2t_3 = 1$
              $2t_1 - 2t_2 + 7t_3 = -1$
              $t_1 - 3t_2 + 3t_3 = 5$,



              giving $ t_1 = {1 over 2}$, $ t_2 = -{5 over 2} $ and $ t_3 = -1$,

              and so the two intersection points are



              $vec{S} = vec{P} + t_1vec{D_1} = begin{pmatrix} 1 cr 2 cr -2 cr end{pmatrix} + {1 over 2} begin{pmatrix} 1 cr 2 cr 1 cr end{pmatrix} = {1 over 2} begin{pmatrix} 3 cr 6 cr -3 cr end{pmatrix}= begin{pmatrix} {3 over 2} cr 3 cr -{3 over 2} cr end{pmatrix}$

              and
              $vec{Q} + t_2vec{D_2} = begin{pmatrix} 2 cr 1 cr 3 cr end{pmatrix} - {5 over 2} begin{pmatrix} 1 cr 2 cr 3 cr end{pmatrix} = -{1 over 2} begin{pmatrix} 1 cr 8 cr 9 cr end{pmatrix}= begin{pmatrix} -{1 over 2} cr -4 cr -{9 over 2} cr end{pmatrix}$.






              share|cite|improve this answer



























                up vote
                0
                down vote













                The geometry of this question is interesting, most notably for the curious conditions governing the existence of a solution, so I would like to provide an answer that emphasizes this aspect, and in the process illustrate how the problem can be tackled in the most general case, not just for the particular example of this question. Then, at the very end, the solution to this specific question will also be provided in a way that is hopefully as clear as it is simple.



                In vector terms, we have

                L1:$ vec{P} + t_1vec{D_1}$

                L2:$ vec{Q} + t_2vec{D_2}$

                L3:$ vec{R} + t_3vec{D_3}$



                and seek $vec{S}$

                L:$ vec{S} + tvec{D_3}$

                such that L intersects both L1 and L2.



                It is interesting to note that there are solutions when the line directions $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent.



                If $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent, then there is no solution except when L1 and L2 are located in a plane parallel to L3 without both individually being parallel to L3. The solution then is $vec{S} = vec{P}$.

                This case occurs if $ ((vec{P} - vec{Q}) times vec{D_1}) cdot vec{D_3} = 0$ and $ (vec{D_3} cdot vec{D_1} ≠ 0 $ or $ vec{D_3} cdot vec{D_2} ≠ 0) $.



                All other solutions involve linearly independent $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$, in which case the solution is
                $vec{S} = vec{P} + t_1vec{D_1} + t_3vec{D_3} = vec{Q} + t_2vec{D_2}$

                for some $t_1$, $t_2$ and $t_3$.
                $vec{S} = vec{P} + t_1vec{D_1}$ and $vec{Q} + t_2vec{D_2}$ are then the intersection points of L with L1 and L2 respectively.



                Setting



                $vec{P}= begin{pmatrix} p_x cr p_y cr p_z cr end{pmatrix}, vec{Q}= begin{pmatrix} q_x cr q_y cr q_z cr end{pmatrix}$,



                $vec{D_1}= begin{pmatrix} x_1 cr y_1 cr z_1 cr end{pmatrix}, vec{D_2}= begin{pmatrix} x_2 cr y_2 cr z_2 cr end{pmatrix}, vec{D_3}= begin{pmatrix} x_3 cr y_3 cr z_3 cr end{pmatrix}$,



                the system of equations to solve is



                $p_x + t_1 x_1 + t_3 x_3 = q_x + t_2 x_2$
                $p_y + t_1 y_1 + t_3 y_3 = q_y + t_2 y_2$
                $p_y + t_1 z_1 + t_3 z_3 = q_z + t_2 z_2$.



                As an example, in this question we then have



                $t_1 - t_2 + 2t_3 = 1$
                $2t_1 - 2t_2 + 7t_3 = -1$
                $t_1 - 3t_2 + 3t_3 = 5$,



                giving $ t_1 = {1 over 2}$, $ t_2 = -{5 over 2} $ and $ t_3 = -1$,

                and so the two intersection points are



                $vec{S} = vec{P} + t_1vec{D_1} = begin{pmatrix} 1 cr 2 cr -2 cr end{pmatrix} + {1 over 2} begin{pmatrix} 1 cr 2 cr 1 cr end{pmatrix} = {1 over 2} begin{pmatrix} 3 cr 6 cr -3 cr end{pmatrix}= begin{pmatrix} {3 over 2} cr 3 cr -{3 over 2} cr end{pmatrix}$

                and
                $vec{Q} + t_2vec{D_2} = begin{pmatrix} 2 cr 1 cr 3 cr end{pmatrix} - {5 over 2} begin{pmatrix} 1 cr 2 cr 3 cr end{pmatrix} = -{1 over 2} begin{pmatrix} 1 cr 8 cr 9 cr end{pmatrix}= begin{pmatrix} -{1 over 2} cr -4 cr -{9 over 2} cr end{pmatrix}$.






                share|cite|improve this answer

























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  The geometry of this question is interesting, most notably for the curious conditions governing the existence of a solution, so I would like to provide an answer that emphasizes this aspect, and in the process illustrate how the problem can be tackled in the most general case, not just for the particular example of this question. Then, at the very end, the solution to this specific question will also be provided in a way that is hopefully as clear as it is simple.



                  In vector terms, we have

                  L1:$ vec{P} + t_1vec{D_1}$

                  L2:$ vec{Q} + t_2vec{D_2}$

                  L3:$ vec{R} + t_3vec{D_3}$



                  and seek $vec{S}$

                  L:$ vec{S} + tvec{D_3}$

                  such that L intersects both L1 and L2.



                  It is interesting to note that there are solutions when the line directions $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent.



                  If $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent, then there is no solution except when L1 and L2 are located in a plane parallel to L3 without both individually being parallel to L3. The solution then is $vec{S} = vec{P}$.

                  This case occurs if $ ((vec{P} - vec{Q}) times vec{D_1}) cdot vec{D_3} = 0$ and $ (vec{D_3} cdot vec{D_1} ≠ 0 $ or $ vec{D_3} cdot vec{D_2} ≠ 0) $.



                  All other solutions involve linearly independent $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$, in which case the solution is
                  $vec{S} = vec{P} + t_1vec{D_1} + t_3vec{D_3} = vec{Q} + t_2vec{D_2}$

                  for some $t_1$, $t_2$ and $t_3$.
                  $vec{S} = vec{P} + t_1vec{D_1}$ and $vec{Q} + t_2vec{D_2}$ are then the intersection points of L with L1 and L2 respectively.



                  Setting



                  $vec{P}= begin{pmatrix} p_x cr p_y cr p_z cr end{pmatrix}, vec{Q}= begin{pmatrix} q_x cr q_y cr q_z cr end{pmatrix}$,



                  $vec{D_1}= begin{pmatrix} x_1 cr y_1 cr z_1 cr end{pmatrix}, vec{D_2}= begin{pmatrix} x_2 cr y_2 cr z_2 cr end{pmatrix}, vec{D_3}= begin{pmatrix} x_3 cr y_3 cr z_3 cr end{pmatrix}$,



                  the system of equations to solve is



                  $p_x + t_1 x_1 + t_3 x_3 = q_x + t_2 x_2$
                  $p_y + t_1 y_1 + t_3 y_3 = q_y + t_2 y_2$
                  $p_y + t_1 z_1 + t_3 z_3 = q_z + t_2 z_2$.



                  As an example, in this question we then have



                  $t_1 - t_2 + 2t_3 = 1$
                  $2t_1 - 2t_2 + 7t_3 = -1$
                  $t_1 - 3t_2 + 3t_3 = 5$,



                  giving $ t_1 = {1 over 2}$, $ t_2 = -{5 over 2} $ and $ t_3 = -1$,

                  and so the two intersection points are



                  $vec{S} = vec{P} + t_1vec{D_1} = begin{pmatrix} 1 cr 2 cr -2 cr end{pmatrix} + {1 over 2} begin{pmatrix} 1 cr 2 cr 1 cr end{pmatrix} = {1 over 2} begin{pmatrix} 3 cr 6 cr -3 cr end{pmatrix}= begin{pmatrix} {3 over 2} cr 3 cr -{3 over 2} cr end{pmatrix}$

                  and
                  $vec{Q} + t_2vec{D_2} = begin{pmatrix} 2 cr 1 cr 3 cr end{pmatrix} - {5 over 2} begin{pmatrix} 1 cr 2 cr 3 cr end{pmatrix} = -{1 over 2} begin{pmatrix} 1 cr 8 cr 9 cr end{pmatrix}= begin{pmatrix} -{1 over 2} cr -4 cr -{9 over 2} cr end{pmatrix}$.






                  share|cite|improve this answer














                  The geometry of this question is interesting, most notably for the curious conditions governing the existence of a solution, so I would like to provide an answer that emphasizes this aspect, and in the process illustrate how the problem can be tackled in the most general case, not just for the particular example of this question. Then, at the very end, the solution to this specific question will also be provided in a way that is hopefully as clear as it is simple.



                  In vector terms, we have

                  L1:$ vec{P} + t_1vec{D_1}$

                  L2:$ vec{Q} + t_2vec{D_2}$

                  L3:$ vec{R} + t_3vec{D_3}$



                  and seek $vec{S}$

                  L:$ vec{S} + tvec{D_3}$

                  such that L intersects both L1 and L2.



                  It is interesting to note that there are solutions when the line directions $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent.



                  If $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$ are not linearly independent, then there is no solution except when L1 and L2 are located in a plane parallel to L3 without both individually being parallel to L3. The solution then is $vec{S} = vec{P}$.

                  This case occurs if $ ((vec{P} - vec{Q}) times vec{D_1}) cdot vec{D_3} = 0$ and $ (vec{D_3} cdot vec{D_1} ≠ 0 $ or $ vec{D_3} cdot vec{D_2} ≠ 0) $.



                  All other solutions involve linearly independent $vec{D_1}$, $vec{D_2}$ and $vec{D_3}$, in which case the solution is
                  $vec{S} = vec{P} + t_1vec{D_1} + t_3vec{D_3} = vec{Q} + t_2vec{D_2}$

                  for some $t_1$, $t_2$ and $t_3$.
                  $vec{S} = vec{P} + t_1vec{D_1}$ and $vec{Q} + t_2vec{D_2}$ are then the intersection points of L with L1 and L2 respectively.



                  Setting



                  $vec{P}= begin{pmatrix} p_x cr p_y cr p_z cr end{pmatrix}, vec{Q}= begin{pmatrix} q_x cr q_y cr q_z cr end{pmatrix}$,



                  $vec{D_1}= begin{pmatrix} x_1 cr y_1 cr z_1 cr end{pmatrix}, vec{D_2}= begin{pmatrix} x_2 cr y_2 cr z_2 cr end{pmatrix}, vec{D_3}= begin{pmatrix} x_3 cr y_3 cr z_3 cr end{pmatrix}$,



                  the system of equations to solve is



                  $p_x + t_1 x_1 + t_3 x_3 = q_x + t_2 x_2$
                  $p_y + t_1 y_1 + t_3 y_3 = q_y + t_2 y_2$
                  $p_y + t_1 z_1 + t_3 z_3 = q_z + t_2 z_2$.



                  As an example, in this question we then have



                  $t_1 - t_2 + 2t_3 = 1$
                  $2t_1 - 2t_2 + 7t_3 = -1$
                  $t_1 - 3t_2 + 3t_3 = 5$,



                  giving $ t_1 = {1 over 2}$, $ t_2 = -{5 over 2} $ and $ t_3 = -1$,

                  and so the two intersection points are



                  $vec{S} = vec{P} + t_1vec{D_1} = begin{pmatrix} 1 cr 2 cr -2 cr end{pmatrix} + {1 over 2} begin{pmatrix} 1 cr 2 cr 1 cr end{pmatrix} = {1 over 2} begin{pmatrix} 3 cr 6 cr -3 cr end{pmatrix}= begin{pmatrix} {3 over 2} cr 3 cr -{3 over 2} cr end{pmatrix}$

                  and
                  $vec{Q} + t_2vec{D_2} = begin{pmatrix} 2 cr 1 cr 3 cr end{pmatrix} - {5 over 2} begin{pmatrix} 1 cr 2 cr 3 cr end{pmatrix} = -{1 over 2} begin{pmatrix} 1 cr 8 cr 9 cr end{pmatrix}= begin{pmatrix} -{1 over 2} cr -4 cr -{9 over 2} cr end{pmatrix}$.







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Nov 24 at 0:52

























                  answered Nov 20 at 23:12









                  gurfle

                  237




                  237






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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.


                      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%2f3006523%2fline-intersecting-2-lines-and-parallel-to-another%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

                      How do I know what Microsoft account the skydrive app is syncing to?

                      When does type information flow backwards in C++?

                      Grease: Live!