Straight Line in Space

RS Aggarwal Class 12 Maths Solutions Exercise 27A — Straight Line in Space

RS Aggarwal, Class 12 Mathematics — Straight Line in Space, Exercise 27A. All 26 questions solved.

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

Exercise 27A is about writing a line in space in vector and Cartesian form, using parallel and perpendicular lines to fix a direction, deciding whether two lines meet, and finding the foot of a perpendicular and the image of a point in a line.

Key insight. A line is fixed by one point $\vec a$ and one direction $\vec b$: $\vec r = \vec a + \lambda\vec b$, or $\dfrac{x-x_1}{l}=\dfrac{y-y_1}{m}=\dfrac{z-z_1}{n}$. A direction perpendicular to two given directions is their cross product. For a foot of perpendicular, write a general point on the line as $F$ in terms of one parameter and force $\vec{AF}\cdot\vec b = 0$; the image is then $2F – A$.

Question 1

A line passes through $(3,4,5)$ and is parallel to $2\hat i+2\hat j-3\hat k$. Find its equations in vector and Cartesian forms.

Solution. The point is $\vec a = 3\hat i+4\hat j+5\hat k$ and the direction is $\vec b = 2\hat i+2\hat j-3\hat k$. Substituting into $\vec r=\vec a+\lambda\vec b$ gives the vector form, and reading off the direction ratios $2,2,-3$ gives the Cartesian form.

$$\vec r=(3\hat i+4\hat j+5\hat k)+\lambda(2\hat i+2\hat j-3\hat k),\qquad \frac{x-3}{2}=\frac{y-4}{2}=\frac{z-5}{-3}$$

Question 2

Through the point $(2,1,-3)$ a line is drawn along the vector $\hat i-2\hat j+3\hat k$. Write down this line both as a vector equation and in Cartesian form.

Solution. Here $\vec a=2\hat i+\hat j-3\hat k$ and $\vec b=\hat i-2\hat j+3\hat k$. Since $z_1=-3$, the last ratio is $\dfrac{z-(-3)}{3}=\dfrac{z+3}{3}$.

$$\vec r=(2\hat i+\hat j-3\hat k)+\lambda(\hat i-2\hat j+3\hat k),\qquad \frac{x-2}{1}=\frac{y-1}{-2}=\frac{z+3}{3}$$

Question 3

A line goes through the point whose position vector is $2\hat i+\hat j-5\hat k$ and runs along $\hat i+3\hat j-\hat k$. Obtain its vector equation, then derive the Cartesian equations from it.

Solution. With $\vec a=2\hat i+\hat j-5\hat k$ and $\vec b=\hat i+3\hat j-\hat k$ the vector form is $\vec r=\vec a+\lambda\vec b$. Taking components of $\vec r=x\hat i+y\hat j+z\hat k$ gives $x=2+\lambda$, $y=1+3\lambda$, $z=-5-\lambda$; eliminating $\lambda$ gives the Cartesian form.

$$\vec r=(2\hat i+\hat j-5\hat k)+\lambda(\hat i+3\hat j-\hat k),\qquad \frac{x-2}{1}=\frac{y-1}{3}=\frac{z+5}{-1}$$

Question 4

A line is drawn in the direction $\hat i+\hat j-2\hat k$ through the point with position vector $2\hat i-\hat j-4\hat k$. Find its equations in vector and Cartesian forms.

Solution. The point is $(2,-1,-4)$ and the direction is $(1,1,-2)$, so $\vec r=(2\hat i-\hat j-4\hat k)+\lambda(\hat i+\hat j-2\hat k)$. Eliminating $\lambda$ from $x=2+\lambda$, $y=-1+\lambda$, $z=-4-2\lambda$ gives the Cartesian form with $y+1$ and $z+4$.

$$\vec r=(2\hat i-\hat j-4\hat k)+\lambda(\hat i+\hat j-2\hat k),\qquad \frac{x-2}{1}=\frac{y+1}{1}=\frac{z+4}{-2}$$

Question 5

The Cartesian equations of a line are $\dfrac{x-3}{2}=\dfrac{y+2}{-5}=\dfrac{z-6}{4}$. Find its vector equation.

