RS Aggarwal Class 12 Maths Solutions Exercise 27C — Straight Line in Space
RS Aggarwal, Class 12 Mathematics — Straight Line in Space, Exercise 27C. All 13 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 27C is about the angle between two lines in space. Questions 1 to 8 give the lines in vector or Cartesian form and ask for the angle. Questions 9 to 11 test perpendicularity, Question 12 starts directly from direction ratios, and Question 13 builds the lines from four points.
Key insight. The angle between two lines depends only on their direction vectors $\vec b_1$ and $\vec b_2$: $\cos\theta = \dfrac{|\vec b_1\cdot\vec b_2|}{|\vec b_1||\vec b_2|}$. For a Cartesian line, rewrite each denominator so that $x$, $y$, $z$ all appear with coefficient $+1$ before reading off the direction ratios; $\dfrac{3-x}{-2}$ means ratio $2$, not $-2$. Perpendicular lines have $\vec b_1\cdot\vec b_2 = 0$.
Question 1
Find the angle between the lines $\vec r=(3\hat i+\hat j-2\hat k)+\lambda(\hat i-\hat j-2\hat k)$ and $\vec r=(2\hat i-\hat j-5\hat k)+\mu(3\hat i-5\hat j-4\hat k)$.
Solution. The position vectors are irrelevant to the angle; only the vectors multiplying $\lambda$ and $\mu$ matter. Take $\vec b_1 = \hat i-\hat j-2\hat k$ and $\vec b_2 = 3\hat i-5\hat j-4\hat k$. Then
$$\vec b_1\cdot\vec b_2 = 3+5+8 = 16,\quad |\vec b_1|=\sqrt6,\quad |\vec b_2|=\sqrt{50}=5\sqrt2.$$
$$\cos\theta = \frac{16}{5\sqrt{12}} = \frac{16}{10\sqrt3} = \frac{8\sqrt3}{15}.$$
$\theta = \cos^{-1}\left(\dfrac{8\sqrt3}{15}\right)$
Question 2
Find the angle between the lines $\vec r=(3\hat i-4\hat j+2\hat k)+\lambda(\hat i+3\hat k)$ and $\vec r=5\hat i+\mu(-\hat i+\hat j+\hat k)$.
Solution. The direction vectors are $\vec b_1 = \hat i+0\hat j+3\hat k$ and $\vec b_2=-\hat i+\hat j+\hat k$. The missing $\hat j$ term in the first means its coefficient is $0$.
$$\vec b_1\cdot\vec b_2 = -1+0+3 = 2,\quad |\vec b_1|=\sqrt{10},\quad |\vec b_2|=\sqrt3.$$
$$\cos\theta=\frac{2}{\sqrt{30}}=\frac{2\sqrt{30}}{30}=\frac{\sqrt{30}}{15}.$$
$\theta = \cos^{-1}\left(\dfrac{\sqrt{30}}{15}\right)$
Question 3
Find the angle between the lines $\vec r=(\hat i-2\hat j)+\lambda(2\hat i-2\hat j+\hat k)$ and $\vec r=3\hat k+\mu(\hat i+2\hat j-2\hat k)$.
Solution. Here $\vec b_1 = 2\hat i-2\hat j+\hat k$ and $\vec b_2=\hat i+2\hat j-2\hat k$.
$$\vec b_1\cdot\vec b_2 = 2-4-2=-4,\quad |\vec b_1|=3,\quad |\vec b_2|=3.$$
The raw cosine of the vectors is $-\tfrac49$, which is negative: the two direction vectors make an obtuse angle. The angle between two lines is taken as the acute one, so we use the modulus:
$$\cos\theta=\frac{|-4|}{3\cdot3}=\frac49.$$
(The obtuse angle $\pi-\theta$ is the same pair of lines traversed in the opposite sense.)
$\theta = \cos^{-1}\left(\dfrac{4}{9}\right)$
Question 4
Find the angle between the lines $\dfrac{x+1}{1}=\dfrac{y-4}{1}=\dfrac{z-5}{2}$ and $\dfrac{x+3}{3}=\dfrac{y-2}{5}=\dfrac{z+5}{4}$.
Solution. The denominators are the direction ratios: $(1,1,2)$ and $(3,5,4)$.
$$\text{dot product}=3+5+8=16,\quad \sqrt{1+1+4}=\sqrt6,\quad\sqrt{9+25+16}=5\sqrt2.$$
$$\cos\theta=\frac{16}{5\sqrt{12}}=\frac{8\sqrt3}{15}.$$
$\theta = \cos^{-1}\left(\dfrac{8\sqrt3}{15}\right)$
Question 5
Find the angle between the lines $\dfrac{x-4}{3}=\dfrac{y+1}{4}=\dfrac{z-6}{5}$ and $\dfrac{x-5}{1}=\dfrac{2y+5}{-2}=\dfrac{z-3}{1}$.
Solution. The first line has ratios $(3,4,5)$. In the second, $y$ has coefficient $2$, so divide the middle term through by $2$: $\dfrac{2y+5}{-2}=\dfrac{y+5/2}{-1}$. Its ratios are therefore $(1,-1,1)$.
$$\text{dot product}=3-4+5=4,\quad|(3,4,5)|=5\sqrt2,\quad|(1,-1,1)|=\sqrt3.$$
$$\cos\theta=\frac{4}{5\sqrt6}=\frac{4\sqrt6}{30}=\frac{2\sqrt6}{15}.$$
$\theta = \cos^{-1}\left(\dfrac{2\sqrt6}{15}\right)$
Question 6
Find the angle between the lines $\dfrac{3-x}{-2}=\dfrac{y+5}{1}=\dfrac{1-z}{3}$ and $\dfrac{x}{3}=\dfrac{1-y}{-2}=\dfrac{z+2}{-1}$.
Solution. Put each variable in the form $(x-x_0)$ with coefficient $+1$.
First line: $\dfrac{3-x}{-2}=\dfrac{x-3}{2}$ and $\dfrac{1-z}{3}=\dfrac{z-1}{-3}$, so the ratios are $(2,1,-3)$.
Second line: $\dfrac{1-y}{-2}=\dfrac{y-1}{2}$, so the ratios are $(3,2,-1)$.
$$\text{dot product}=6+2+3=11,\quad\sqrt{4+1+9}=\sqrt{14},\quad\sqrt{9+4+1}=\sqrt{14}.$$
$$\cos\theta=\frac{11}{14}.$$
$\theta = \cos^{-1}\left(\dfrac{11}{14}\right)$
Question 7
Find the angle between the lines $\dfrac{x}{1}=\dfrac{z}{-1},\ y=0$ and $\dfrac{x}{3}=\dfrac{y}{4}=\dfrac{z}{5}$.
Solution. The first line lies in the plane $y=0$, so its $y$-ratio is $0$: ratios $(1,0,-1)$. The second has $(3,4,5)$.
$$\text{dot product}=3+0-5=-2,\quad\sqrt2,\quad5\sqrt2.$$
The acute angle uses the modulus:
$$\cos\theta=\frac{|-2|}{\sqrt2\cdot5\sqrt2}=\frac{2}{10}=\frac15.$$
$\theta = \cos^{-1}\left(\dfrac{1}{5}\right)$
Question 8
Find the angle between the lines $\dfrac{5-x}{3}=\dfrac{y+3}{-2},\ z=5$ and $\dfrac{x-1}{1}=\dfrac{1-y}{3}=\dfrac{z-5}{2}$.
Solution. First line: $\dfrac{5-x}{3}=\dfrac{x-5}{-3}$, with $\dfrac{y+3}{-2}$ beside it, and $z$ fixed at $5$ so its $z$-ratio is $0$. Ratios: $(-3,-2,0)$.
Second line: $\dfrac{1-y}{3}=\dfrac{y-1}{-3}$, so ratios $(1,-3,2)$.
$$\text{dot product}=-3+6+0=3,\quad\sqrt{9+4}=\sqrt{13},\quad\sqrt{1+9+4}=\sqrt{14}.$$
$$\cos\theta=\frac{3}{\sqrt{13}\sqrt{14}}=\frac{3}{\sqrt{182}}.$$
$\theta = \cos^{-1}\left(\dfrac{3}{\sqrt{182}}\right)$
Question 9
Show that the lines $\dfrac{x-3}{2}=\dfrac{y+1}{-3}=\dfrac{z-2}{4}$ and $\dfrac{x+2}{2}=\dfrac{y-4}{4}=\dfrac{z+5}{2}$ are perpendicular to each other.
Solution. Their direction ratios are $(2,-3,4)$ and $(2,4,2)$. Two lines are perpendicular exactly when the dot product of these is zero:
$$2\cdot2+(-3)\cdot4+4\cdot2=4-12+8=0.$$
The dot product is $0$, so the lines are perpendicular.
Question 10
If the lines $\dfrac{x-1}{-3}=\dfrac{y-2}{2\lambda}=\dfrac{z-3}{2}$ and $\dfrac{x-1}{3\lambda}=\dfrac{y-1}{1}=\dfrac{6-z}{5}$ are perpendicular to each other then find the value of $\lambda$.
Solution. The first has ratios $(-3,2\lambda,2)$. For the second, $\dfrac{6-z}{5}=\dfrac{z-6}{-5}$, so the ratios are $(3\lambda,1,-5)$. Perpendicular means the dot product vanishes:
$$(-3)(3\lambda)+(2\lambda)(1)+(2)(-5)=0\ \Rightarrow\ -9\lambda+2\lambda-10=0\ \Rightarrow\ -7\lambda=10.$$
$$\lambda=-\frac{10}{7}.$$
$\lambda=-\dfrac{10}{7}$
Question 11
Show that the lines $x=-y=2z$ and $x+2=2y-1=-z+1$ are perpendicular to each other.
Solution. Convert both to standard form so that each variable has coefficient $+1$.
First: $x=-y=2z$ means $\dfrac{x}{1}=\dfrac{y}{-1}=\dfrac{z}{1/2}$, with ratios $(1,-1,\tfrac12)$, or $(2,-2,1)$ after doubling.
Second: $x+2=2y-1=-z+1$ gives $\dfrac{x+2}{1}=\dfrac{y-\frac12}{\frac12}=\dfrac{z-1}{-1}$, ratios $(1,\tfrac12,-1)$, or $(2,1,-2)$ after doubling.
$$2\cdot2+(-2)\cdot1+1\cdot(-2)=4-2-2=0.$$
The dot product is $0$, so the lines are perpendicular.
Question 12
Find the angle between two lines whose direction ratios are
Solution. Use $\cos\theta=\dfrac{|a_1a_2+b_1b_2+c_1c_2|}{\sqrt{a_1^2+b_1^2+c_1^2}\sqrt{a_2^2+b_2^2+c_2^2}}$ for each pair.
(i) $2,1,2$ and $4,8,1$: the dot product is $8+8+2=18$, with lengths $\sqrt{9}=3$ and $\sqrt{81}=9$. So $\cos\theta=\dfrac{18}{27}=\dfrac23$.
(ii) $5,-12,13$ and $-3,4,5$: the dot product is $-15-48+65=2$, with lengths $\sqrt{338}=13\sqrt2$ and $\sqrt{50}=5\sqrt2$. So $\cos\theta=\dfrac{2}{130}=\dfrac1{65}$.
(iii) $1,1,2$ and $\sqrt3-1,\,-\sqrt3-1,\,4$: the dot product is $(\sqrt3-1)+(-\sqrt3-1)+8=6$. The second length squared is $(4-2\sqrt3)+(4+2\sqrt3)+16=24$, so the lengths are $\sqrt6$ and $2\sqrt6$. So $\cos\theta=\dfrac{6}{12}=\dfrac12$.
(iv) $a,b,c$ and $b-c,\,c-a,\,a-b$: the dot product is $a(b-c)+b(c-a)+c(a-b)=ab-ac+bc-ab+ac-bc=0$, so $\cos\theta=0$.
(i) $\cos^{-1}\dfrac23$; (ii) $\cos^{-1}\dfrac1{65}$; (iii) $\dfrac\pi3$; (iv) $\dfrac\pi2$
Question 13
If $A(1, 2, 3)$, $B(4, 5, 7)$, $C(-4, 3, -6)$ and $D(2, 9, 2)$ are four given points then find the angle between the lines $AB$ and $CD$.
Solution. The direction ratios of $AB$ are the differences of coordinates: $(4-1,\,5-2,\,7-3)=(3,3,4)$. For $CD$: $(2+4,\,9-3,\,2+6)=(6,6,8)$.
The second is exactly twice the first, so the lines are parallel. Verify with the formula: the dot product is $18+18+32=68$ and the lengths are $\sqrt{34}$ and $2\sqrt{34}$, giving $\cos\theta=\dfrac{68}{68}=1$.
$\theta=0^\circ$ (the lines are parallel)
Common mistakes
- Reading direction ratios off a denominator without checking the sign of the variable. In $\dfrac{3-x}{-2}$ and $\dfrac{1-y}{-2}$ the variable appears as $3-x$ and $1-y$, so the ratio is $+2$, not $-2$ (Questions 6 and 8).
- Forgetting to divide out a coefficient on the variable. In $\dfrac{2y+5}{-2}$ the ratio for $y$ is $-1$, not $-2$ (Question 5).
- Leaving out a zero ratio. A line like $y=0$ or $z=5$ has $0$ as the corresponding ratio (Questions 7 and 8).
- Giving an obtuse angle. The angle between two lines is the acute one, so take the modulus of the dot product (Questions 3, 7).
- In Question 11, using $(1,-1,1)$ for $x=-y=2z$: $2z$ means the $z$-ratio is $\tfrac12$, not $2$.
Practise next
Continue with the neighbouring exercises of this chapter, which use the same direction-ratio skills.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe