Class 12 Maths, Worked in Full Past papersGet updates
CBSE Sample Paper 2021-22 (Term 2) · Section B · 3 marks

Q10: Shortest distance between two parallel lines, or the plane through i^+2j^−k^\hat i + 2\hat j - \hat k parallel to two lines

The question

(a) Find the shortest distance between the following lines:

r⃗=(i^+j^−k^)+s(2i^+j^+k^)\begin{aligned} \vec r &= (\hat i + \hat j - \hat k) \\ &\quad + s(2\hat i + \hat j + \hat k) \end{aligned} r⃗=(i^+j^+2k^)+t(4i^+2j^+2k^)\begin{aligned} \vec r &= (\hat i + \hat j + 2\hat k) \\ &\quad + t(4\hat i + 2\hat j + 2\hat k) \end{aligned}

OR

(b) Find the vector and the cartesian equations of the plane containing the point i^+2j^−k^\hat i + 2\hat j - \hat k and parallel to the lines

r⃗=(i^+2j^+2k^)+s(2i^−3j^+2k^)\begin{aligned} \vec r &= (\hat i + 2\hat j + 2\hat k) \\ &\quad + s(2\hat i - 3\hat j + 2\hat k) \end{aligned}

and

r⃗=(3i^+j^−2k^)+t(i^−3j^+k^)\begin{aligned} \vec r &= (3\hat i + \hat j - 2\hat k) \\ &\quad + t(\hat i - 3\hat j + \hat k) \end{aligned}

Part (b), the equation of a plane, is no longer in the CBSE syllabus (2025-26).

Exam answer

(a)

Here a⃗1=i^+j^−k^\vec a_1 = \hat i + \hat j - \hat k⁠, a⃗2=i^+j^+2k^\vec a_2 = \hat i + \hat j + 2\hat k and b⃗=2i^+j^+k^\vec b = 2\hat i + \hat j + \hat k⁠.

Why?

A line r⃗=a⃗+λb⃗\vec r = \vec a + \lambda\vec b passes through the point with position vector a⃗\vec a and is parallel to b⃗\vec b⁠. Read these from each equation.

As 4i^+2j^+2k^=2(2i^+j^+k^)4\hat i + 2\hat j + 2\hat k = 2(2\hat i + \hat j + \hat k)⁠, the lines are parallel.

Why?

The direction vectors are multiples of each other, so they point the same way and the lines are parallel. The formula for skew lines cannot be used: its denominator ∣b⃗1×b⃗2∣|\vec b_1 \times \vec b_2| would be 0.

S.D.=∣(a⃗2−a⃗1)×b⃗∣∣b⃗∣\text{S.D.} = \frac{|(\vec a_2 - \vec a_1) \times \vec b|}{|\vec b|}
Why?

∣(a⃗2−a⃗1)×b⃗∣|(\vec a_2 - \vec a_1) \times \vec b| is the area of the parallelogram with sides a⃗2−a⃗1\vec a_2 - \vec a_1 and b⃗\vec b⁠. Dividing by the base ∣b⃗∣|\vec b| gives its height, which is the distance between the two lines.

a⃗2−a⃗1=3k^\vec a_2 - \vec a_1 = 3\hat k
Why?

Subtract matching components of a⃗2=i^+j^+2k^\vec a_2 = \hat i + \hat j + 2\hat k and a⃗1=i^+j^−k^\vec a_1 = \hat i + \hat j - \hat k⁠:

i^: 1−1=0j^: 1−1=0k^: 2−(−1)=2+1=3\begin{aligned} \hat i&:\ 1 - 1 = 0 \\ \hat j&:\ 1 - 1 = 0 \\ \hat k&:\ 2 - (-1) = 2 + 1 = 3 \end{aligned}
(3k^)×(2i^+j^+k^)=∣i^j^k^003211∣=−3i^+6j^\begin{aligned} &(3\hat k) \times (2\hat i + \hat j + \hat k) \\ &= \begin{vmatrix} \hat i & \hat j & \hat k \\ 0 & 0 & 3 \\ 2 & 1 & 1 \end{vmatrix} = -3\hat i + 6\hat j \end{aligned}
Why?

