intersection of two lines

Types Of Intersections

There are three types of intersections between two lines that you should consider:

1. Parallel lines
1. Parallel lines
2. Skew lines
2. Skew lines
3. Lines intersect at a point
3. Lines intersect at a point
4. Line contains the other line
4. Line contains the other line

1. Parallel lines

Two lines that are parallel never intersect, meaning they do not share a point anywhere. You can tell a line is parallel to the other, if its direction vector is a multiple of the direction vector of the other line.

No description

example

Determine whether the line l1=(3, 7, 2)+t(1, 1, 4) \vec {l_1} = (3, \ 7, \ 2) + t(1, \ 1, \ 4) is parallel to l1=(3, 7, 3)+t(2, 2, 8) \vec {l_1} = (3, \ 7, \ 3) + t(2, \ 2, \ 8) .

answer

First, let's determine whether one line is a multiple of the other:

m1=(1, 1, 4) \vec {m_1} = (1, \ 1, \ 4) and m2=(2, 2, 8) \vec {m_2} = (2, \ 2, \ 8) , \ and clearly (2, 2, 8)=2(1, 1, 4) (2, \ 2, \ 8) = 2(1, \ 1, \ 4)

So m2=2m1 \vec {m_2} = 2 \vec {m_1} , meaning they go in the same direction.


Now we need to check if they never share a point, and this can be quite hard since we only have their parametric equations.

Luckily, we can see that both lines have a point at the same xx and yy coordinate at (3, 7, 2) (3, \ 7, \ 2) and (3, 7, 3) (3, \ 7, \ 3) , however, their zz coordinates differ. This means that one line is above the other, and that they never intersect.


\therefore The lines are parallel to each other, and never intersect.

2. Skew lines

Lines that are in skew with one another are not parallel, but they do not intersect each other.

No description

example

Determine the points of intersection of the two lines l1=(4, 6, 1)+s(3, 4, 6) \vec {l_1} = (4, \ 6, \ 1) + s(3, \ 4, \ 6) and l2=(8, 1, 3)+t(6, 1, 5) \vec {l_2} = (8, \ 1, \ 3) + t(6, \ 1, \ 5) if any exist.

answer

By converting the vector equation into its parametric equations, we get:

l1 \vec {l_1}

l2 \vec {l_2}

x=4+3s x = 4 + 3s

x=8+6t x = 8 + 6t

y=6+4s y = 6 + 4s

y=1+t y = 1 + t

z=1+6s z = 1 + 6s

z=3+5t z = 3 + 5t

If we set the equations equal to each other, we get:

x:4+3s=8+6t6t3s+4=0x: \quad 4 + 3s = 8 + 6t \quad \Rightarrow \quad 6t - 3s + 4 = 0

y:6+4s=1+tt4s+5=0y: \quad 6 + 4s = 1 + t \quad \Rightarrow \quad t - 4s + 5 = 0

z:1+6s=3+5t5t6s+2=0z: \quad 1 + 6s = 3 + 5t \quad \Rightarrow \quad 5t - 6s + 2 = 0


By subtracting the third equation by two times the first one, we get:

(5t6s+2)2(6t3s+4)=0 (5t - 6s + 2) - 2(6t - 3s + 4) = 0

  5t6s+212t+6s8=0 \quad \ \ \, 5t - 6s + 2 - 12t + 6s - 8 = 0

 7t6=0 \quad \quad \quad \quad \quad \quad \quad \quad \quad \ \, \, -7t - 6 = 0

  t=67 \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \ \ \, t = - \frac {6} {7}


We can get the value of ss by substituting t=67 t = - \frac {6} {7} in the first equation:

6(67)3s+4=0 6(- \frac {6} {7}) - 3s + 4 = 0

   3673s+4=0 \ \ \ \, - \frac {36} {7} - 3 s + 4 = 0

  3s=87 \quad \quad \quad \quad \quad \ \ \, 3s = - \frac {8} {7}

s=821 \quad \quad \quad \quad \quad \quad \, s = - \frac {8} {21}

Last, but certainly not least, we need to check if our values of ss and tt result in the same point for both lines:

l1 \vec {l_1}

l2 \vec {l_2}

x=4+3(821)=207 x = 4 + 3(- \frac {8} {21}) = \frac {20} {7}

x=8+6(67)=927 x = 8 + 6(\frac {6} {7}) = \frac {92} {7}

y=6+4(821)=9421 y = 6 + 4(- \frac {8} {21}) = \frac {94} {21}

y=1+(67)=137 y = 1 + (\frac {6} {7}) = \frac {13} {7}

z=1+6(821)=97 z = 1 + 6(- \frac {8} {21}) = \frac {9} {7}

z=3+5(67)=517 z = 3 + 5(\frac {6} {7}) = \frac {51} {7}

Evidently, none of the xx, yy and zz values match, so the lines do not intersect.


\therefore The lines do not intersect each other, and are thus skew.

3. Lines intersect at a point

In this scenario, the two lines are not parallel, but they intersect each other at a point.

No description

example

