📌 Snapshot
- Lines in 3D space: direction cosines, line equations, angles and shortest distance, solved for CUET.
- Why two lines in space can avoid each other without being parallel, and how the idea of skew lines drives the distance formulas.
- Direction cosines against direction ratios, vector and Cartesian equations of a line, and how to read a messy equation correctly.
- Six worked examples with the common wrong step, plus the angle and distance formulas derived from the dot and cross products.
📖 Detailed Notes
Written and reviewed by Devendra Dubey, Mathematics faculty at UniDrill (M.Sc. Mathematics, Osmania University · 10 years teaching Mathematics). Based on NCERT Mathematics Class XII, Chapter 11.
Do two roads that cross on a map ever meet?
Look at a flyover on a city map. The flyover and the road beneath it cross, and the map shows an X. Yet no car on one ever meets a car on the other. Seen from above, the two lines intersect; in three dimensions they never do, and they are not parallel either. Mathematicians call such pairs skew lines, and they cannot exist in a flat plane. This is the one genuinely new idea in the chapter. Everything else is a clean way to describe a line in space (its direction, its equation, the angle between two lines) and then to measure the gap between two lines.
This chapter is about lines. The tools are the vector ideas from the previous chapter, so if the dot product or cross product feels shaky, revisit Vector Algebra first.
Direction cosines and direction ratios
A line in space is pinned down by its direction and one point on it. For the direction, imagine a directed line $L$ through the origin making angles $\alpha, \beta, \gamma$ with the positive $x$, $y$, $z$ axes. The cosines of these angles are the direction cosines (DCs):
$$l = \cos\alpha, \quad m = \cos\beta, \quad n = \cos\gamma, \qquad l^2 + m^2 + n^2 = 1$$
The identity holds because $(l, m, n)$ are the components of a unit vector along $L$, and a unit vector has length 1. Reverse the direction of the line and each angle becomes its supplement, so all three cosines change sign. A line without an arrow therefore has two sets of DCs, equal in size and opposite in sign. A line that does not pass through the origin has the same DCs as the parallel line through the origin.
DCs are awkward because they usually contain square roots. Direction ratios (DRs) $a, b, c$ are any three numbers proportional to the DCs. They are usually integers, and they convert easily:
$$l = \dfrac{a}{\sqrt{a^2 + b^2 + c^2}}, \quad m = \dfrac{b}{\sqrt{a^2 + b^2 + c^2}}, \quad n = \dfrac{c}{\sqrt{a^2 + b^2 + c^2}}$$
For the line through $P(x_1, y_1, z_1)$ and $Q(x_2, y_2, z_2)$, the DRs are simply the differences $x_2 - x_1,\ y_2 - y_1,\ z_2 - z_1$, and the DCs are those differences divided by the length $PQ$.
| Direction cosines | Direction ratios | |
|---|---|---|
| Definition | Cosines of the angles with the axes | Any numbers proportional to the DCs |
| How many sets? | Two (a common $\pm$) | Infinitely many: multiply by any non-zero number |
| Constraint | $l^2 + m^2 + n^2 = 1$ | None |
| Typical form | Fractions with roots | Small integers |
| Use them for | Angles with the axes, final answers when asked | Equations of lines, parallel and perpendicular tests |
Worked example: DCs of the line through two points. Find the direction cosines of the line through $P(-2, 4, -5)$ and $Q(1, 2, 3)$.
| Step | What we do | Result |
|---|---|---|
| 1 | Direction ratios: subtract coordinates | $(1 + 2,\ 2 - 4,\ 3 + 5) = (3, -2, 8)$ |
| 2 | Length $PQ$ | $\sqrt{9 + 4 + 64} = \sqrt{77}$ |
| 3 | Divide each ratio by it | $\left(\dfrac{3}{\sqrt{77}}, -\dfrac{2}{\sqrt{77}}, \dfrac{8}{\sqrt{77}}\right)$ |
Common wrong step. Writing $3, -2, 8$ as the DCs, or dividing by $77$ instead of $\sqrt{77}$. A quick test catches both: the squares of true DCs add up to 1, and $\dfrac{9 + 4 + 64}{77} = 1$.
Pause and predict: do the direction ratios $1, 2, 3$ and $-2, -4, -6$ describe the same line?
Check your answer: They describe the same direction up to reversal, so the lines are parallel (or coincident). The second set is $-2$ times the first. Their DCs are $\pm\dfrac{1}{\sqrt{14}}(1, 2, 3)$, equal in size and opposite in sign.
Pause and predict: can a line make angles of $30°$, $45°$ and $60°$ with the three axes?
Check your answer: No. The sum $\cos^2 30° + \cos^2 45° + \cos^2 60° = \dfrac{3}{4} + \dfrac{1}{2} + \dfrac{1}{4} = \dfrac{3}{2}$, which is not 1. Three angles that appear in a CUET question must always pass this check.
Equation of a line in space
A line is fixed by (i) a point and a direction, or (ii) two points. Both reduce to the first, because the two points give a direction.
Vector form. Let the line pass through the point $A$ with position vector $\vec{a}$ and be parallel to $\vec{b}$. A point $P$ with position vector $\vec{r}$ lies on the line exactly when $\vec{AP}$ is a scalar multiple of $\vec{b}$:
$$\vec{r} = \vec{a} + \lambda\vec{b}, \qquad \lambda \in \mathbb{R}$$
Think of $\lambda$ as a slider: at $\lambda = 0$ you stand at $A$, positive values move you along $\vec{b}$, negative values the other way, and sweeping all real numbers traces the whole line.
Cartesian form. Write $\vec{a} = x_1\hat{i} + y_1\hat{j} + z_1\hat{k}$ and $\vec{b} = a\hat{i} + b\hat{j} + c\hat{k}$. Comparing components gives $x = x_1 + \lambda a$, $y = y_1 + \lambda b$, $z = z_1 + \lambda c$. Eliminating $\lambda$:
$$\dfrac{x - x_1}{a} = \dfrac{y - y_1}{b} = \dfrac{z - z_1}{c}$$
Read it like an address: the numbers being subtracted in the numerators are the point, and the denominators are the direction ratios. If the denominators are DCs $l, m, n$, the same equation holds. For the line through two points $(x_1, y_1, z_1)$ and $(x_2, y_2, z_2)$, use the differences as the denominators:
$$\dfrac{x - x_1}{x_2 - x_1} = \dfrac{y - y_1}{y_2 - y_1} = \dfrac{z - z_1}{z_2 - z_1}$$
Worked example: write the equation both ways. Find the equation of the line through $(5, 2, -4)$ that is parallel to $3\hat{i} + 2\hat{j} - 8\hat{k}$.
| Step | What we do | Result |
|---|---|---|
| 1 | Position vector of the point and direction vector | $\vec{a} = 5\hat{i} + 2\hat{j} - 4\hat{k}$, $\vec{b} = 3\hat{i} + 2\hat{j} - 8\hat{k}$ |
| 2 | Vector form $\vec{r} = \vec{a} + \lambda\vec{b}$ | $\vec{r} = (5\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(3\hat{i} + 2\hat{j} - 8\hat{k})$ |
| 3 | Cartesian form: subtract the point from $x, y, z$ and divide by the DRs | $\dfrac{x - 5}{3} = \dfrac{y - 2}{2} = \dfrac{z + 4}{-8}$ |
Common wrong step. Writing $z - 4$ for the last numerator. The point has $z_1 = -4$, so $z - (-4) = z + 4$.
Worked example: read a messy equation correctly. The Cartesian equations of a line are $6x - 2 = 3y + 1 = 2z - 2$. Find its direction ratios and a point on it, and write the vector form.
| Step | What we do | Result |
|---|---|---|
| 1 | The symmetric form needs $x$, $y$, $z$ with coefficient 1 in each numerator, so factor each expression | $6\left(x - \dfrac{1}{3}\right) = 3\left(y + \dfrac{1}{3}\right) = 2(z - 1)$ |
| 2 | Divide all three by 6, the LCM of 6, 3 and 2 | $\dfrac{x - 1/3}{1} = \dfrac{y + 1/3}{2} = \dfrac{z - 1}{3}$ |
| 3 | Read the point and the direction ratios | Point $\left(\dfrac{1}{3}, -\dfrac{1}{3}, 1\right)$, DRs $(1, 2, 3)$ |
| 4 | Vector form | $\vec{r} = \dfrac{1}{3}\hat{i} - \dfrac{1}{3}\hat{j} + \hat{k} + \lambda(\hat{i} + 2\hat{j} + 3\hat{k})$ |
Common wrong step. Reading the DRs as $6, 3, 2$ straight from the coefficients and the point as $(2, -1, 2)$. Those are the numbers in front of $x, y, z$ and the constants, not the direction ratios. Always rewrite each part as $\text{coefficient} \times (x - \text{something})$ and divide through by a common factor.
Angle between two lines
Two lines in space may not meet, so the "angle between them" means the angle between their direction vectors, and it is taken as the acute angle. If the lines are $\vec{r} = \vec{a_1} + \lambda\vec{b_1}$ and $\vec{r} = \vec{a_2} + \mu\vec{b_2}$, the dot product gives
$$\cos\theta = \dfrac{\lvert\vec{b_1}\cdot\vec{b_2}\rvert}{\lvert\vec{b_1}\rvert\,\lvert\vec{b_2}\rvert}$$
The modulus in the numerator is what forces $\theta$ to be acute. With direction ratios $(a_1, b_1, c_1)$ and $(a_2, b_2, c_2)$ the same formula reads
$$\cos\theta = \dfrac{\lvert a_1 a_2 + b_1 b_2 + c_1 c_2\rvert}{\sqrt{a_1^2 + b_1^2 + c_1^2}\,\sqrt{a_2^2 + b_2^2 + c_2^2}}$$
and with DCs it collapses to $\cos\theta = \lvert l_1 l_2 + m_1 m_2 + n_1 n_2\rvert$, because both square-root factors equal 1.
| Relation | Test with DRs | Test with direction vectors |
|---|---|---|
| Perpendicular | $a_1 a_2 + b_1 b_2 + c_1 c_2 = 0$ | $\vec{b_1}\cdot\vec{b_2} = 0$ |
| Parallel | $\dfrac{a_1}{a_2} = \dfrac{b_1}{b_2} = \dfrac{c_1}{c_2}$ | $\vec{b_1}\times\vec{b_2} = \vec{0}$ |
Notice the parallel test: the ratios are equal to each other, not equal to 1. The vectors are proportional, not identical.
Worked example: angle between two lines. Find the angle between $\vec{r} = 3\hat{i} + 2\hat{j} - 4\hat{k} + \lambda(\hat{i} + 2\hat{j} + 2\hat{k})$ and $\vec{r} = 5\hat{i} - 2\hat{j} + \mu(3\hat{i} + 2\hat{j} + 6\hat{k})$.
| Step | What we do | Result |
|---|---|---|
| 1 | Only the direction vectors matter, so ignore the points $\vec{a_1}, \vec{a_2}$ | $\vec{b_1} = (1, 2, 2)$, $\vec{b_2} = (3, 2, 6)$ |
| 2 | Dot product | $3 + 4 + 12 = 19$ |
| 3 | Magnitudes | $\lvert\vec{b_1}\rvert = 3$, $\lvert\vec{b_2}\rvert = 7$ |
| 4 | Cosine and angle | $\cos\theta = \dfrac{19}{21}$, so $\theta = \cos^{-1}\dfrac{19}{21} \approx 25.2°$ |
Common wrong step. Using the position vectors (the constant parts) in the dot product. The point on a line has nothing to do with its direction: moving a line parallel to itself changes none of its angles.
Shortest distance between two lines
Two lines in space can be in three relations: they intersect, they are parallel, or they are skew. The shortest distance (SD) is zero for intersecting lines. For the other two cases you need a formula, and each comes from one picture.
Skew lines. Let the lines be $\vec{r} = \vec{a_1} + \lambda\vec{b_1}$ and $\vec{r} = \vec{a_2} + \mu\vec{b_2}$. The shortest segment between them is perpendicular to both, so it points along $\vec{b_1}\times\vec{b_2}$. The vector $\vec{a_2} - \vec{a_1}$ joins a point on one line to a point on the other, and the SD is the length of its shadow along that common perpendicular:
$$d = \dfrac{\lvert(\vec{b_1}\times\vec{b_2})\cdot(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b_1}\times\vec{b_2}\rvert}$$
There is a neat solid interpretation. The numerator is the volume of the parallelepiped built on $\vec{a_2} - \vec{a_1}$, $\vec{b_1}$ and $\vec{b_2}$. The denominator is the area of its base, the parallelogram on $\vec{b_1}$ and $\vec{b_2}$. Volume divided by base area is the height, which is the gap between the two parallel planes that hold the two lines. In Cartesian form, with $(a_1, b_1, c_1)$ and $(a_2, b_2, c_2)$ the DRs of the two lines:
$$d = \dfrac{\left\lvert\begin{vmatrix} x_2 - x_1 & y_2 - y_1 & z_2 - z_1 \cr a_1 & b_1 & c_1 \cr a_2 & b_2 & c_2 \end{vmatrix}\right\rvert}{\sqrt{(b_1 c_2 - b_2 c_1)^2 + (c_1 a_2 - c_2 a_1)^2 + (a_1 b_2 - a_2 b_1)^2}}$$
If the numerator is zero the lines are coplanar, so (not being parallel) they intersect.
Parallel lines. For $\vec{r} = \vec{a_1} + \lambda\vec{b}$ and $\vec{r} = \vec{a_2} + \mu\vec{b}$, pick any point on one line and find its distance to the other. The distance from the point $A_2$ to the line through $A_1$ in direction $\vec{b}$ is $\lvert A_1A_2\rvert\sin\theta$, and $\lvert\vec{b}\times(\vec{a_2} - \vec{a_1})\rvert = \lvert\vec{b}\rvert\lvert A_1A_2\rvert\sin\theta$. Divide by $\lvert\vec{b}\rvert$:
$$d = \dfrac{\lvert\vec{b}\times(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b}\rvert}$$
Which formula do you use? One cross product decides:
| Check $\vec{b_1}\times\vec{b_2}$ | Then | Distance formula |
|---|---|---|
| $= \vec{0}$ | Lines are parallel (or coincident) | $\dfrac{\lvert\vec{b}\times(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b}\rvert}$ |
| $\neq \vec{0}$ and $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) = 0$ | Lines intersect | $0$ |
| $\neq \vec{0}$ and $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) \neq 0$ | Lines are skew | $\dfrac{\lvert(\vec{b_1}\times\vec{b_2})\cdot(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b_1}\times\vec{b_2}\rvert}$ |
Worked example: shortest distance between skew lines. Find the shortest distance between $\vec{r} = \hat{i} + \hat{j} + \lambda(2\hat{i} - \hat{j} + \hat{k})$ and $\vec{r} = 2\hat{i} + \hat{j} - \hat{k} + \mu(3\hat{i} - 5\hat{j} + 2\hat{k})$.
| Step | What we do | Result |
|---|---|---|
| 1 | The directions are not proportional, so the lines are not parallel; compute $\vec{b_1}\times\vec{b_2}$ | $(2, -1, 1)\times(3, -5, 2) = (3, -1, -7)$ |
| 2 | Its magnitude | $\sqrt{9 + 1 + 49} = \sqrt{59}$ |
| 3 | Join the two points | $\vec{a_2} - \vec{a_1} = (1, 0, -1)$ |
| 4 | Dot with the cross product | $3 + 0 + 7 = 10$ |
| 5 | Divide | $d = \dfrac{10}{\sqrt{59}}$ |
Common wrong step. Forgetting to divide by $\lvert\vec{b_1}\times\vec{b_2}\rvert$ and reporting $10$ as the distance. The numerator is a volume; dividing by the base area turns it into a length.
Worked example: distance between parallel lines. Find the distance between $\vec{r} = \hat{i} + 2\hat{j} - 4\hat{k} + \lambda(2\hat{i} + 3\hat{j} + 6\hat{k})$ and $\vec{r} = 3\hat{i} + 3\hat{j} - 5\hat{k} + \mu(2\hat{i} + 3\hat{j} + 6\hat{k})$.
| Step | What we do | Result |
|---|---|---|
| 1 | Same direction vector, so the lines are parallel | $\vec{b} = (2, 3, 6)$, $\lvert\vec{b}\rvert = 7$ |
| 2 | Join the two points | $\vec{a_2} - \vec{a_1} = (2, 1, -1)$ |
| 3 | Cross product | $\vec{b}\times(\vec{a_2} - \vec{a_1}) = (3\cdot(-1) - 6\cdot 1,\ 6\cdot 2 - 2\cdot(-1),\ 2\cdot 1 - 3\cdot 2) = (-9, 14, -4)$ |
| 4 | Its magnitude | $\sqrt{81 + 196 + 16} = \sqrt{293}$ |
| 5 | Divide by $\lvert\vec{b}\rvert$ | $d = \dfrac{\sqrt{293}}{7}$ |
Common wrong step. Using the skew-line formula. Here $\vec{b_1}\times\vec{b_2} = \vec{0}$, so the denominator is zero and the formula collapses. Always test for parallel directions first.
Beyond the textbook. For the exam: skew lines are non-coplanar, neither parallel nor intersecting, and the SD formula gives the gap between the two full lines. In reality: the flyover over a road is the picture to keep in mind. The clearance under the flyover is, to a good approximation, the shortest distance between two skew lines, and a map that shows only a crossing hides it. In air traffic the same idea explains why two routes that cross on a flat radar picture can still be separated by altitude.
Beyond the textbook. For the exam: the formula always produces the distance between infinite lines. In reality: real objects are segments or rays. For two segments, the closest pair of points on the infinite lines may fall outside the segments, and then the true shortest distance is measured to an end point. Computer graphics and games write a ray as $\vec{r} = \vec{a} + \lambda\vec{b}$ with $\lambda \ge 0$ and have to respect exactly this restriction. For a CUET question, assume full lines unless the word "segment" appears.
Which tool when?
| The question gives or asks | Use |
|---|---|
| Angles with the axes | DCs: $l = \cos\alpha$ and so on, then $l^2 + m^2 + n^2 = 1$ |
| Two points on a line | DRs by subtraction, then the two-point form |
| A point and a direction | $\vec{r} = \vec{a} + \lambda\vec{b}$ or the symmetric form |
| Angle between two lines | $\cos\theta = \dfrac{\lvert\vec{b_1}\cdot\vec{b_2}\rvert}{\lvert\vec{b_1}\rvert\lvert\vec{b_2}\rvert}$ |
| Are the lines perpendicular? | Dot product of directions is 0 |
| Are the lines parallel? | Directions proportional |
| Gap between skew lines | Cross product of directions, then the triple product over its length |
| Gap between parallel lines | $\dfrac{\lvert\vec{b}\times(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b}\rvert}$ |
| Do two lines meet? | $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) = 0$ |
Working in vector form is usually lighter than expanding Cartesian determinants. If an equation looks messy, convert to vector form first.
Exam traps
| The trap | Why it's tempting | The truth |
|---|---|---|
| Quoting DRs as DCs | Both are called "direction" numbers | Only DCs satisfy $l^2 + m^2 + n^2 = 1$. Divide by $\sqrt{a^2 + b^2 + c^2}$ |
| Leaving out the modulus in $\cos\theta$ | The vector angle formula has no modulus | The angle between lines is taken acute, so use $\lvert\vec{b_1}\cdot\vec{b_2}\rvert$ |
| Reading $\dfrac{x - 1}{2} = \dfrac{y + 3}{4} = \dfrac{z}{5}$ with the point $(-1, 3, 0)$ | The signs feel reversed | The point is $(1, -3, 0)$. Numerator $x - 1$ means $x_1 = 1$ |
| Reading $6x - 2 = 3y + 1 = 2z - 2$ as DRs $6, 3, 2$ | The coefficients look like denominators | Factor out the coefficients first: the DRs are $1, 2, 3$ |
| "Lines that don't meet are skew" | Skew lines don't meet | Parallel lines don't meet either. Skew also needs non-coplanar |
| Using the skew formula on parallel lines | The same words, "shortest distance" | If $\vec{b_1}\times\vec{b_2} = \vec{0}$, switch to the parallel formula |
| Treating parallel as coincident | Same direction is all that is checked | Parallel lines can be a positive distance apart. Coincident lines have distance 0 |
| Testing parallel with $a_1 a_2 + b_1 b_2 + c_1 c_2 = 0$ | It is the more famous equation | That is the perpendicular test. Parallel means proportional DRs |
Formula sheet
| Quantity | Formula | Result | When to use |
|---|---|---|---|
| Direction cosines | $l = \cos\alpha,\ m = \cos\beta,\ n = \cos\gamma$ | Scalars | Angles with the axes |
| DCs from DRs | $l = \dfrac{a}{\sqrt{a^2 + b^2 + c^2}}$, etc. | Scalars | Converting ratios to cosines |
| DRs from two points | $(x_2 - x_1,\ y_2 - y_1,\ z_2 - z_1)$ | Ratios | Line through two points |
| Vector equation | $\vec{r} = \vec{a} + \lambda\vec{b}$ | Line | Point and direction given |
| Cartesian equation | $\dfrac{x - x_1}{a} = \dfrac{y - y_1}{b} = \dfrac{z - z_1}{c}$ | Line | Coordinate form of the same line |
| Angle (vector) | $\cos\theta = \dfrac{\lvert\vec{b_1}\cdot\vec{b_2}\rvert}{\lvert\vec{b_1}\rvert\lvert\vec{b_2}\rvert}$ | Acute angle | Two lines in vector form |
| Angle (DRs) | $\cos\theta = \dfrac{\lvert a_1 a_2 + b_1 b_2 + c_1 c_2\rvert}{\sqrt{\sum a_1^2}\sqrt{\sum a_2^2}}$ | Acute angle | Two lines in Cartesian form |
| Perpendicular | $a_1 a_2 + b_1 b_2 + c_1 c_2 = 0$ | Condition | Test or find an unknown |
| Parallel | $\dfrac{a_1}{a_2} = \dfrac{b_1}{b_2} = \dfrac{c_1}{c_2}$ | Condition | Test or find an unknown |
| SD, skew lines | $\dfrac{\lvert(\vec{b_1}\times\vec{b_2})\cdot(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b_1}\times\vec{b_2}\rvert}$ | Scalar | Lines neither parallel nor meeting |
| Distance, parallel lines | $\dfrac{\lvert\vec{b}\times(\vec{a_2} - \vec{a_1})\rvert}{\lvert\vec{b}\rvert}$ | Scalar | Same direction vector |
| Lines meet | $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) = 0$ | Condition | Test for intersection |
60-second revision
| Topic | Lock this in |
|---|---|
| DCs | $\cos$ of the three axis angles · $l^2 + m^2 + n^2 = 1$ · reversing the line flips all three signs |
| DRs | Any proportional numbers · from two points: subtract · $a^2 + b^2 + c^2 \neq 1$ in general |
| Vector line | $\vec{r} = \vec{a} + \lambda\vec{b}$ · point $\vec{a}$, direction $\vec{b}$ |
| Symmetric line | Numerators: the point (with opposite signs) · denominators: the DRs |
| Angle between lines | Directions only · acute · $\lvert\vec{b_1}\cdot\vec{b_2}\rvert$ in the numerator |
| Perpendicular and parallel | Dot product zero · proportional ratios |
| Skew lines | Not parallel and not intersecting · they are non-coplanar |
| SD, skew | Triple product over $\lvert\vec{b_1}\times\vec{b_2}\rvert$ · zero means they intersect |
| Distance, parallel | $\lvert\vec{b}\times(\vec{a_2} - \vec{a_1})\rvert$ over $\lvert\vec{b}\rvert$ |
Where this chapter connects
- Before: Vector Algebra supplies the dot product for angles and the cross product for distances.
- Class XI link: Introduction to Three Dimensional Geometry gives the axes, octants and distance formula that every line problem here assumes.
- Flat version: Straight Lines is the two dimensional cousin. The point and slope form there becomes the point and direction form here.
- Determinants: Determinants is needed for the Cartesian distance formula and the coplanarity test.
🎯 Practice MCQs
First 3 questions free · create a free account to unlock the rest — answers & explanations included, no payment needed
Q1. A line has direction ratios 3, −4, 12. Which of the following is a set of direction cosines of the line?
▸ Show answer & explanation
Answer: A
The magnitude is $\sqrt{9 + 16 + 144} = 13$, so the direction cosines are the ratios divided by 13. Check: $\dfrac{9 + 16 + 144}{169} = 1$. Option B divides by 169 instead of 13, option C reports the ratios themselves, and option D divides by 5, which is the root of only the first two squares.
Q2. The direction cosines of the line joining $A(1, -1, 2)$ and $B(3, 1, 3)$, taken from A to B, are
▸ Show answer & explanation
Answer: A
The direction ratios are $(3 - 1,\ 1 + 1,\ 3 - 2) = (2, 2, 1)$ with length $\sqrt{4 + 4 + 1} = 3$. So the direction cosines are $\dfrac{2}{3}, \dfrac{2}{3}, \dfrac{1}{3}$. Option D has valid squares that add to 1 but they are in the wrong order, so they are not proportional to $(2, 2, 1)$.
Q3. Consider the statements. (i) For direction cosines, $l^2 + m^2 + n^2 = 1$. (ii) If $a, b, c$ are direction ratios, so are $ka, kb, kc$ for any non-zero k. (iii) Reversing the direction of a line changes the sign of each direction cosine. (iv) $a^2 + b^2 + c^2 = 1$ for every set of direction ratios. Which are correct?
▸ Show answer & explanation
Answer: B
Statements (i), (ii) and (iii) are true. Statement (iv) is false: direction ratios are only proportional to the cosines, so $2, 3, 6$ have $a^2 + b^2 + c^2 = 49$.
🔒 9 more practice MCQs
Create a free account to unlock every MCQ in this chapter — answers and explanations included. No payment needed.
Already registered? Just log in and they'll all appear here.
Q4. The Cartesian equation of the line through $(1, -2, 3)$ and $(3, 0, -1)$ is
▸ Show answer & explanation
Answer: B
The direction ratios are $(3 - 1,\ 0 + 2,\ -1 - 3) = (2, 2, -4)$, which simplify to $(1, 1, -2)$. Using the point $(1, -2, 3)$ gives option B. Option A has the wrong sign on the last ratio, option C uses the negatives of the point, and option D flips the sign of the middle ratio.
Q5. The direction ratios of the line $3x - 6 = 2y + 4 = 6z - 12$ are
▸ Show answer & explanation
Answer: B
Factor each expression: $3(x - 2) = 2(y + 2) = 6(z - 2)$. Dividing by 6 gives $\dfrac{x - 2}{2} = \dfrac{y + 2}{3} = \dfrac{z - 2}{1}$, so the direction ratios are $2, 3, 1$. Option A reads the coefficients $3, 2, 6$ straight off, which is the classic slip. Options C and D are not proportional to $(2, 3, 1)$.
Q6. The acute angle between the lines $\vec{r} = \hat{i} + \hat{j} + \lambda(\hat{i} + \hat{j})$ and $\vec{r} = 2\hat{k} + \mu(-\hat{j} - \hat{k})$ is
▸ Show answer & explanation
Answer: B
The direction vectors are $(1, 1, 0)$ and $(0, -1, -1)$. Their dot product is $-1$ and each has magnitude $\sqrt{2}$, so the cosine of the angle between the vectors is $-\dfrac{1}{2}$, which is 120°. The angle between the lines is taken acute, so $\cos\theta = \dfrac{\lvert -1\rvert}{2} = \dfrac{1}{2}$ and $\theta = 60°$.
Q7. The lines $\dfrac{x - 1}{-3} = \dfrac{y - 2}{2k} = \dfrac{z - 3}{2}$ and $\dfrac{x - 1}{3k} = \dfrac{y - 1}{1} = \dfrac{z - 6}{-5}$ are perpendicular when k equals
▸ Show answer & explanation
Answer: A
The direction ratios are $(-3, 2k, 2)$ and $(3k, 1, -5)$. Perpendicular lines need $(-3)(3k) + (2k)(1) + (2)(-5) = 0$, that is $-9k + 2k - 10 = 0$, so $-7k = 10$ and $k = -\dfrac{10}{7}$. Option B is a sign error and the other options invert the fraction.
Q8. The shortest distance between the lines $\vec{r} = (\hat{i} + 2\hat{j} + 3\hat{k}) + \lambda(\hat{i} - 3\hat{j} + 2\hat{k})$ and $\vec{r} = (4\hat{i} + 5\hat{j} + 6\hat{k}) + \mu(2\hat{i} + 3\hat{j} + \hat{k})$ is
▸ Show answer & explanation
Answer: A
$\vec{b_1}\times\vec{b_2} = (-3\cdot 1 - 2\cdot 3,\ 2\cdot 2 - 1\cdot 1,\ 1\cdot 3 + 3\cdot 2) = (-9, 3, 9)$, with magnitude $\sqrt{81 + 9 + 81} = 3\sqrt{19}$. Also $\vec{a_2} - \vec{a_1} = (3, 3, 3)$, so the dot product is $-27 + 9 + 27 = 9$. Then $d = \dfrac{9}{3\sqrt{19}} = \dfrac{3}{\sqrt{19}}$. Option B forgets the 3 in $3\sqrt{19}$, and option D is the unscaled numerator.
Q9. The distance between the parallel lines $\vec{r} = \hat{i} + \hat{j} + \lambda(2\hat{i} - \hat{j} + \hat{k})$ and $\vec{r} = 2\hat{i} + \hat{j} - \hat{k} + \mu(4\hat{i} - 2\hat{j} + 2\hat{k})$ is
▸ Show answer & explanation
Answer: A
The second direction is twice the first, so the lines are parallel. Take $\vec{b} = (2, -1, 1)$ and $\vec{a_2} - \vec{a_1} = (1, 0, -1)$. Then $\vec{b}\times(\vec{a_2} - \vec{a_1}) = (1, 3, 1)$ with magnitude $\sqrt{11}$, and $\lvert\vec{b}\rvert = \sqrt{6}$. So $d = \dfrac{\sqrt{11}}{\sqrt{6}} = \sqrt{\dfrac{11}{6}}$. Option B forgets to divide by $\lvert\vec{b}\rvert$, and option D forgets the square root.
Q10. Assertion (A): The shortest distance between two intersecting lines is zero. Reason (R): For intersecting lines, $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) = 0$.
▸ Show answer & explanation
Answer: A
Intersecting lines are coplanar, so $\vec{a_2} - \vec{a_1}$, $\vec{b_1}$ and $\vec{b_2}$ lie in one plane and their triple product is zero. That zero is exactly the numerator of the distance formula, so the distance is zero. R explains A.
Q11. Match List I with List II. List I: (i) Parallel lines (ii) Intersecting lines (iii) Skew lines (iv) Perpendicular lines. List II: (p) $\vec{b_1}\times\vec{b_2} \neq \vec{0}$ and $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) \neq 0$ (q) $\vec{b_1}\cdot\vec{b_2} = 0$ (r) $\vec{b_1}\times\vec{b_2} = \vec{0}$ (s) $\vec{b_1}\times\vec{b_2} \neq \vec{0}$ and $(\vec{a_2} - \vec{a_1})\cdot(\vec{b_1}\times\vec{b_2}) = 0$
▸ Show answer & explanation
Answer: A
Parallel directions have a zero cross product. Intersecting lines are not parallel but their triple product is zero, so they are coplanar. Skew lines are not parallel and have a non-zero triple product, so they are not coplanar. Perpendicular lines have a zero dot product of directions.
Q12. The lines $\dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z - 3}{4}$ and $\dfrac{x - 2}{3} = \dfrac{y - 4}{4} = \dfrac{z - 5}{5}$ are
▸ Show answer & explanation
Answer: C
The direction ratios $(2, 3, 4)$ and $(3, 4, 5)$ are not proportional, so the lines are not parallel. The cross product is $(3\cdot 5 - 4\cdot 4,\ 4\cdot 3 - 2\cdot 5,\ 2\cdot 4 - 3\cdot 3) = (-1, 2, -1)$ with magnitude $\sqrt{6}$. With $\vec{a_2} - \vec{a_1} = (1, 2, 2)$, the triple product is $-1 + 4 - 2 = 1$, which is not zero. So the lines are skew and the distance is $\dfrac{1}{\sqrt{6}}$.
📊 Previous-Year Questions
Practise with real CUET Mathematics previous-year papers — every question solved, with the correct answer and a step-by-step explanation.
View solved CUET PYQ papers →Ready to drill Mathematics?
Unlock all MCQs, chapter tests, mocks & PYQs for ₹199/year.
Get UniDrill Pro