0:00 / 0:00

Intersection of Two Lines

Possible Intersection Scenarios

  • Lines are coincident (same line) They are parallel and intersect (share one point)     \implies infinitely many points of intersection
  • Lines are parallel but do not intersect     \implies zero points of intersection
  • Lines are skew[R3 and higher ONLY]\left[ \colorTwo{\reals^3 \text{ and higher ONLY}} \right] They are not parallel but they do not intersect     \implies zero points of intersection
  • Lines are not parallel and they intersect     \implies one point of intersection
Table Summary
ParallelIntersect# Intersection PointsCoincidentParallel, Non-Coincident×0Skew [R3+]××0Intersecting×1\def\arraystretch{1.5} \begin{array}{|lc c c|} \hline & \text{Parallel} & \text{Intersect} & \text{\# Intersection Points}\\ \hline \text{Coincident}&\colorThree{\bm\checkmark} & \colorThree{\bm\checkmark} & \infty\\ \hline \text{Parallel, Non-Coincident}&\colorThree{\bm\checkmark} &\red{\bm{\times}} & 0\\ \hline \text{Skew}\ [\reals^{3+}]&\red{\bm{\times}} &\red{\bm{\times}} & 0\\ \hline \text{Intersecting}&\red{\bm{\times}} & \colorThree{\bm\checkmark} & 1\\ \hline \end{array}
PAGE BREAK

Determining Collinearity

Two lines are parallel if they have:
  • Collinear direction vectors
  • Collinear normal vectors
  • The direction vector of one line is orthogonal to the normal vector of the other

Determining Intersections

To determine whether two lines intersect:
  1. Make sure at least one line is in parametric form (convert if needed)
  2. Substitute the parametric equations into the equation of the other line
  3. Solve for the parameter
  4. Determine the number of intersections:
  • If you don't get a consistent result when solving for the parameter (e.g. 2=52=5)     \impliesno intersection (or skewed in R3+\reals^{3+})
  • If you get a single valid solution set (e.g. t=1, s=0t=1, \ s=0)     \impliesone point of intersection
  • If you only get redundant equations (e.g. 0=00=0)     \impliesinfinitely many points of intersection
0:00 / 0:00

Example: Intersection of Two Lines (One POI)

Find the point(s) of intersection between the lines:
l1: x,y=2,1+t1,3l_1:\ \lang x,y\rang = \lang 2,1\rang +t\lang -1,3\rang
l2: x+2y=14l_2: \ x+2y=14

The direction vector of l1l_1 is 1,3\lang -1,3\rang.
The normal vector of l2l_2 is 1,2\lang 1,2\rang.
These are not orthogonal (dot product is not 0), meaning the lines are not parallel.
Since these lines are in R2\reals^2, they must intersect at exactly one point (skew lines are only possible in R3+\reals^{3+}).

Writing l1l_1 in parametric form: l1: {x=2ty=1+3tl_1:\ \begin{cases} x=2-t\\ y=1+3t \end{cases}
We can substitute these expressions into the standard form of the second equation:
x+2y=14(2t)+2(1+3t)=144+5t=145t=10t=2\begin{aligned} x + 2y &=14\\ (2−t)+2(1+3t)&=14\\ 4+5t &= 14\\ 5t &= 10\\ t&=\colorOne{2} \end{aligned}
Now we can substitute t=2t=2 into the parametric equations of l1l_1 to find the point of intersection:
2,1+21,3=0,7\lang2,1\rang+\colorOne{2}\lang −1,3 \rang=\lang 0,7\rang

This position vector corresponds to the point of intersection (0,7)\left(0,7\right).
0:00 / 0:00

Example: Intersection of Two Lines (no POI)

Find the point(s) of intersection of the lines:
l1: x=0,1,5+t2,1,3l_1:\ \vec x = \lang 0,−1,5\rang + t\lang 2,1,-3\rang
l2: x=2,0,5+s4,2,6l_2:\ \vec x = \lang 2,0,5\rang +s\lang -4,-2,6\rang

The direction vectors are d1=2,1,3\vec d_1 = \lang 2,1,-3\rang and d2=4,2,6\vec d_2 = \lang -4,-2,6\rang.
Since d2=2d1\vec d_2 = -2\vec d_1, the lines are parallel.

Now check if the lines are coincident by seeing if they share a point.

(2,0,5)(\colorOne{2}, \colorTwo{0}, \colorThree{5}) is a point on l2l_2, so let's see if it's also on l1l_1 (which we convert to parametric form):
l1:{x=2ty=1+tz=53t    {2=2t0=1+t5=53tl_1:\begin{cases} x=2t\\ y=-1+t\\ z=5-3t \end{cases} \space \space \to \space\space \begin{cases} \colorOne{2}=2t\\ \colorTwo{0}=-1+t\\ \colorThree{5}=5-3t \end{cases}
By solving this set of equations, we find that t=1t=1 for the first two equations but not for the third. Inconsistent.
Thus, (2,0,5)\left(2,0,5\right) is a point on l2l_2 but not on l1l_1, so they are not the same line.
Therefore, the lines are parallel and non-coincident, so there are no points of intersection.

Alternatively

We can jump straight into solving the set of parametric equations:
l1:{x=2ty=1+tz=53tl2:{x=24sy=2sz=5+6sl_1:\begin{cases} x=2t\\y=-1+t\\z=5-3t \end{cases} \qquad l_2:\begin{cases} x=2-4s\\y=-2s\\z=5+6s \end{cases}
Setting them to be equal to each other:
{2t=24s1+t=2s53t=5+6t\begin{cases} 2t=2-4s\\-1+t=-2s\\5-3t=5+6t \end{cases}
Solving the first equation for tt yields:
t=12s()t=1-2s \quad (*)
Substituting ()(*) into the second equation:
1+(12s)=2s2s=2s-1+\left(1-2s\right)=-2s\quad \to \quad -2s=-2s
This is a redundant equation (always true), so it does not provide any information.
Substituting ()(*) into the third equation:
53(12s)=5+6s2+6s=5+6s2=5\begin{aligned} 5-3(1-2s) &= 5+6s\\ 2+6s&=5+6s\\ 2&=5 \end{aligned}
We get an inconsistent result because there is no point where the two lines intersect.
0:00 / 0:00

Example: Intersection of Two Lines (Infinite POIs)

Find the point(s) of intersection of the lines:
l1: x=1,3+t1,2l_1:\ \vec x = \lang 1,-3\rang +t\lang -1,2\rang
l2: x=1,1+s3,6l_2:\ \vec x = \lang -1,1\rang +s\lang 3,-6 \rang

The direction vectors are d1=1,2\vec d_1 = \lang -1,2\rang and d2=3,6\vec d_2 = \lang 3,-6\rang.
Since d2=3d1\vec d_2 = -3\vec d _1, the lines are parallel.
Now check if the lines are coincident by seeing if they share a point.
(1,1)(\colorOne{-1}, \colorTwo{1}) is a point on l2l_2, so let's see if it's also on l1l_1 (which we convert to parametric form):
l1:{x=1ty=3+2t{1=1t1=3+2tl_1:\begin{cases} x=1-t\\ y=-3+2t \end{cases} \quad \rightarrow \quad \begin{cases} \colorOne{-1}=1-t\\ \colorTwo{1}=-3+2t \end{cases}

We see that t=2t=2 is the solution to both equations, so the point (1,1)\left(-1,1\right) is also on l1l_1.
Since the lines are parallel and share a point, they coincide (same line) and have infinitely many points of intersection.

Alternatively

We can jump straight into solving the parametric equations:
l1:{x=1ty=3+2tl2:{x=1+3sy=16sl_1:\begin{cases} x=1-t\\ y=-3+2t \end{cases} \qquad l_2:\begin{cases} x=-1+3s\\ y=1-6s \end{cases}
Setting these equations equal, we get
1t=1+3s3+2t=16s\begin{aligned} 1-t&=-1+3s\\ -3+2t&=1-6s \end{aligned}
Solving for tt in the first equation:
t=23s()t=2-3s \quad (*)
Substitute ()(*) into the second equation:
3+2(23s)=16s16s=16s0=0\begin{aligned} -3+2\left(2-3s\right)&=1-6s\\ 1-6s&=1-6s\\ 0&=0 \end{aligned}
This is a redundant equation.
Since any value of ss satisfies the equations, there are infinitely many solutions.
Therefore, the lines are the coincident with infinitely many points of intersection.

Practice: Intersection of Two Lines

Select all of the following statements that are true given the lines:

𝑙1:x=1,1,2+t1,2,3𝑙_1: \vec x = \lang 1,1,2\rang + t\lang −1,2,3\rang
l2:x=0,3,5+s2,4,6l_2: \vec x = \lang 0,3,5\rang + s\lang 2, −4, −6\rang

Practice: Intersection of Two Lines

Determine the point(s) of intersection, if any, of the followings lines, or state whether the lines are parallel or skewed.

l1: x=1,3,4+t8,16,24l_1:\ \vec x = \lang 1,3,4\rang+t\lang −8,16,24\rang
l2: x=1,7,10+s2,4,6l_2:\ \vec x = \lang −1,7,10\rang +s\lang 2,−4,−6\rang
Extra Practice