Expand the determinant along the first row:

i^: 0⋅1−3⋅1=−3j^: −(0⋅1−3⋅2)=6k^: 0⋅1−0⋅2=0\begin{aligned} \hat i&:\ 0 \cdot 1 - 3 \cdot 1 = -3 \\ \hat j&:\ -(0 \cdot 1 - 3 \cdot 2) = 6 \\ \hat k&:\ 0 \cdot 1 - 0 \cdot 2 = 0 \end{aligned}

Each one in full:

i^: (0)(1)−(3)(1)=0−3=−3j^: −((0)(1)−(3)(2))=−(0−6)=−(−6)=6k^: (0)(1)−(0)(2)=0−0=0\begin{aligned} \hat i&:\ (0)(1) - (3)(1) = 0 - 3 = -3 \\ \hat j&:\ -\big((0)(1) - (3)(2)\big) \\ &\quad = -(0 - 6) = -(-6) = 6 \\ \hat k&:\ (0)(1) - (0)(2) = 0 - 0 = 0 \end{aligned}

Watch out for the minus sign in front of the j^\hat j term.

S.D.=∣−3i^+6j^∣4+1+1=9+366=356\begin{aligned} \text{S.D.} &= \frac{\lvert -3\hat i + 6\hat j\rvert}{\sqrt{4 + 1 + 1}} \\ &= \frac{\sqrt{9 + 36}}{\sqrt6} = \frac{3\sqrt5}{\sqrt6} \end{aligned}
Why?

For v⃗=xi^+yj^+zk^\vec v = x\hat i + y\hat j + z\hat k⁠, the length is ∣v⃗∣=x2+y2+z2|\vec v| = \sqrt{x^2 + y^2 + z^2}⁠. So ∣b⃗∣=22+12+12=6|\vec b| = \sqrt{2^2 + 1^2 + 1^2} = \sqrt6⁠, and 45=9×5=35\sqrt{45} = \sqrt{9 \times 5} = 3\sqrt5⁠.

∣−3i^+6j^∣=(−3)2+(6)2+(0)2=9+36+0=45=9×5=35∣b⃗∣=(2)2+(1)2+(1)2=4+1+1=6\begin{aligned} |-3\hat i + 6\hat j| &= \sqrt{(-3)^2 + (6)^2 + (0)^2} \\ &= \sqrt{9 + 36 + 0} = \sqrt{45} \\ &= \sqrt{9 \times 5} = 3\sqrt5 \\[4pt] |\vec b| &= \sqrt{(2)^2 + (1)^2 + (1)^2} \\ &= \sqrt{4 + 1 + 1} = \sqrt6 \end{aligned}

The same answer can be written as 302\frac{\sqrt{30}}{2} units. Multiply the top and the bottom by 6\sqrt6⁠:

356=35×66×6=3306=302(divide by 3)\begin{aligned} \frac{3\sqrt5}{\sqrt6} &= \frac{3\sqrt5 \times \sqrt6}{\sqrt6 \times \sqrt6} \\ &= \frac{3\sqrt{30}}{6} \\ &= \frac{\sqrt{30}}{2} \quad (\text{divide by } 3) \end{aligned}

∴\therefore The shortest distance =356= \frac{3\sqrt5}{\sqrt6} units.

(b)

The plane is parallel to the given lines, so the cross product of 2i^−3j^+2k^2\hat i - 3\hat j + 2\hat k and i^−3j^+k^\hat i - 3\hat j + \hat k is a normal to the plane.

Why?

A plane parallel to two lines contains both their directions. The cross product of two vectors is perpendicular to each of them, so it is perpendicular to the plane: a normal.

(2i^−3j^+2k^)×(i^−3j^+k^)=∣i^j^k^2−321−31∣=i^(−3+6)−j^(2−2)+k^(−6+3)=3i^−3k^\begin{aligned} &(2\hat i - 3\hat j + 2\hat k) \times (\hat i - 3\hat j + \hat k) \\ &= \begin{vmatrix} \hat i & \hat j & \hat k \\ 2 & -3 & 2 \\ 1 & -3 & 1 \end{vmatrix} \\ &= \hat i(-3 + 6) - \hat j(2 - 2) \\ &\quad + \hat k(-6 + 3) \\ &= 3\hat i - 3\hat k \end{aligned}
Why?

Each bracket is a 2 by 2 determinant from the last two rows:

i^: (−3)(1)−(2)(−3)j^: (2)(1)−(2)(1)k^: (2)(−3)−(−3)(1)\begin{aligned} \hat i&:\ (-3)(1) - (2)(-3) \\ \hat j&:\ (2)(1) - (2)(1) \\ \hat k&:\ (2)(-3) - (-3)(1) \end{aligned}

Work out each one:

i^: −3−(−6)=−3+6=3j^: 2−2=0k^: −6−(−3)=−6+3=−3\begin{aligned} \hat i&:\ -3 - (-6) = -3 + 6 = 3 \\ \hat j&:\ 2 - 2 = 0 \\ \hat k&:\ -6 - (-3) = -6 + 3 = -3 \end{aligned}

The j^\hat j term carries a minus sign in front: −j^(0)=0-\hat j(0) = 0⁠.

The plane passes through the point i^+2j^−k^\hat i + 2\hat j - \hat k⁠, so its vector equation is

Why?

A plane through the point with position vector a⃗\vec a and with normal n⃗\vec n has the equation

(r⃗−a⃗)⋅n⃗=0(\vec r - \vec a)\cdot\vec n = 0

that is, r⃗⋅n⃗=a⃗⋅n⃗\vec r\cdot\vec n = \vec a\cdot\vec n⁠.

r⃗⋅(3i^−3k^)=(i^+2j^−k^)⋅(3i^−3k^)=3+0+3=6\begin{aligned} &\vec r\cdot(3\hat i - 3\hat k) \\ &= (\hat i + 2\hat j - \hat k)\cdot(3\hat i - 3\hat k) \\ &= 3 + 0 + 3 = 6 \end{aligned}

i.e. r⃗⋅(i^−k^)=2\vec r\cdot(\hat i - \hat k) = 2

Why?

Dot product: 1×3+2×0+(−1)(−3)=61 \times 3 + 2 \times 0 + (-1)(-3) = 6⁠. Dividing both sides by 3 gives a simpler equation of the same plane.

(1)(3)+(2)(0)+(−1)(−3)=3+0+3=63i^−3k^3=i^−k^,63=2\begin{aligned} &(1)(3) + (2)(0) + (-1)(-3) \\ &= 3 + 0 + 3 = 6 \\[4pt] &\frac{3\hat i - 3\hat k}{3} = \hat i - \hat k,\quad \frac63 = 2 \end{aligned}

Putting r⃗=xi^+yj^+zk^\vec r = x\hat i + y\hat j + z\hat k⁠,

Why?

(xi^+yj^+zk^)⋅(i^−k^)=x−z(x\hat i + y\hat j + z\hat k)\cdot(\hat i - \hat k) = x - z⁠, so x−z=2x - z = 2⁠.

(x)(1)+(y)(0)+(z)(−1)=x+0−z=x−zx−z=2x−z−2=0\begin{aligned} &(x)(1) + (y)(0) + (z)(-1) \\ &= x + 0 - z = x - z \\[4pt] &x - z = 2 \\ &x - z - 2 = 0 \end{aligned}

∴\therefore The cartesian equation of the plane is x−z−2=0x - z - 2 = 0⁠.

Where this comes from

Chapter 11, Three Dimensional Geometry: Shortest distance between parallel lines.

Question type: (a) The shortest distance between two lines

How to spot it: click to see

(a) Type 8. The shortest distance between two lines

Spot it: "Find the shortest distance between the lines". First look at the two directions.

Here: 4i^+2j^+2k^=2(2i^+j^+k^)4\hat i + 2\hat j + 2\hat k = 2(2\hat i + \hat j + \hat k)⁠: the same direction, so the lines are parallel. Use the parallel formula with a⃗2−a⃗1=3k^\vec a_2 - \vec a_1 = 3\hat k⁠.

Also uses Chapter 10, Vector Algebra.

Found an error?

Tell us if something on this page is wrong or unclear. Send feedback on this question →