RS Aggarwal Class 12 Maths Solutions Exercise 27F — Straight Line in Space
RS Aggarwal, Class 12 Mathematics — Straight Line in Space, Exercise 27F. All 23 questions solved.
Independent solutions by Shiwam’s Classes. Not affiliated with or endorsed by the author or publisher of the book.
Exercise 27F is a set of short, direct questions on the basics of a line in space. They ask for direction cosines from direction ratios, for a line through a point parallel to another line, for conversion between Cartesian and vector forms, and for the angle between two lines.
Key insight. A line is fixed by one point and one direction. In $\dfrac{x-x_1}{a}=\dfrac{y-y_1}{b}=\dfrac{z-z_1}{c}$ the numbers $a,b,c$ are direction ratios and $(x_1,y_1,z_1)$ is a point, but only if each numerator has $+x$, $+y$, $+z$. When a variable appears as $4-x$ or $1-z$, rewrite it as $x-4$ or $z-1$ first, which flips the sign of that denominator.
Question 1
A line has direction ratios $2,-1,-2$. Find its direction cosines.
Solution. Divide each ratio by $\sqrt{2^2+(-1)^2+(-2)^2}=\sqrt{9}=3$, so that the squares of the cosines add up to $1$.
$$l,m,n=\frac{2}{3},\ \frac{-1}{3},\ \frac{-2}{3}.$$
$$\frac{2}{3},\ -\frac{1}{3},\ -\frac{2}{3}$$
Question 2
Find the direction cosines of the line $\dfrac{4-x}{2}=\dfrac{y}{6}=\dfrac{1-z}{3}$.
Solution. Make $x$ and $z$ appear with a positive sign: $\dfrac{4-x}{2}=\dfrac{x-4}{-2}$ and $\dfrac{1-z}{3}=\dfrac{z-1}{-3}$. The line is therefore $\dfrac{x-4}{-2}=\dfrac{y-0}{6}=\dfrac{z-1}{-3}$, with direction ratios $-2,6,-3$.
The magnitude is $\sqrt{4+36+9}=7$, so
$$l,m,n=-\frac{2}{7},\ \frac{6}{7},\ -\frac{3}{7}.$$
$$-\frac{2}{7},\ \frac{6}{7},\ -\frac{3}{7}$$
Question 3
The equations of a line are $\dfrac{3-x}{-3}=\dfrac{y+2}{-2}=\dfrac{z+2}{6}$. Find the direction cosines of a line parallel to it.
Solution. Parallel lines share direction cosines, so find those of the given line. Since $\dfrac{3-x}{-3}=\dfrac{x-3}{3}$, the direction ratios are $3,-2,6$, with magnitude $\sqrt{9+4+36}=7$.
$$l,m,n=\frac{3}{7},\ -\frac{2}{7},\ \frac{6}{7}.$$
$$\frac{3}{7},\ -\frac{2}{7},\ \frac{6}{7}$$
Question 4
Write the equations of the line through the point $(1,-2,3)$ that is parallel to the line $\dfrac{x-2}{-3}=\dfrac{y+3}{2}=\dfrac{z+5}{6}$.
Solution. The given line has direction ratios $-3,2,6$, and a parallel line may use the same ratios. Placing them at the point $(1,-2,3)$ gives
$$\frac{x-1}{-3}=\frac{y+2}{2}=\frac{z-3}{6}.$$
$$\frac{x-1}{-3}=\frac{y+2}{2}=\frac{z-3}{6}$$
Question 5
Find the Cartesian equations of the line through $(-2,4,-5)$ that is parallel to the line $\dfrac{x+3}{3}=\dfrac{4-y}{5}=\dfrac{z+8}{6}$.
Solution. Rewrite the middle term as $\dfrac{4-y}{5}=\dfrac{y-4}{-5}$. The direction ratios of the given line are then $3,-5,6$. Using them at $(-2,4,-5)$:
$$\frac{x+2}{3}=\frac{y-4}{-5}=\frac{z+5}{6}.$$
$$\frac{x+2}{3}=\frac{y-4}{-5}=\frac{z+5}{6}$$
Question 6
Write the vector equation of the line whose Cartesian equations are $\dfrac{x-5}{3}=\dfrac{y+4}{7}=\dfrac{6-z}{2}$.
Solution. Write $\dfrac{6-z}{2}=\dfrac{z-6}{-2}$. The line passes through $(5,-4,6)$ and has direction ratios $3,7,-2$. A point with position vector $\vec a$ and direction $\vec b$ gives $\vec r=\vec a+\lambda\vec b$, so
$$\vec r=(5\hat i-4\hat j+6\hat k)+\lambda(3\hat i+7\hat j-2\hat k).$$
$$\vec r=(5\hat i-4\hat j+6\hat k)+\lambda(3\hat i+7\hat j-2\hat k)$$
Question 7
The Cartesian equations of a line are $\dfrac{3-x}{5}=\dfrac{y+4}{7}=\dfrac{2z-6}{4}$. Write its vector equation.
Solution. Bring each term to the standard form. $\dfrac{3-x}{5}=\dfrac{x-3}{-5}$, and $\dfrac{2z-6}{4}=\dfrac{2(z-3)}{4}=\dfrac{z-3}{2}$. So the line is
$$\frac{x-3}{-5}=\frac{y+4}{7}=\frac{z-3}{2},$$
through $(3,-4,3)$ with direction ratios $-5,7,2$. Hence
$$\vec r=(3\hat i-4\hat j+3\hat k)+\lambda(-5\hat i+7\hat j+2\hat k).$$
$$\vec r=(3\hat i-4\hat j+3\hat k)+\lambda(-5\hat i+7\hat j+2\hat k)$$
Question 8
Write the vector equation of the line through $(1,-1,2)$ that is parallel to the line $\dfrac{x-3}{1}=\dfrac{y-1}{2}=\dfrac{z+1}{-2}$.
Solution. The given line has direction $\hat i+2\hat j-2\hat k$, and a parallel line takes the same direction. The point $(1,-1,2)$ has position vector $\hat i-\hat j+2\hat k$, so
$$\vec r=(\hat i-\hat j+2\hat k)+\lambda(\hat i+2\hat j-2\hat k).$$
$$\vec r=(\hat i-\hat j+2\hat k)+\lambda(\hat i+2\hat j-2\hat k)$$
Question 9
For the points $P(1,5,4)$ and $Q(4,1,-2)$, find the direction ratios of $PQ$.
Solution. Direction ratios of the line through two points are the differences of coordinates, $Q$ minus $P$:
$$4-1,\ 1-5,\ -2-4=3,\ -4,\ -6.$$
$$3,\ -4,\ -6$$
Question 10
The equations of a line are $\dfrac{4-x}{2}=\dfrac{y+3}{2}=\dfrac{z+2}{1}$. Find the direction cosines of a line parallel to it.
Solution. Since $\dfrac{4-x}{2}=\dfrac{x-4}{-2}$, the direction ratios are $-2,2,1$. The magnitude is $\sqrt{4+4+1}=3$, so
$$l,m,n=-\frac{2}{3},\ \frac{2}{3},\ \frac{1}{3}.$$
$$-\frac{2}{3},\ \frac{2}{3},\ \frac{1}{3}$$
Question 11
The Cartesian equations of a line are $\dfrac{x-1}{2}=\dfrac{y+2}{3}=\dfrac{5-z}{1}$. Find its vector equation.
Solution. Write $\dfrac{5-z}{1}=\dfrac{z-5}{-1}$. The line passes through $(1,-2,5)$ with direction ratios $2,3,-1$, so
$$\vec r=(\hat i-2\hat j+5\hat k)+\lambda(2\hat i+3\hat j-\hat k).$$
$$\vec r=(\hat i-2\hat j+5\hat k)+\lambda(2\hat i+3\hat j-\hat k)$$
Question 12
Find the vector equation of the line through $(1,2,3)$ parallel to the vector $3\hat i+2\hat j-2\hat k$.
Solution. The point has position vector $\hat i+2\hat j+3\hat k$, and the direction is the given vector.
$$\vec r=(\hat i+2\hat j+3\hat k)+\lambda(3\hat i+2\hat j-2\hat k).$$
$$\vec r=(\hat i+2\hat j+3\hat k)+\lambda(3\hat i+2\hat j-2\hat k)$$
Question 13
The vector equation of a line is $\vec r=(2\hat i+\hat j-4\hat k)+\lambda(\hat i-\hat j-\hat k)$. Find its Cartesian equation.
Solution. The line passes through $(2,1,-4)$ and has direction ratios $1,-1,-1$. Eliminating $\lambda$:
$$\frac{x-2}{1}=\frac{y-1}{-1}=\frac{z+4}{-1}.$$
$$\frac{x-2}{1}=\frac{y-1}{-1}=\frac{z+4}{-1}$$
Question 14
Find the Cartesian equation of the line through $(-2,4,-5)$ that is parallel to the line $\dfrac{x+3}{3}=\dfrac{y-4}{5}=\dfrac{z+8}{6}$.
Solution. Here all three terms already have the standard sign, so the direction ratios are $3,5,6$. At the point $(-2,4,-5)$:
$$\frac{x+2}{3}=\frac{y-4}{5}=\frac{z+5}{6}.$$
$$\frac{x+2}{3}=\frac{y-4}{5}=\frac{z+5}{6}$$
Question 15
A line starts from the point whose position vector is $2\hat i-\hat j+4\hat k$ and runs along $\hat i+2\hat j-\hat k$. Write it in Cartesian form.
Solution. The point is $(2,-1,4)$ and the direction ratios are $1,2,-1$. Therefore
$$\frac{x-2}{1}=\frac{y+1}{2}=\frac{z-4}{-1}.$$
$$\frac{x-2}{1}=\frac{y+1}{2}=\frac{z-4}{-1}$$
Question 16
Find the angle between the lines $\vec r=(2\hat i-5\hat j+\hat k)+\lambda(3\hat i+2\hat j+6\hat k)$ and $\vec r=(7\hat i-6\hat k)+\mu(\hat i+2\hat j+2\hat k)$.
Solution. Only the direction vectors matter: $\vec b_1=3\hat i+2\hat j+6\hat k$ and $\vec b_2=\hat i+2\hat j+2\hat k$. Then $\vec b_1\cdot\vec b_2=3+4+12=19$, $|\vec b_1|=\sqrt{9+4+36}=7$ and $|\vec b_2|=\sqrt{1+4+4}=3$.
$$\cos\theta=\frac{19}{7\times 3}=\frac{19}{21}.$$
$$\theta=\cos^{-1}\!\left(\frac{19}{21}\right)$$
Question 17
Find the angle between the lines $\dfrac{x+3}{3}=\dfrac{y-1}{5}=\dfrac{z+3}{4}$ and $\dfrac{x+1}{1}=\dfrac{y-4}{1}=\dfrac{z-5}{2}$.
Solution. Direction ratios are $3,5,4$ and $1,1,2$. The dot product is $3+5+8=16$, and the magnitudes are $\sqrt{9+25+16}=5\sqrt2$ and $\sqrt{1+1+4}=\sqrt6$.
$$\cos\theta=\frac{16}{5\sqrt2\cdot\sqrt6}=\frac{16}{5\cdot 2\sqrt3}=\frac{8}{5\sqrt3}=\frac{8\sqrt3}{15}.$$
$$\theta=\cos^{-1}\!\left(\frac{8\sqrt3}{15}\right)$$
Question 18
Show that the lines $\dfrac{x-5}{7}=\dfrac{y+2}{-5}=\dfrac{z}{1}$ and $\dfrac{x}{1}=\dfrac{y}{2}=\dfrac{z}{3}$ are at right angles.
Solution. Two lines are perpendicular when the dot product of their direction ratios is zero. The ratios are $7,-5,1$ and $1,2,3$:
$$7(1)+(-5)(2)+1(3)=7-10+3=0.$$
So $\cos\theta=0$ and the lines are perpendicular.
Shown: $7\cdot1+(-5)\cdot2+1\cdot3=0$, so the lines are perpendicular.
Question 19
The direction ratios of a line are $2,6,-9$. What are its direction cosines?
Solution. The magnitude is $\sqrt{4+36+81}=\sqrt{121}=11$, so
$$l,m,n=\frac{2}{11},\ \frac{6}{11},\ -\frac{9}{11}.$$
$$\frac{2}{11},\ \frac{6}{11},\ -\frac{9}{11}$$
Question 20
A line makes angles $90^\circ$, $135^\circ$ and $45^\circ$ with the positive $x$-, $y$- and $z$-axes respectively. Find its direction cosines.
Solution. The direction cosines are the cosines of these angles:
$$\cos 90^\circ=0,\quad \cos135^\circ=-\frac{1}{\sqrt2},\quad \cos45^\circ=\frac{1}{\sqrt2}.$$
Check: $0+\tfrac12+\tfrac12=1$.
$$0,\ -\frac{1}{\sqrt2},\ \frac{1}{\sqrt2}$$
Question 21
What are the direction cosines of the $y$-axis?
Solution. The $y$-axis makes angles $90^\circ$, $0^\circ$, $90^\circ$ with the three axes, so the direction cosines are $\cos90^\circ,\cos0^\circ,\cos90^\circ$.
$$0,\ 1,\ 0$$
Question 22
What are the direction cosines of the vector $2\hat i+\hat j-2\hat k$?
Solution. The magnitude is $\sqrt{4+1+4}=3$. Dividing the components by it:
$$\frac{2}{3},\ \frac{1}{3},\ -\frac{2}{3}.$$
$$\frac{2}{3},\ \frac{1}{3},\ -\frac{2}{3}$$
Question 23
What is the angle between the vector $\vec r=4\hat i+8\hat j+\hat k$ and the $x$-axis?
Solution. The $x$-axis has direction $\hat i$. With $|\vec r|=\sqrt{16+64+1}=9$,
$$\cos\theta=\frac{\vec r\cdot\hat i}{|\vec r|}=\frac{4}{9}.$$
$$\theta=\cos^{-1}\!\left(\frac{4}{9}\right)$$
Common mistakes
- Reading the ratio straight off a term such as $\dfrac{4-x}{2}$ as $+2$. The variable must be $x-4$ first, so the ratio is $-2$ (Questions 2, 3, 5, 6, 7, 10, 11).
- Treating $\dfrac{2z-6}{4}$ as having ratio $4$. Divide numerator and denominator by $2$ to get $\dfrac{z-3}{2}$, ratio $2$ and point coordinate $3$ (Question 7).
- Forgetting to divide by the magnitude, so the answer is a set of ratios and not cosines. The squares of direction cosines must add to $1$.
- Subtracting in the wrong order for direction ratios of $PQ$, or mixing the point with the direction in the vector form.
Practise next
The next exercise continues with the objective questions of this chapter, which test the same direction-cosine and line-equation ideas in multiple-choice form.
Shiwam's Classes: IIT JEEJEE Main and Advanced, worked in full
Subscribe