Three-Dimensional Geometry

RS Aggarwal Class 12 Maths Solutions Exercise 26 — Fundamental Concepts of Three-Dimensional Geometry

RS Aggarwal, Class 12 Mathematics — Fundamental Concepts of Three-Dimensional Geometry, Exercise 26. All 18 questions solved.

Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.

This exercise is about direction ratios and direction cosines of a line, and what they tell you. Questions 1 and 2 convert ratios to cosines and find them from two points. Questions 3 to 8 test perpendicularity and parallelism, questions 9 to 11 collinearity, and questions 12 to 17 angles between lines and vectors. Question 18 finds the foot of a perpendicular.

Key insight. The line joining $P(x_1,y_1,z_1)$ and $Q(x_2,y_2,z_2)$ has direction ratios $x_2-x_1,\ y_2-y_1,\ z_2-z_1$. Dividing by $\sqrt{a^2+b^2+c^2}$ gives direction cosines. Two lines with ratios $a_1,b_1,c_1$ and $a_2,b_2,c_2$ are perpendicular when $a_1a_2+b_1b_2+c_1c_2=0$ and parallel when the ratios are proportional.

Question 1

Find the direction cosines of a line segment whose direction ratios are given in each part: (i) $2,-6,3$; (ii) $2,-1,-2$; (iii) $-9,6,-2$.

Solution. If the ratios are $a,b,c$, the direction cosines are $\dfrac{a}{r},\dfrac{b}{r},\dfrac{c}{r}$ with $r=\sqrt{a^2+b^2+c^2}$, so that the squares of the cosines add to $1$.

(i) $r=\sqrt{4+36+9}=\sqrt{49}=7$.

(ii) $r=\sqrt{4+1+4}=3$.

(iii) $r=\sqrt{81+36+4}=\sqrt{121}=11$.

(i) $\dfrac{2}{7},\dfrac{-6}{7},\dfrac{3}{7}$; (ii) $\dfrac{2}{3},\dfrac{-1}{3},\dfrac{-2}{3}$; (iii) $\dfrac{-9}{11},\dfrac{6}{11},\dfrac{-2}{11}$

Question 2

Find the direction ratios and direction cosines of the line segment joining the points: (i) $A(1,0,0)$ and $B(0,1,1)$; (ii) $A(5,6,-3)$ and $B(1,-6,3)$; (iii) $A(-5,7,-9)$ and $B(-3,4,-6)$.

Solution. Subtract the coordinates of $A$ from those of $B$ to get the ratios, then divide by their root of sum of squares. Reversing the direction (using $A-B$) flips every sign and is equally valid for a line.

(i) $B-A=(-1,1,1)$ and $r=\sqrt{3}$, so the cosines are $\dfrac{-1}{\sqrt3},\dfrac{1}{\sqrt3},\dfrac{1}{\sqrt3}$.

(ii) $B-A=(-4,-12,6)$. All three are divisible by $-2$, so equivalent ratios are $2,6,-3$, with $r=\sqrt{4+36+9}=7$. The cosines are $\dfrac27,\dfrac67,\dfrac{-3}{7}$ (for the direction from $B$ to $A$; the direction from $A$ to $B$ has all three signs reversed).

(iii) $B-A=(2,-3,3)$ and $r=\sqrt{4+9+9}=\sqrt{22}$.

(i) ratios $-1,1,1$; cosines $\dfrac{-1}{\sqrt3},\dfrac{1}{\sqrt3},\dfrac{1}{\sqrt3}$. (ii) ratios $2,6,-3$; cosines $\dfrac27,\dfrac67,\dfrac{-3}{7}$. (iii) ratios $2,-3,3$; cosines $\dfrac{2}{\sqrt{22}},\dfrac{-3}{\sqrt{22}},\dfrac{3}{\sqrt{22}}$

Question 3

Prove that the line through $A(1,-1,2)$ and $B(3,4,-2)$ is at right angles to the line through $C(0,3,2)$ and $D(3,5,6)$.

Solution. The ratios of $AB$ are $3-1,\ 4-(-1),\ -2-2 = 2,5,-4$. The ratios of $CD$ are $3-0,\ 5-3,\ 6-2=3,2,4$. Their dot product is

$$2(3)+5(2)+(-4)(4)=6+10-16=0,$$

so the lines are perpendicular.

Shown: $AB\perp CD$, since the sum of products of ratios is $0$.

Question 4

Take the origin $O$ and the point $A(2,1,1)$, and also $B(3,5,-1)$ and $C(4,3,-1)$. Establish that $OA$ meets $BC$ at a right angle.

Solution. The ratios of $OA$ are $2,1,1$. The ratios of $BC$ are $4-3,\ 3-5,\ -1-(-1)=1,-2,0$. Then