Determine the point of intersection of the lines l1=(3, 4, 4)+s(1, 5, 7) \vec {l_1} = (-3, \ 4, \ 4) + s(1, \ -5, \ 7) and l2=(3, 5, 0)+t(6, 1, 4) \vec {l_2} = (3, \ 5, \ 0) + t(6, \ 1, \ -4) if it exists.

answer

Let's see if the lines are parallel:

m1=(1, 5, 7) \vec {m_1} = (1, \ -5, \ 7) and m2=(6, 1, 4) \vec {m_2} = (6, \ 1, \ -4)

Clearly m1km2 \vec {m_1} \ne k \vec {m_2} , so the lines are not parallel


Now let's see if both lines share a point:

We can convert the vector equations of both lines into parametric equations.

l1 \vec {l_1}

l2 \vec {l_2}

x=3+s x = -3 + s

x=3+6t x = 3 + 6t

y=45s y = 4 - 5s

y=5+t y = 5 + t

z=4+7s z = 4 + 7s

z=4t z = -4t


When we equate these equations, we get:

3+s=3+6t  6ts+6=0 -3 + s = 3 + 6t \ \Rightarrow \ 6t - s + 6 = 0

45s=5+t  t+5s+1=0 4 - 5s = 5 + t \ \Rightarrow \ t + 5s + 1 = 0

4+7s=4t  4t+7s+4=0 4 + 7s = -4t \ \Rightarrow \ 4t + 7s + 4 = 0


By subtracting the third equation by four times the second, we get:

(4t+7s+4)4(t+5s+1)=0 (4t + 7s + 4) - 4(t + 5s + 1) = 0

4t+7s+44t20s4=0 \quad \, 4t + 7s + 4 - 4t - 20s - 4 = 0

   13s=0 \quad \quad \quad \quad \quad \quad \quad \quad \quad \ \ \ \, \, \, -13s = 0

   s=0 \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \quad \ \ \ \, \, s = 0


Now, substitute s=0 s = 0 into the second equation to get tt:

 t+5s+1=0 \ \, \, \, t + 5s + 1 = 0

t+5(0)+1=0 t + 5(0) + 1 = 0

 t=1 \quad \quad \quad \quad \ \, \, \, t = -1


Finally, we need to check whether the parametric equations give the same point when s=0 s = 0 and t=1 t = -1 :

p1=(3+s, 45s, 4+7s)=(3+(0), 45(0), 4+7(0))=(3, 4, 4) \vec {p_1} = (-3 + s, \ 4 - 5s, \ 4 + 7s) = (-3 + (0), \ 4 - 5(0), \ 4 + 7(0)) = (-3, \ 4, \ 4)

p2=(3+6t, 5+t, 4t)=(3+6(1), 5+(1), 4(1))=(3, 4, 4) \vec {p_2} = (3 + 6t, \ 5 + t, \ -4t) = (3 + 6(-1), \ 5 + (-1), \ -4(-1)) = (-3, \ 4, \ 4)

Since p1=p2 \vec {p_1} = \vec {p_2} , the lines intersect at (3, 4, 4) (-3, \ 4, \ 4) .


\therefore The lines intersect at the point (3, 4, 4) (-3, \ 4, \ 4) .

4. Line contains the other line

When a line contains another line, both lines are parallel to each other, and they share an infinite number of points.

If you have two lines that are parallel to each other, you can prove that they contain each other if you can determine at least one valid point that is shared between them.

No description

example

Determine the point of intersection of the lines l1=(2, 5, 3)+s(1, 5, 6) \vec {l_1} = (2, \ -5, \ -3) + s(-1, \ 5, \ 6) and l2=(0, 5, 9)+t(3, 15, 18) \vec {l_2} = (0, \ 5, \ 9) + t(-3, \ 15, \ 18) if it exists.

answer

Let's see if the lines are parallel:

m1=(1, 5, 6) \vec {m_1} = (-1, \ 5, \ 6) and m2=(3, 15, 18) \vec {m_2} = (-3, \ 15, \ 18) .

Clearly, m2=3m1 \vec {m_2} = 3 \vec {m_1} , so the lines are parallel.


Now we need to check if they share a point:

We can do what we've already done, however, there is a nice technique that you can use in order to speed up the process of finding a common point.


It is already known that p1=(2, 5, 3) \vec {p_1} = (2, \ -5, \ -3) is a point on l1 \vec {l_1} since it is in its vector equation.

We can keep adding or subtracting the direction vector to this point to possibly get the same point as p2=(0, 5, 9) \vec {p_2} = (0, \ 5, \ 9) from l2 \vec {l_2} .

(2, 5, 3)+(1, 5, 6)=(1, 0, 3) (2, \ -5, \ -3) + (-1, \ 5, \ 6) = (1, \ 0, \ 3)

(1, 0, 3)+(1, 5, 6)=(0, 5, 9)=p2 (1, \ 0, \ 3) + (-1, \ 5, \ 6) = (0, \ 5, \ 9) = \vec {p_2}

Since we were able to get the same vector as p2 \vec {p_2} , we can confirm that both lines l1 \vec {l_1} and l2 \vec {l_2} share a point.


Although this method worked in this question, it may not work in all of them. You must be able to determine whether this method is effective by looking at both of the points provided in the vector equations of both lines.


\therefore The lines are coincide each other since they are parallel, and share a point.