Solution. Compare with $\dfrac{x-x_1}{l}=\dfrac{y-y_1}{m}=\dfrac{z-z_1}{n}$. The line passes through $(3,-2,6)$ and has direction ratios $2,-5,4$, so $\vec a=3\hat i-2\hat j+6\hat k$ and $\vec b=2\hat i-5\hat j+4\hat k$.

$$\vec r=(3\hat i-2\hat j+6\hat k)+\lambda(2\hat i-5\hat j+4\hat k)$$

Question 6

A line is given by $3x+1=6y-2=1-z$. Determine one point it must pass through, a set of direction ratios, and the equation of the line in vector form.

Solution. To reach standard form, make each of $x,y,z$ appear with coefficient $1$. Dividing by $6$ throughout:

$$\frac{3x+1}{6}=\frac{6y-2}{6}=\frac{1-z}{6}\ \Longrightarrow\ \frac{x+\tfrac13}{2}=\frac{y-\tfrac13}{1}=\frac{z-1}{-6}.$$

The fixed point is $\left(-\tfrac13,\tfrac13,1\right)$ and the direction ratios are $2,1,-6$. Hence the vector form.

$$\text{Point }\left(-\tfrac13,\tfrac13,1\right),\ \text{d.r.’s }(2,1,-6),\qquad \vec r=\left(-\tfrac13\hat i+\tfrac13\hat j+\hat k\right)+\lambda(2\hat i+\hat j-6\hat k)$$

Question 7

Find the Cartesian equations of the line through $(1,3,-2)$ parallel to the line $\dfrac{x+1}{3}=\dfrac{y-4}{5}=\dfrac{z+3}{-6}$, and also its vector form.

Solution. Parallel lines share direction ratios, so the required line has direction $(3,5,-6)$ and passes through $(1,3,-2)$. Note that the point $(-1,4,-3)$ on the given line plays no part.

$$\frac{x-1}{3}=\frac{y-3}{5}=\frac{z+2}{-6},\qquad \vec r=(\hat i+3\hat j-2\hat k)+\lambda(3\hat i+5\hat j-6\hat k)$$

Question 8

Find the equations of the line through $(1,-2,3)$ parallel to the line $\dfrac{x-6}{3}=\dfrac{y-2}{-4}=\dfrac{z+7}{5}$, and also its vector form.

Solution. The given line has direction ratios $3,-4,5$, so the required line, through $(1,-2,3)$, has the same direction.

$$\frac{x-1}{3}=\frac{y+2}{-4}=\frac{z-3}{5},\qquad \vec r=(\hat i-2\hat j+3\hat k)+\lambda(3\hat i-4\hat j+5\hat k)$$

Question 9

Take the line $\dfrac{-x-2}{1}=\dfrac{y+3}{7}=\dfrac{2z-6}{3}$. Give the Cartesian and the vector equations of the line that goes through $(1,2,3)$ and is parallel to it.

Solution. The given equations are not in standard form. Write $-x-2=-(x+2)$ and $2z-6=2(z-3)$:

$$\frac{x+2}{-1}=\frac{y+3}{7}=\frac{z-3}{3/2}.$$

The direction ratios are $-1,7,\tfrac32$; multiplying by $2$ gives the whole-number set $-2,14,3$. The required line has this direction and passes through $(1,2,3)$.

$$\frac{x-1}{-2}=\frac{y-2}{14}=\frac{z-3}{3},\qquad \vec r=(\hat i+2\hat j+3\hat k)+\lambda(-2\hat i+14\hat j+3\hat k)$$

Question 10

Find the equations of the line through $(-1,3,-2)$ perpendicular to each of the lines $\dfrac{x}{1}=\dfrac{y}{2}=\dfrac{z}{3}$ and $\dfrac{x+2}{-3}=\dfrac{y-1}{2}=\dfrac{z+1}{5}$.

Solution. A direction perpendicular to both given directions $(1,2,3)$ and $(-3,2,5)$ is their cross product:

$$\begin{vmatrix}\hat i&\hat j&\hat k\\1&2&3\\-3&2&5\end{vmatrix}=(10-6)\hat i-(5+9)\hat j+(2+6)\hat k=4\hat i-14\hat j+8\hat k.$$

Dividing by $2$ gives the direction $(2,-7,4)$. The line passes through $(-1,3,-2)$.

$$\frac{x+1}{2}=\frac{y-3}{-7}=\frac{z+2}{4},\qquad \vec r=(-\hat i+3\hat j-2\hat k)+\lambda(2\hat i-7\hat j+4\hat k)$$

