Question
How to find the endpoints of the common perpendicular between two skew lines in 3D
Original question: 7 12 The line $l_1$, which is parallel to the vector $2\mathbf{i}-4\mathbf{j}$, passes through the point $A$ whose position vector is $4\mathbf{i}+6\mathbf{j}-8\mathbf{k}$. The line $l_2$, which is parallel to the vector $\mathbf{i}+7\mathbf{j}-2\mathbf{k}$, passes through the point $B$ whose position vector is $5\mathbf{i}-6\mathbf{j}+12\mathbf{k}$. The point $P$ on $l_1$ and the point $Q$ on $l_2$ such that $\overrightarrow{PQ}$ is perpendicular to both $l_1$ and $l_2$. The point $H$ on the line segment $PQ$ such that $PQ = 4PH. Find the position vectors of $P$ and $Q$. [8] $l_1:\ \mathbf{r}=\begin{pmatrix}4\\6\\-8\end{pmatrix}+\lambda\begin{pmatrix}2\\-4\\0\end{pmatrix}$ $l_2:\ \mathbf{r}=\begin{pmatrix}5\\-6\\12\end{pmatrix}+\mu\begin{pmatrix}1\\7\\-2\end{pmatrix}$ $\overrightarrow{OA}=\begin{pmatrix}4\\6\\-8\end{pmatrix}$ $\overrightarrow{OB}=\begin{pmatrix}5\\-6\\12\end{pmatrix}$ $\overrightarrow{OP}=\begin{pmatrix}4+2\lambda\\6-4\lambda\\-8\end{pmatrix}$ $\overrightarrow{OQ}=\begin{pmatrix}5+\mu\\-6+7\mu\\12-2\mu\end{pmatrix}$ $\overrightarrow{PQ}=\begin{pmatrix}-1+\mu-2\lambda\\-12+7\mu+4\lambda\\20-2\mu\end{pmatrix}$ $\begin{pmatrix}-1+\mu-2\lambda\\-12+7\mu+4\lambda\\20-2\mu\end{pmatrix}\cdot\begin{pmatrix}2\\-4\\0\end{pmatrix}=0$ $\begin{pmatrix}-1+\mu-2\lambda\\-12+7\mu+4\lambda\\20-2\mu\end{pmatrix}\cdot\begin{pmatrix}1\\7\\-2\end{pmatrix}=0$ $-2+2\mu-4\lambda+48-28\mu-16\lambda=0$ $-10+\mu-2\lambda-84+49\mu+28\lambda-40+4\mu=0$ $-2\mu-20\lambda+46=0$ $53\mu+26\lambda-134=0$ $\mu-10\lambda+23=0$ $\lambda=0$ $\mu=-23$ $\lambda=-(-2)=2$ $\overrightarrow{OP}=\begin{pmatrix}4+2\\6-4(2)\\-8\end{pmatrix}=\begin{pmatrix}6\\-2\\-8\end{pmatrix}$ $\overrightarrow{OQ}=\begin{pmatrix}5-2\\-6-7(2)\\12-2(-2)\end{pmatrix}=\begin{pmatrix}3\\-20\\16\end{pmatrix}$
Expert Verified Solution
Expert intro: This is a classic vector-geometry setup: two skew lines, a connecting segment that meets both at right angles, and a ratio condition that helps pin down the exact points. The clean way is to parameterize each line, write the vector , and use perpendicularity to build two equations for the parameters.
Detailed walkthrough
Let
So
Hence
Since is perpendicular to both lines, we use dot products with the direction vectors.
1) Perpendicular to
Direction of is , so
That gives
2) Perpendicular to
Direction of is , so
Then
Now solve
Subtracting the first from the second:
Then
So
and
If your working uses the given ratio , that determines the point on segment , but it is not needed to find and once the perpendicular condition is used correctly.
💡 Pitfall guide
A common slip is to build with the wrong sign. It should be , not , though either can work if you stay consistent. Another easy miss is forgetting that the third component of the first direction vector is , so the first dot-product equation is shorter than it looks.
🔄 Real-world variant
If the question instead asked for the foot of the perpendicular from one skew line to another, the process is the same: parameterize both lines, form , and enforce orthogonality to each direction vector. If a ratio like is meant to locate a point on the segment, then divides in the ratio , so
That extra condition is useful when the midpoint or an internal division point is required.
🔍 Related terms
skew lines, vector equation of a line, perpendicular distance
FAQ
How do you find the common perpendicular points between two skew lines?
Write each line in vector form, let P and Q be the unknown points on the lines, form vector PQ, and set its dot product to zero with each line’s direction vector. Solving the two linear equations gives the parameters for P and Q.
What does it mean for PQ to be perpendicular to both lines?
It means the connecting segment PQ is orthogonal to each line’s direction vector. So PQ has zero dot product with both direction vectors.