$$2(1)+1(-2)+1(0)=0.$$

The segments are therefore perpendicular.

Shown: $OA\perp BC$.

Question 5

Points $A(4,1,2)$ and $B(5,p,0)$ define one line, and $C(2,1,1)$ and $D(3,3,-1)$ define another. What must $p$ be so that these two lines are at right angles?

Solution. The ratios of $AB$ are $1,\ p-1,\ -2$ and those of $CD$ are $1,2,-2$. Perpendicularity needs

$$1(1)+(p-1)(2)+(-2)(-2)=0 \Rightarrow 2p+3=0 \Rightarrow p=-\tfrac32.$$

$p=-\dfrac32$

Question 6

The origin is $O$, and $P(2,3,4)$ and $Q(1,-2,1)$ are two points. Prove that $OP\perp OQ$.

Solution. The ratios of $OP$ are $2,3,4$ and of $OQ$ are $1,-2,1$. Their dot product is $2-6+4=0$, so $OP\perp OQ$.

Shown: $OP\perp OQ$.

Question 7

Prove that the segment joining $A(1,2,3)$ and $B(4,5,7)$ is parallel to the segment joining $C(-4,3,-6)$ and $D(2,9,2)$.

Solution. The ratios of $AB$ are $3,3,4$. The ratios of $CD$ are $2-(-4),\ 9-3,\ 2-(-6)=6,6,8$. Since $\dfrac63=\dfrac63=\dfrac84=2$, the ratios are proportional and the segments are parallel.

Shown: $AB\parallel CD$.

Question 8

The segment joining $A(7,p,2)$ and $B(q,-2,5)$ is parallel to the segment joining $C(2,-3,5)$ and $D(-6,-15,11)$. Find $p$ and $q$.

Solution. The ratios of $CD$ are $-8,-12,6$, equivalent to $-4,-6,3$. The ratios of $AB$ are $q-7,\ -2-p,\ 3$. Parallel lines have proportional ratios, and the third entries ($3$ and $3$) show the proportionality factor is $1$:

$$q-7=-4\Rightarrow q=3,\qquad -2-p=-6\Rightarrow p=4.$$

$p=4,\ q=3$

Question 9

Show that $A(2,3,4)$, $B(-1,-2,1)$ and $C(5,8,7)$ are collinear.

Solution. The ratios of $AB$ are $-3,-5,-3$. The ratios of $BC$ are $6,10,6$, which equal $-2$ times those of $AB$. The two segments are parallel and share the point $B$, so the three points lie on one line.

Shown: $A,B,C$ are collinear.

Question 10

Show that $A(-2,4,7)$, $B(3,-6,-8)$ and $C(1,-2,-2)$ are collinear.

Solution. The ratios of $AB$ are $5,-10,-15$. The ratios of $BC$ are $-2,4,6$, which are $-\tfrac25$ times those of $AB$. The segments are parallel and share $B$, so the points are collinear.

Shown: $A,B,C$ are collinear.

Question 11

Find $p$ so that $A(-1,3,2)$, $B(-4,2,-2)$ and $C(5,5,p)$ are collinear.

Solution. The ratios of $AB$ are $-3,-1,-4$ and those of $BC$ are $9,3,p+2$. For collinearity these must be proportional. Since $9=-3(-3)$ and $3=-3(-1)$, the factor is $-3$, so

$$p+2=-3(-4)=12\Rightarrow p=10.$$

$p=10$

Question 12

Find the angle between two lines whose direction cosines are $\dfrac23,\dfrac{-1}{3},\dfrac{-2}{3}$ and $\dfrac37,\dfrac27,\dfrac67$.

Solution. For direction cosines the angle satisfies $\cos\theta=l_1l_2+m_1m_2+n_1n_2$:

$$\cos\theta=\frac{6}{21}-\frac{2}{21}-\frac{12}{21}=\frac{-8}{21}.$$

Both sets are genuine unit vectors, since $\tfrac49+\tfrac19+\tfrac49=1$ and $\tfrac9{49}+\tfrac4{49}+\tfrac{36}{49}=1$. So $\theta=\cos^{-1}\!\left(\dfrac{-8}{21}\right)$. As the lines are undirected, the acute angle between them is $\cos^{-1}\!\left(\dfrac{8}{21}\right)$.

$\theta=\cos^{-1}\!\left(\dfrac{-8}{21}\right)$

Question 13

Find the angle between the lines with direction ratios $a,b,c$ and $(b-c),(c-a),(a-b)$.

Solution. The dot product of the ratios is

$$a(b-c)+b(c-a)+c(a-b)=ab-ac+bc-ab+ac-bc=0.$$

So $\cos\theta=0$.

$\theta=\dfrac{\pi}{2}$

Question 14

Find the angle between the lines with direction ratios $2,-3,4$ and $1,2,1$.

Solution. The dot product is $2(1)+(-3)(2)+4(1)=2-6+4=0$, so the lines are perpendicular.

$\theta=\dfrac{\pi}{2}$

Question 15

Find the angle between the lines with direction ratios $1,1,2$ and $(\sqrt3-1),(-\sqrt3-1),4$.

Solution. Dot product: $(\sqrt3-1)+(-\sqrt3-1)+8=6$.

Lengths: $\sqrt{1+1+4}=\sqrt6$, and $(\sqrt3-1)^2+(\sqrt3+1)^2+16=(4-2\sqrt3)+(4+2\sqrt3)+16=24$, so the second length is $2\sqrt6$.

$$\cos\theta=\frac{6}{\sqrt6\cdot2\sqrt6}=\frac{6}{12}=\frac12.$$

$\theta=\dfrac{\pi}{3}$

Question 16

Find the angle between the vectors $\vec r_1=3\hat i-2\hat j+\hat k$ and $\vec r_2=4\hat i+5\hat j+7\hat k$.

Solution. The dot product is $12-10+7=9$. The magnitudes are $|\vec r_1|=\sqrt{14}$ and $|\vec r_2|=\sqrt{90}=3\sqrt{10}$. So

$$\cos\theta=\frac{9}{3\sqrt{140}}=\frac{3}{2\sqrt{35}}.$$

$\theta=\cos^{-1}\!\left(\dfrac{3}{2\sqrt{35}}\right)$

Question 17

Find the angles each of the following vectors makes with the coordinate axes: (i) $\hat i-\hat j+\hat k$; (ii) $\hat j-\hat k$; (iii) $\hat i-4\hat j+8\hat k$.

Solution. A vector $a\hat i+b\hat j+c\hat k$ makes angles $\alpha,\beta,\gamma$ with the axes where $\cos\alpha=\dfrac{a}{r},\cos\beta=\dfrac{b}{r},\cos\gamma=\dfrac{c}{r}$ and $r$ is its magnitude.

(i) $r=\sqrt3$, so the angles are $\cos^{-1}\dfrac1{\sqrt3},\ \cos^{-1}\dfrac{-1}{\sqrt3},\ \cos^{-1}\dfrac1{\sqrt3}$.

(ii) $r=\sqrt2$, so the cosines are $0,\dfrac1{\sqrt2},\dfrac{-1}{\sqrt2}$, giving $\dfrac\pi2,\dfrac\pi4,\dfrac{3\pi}4$.

(iii) $r=\sqrt{1+16+64}=9$, so the cosines are $\dfrac19,\dfrac{-4}9,\dfrac89$.

(i) $\cos^{-1}\dfrac1{\sqrt3},\ \cos^{-1}\dfrac{-1}{\sqrt3},\ \cos^{-1}\dfrac1{\sqrt3}$; (ii) $\dfrac\pi2,\dfrac\pi4,\dfrac{3\pi}4$; (iii) $\cos^{-1}\dfrac19,\ \cos^{-1}\dfrac{-4}9,\ \cos^{-1}\dfrac89$

Question 18

Find the foot of the perpendicular from $A(1,8,4)$ to the line through $B(0,-1,3)$ and $C(2,-3,-1)$.

Solution. The line has direction ratios $2,-2,-4$, so any point on it is $P=(2t,\ -1-2t,\ 3-4t)$. For the foot, $AP$ must be perpendicular to the line. Now $\overrightarrow{AP}=(2t-1,\ -9-2t,\ -1-4t)$, and

$$2(2t-1)-2(-9-2t)-4(-1-4t)=0\Rightarrow 24t+20=0\Rightarrow t=-\tfrac56.$$

Substituting, $P=\left(-\tfrac53,\ -1+\tfrac53,\ 3+\tfrac{10}3\right)$.

$\left(\dfrac{-5}{3},\ \dfrac{2}{3},\ \dfrac{19}{3}\right)$

Common mistakes

  • Using the points in the wrong order when forming ratios, or mixing orders between the two ends of one segment. Subtract consistently, $B-A$ and $C-B$.
  • Treating direction ratios as direction cosines. Cosines must satisfy $l^2+m^2+n^2=1$, so divide by the root of the sum of squares first.
  • In collinearity, checking only that two ratios agree. All three must be proportional, which is how $p$ is fixed in Question 11.
  • Dropping the sign of a negative component when finding axis angles, as with the $y$-component in Question 17(iii): the angle is obtuse there.

Practise next

These ideas continue in the next exercise on lines and planes in three dimensions, where direction ratios feed straight into the equation of a line.

Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full

Subscribe