Question 11

Two lines are given: $\dfrac{x-8}{8}=\dfrac{y+19}{-16}=\dfrac{z-10}{7}$ and $\dfrac{x-15}{3}=\dfrac{y+29}{8}=\dfrac{z-5}{-5}$. A third line passes through $(1,2,-4)$ and is at right angles to both. Obtain its Cartesian and vector equations.

Solution. The required direction is the cross product of $(8,-16,7)$ and $(3,8,-5)$:

$$\begin{vmatrix}\hat i&\hat j&\hat k\\8&-16&7\\3&8&-5\end{vmatrix}=(80-56)\hat i-(-40-21)\hat j+(64+48)\hat k=24\hat i+61\hat j+112\hat k.$$

The line passes through $(1,2,-4)$ with this direction.

$$\frac{x-1}{24}=\frac{y-2}{61}=\frac{z+4}{112},\qquad \vec r=(\hat i+2\hat j-4\hat k)+\lambda(24\hat i+61\hat j+112\hat k)$$

Question 12

Prove that the lines $\dfrac{x-4}{1}=\dfrac{y+3}{-4}=\dfrac{z+1}{7}$ and $\dfrac{x-1}{2}=\dfrac{y+1}{-3}=\dfrac{z+10}{8}$ intersect and find their point of intersection.

Solution. A general point of the first line is $(4+s,\,-3-4s,\,-1+7s)$ and of the second is $(1+2t,\,-1-3t,\,-10+8t)$. Equating coordinates:

$$4+s=1+2t,\qquad -3-4s=-1-3t,\qquad -1+7s=-10+8t.$$

From the first, $s=2t-3$. Putting this in the second: $-3-8t+12=-1-3t$, so $10=5t$, $t=2$ and $s=1$. Check the third equation: $-1+7=6$ and $-10+16=6$. It holds, so the lines intersect. The point is $(4+1,\,-3-4,\,-1+7)=(5,-7,6)$.

$$\text{The lines intersect at }(5,-7,6)$$

Question 13

Two lines are given by $$\frac{x-1}{2}=\frac{y-2}{3}=\frac{z-3}{4}\quad\text{and}\quad\frac{x-4}{5}=\frac{y-1}{2}=z.$$ Prove that they have a common point and locate it.

Solution. Points on the lines: $(1+2s,\,2+3s,\,3+4s)$ and $(4+5t,\,1+2t,\,t)$. The third coordinates give $t=3+4s$. The second coordinates give $2+3s=1+2t=1+6+8s$, so $-5s=5$, hence $s=-1$ and $t=-1$. Check the first coordinates: $1+2(-1)=-1$ and $4+5(-1)=-1$. They agree, so the lines meet, at $(-1,-1,-1)$.

$$\text{The lines intersect at }(-1,-1,-1)$$

Question 14

Consider the line $$\frac{x-1}{2}=\frac{y+1}{3}=z$$ and the line given by $\dfrac{x+1}{5}=\dfrac{y-2}{1}$ lying in the plane $z=2$. Prove that the two lines never meet.

Solution. Points on the lines: $(1+2s,\,-1+3s,\,s)$ and $(-1+5t,\,2+t,\,2)$. The third coordinates force $s=2$. Then the point on the first line is $(5,5,2)$. For the second line the $x$-coordinate gives $-1+5t=5$, so $t=\tfrac65$, but the $y$-coordinate gives $2+t=5$, so $t=3$. These conflict, so no common point exists. The directions $(2,3,1)$ and $(5,1,0)$ are not proportional, so the lines are not parallel either.

$$\text{No common point exists, so the lines do not intersect.}$$

Question 15

Find the foot of the perpendicular drawn from $(1,2,3)$ to the line $\dfrac{x-6}{3}=\dfrac{y-7}{2}=\dfrac{z-7}{-2}$, and the length of the perpendicular.

Solution. Let $A=(1,2,3)$. A general point of the line is $F=(6+3\lambda,\,7+2\lambda,\,7-2\lambda)$, so $\vec{AF}=(5+3\lambda,\,5+2\lambda,\,4-2\lambda)$. For $AF$ to be perpendicular to the direction $(3,2,-2)$:

