Q.Find the shortest distance between the lines l1 and l2 whose vector equations are r=i^+j^+λ(2i^−j^+k^) and r=2i^+j^−k^+μ(3i^−5j^+2k^).
Concept understanding — Skew Lines
Skew Lines
In a plane, two straight lines have only two possibilities: they meet, or they are parallel. In three dimensions a third possibility appears — lines that neither meet nor run parallel. These are skew lines.
What Makes Lines Skew
Two lines in space are skew if they are not parallel and do not intersect. The deeper reason is that skew lines do not lie in the same plane — they are non-coplanar. Parallel lines and intersecting lines always share a plane; skew lines never do.
A classic picture: one edge along the top of a room and a different edge along the floor, running in a different direction. Extend them forever and they still never touch, yet they are clearly not parallel.
The Three Cases in Space
| Lines | Directions | Do they meet? | Coplanar? |
|---|---|---|---|
| Intersecting | different | yes, at one point | yes |
| Parallel | same (proportional) | no | yes |
| Skew | different | no | no |
How to Test for Skew Lines
Take two lines r=a1+λb1 and r=a2+μb2.
- Not parallel: b1 and b2 are not proportional (so b1×b2=0).
- Do not intersect: no values of λ,μ make the points coincide.
Both conditions are captured by one scalar triple product. The lines are skew exactly when
(a2−a1)⋅(b1×b2)=0.
If this value is zero, the lines are coplanar (they intersect or are parallel); if it is non-zero, they are skew.
Shortest Distance Between Skew Lines
Because skew lines miss each other, there is a well-defined shortest distance between them, measured along their common perpendicular:
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣.
The numerator here is exactly the skew-test triple product. So d=0 precisely when the lines are coplanar — the same condition, seen as a distance.
The Takeaway
Skew lines are the genuinely 3D case: non-parallel, non-intersecting, and non-coplanar. Test for them with the scalar triple product of the join vector and the two direction vectors, and when it is non-zero the same expression (divided by ∣b1×b2∣) gives the shortest distance between them.
Skew lines are a signature topic of the NCERT Class 12 Three Dimensional Geometry chapter, and "shortest distance between skew lines formula" is one of the most searched queries among CBSE board and JEE Main aspirants. This scalar-triple-product test is also the standard way boards ask students to distinguish skew lines from parallel or intersecting ones.
Concept: Skew Lines — lines that are neither parallel nor intersecting; the shortest distance is the length of the common perpendicular.
Step 1: Identify vectors.
For l1: a1=i^+j^, b1=2i^−j^+k^.
For l2: a2=2i^+j^−k^, b2=3i^−5j^+2k^.
Step 2: Compute a2−a1 and b1×b2.
a2−a1=(2−1)i^+(1−1)j^+(−1−0)k^=i^−k^.
b1×b2=i^23j^−1−5k^12=i^(−2+5)−j^(4−3)+k^(−10+3)=3i^−j^−7k^.
Step 3: Shortest distance formula.
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣.
Numerator: (i^−k^)⋅(3i^−j^−7k^)=3+7=10.
Denominator: 32+(−1)2+(−7)2=9+1+49=59.
The shortest distance is 5910 units.
The shortest distance between two skew lines is the length of the common perpendicular segment. Using the formula ∣b1×b2∣∣(b1×b2)⋅(a2−a1)∣, we find the distance is 5910 units.
Why This Works: The Concept of Skew Lines
Two lines in space that are neither parallel nor intersecting are called skew lines. They don't lie in the same plane, so the shortest distance between them is the length of the unique line segment that is perpendicular to both lines simultaneously — the common perpendicular.
Think of it this way: if you take a vector along each line (b1 and b2), their cross product b1×b2 gives a direction perpendicular to both. The shortest distance is then the projection of the vector joining any point on one line to any point on the other line onto this common perpendicular direction.
Shortest distance between skew lines r=a1+λb1 and r=a2+μb2 is:
d=∣b1×b2∣∣(b1×b2)⋅(a2−a1)∣
Step-by-Step Solution
1. Identify the vectors from the given equations
From l1:r=i^+j^+λ(2i^−j^+k^), we have:
- a1=i^+j^+0k^ (a point on l1)
- b1=2i^−j^+k^ (direction vector of l1)
From l2:r=2i^+j^−k^+μ(3i^−5j^+2k^), we have:
- a2=2i^+j^−k^
- b2=3i^−5j^+2k^
2. Find the vector joining the two points
a2−a1=(2i^+j^−k^)−(i^+j^+0k^)=i^+0j^−k^
So a2−a1=i^−k^.
3. Compute the cross product b1×b2
b1×b2=i^23j^−1−5k^12
Expanding:
- i^ component: (−1)(2)−(1)(−5)=−2+5=3
- j^ component: −((2)(2)−(1)(3))=−(4−3)=−1
- k^ component: (2)(−5)−(−1)(3)=−10+3=−7
Thus b1×b2=3i^−j^−7k^.
When computing cross products, be careful with the minus sign on the j^ term — it's a classic slip point. The determinant expansion is i^(b1yb2z−b1zb2y)−j^(b1xb2z−b1zb2x)+k^(b1xb2y−b1yb2x).
4. Find the magnitude of this cross product
∣b1×b2∣=32+(−1)2+(−7)2=9+1+49=59
5. Compute the scalar triple product (b1×b2)⋅(a2−a1)
(b1×b2)⋅(a2−a1)=(3i^−j^−7k^)⋅(i^+0j^−k^)
=3(1)+(−1)(0)+(−7)(−1)=3+0+7=10
6. Apply the shortest distance formula
d=∣b1×b2∣∣(b1×b2)⋅(a2−a1)∣=59∣10∣=5910
A common mistake is to forget the absolute value in the numerator. The scalar triple product can be negative depending on the orientation of vectors — distance is always positive, so we take the absolute value.
The shortest distance between the lines is 5910 units.
Method: Shortest Distance Between Two Skew Lines (Vector Form)
Use this when two lines r=a1+λb1 and r=a2+μb2 are skew (non-parallel, non-intersecting) and you need the shortest distance between them.
Steps
Step 1: Extract points and directions.
Read a1,b1 from the first line and a2,b2 from the second, treating any absent component as 0.
Step 2: Compute b1×b2 and the join vector a2−a1.
The cross product points along the common perpendicular; take special care with the sign of its middle (j^) term, a frequent slip.
Step 3: Form the distance.
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
This is (triple-product volume)/(base area) = height, i.e. the perpendicular gap. Keep the modulus. Before using it, confirm the lines really are skew: if b1×b2=0 they are parallel and this formula's denominator vanishes — switch to the parallel-line method.
Common Mistakes
Mistake 1: Sign slip on the j^ term of the cross product.
Why it's wrong: the middle cofactor carries a leading minus, −[(2)(2)−(1)(3)]=−1; mishandling it changes b1×b2 and the whole answer. Correct approach: expand as i^(⋯)−j^(⋯)+k^(⋯), giving (3,−1,−7).
Mistake 2: Omitting the modulus in the numerator.
Why it's wrong: the triple product can come out negative, but distance is non-negative. Correct approach: take the absolute value before dividing, giving d=5910.
Mistake 3: Dropping the missing j^ component of a point.
Why it's wrong: i^+j^ has z=0, and 2i^+j^−k^ must be read as (2,1,−1); a mis-read join vector breaks the numerator. Correct approach: write each point as a full (x,y,z) triple.
Showing the 12 most recent of 17 on this concept.
- JEE Main 2026Set 2026-04-06-s24 marksMCQQ.The shortest distance between the lines (x−4)/1 = (y−3)/2 = (z−2)/−3 and (x+2)/2 = (y−6)/4 = (z−5)/−5 is : (A) 5√6/6 (B) 2√5 (C) 3√5 (D) 4√5
›Reveal solutionSolution
The shortest distance between two skew lines is |(\vec{AB})\cdot(\vec d_1\times\vec d_2)| / |\vec d_1\times\vec d_2|, where A, B are points on each line.
- Line 1 passes through A(4,3,2) with direction \vec d_1=(1,2,-3). Line 2 passes through B(-2,6,5) with direction \vec d_2=(2,4,-5).
- \vec{AB}=B-A=(-6,3,3).
- \vec d_1\times\vec d_2: i-component = 2\times(-5)-(-3)\times4=-10+12=2; j-component = -[1\times(-5)-(-3)\times2]=-(-5+6)=-1; k-component = 1\times4-2\times2=0. So \vec d_1\times\vec d_2=(2,-1,0).
- |\vec d_1\times\vec d_2| = \sqrt{4+1+0}=\sqrt5.
- \vec{AB}\cdot(\vec d_1\times\vec d_2) = (-6)(2)+(3)(-1)+(3)(0) = -15.
- Shortest distance = \dfrac{|-15|}{\sqrt5}=\dfrac{15}{\sqrt5}=3\sqrt5.
✓Final answer(C)
- JEE Main 2026Set 2026-01-22-s14 marksMCQQ.Let P(α, β, γ) be the point on the line (x-1)/2 = (y+1)/(-3) = z at a distance 4√14 from the point (1, -1, 0) and nearer to the origin. Then the shortest distance, between the lines (x-α)/1 = (y-β)/2 = (z-γ)/3 and (x+5)/2 = (y-10)/1 = (z-3)/1, is equal to (A) 4√(7/5) (B) 4√(5/7) (C) 7√(5/4) (D) 2√(7/4)
›Reveal solutionSolution
P=(−7,11,−4) (the nearer point), and the shortest-distance formula between the two skew lines gives 47/5.
- Parametrize the line: (1+2t,−1−3t,t). Distance from (1,−1,0): ∣t∣4+9+1=∣t∣14=414⇒t=±4.
- t=4 gives (9,−13,4), distance² from origin =266; t=−4 gives (−7,11,−4), distance²=186 — nearer, so P=(−7,11,−4).
- Line 1: through (−7,11,−4), direction d1=(1,2,3). Line 2: through (−5,10,3), direction d2=(2,1,1).
Shortest distance =∣d1×d2∣(r2−r1)⋅(d1×d2)
- d1×d2=(−1,5,−3), ∣d1×d2∣=35.
- r2−r1=(2,−1,7); dot product with cross product =−2−5−21=−28.
- Distance =3528=5435=457.
✓Final answerThe correct option is (A), 47/5.
- JEE Main 2025Set 2025-01-23-s24 marksMCQQ.If the square of the shortest distance between the lines 1x−2=2y−1=−3z+3 and 2x+1=4y+3=−5z+5 is nm, where m, n are coprime numbers, then m + n is equal to : (A) 14 (B) 6 (C) 21 (D) 9
›Reveal solutionSolution
Using the vector shortest-distance formula for skew lines, d2=4/5, so m+n=4+5=9.
Two lines in 3D that are neither parallel nor intersecting (skew) have a unique shortest connecting segment, which is perpendicular to both. Its length is computed from the cross product of the two direction vectors and the vector joining a point on each line.
Step 1 — Identify points and direction vectors.
Line 1: point A=(2,1,−3), direction d1=(1,2,−3).
Line 2: point B=(−1,−3,−5), direction d2=(2,4,−5).
Step 2 — Compute d1×d2.
d1×d2=i12j24k−3−5=(2(−5)−(−3)(4), −[1(−5)−(−3)(2)], 1(4)−2(2))=(2,−1,0)
∣d1×d2∣=4+1+0=5
Step 3 — Compute B−A and its dot product with the cross product.
B−A=(−3,−4,−2)
(B−A)⋅(d1×d2)=(−3)(2)+(−4)(−1)+(−2)(0)=−6+4=−2
Step 4 — Shortest distance.
d=5∣−2∣=52 ⇒ d2=54
Step 5 — Extract m,n and add.
m=4,n=5 (coprime), so m+n=9.
Shortest distance between skew lines: d=∣d1×d2∣(B−A)⋅(d1×d2)
✓Final answer(D) 9
- JEE Main 2025Set 2025-04-07-s14 marksMCQQ.If the shortest distance between the lines 2x−1=3y−2=4z−3 and 1x=αy=1z−5 is 65, then the sum of all possible values of α is (A) 23 (B) 3 (C) −3 (D) −23
›Reveal solutionSolution
Plug into the shortest-distance-between-two-lines formula, square to clear the square roots, and solve the resulting quadratic in α; Vieta's gives the sum directly.
1. Identify the data.
Line 1 passes through P1=(1,2,3) with direction d1=(2,3,4).
Line 2 passes through P2=(0,0,5) with direction d2=(1,α,1).
P2−P1=(−1,−2,2)
2. Compute d1×d2.
d1×d2=i^21j^3αk^41=(3−4α, −(2−4), 2α−3)=(3−4α, 2, 2α−3)
3. Compute the scalar triple product.
(P2−P1)⋅(d1×d2)=(−1)(3−4α)+(−2)(2)+(2)(2α−3)
=−3+4α−4+4α−6=8α−13
4. Compute ∣d1×d2∣2.
(3−4α)2+22+(2α−3)2=(16α2−24α+9)+4+(4α2−12α+9)=20α2−36α+22
5. Apply the shortest-distance formula and square.
20α2−36α+22∣8α−13∣=65 ⇒ 20α2−36α+22(8α−13)2=625
6(8α−13)2=25(20α2−36α+22)
6(64α2−208α+169)=500α2−900α+550
384α2−1248α+1014=500α2−900α+550
0=116α2+348α−464 ⇒ 29α2+87α−116=0 ⇒ α2+3α−4=0
6. Solve and sum the roots.
(α+4)(α−1)=0 ⇒ α=1 or α=−4
Sum of all possible values =1+(−4)=−3.
Shortest distance between skew lines through P1,P2 with directions d1,d2: ∣d1×d2∣(P2−P1)⋅(d1×d2).
✓Final answer(C)
- JEE Main 2025Set 2025-04-04-s14 marksMCQQ.Let the shortest distance between the lines (x−3)/3 = (y−α)/−1 = (z−3)/1 and (x+3)/−3 = (y+7)/2 = (z−β)/4 be 3√30. Then the positive value of 5α + β is (A) 42 (B) 40 (C) 48 (D) 46
›Reveal solutionSolution
Setting up the standard skew-line shortest-distance formula and equating it to 330 gives a single linear relation that directly yields 5α+β.
The key realization is that although α and β individually aren't determined, the particular combination the distance formula produces is exactly a multiple of 5α+β.
- Take P1=(3,α,3) on line 1 with direction d1=(3,−1,1), and P2=(−3,−7,β) on line 2 with direction d2=(−3,2,4).
- Compute the normal vector:
d1×d2=i^3−3j^−12k^14=(−6,−15,3).
- Its magnitude is ∣d1×d2∣=36+225+9=270.
- The connecting vector is P2−P1=(−6,−7−α,β−3). Its dot product with the normal:
(−6)(−6)+(−7−α)(−15)+(β−3)(3)=36+105+15α+3β−9=132+15α+3β.
- The shortest distance condition gives
270∣132+15α+3β∣=330⟹∣132+15α+3β∣=330⋅270=38100=3(90)=270.
- Taking the branch giving a positive result: 132+15α+3β=270⟹15α+3β=138⟹5α+β=46.
✓Final answer(D)
- JEE Main 2023Set 2023-01-24-s14 marksQ.If the shortest distance between the lines \frac{x + \sqrt{6}}{2} = \frac{y - \sqrt{6}}{3} = \frac{z - \sqrt{6}}{4} and \frac{x - \lambda}{3} = \frac{y - 2\sqrt{6}}{4} = \frac{z + 2\sqrt{6}}{5} is 6, then the square of sum of all possible values of \lambda is
›Reveal solutionSolution
Apply the standard shortest-distance-between-two-skew-lines formula d=∣d1×d2∣(P2−P1)⋅(d1×d2), then solve the resulting linear equation in λ (which has two solutions from the absolute value).
- Line 1 point P1=(−6,6,6), direction d1=(2,3,4); line 2 point P2=(λ,26,−26), direction d2=(3,4,5).
- d1×d2=(3⋅5−4⋅4,4⋅3−2⋅5,2⋅4−3⋅3)=(−1,2,−1), with ∣d1×d2∣=6.
- P2−P1=(λ+6,6,−36).
- Dot product: (λ+6)(−1)+6(2)+(−36)(−1)=−λ−6+26+36=−λ+46.
- Distance: 6∣−λ+46∣=6⇒∣46−λ∣=66.
- 46−λ=±66⇒λ=−26 or λ=106.
- Sum of possible λ: 86; square of sum: 64×6=384.
✓Final answer\boxed{384}
- JEE Main 2023Set 2023-01-24-s24 marksQ.The shortest distance between the lines \frac{x-2}{3} = \frac{y+1}{2} = \frac{z-6}{2} and \frac{x-6}{3} = \frac{1-y}{2} = \frac{z+8}{0} is equal to _______
›Reveal solutionSolution
The shortest distance between two skew lines uses the scalar triple product of the connecting vector with the two direction vectors, divided by the magnitude of their cross product.
- Line 1: point A=(2,−1,6), direction d1=(3,2,2). Line 2: rewriting (1−y)/2=(y−1)/(−2), point B=(6,1,−8), direction d2=(3,−2,0).
- d1×d2=(2⋅0−2⋅(−2),−(3⋅0−2⋅3),3⋅(−2)−2⋅3)=(4,6,−12); ∣d1×d2∣=16+36+144=196=14.
- B−A=(4,2,−14); (B−A)⋅(d1×d2)=4(4)+2(6)+(−14)(−12)=16+12+168=196.
- Distance =∣196∣/14=14.
✓Final answer\boxed{14}
- JEE Main 2023Set 2023-04-13-s24 marksMCQQ.The line, that is coplanar to the line (x+3)/-3 = (y-1)/1 = (z-5)/5, is (A) (x+1)/-1 = (y-2)/2 = (z-5)/5 (B) (x+1)/1 = (y-2)/2 = (z-5)/5 (C) (x-1)/-1 = (y-2)/2 = (z-5)/4 (D) (x+1)/-1 = (y-2)/2 = (z-5)/4
›Reveal solutionSolution
Coplanarity of two lines is tested by the scalar triple product of the vector joining a point on each line with the two direction vectors — it must vanish.
- Given line: point A(−3,1,5), direction d1=(−3,1,5).
- Option (A): point B(−1,2,5), direction d2=(−1,2,5).
- Vector AB=(−1−(−3),2−1,5−5)=(2,1,0).
- d1×d2=i^−3−1j^12k^55=(1⋅5−5⋅2,5⋅(−1)−(−3)⋅5,−3⋅2−1⋅(−1))=(−5,10,−5).
- AB⋅(d1×d2)=2(−5)+1(10)+0(−5)=0 — the lines are coplanar.
- The other three options give a non-zero triple product, so (A) is the only coplanar line.
✓Final answer(A)
- JEE Main 2023Set 2023-04-15-s14 marksMCQQ.Let S be the set of all values of \lambda, for which the shortest distance between the lines \frac{x-\lambda}{0}=\frac{y-3}{4}=\frac{z+6}{1} and \frac{x+\lambda}{3}=\frac{y}{-4}=\frac{z-6}{0} is 13. Then 8\left|\sum_{\lambda\in S}\lambda\right| is equal to (A) 302 (B) 306 (C) 304 (D) 308
›Reveal solutionSolution
Compute the common perpendicular d1×d2 (its length is exactly 13), set the shortest-distance formula equal to 13, and solve the resulting linear equation in λ.
- Line 1: point (λ,3,−6), direction d1=(0,4,1). Line 2: point (−λ,0,6), direction d2=(3,−4,0).
- d1×d2=(4,3,−12), so ∣d1×d2∣=16+9+144=169=13.
- Join of points: r=(−2λ,−3,12); dot with (4,3,−12): −8λ−9−144=−8λ−153.
- Shortest distance =13∣−8λ−153∣=13⇒∣8λ+153∣=169.
- So 8λ+153=169⇒λ=2, or 8λ+153=−169⇒λ=−4161.
- ∑λ∈Sλ=2−4161=−4153, hence 8∣∑λ∣=8⋅4153=306.
✓Final answer(B)
- JEE Main 2023Set 2023-01-25-s24 marksQ.If the shortest distance between the line joining the points (1, 2, 3) and (2, 3, 4), and the line (x-1)/2 = (y+1)/(-1) = (z-2)/0 is \alpha, then 28\alpha^2 is equal to _____.
›Reveal solutionSolution
Apply the vector formula for shortest distance between two skew lines, then square and scale the result.
- Line 1 through A=(1,2,3) with direction d1=(1,1,1) (from the two given points). Line 2 through B=(1,-1,2) with direction d2=(2,-1,0).
- AB = B-A = (0,-3,-1).
- d1 x d2 = (10-1(-1), 12-10, 1*(-1)-1*2) = (1,2,-3).
- AB . (d1 x d2) = 0(1)+(-3)(2)+(-1)(-3) = -6+3 = -3.
- |d1 x d2| = sqrt(1+4+9) = sqrt(14).
- Distance alpha = |-3|/sqrt(14) = 3/sqrt(14), so alpha^2 = 9/14.
- 28alpha^2 = 289/14 = 18.
✓Final answer\boxed{18}
- JEE Main 2023Set 2023-01-29-s24 marksMCQQ.Shortest distance between the lines \frac{x-1}{2} = \frac{y+8}{-7} = \frac{z-4}{5} and \frac{x-1}{2} = \frac{y-2}{1} = \frac{z-6}{-3} is : (A) 2\sqrt{3} (B) 4\sqrt{3} (C) 3\sqrt{3} (D) 5\sqrt{3}
›Reveal solutionSolution
The shortest distance between two skew lines is the projection of the vector joining a point on each line onto the common perpendicular direction d1×d2.
- Direction vectors: d1=(2,−7,5), d2=(2,1,−3); points: P1=(1,−8,4), P2=(1,2,6).
- d1×d2=(16,16,16)=16(1,1,1), so ∣d1×d2∣=163.
- P2−P1=(0,10,2); (P2−P1)⋅(d1×d2)=16(0+10+2)=192.
- Distance =163192=312=43.
✓Final answer(B)
- JEE Main 2023Set 2023-01-30-s14 marksMCQQ.The line l_1 passes through the point (2,6,2) and is perpendicular to the plane 2x + y - 2z = 10. Then the shortest distance between the line l_1 and the line \frac{x+1}{2} = \frac{y+4}{-3} = \frac{z}{2} is: (A) 7 (B) 19/3 (C) 19/3 (D) 9
›Reveal solutionSolution
The shortest distance between two skew lines is ∣d1×d2∣∣(P2−P1)⋅(d1×d2)∣.
- Line l1 passes through (2,6,2) with direction d1=(2,1,−2) (normal to the given plane).
- The second line passes through (−1,−4,0) with direction d2=(2,−3,2).
- P2−P1=(−3,−10,−2).
- d1×d2=(1⋅2−(−2)(−3),−(2⋅2−(−2)⋅2),2(−3)−1⋅2)=(−4,−8,−8), with magnitude 16+64+64=12.
- (P2−P1)⋅(d1×d2)=(−3)(−4)+(−10)(−8)+(−2)(−8)=12+80+16=108.
- Shortest distance =108/12=9.
✓Final answer(D)
🎓Unlock everything free for 10 days
- ✓Full step-by-step solutions
- ✓Concept-first explanations
- ✓Methods, shortcuts & mistakes
- ✓PYQ mapping + timed mock tests
Full access for 10 days. No credit card required.