$$3(5+3\lambda)+2(5+2\lambda)-2(4-2\lambda)=17+17\lambda=0\Rightarrow\lambda=-1.$$

Then $F=(3,5,9)$ and $\vec{AF}=(2,3,6)$, with $|AF|=\sqrt{4+9+36}=7$.

$$\text{Foot }(3,5,9),\quad\text{length }7\text{ units}$$

Question 16

From the point $(2,-1,5)$ a perpendicular is dropped on the line $\dfrac{x-11}{10}=\dfrac{y+2}{-4}=\dfrac{z+8}{-11}$. Determine where it lands and how long it is.

Solution. Let $A=(2,-1,5)$ and $F=(11+10\lambda,\,-2-4\lambda,\,-8-11\lambda)$. Then $\vec{AF}=(9+10\lambda,\,-1-4\lambda,\,-13-11\lambda)$. Perpendicularity to $(10,-4,-11)$:

$$10(9+10\lambda)-4(-1-4\lambda)-11(-13-11\lambda)=237+237\lambda=0\Rightarrow\lambda=-1.$$

So $F=(1,2,3)$, $\vec{AF}=(-1,3,-2)$ and the length is $\sqrt{1+9+4}=\sqrt{14}$.

$$\text{Foot }(1,2,3),\quad\text{length }\sqrt{14}\text{ units}$$

Question 17

Find the vector and Cartesian equations of the line through $A(3,4,-6)$ and $B(5,-2,7)$.

Solution. The direction is $\vec{AB}=(5-3,\,-2-4,\,7+6)=(2,-6,13)$. Use point $A$.

$$\vec r=(3\hat i+4\hat j-6\hat k)+\lambda(2\hat i-6\hat j+13\hat k),\qquad \frac{x-3}{2}=\frac{y-4}{-6}=\frac{z+6}{13}$$

Question 18

Find the vector and Cartesian equations of the line through $A(2,-3,0)$ and $B(-2,4,3)$.

Solution. $\vec{AB}=(-2-2,\,4+3,\,3-0)=(-4,7,3)$. Take $A$ as the point; since its $z$-coordinate is $0$, the last ratio is simply $\dfrac{z}{3}$.

$$\vec r=(2\hat i-3\hat j)+\lambda(-4\hat i+7\hat j+3\hat k),\qquad \frac{x-2}{-4}=\frac{y+3}{7}=\frac{z}{3}$$

Question 19

Find the vector and Cartesian equations of the line joining the points with position vectors $\hat i-2\hat j+\hat k$ and $\hat i+3\hat j-2\hat k$.

Solution. The points are $(1,-2,1)$ and $(1,3,-2)$. The direction is their difference, $(0,5,-3)$. The $x$-component of the direction is $0$, which means $x$ stays equal to $1$ on the whole line; in the symmetric form this is written as a zero denominator.

$$\vec r=(\hat i-2\hat j+\hat k)+\lambda(5\hat j-3\hat k),\qquad \frac{x-1}{0}=\frac{y+2}{5}=\frac{z-1}{-3}$$

Question 20

Find the vector equation of the line through $A(3,-2,1)$ parallel to the line joining $B(-2,4,2)$ and $C(2,3,3)$, and also its Cartesian equations.

Solution. The direction is $\vec{BC}=(2+2,\,3-4,\,3-2)=(4,-1,1)$. The required line passes through $A(3,-2,1)$ with this direction.

$$\vec r=(3\hat i-2\hat j+\hat k)+\lambda(4\hat i-\hat j+\hat k),\qquad \frac{x-3}{4}=\frac{y+2}{-1}=\frac{z-1}{1}$$

Question 21

A line goes through the point $\hat i+2\hat j-3\hat k$ and is parallel to the segment joining the points $\hat i-\hat j+5\hat k$ and $2\hat i+3\hat j-4\hat k$. Write its vector equation and the equivalent Cartesian equations.

Solution. The direction is $(2\hat i+3\hat j-4\hat k)-(\hat i-\hat j+5\hat k)=\hat i+4\hat j-9\hat k$. The line passes through $(1,2,-3)$.

$$\vec r=(\hat i+2\hat j-3\hat k)+\lambda(\hat i+4\hat j-9\hat k),\qquad \frac{x-1}{1}=\frac{y-2}{4}=\frac{z+3}{-9}$$

Question 22

The line $BC$ joins $B(1,4,6)$ and $C(5,4,4)$. Locate the point where the perpendicular from $A(1,2,1)$ meets it.

Solution. $\vec{BC}=(4,0,-2)$, which we shorten to the direction $(2,0,-1)$. A point on the line is $F=(1+2\mu,\,4,\,6-\mu)$, so $\vec{AF}=(2\mu,\,2,\,5-\mu)$. Setting $\vec{AF}\cdot(2,0,-1)=0$:

$$4\mu-(5-\mu)=5\mu-5=0\Rightarrow\mu=1.$$

$$\text{Foot }(3,4,5)$$

Question 23

Points $B(0,-1,3)$ and $C(2,-3,-1)$ determine a line. Locate the point on it where the perpendicular from $A(1,8,4)$ lands.

Solution. $\vec{BC}=(2,-2,-4)$, shortened to $(1,-1,-2)$. A point on the line is $F=(\mu,\,-1-\mu,\,3-2\mu)$, so $\vec{AF}=(\mu-1,\,-9-\mu,\,-1-2\mu)$. Then

$$(\mu-1)-(-9-\mu)-2(-1-2\mu)=6\mu+10=0\Rightarrow\mu=-\tfrac53.$$

So $F=\left(-\tfrac53,\,-1+\tfrac53,\,3+\tfrac{10}3\right)=\left(-\tfrac53,\tfrac23,\tfrac{19}3\right)$.

$$\text{Foot }\left(-\tfrac53,\tfrac23,\tfrac{19}{3}\right)$$

Question 24

Find the image of the point $(0,2,3)$ in the line $\dfrac{x+3}{5}=\dfrac{y-1}{2}=\dfrac{z+4}{3}$.

Solution. The image is the reflection, so its midpoint with $A=(0,2,3)$ is the foot $F$ of the perpendicular. Let $F=(-3+5\lambda,\,1+2\lambda,\,-4+3\lambda)$; then $\vec{AF}=(-3+5\lambda,\,-1+2\lambda,\,-7+3\lambda)$ and

$$5(-3+5\lambda)+2(-1+2\lambda)+3(-7+3\lambda)=38\lambda-38=0\Rightarrow\lambda=1.$$

Thus $F=(2,3,-1)$ and the image is $2F-A=(4-0,\,6-2,\,-2-3)$.

$$\text{Image }(4,4,-5)$$

Question 25

Find the image of the point $(5,9,3)$ in the line $\dfrac{x-1}{2}=\dfrac{y-2}{3}=\dfrac{z-3}{4}$.

Solution. Let $F=(1+2\lambda,\,2+3\lambda,\,3+4\lambda)$ be the foot from $A=(5,9,3)$. Then $\vec{AF}=(-4+2\lambda,\,-7+3\lambda,\,4\lambda)$ and

$$2(-4+2\lambda)+3(-7+3\lambda)+4(4\lambda)=29\lambda-29=0\Rightarrow\lambda=1.$$

So $F=(3,5,7)$ and the image is $2F-A=(6-5,\,10-9,\,14-3)$.

$$\text{Image }(1,1,11)$$

Question 26

Find the image of the point $(2,-1,5)$ in the line $\vec r=(11\hat i-2\hat j-8\hat k)+\lambda(10\hat i-4\hat j-11\hat k)$.

Solution. This is the same point and line as in Question 16, so the foot is $F=(1,2,3)$ (at $\lambda=-1$). The image is $2F-A=(2-2,\,4+1,\,6-5)$.

$$\text{Image }(0,5,1)$$

Common mistakes

  • Copying a position vector’s sign wrongly into the Cartesian form: a point with $z_1=-4$ gives $z+4$, not $z-4$.
  • Reading the direction from a non-standard form such as $\dfrac{-x-2}{1}$ or $2z-6$ without first writing $-(x+2)$ and $2(z-3)$; the coefficients of $x$ and $z$ change the direction ratios.
  • Subtracting the points in the wrong order or mis-signing one component when finding $\vec{AB}$; the direction should be consistent in all three components.
  • In intersection questions, solving two equations for $s$ and $t$ and forgetting to check the third. The lines meet only if all three hold.
  • Stopping at the foot of the perpendicular in image questions; the image is $2F-A$.

Practise next

The next set, Exercise 27B, continues with angles between lines and further line problems in space.

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

Subscribe