In the previous section, we saw the method to find the angle between a line and a plane. With that, we have completed all the topics related to three dimensional geometry for class 12. In this section, we will see some miscellaneous examples.
Solved example 27.63
Show that the line joining the origin to the point (2,1,1) is perpendicular to the line determined by the points (3,5,−1), (4,3,−1)
Solution:
1. Let us name the four points:
O(0,0,0), P(2,1,1), Q(3,5,−1) and R(4,3,−1)
2. Now we write the direction ratios of OP:
$\small{A_1 = (2-0) = 2,~B_1 = (1-0) = 1,~C_1 = (1-0) = 1}$
3. Next we write the direction ratios of QR:
$\small{A_2 = (4-3) = 1,~B_2 = (3-5) = -2,~C_2 = (-1-(-1)) = 0}$
4. Finally, we calculate $\small{A_1 A_2 + B_1 B_2 + C_1 C_2}$
We get: (2)(1) + (1)(−2) + (1)(0)
= 2 − 2 + 0 = 0
5. Since $\small{A_1 A_2 + B_1 B_2 + C_1 C_2 = 0}$, we can write:
OP is perpendicular to QR
Solved example 27.64
If $\small{l_1,~m_1,~n_1~\text{and}~l_2,~m_2,~n_2}$ are the direction cosines of two mutually perpendicular lines, show that the direction cosines of the line perpendicular to both of these are:
$\small{m_1 n_2 – m_2 n_1,~n_1 l_2 – n_2 l_1,~l_1 m_2 – l_2 m_1}$
Solution:
1. Let us name the lines:
• Line $\small{L_1}$ has the direction cosines $\small{l_1,~m_1,~n_1}$
• Line $\small{L_2}$ has the direction cosines $\small{l_2,~m_2,~n_2}$
• Line $\small{L_3}$ is perpendicular to both $\small{L_1~\text{and}~L_2}$
2. We are asked to show that:
Direction cosines of $\small{L_3}$ are: $\small{m_1 n_2 – m_2 n_1,~n_1 l_2 – n_2 l_1,~l_1 m_2 – l_2 m_1}$
3. Based on the direction cosines, we can directly write unit vectors:
• If $\small{\hat{a}}$ is a unit vector parallel to $\small{L_1}$, then we get:
$\small{\hat{a}=l_1 \hat{i}+m_1 \hat{j}+n_1 \hat{k}}$
(Recall that, if all the three coefficients are direction cosines, the vector will be an unit vector. This is because, $\small{l^2 + m^2 + n^2}$ is always equal to 1)
• If $\small{\hat{b}}$ is a unit vector parallel to $\small{L_2}$, then we get:
$\small{\hat{b}=l_2 \hat{i}+m_2 \hat{j}+n_2 \hat{k}}$
4. The cross product of the above two unit vectors, will be a vector parallel to $\small{L_3}$
• The cross product is:
$\left|\begin{array}{r} \hat{i} &{ \hat{j} } &{ \hat{k} }
\\ l_{1} &{ m_{1} } &{ n_{1} }
\\ l_{2} &{ m_{2} } &{ n_{2} }
\\ \end{array}\right|$
• Expanding the determinant, we get:
$\small{\left(m_1 n_2 – m_2 n_1 \right)\hat{i}-\left(l_1 n_2 – l_2 n_1 \right)\hat{j}+\left(l_1 m_2 – l_2 m_1 \right)\hat{k}}$
• Adjusting for the −ve sign of the middle term, we can write:
$\small{\left(m_1 n_2 – m_2 n_1 \right)\hat{i}+\left(n_1 l_2 – n_2 l_1 \right)\hat{j}+\left(l_1 m_2 – l_2 m_1 \right)\hat{k}}$
is a vector parallel to $\small{L_3}$
5. Based on the coefficients of the cross product, we can write:
The direction ratios of $\small{L_3}$ are: $\small{\left(m_1 n_2 – m_2 n_1 \right),~\left(n_1 l_2 – n_2 l_1 \right),~\left(l_1 m_2 – l_2 m_1 \right)}$
• These direction ratios are direction cosines only if the cross product is a unit vector.
6. So our next task is to prove that the cross product is a unit vector.
• We have: $\small{\vec{a} \times \vec{b}=\left|\vec{a} \right|\,\left|\vec{b} \right|\,\sin\theta\,\hat{n}}$
• Here,
♦ $\small{\left|\vec{a} \right|}$ = 1
♦ $\small{\left|\vec{b} \right|}$ = 1
♦ $\small{\theta}$ = 90 degrees
♦ $\small{\hat{n}}$ is a unit vector perpendicular to the plane of $\small{\vec{a}~\text{and}~\vec{b}}$
• Substituting these values, we get:
$\small{\vec{a} \times \vec{b}=(1)(1)\left(\sin \left(\frac{\pi}{2} \right) \right)\hat{n} = (1)(1)(1)\hat{n}}$
• So the cross product is indeed a unit vector.
7. Therefore, the direction ratios written in (5) are direction ratios.
Solved example 27.65
Find the angle between the lines whose direction ratios are a, b, c and b−c, c−a, a−b
Solution:
1. Let us name the lines:
• Line $\small{L_1}$ has the direction ratios $\small{a,~b,~c}$
• Line $\small{L_2}$ has the direction ratios $\small{b-c,~c-a,~a-b}$
2. Based on the direction ratios, we can write parallel vectors:
• If $\small{\vec{a}}$ is parallel to $\small{L_1}$, we get:
$\small{\vec{a}=a\hat{i}+b\hat{j}+c\hat{k}}$
• If $\small{\vec{b}}$ is parallel to $\small{L_2}$, we get:
$\small{\vec{b}=(b-c)\hat{i}+(c-a)\hat{j}+(a-b)\hat{k}}$
3. The angle between $\small{\vec{a}~\text{and}~\vec{b}}$ is same as the angle between $\small{L_1~\text{and}~L_2}$
4. So our next task is to find the angle $\small{\theta}$ between $\small{\vec{a}~\text{and}~\vec{b}}$
We have:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{\cos \theta} & {~=~} &{\frac{\vec{a}.\vec{b}}{\left|\vec{a} \right|\,\left|\vec{b} \right|}}
\\ {~\color{magenta} 2 } &{} &{} & {~=~} &{\frac{\left(a\hat{i}+b\hat{j}+c\hat{k} \right).\left((b-c)\hat{i}+(c-a)\hat{j}+(a-b)\hat{k} \right)}{\left(\sqrt{a^2 + b^2 + c^2} \right)\left(\sqrt{(b-c)^2 + (c-a)^2 + (a-b)^2} \right)}}
\\ {~\color{magenta} 3 } &{} &{} & {~=~} &{\frac{a(b-c)+b(c-a)+c(a-b)}{\left(\sqrt{a^2 + b^2 + c^2} \right)\left(\sqrt{(b-c)^2 + (c-a)^2 + (a-b)^2} \right)}}
\\ {~\color{magenta} 4 } &{} &{} & {~=~} &{\frac{ab-ac+bc-ba+ca-cb}{\left(\sqrt{a^2 + b^2 + c^2} \right)\left(\sqrt{(b-c)^2 + (c-a)^2 + (a-b)^2} \right)}}
\\ {~\color{magenta} 5 } &{} &{} & {~=~} &{\frac{0}{\left(\sqrt{a^2 + b^2 + c^2} \right)\left(\sqrt{(b-c)^2 + (c-a)^2 + (a-b)^2} \right)}}
\\ {~\color{magenta} 6 } &{} &{} & {~=~} &{0}
\\ \end{array}}$
5. Therefore, $\small{\theta=\cos^{-1}(0) = 90^{\circ}}$
Solved example 27.66
Find the equation of a line parallel to x-axis and passing through the origin
Solution:
1. We can write the equation of a line if we have two items:
♦ Coordinates $\small{\left(x_1, y_1, z_1 \right)}$ of a point on the required line
♦ A vector parallel to the required line
2. In this problem, we have both items.
♦ The line passes through origin. So $\small{\left(x_1, y_1, z_1 \right)~=~(0,0,0)}$
♦ The vector parallel to x-axis is $\small{\hat{i}+0\hat{j}+0\hat{k}}$
3. The general form is: $\small{\frac{x – x_1}{A}=\frac{y-y_1}{B}=\frac{z-z_1}{C}}$
4. Based on the vector parallel to x-axis that we wrote in (2), we get:
A = 1, B = 0 and C= 0
5. Substituting in the general form in (3), we get:
$\small{\frac{x – 0}{1}=\frac{y-0}{0}=\frac{z-0}{0}}$
$\small{\Rightarrow \frac{x}{1}=\frac{y}{0}=\frac{z}{0}}$
Solved example 27.67
If the coordinates of the points A, B, C, D be (1,2,3), (4,5,7), (−4,3,−6) and (2,9,2) respectively, then find the angle between the lines AB and CD
Solution:
1. Based on the coordinates, we can write:
♦ Direction ratios of AB are: 3, 3, 4
♦ Direction ratios of CD are: 6, 6, 8
2. By close inspection, we see that, the direction ratios are proportional.
We can write: $\small{\frac{3}{6}=\frac{3}{6}=\frac{4}{8}=\frac{1}{2}}$
3. Since the direction ratios are proportional, the two lines are parallel. Therefore, the angle between the two lines is 0 degrees.
Solved example 27.68
If the lines
$\small{\frac{x-1}{-3}=\frac{y-2}{2k}=\frac{z-3}{2}~\text{and}~\frac{x-1}{3k}=\frac{y-1}{1}=\frac{z-6}{-5}}$
are perpendicular, find the value of k
Solution:
1. When two lines are perpendicular, we have:
$\small{A_1 A_2 + B_1 B_2 + C_1 C_2 = 0}$
2. In our present problem, we have:
• $\small{A_1 = -3,~B_1 = 2k,~C_1 = 2}$
• $\small{A_2 = 3k,~B_2 = 1,~C_2 = -5}$
3. Substituting in (1), we get:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{A_1 A_2 + B_1 B_2 + C_1 C_2} & {~=~} &{0}
\\ {~\color{magenta} 2 } &{\Rightarrow} &{(-3)(3k)+(2k)(1)+(2)(-5)} & {~=~} &{0}
\\ {~\color{magenta} 3 } &{\Rightarrow} &{-9k+2k-10} & {~=~} &{0}
\\ {~\color{magenta} 4 } &{\Rightarrow} &{-7k} & {~=~} &{10}
\\ {~\color{magenta} 5 } &{\Rightarrow} &{k} & {~=~} &{\frac{-10}{7}}
\\ \end{array}}$
Solved example 27.69
Find the vector equation of the line passing through (1,2,3) and perpendicular to the plane $\small{\vec{r}.\left(\hat{i}+2\hat{j}-5\hat{k} \right)+9 = 0}$
Solution:
1. The required line should be perpendicular to the given plane.
• So the required line should be parallel to the vector $\small{\hat{i}+2\hat{j}-5\hat{k}}$
2. The required line should pass through (1,2,3).
• Thus we have a point and a vector. The general form is:
$\small{\vec{r}=\vec{u} + \lambda \vec{v}}$
3. In our present problem,
$\small{\vec{u} = \hat{i}+2\hat{j}+3\hat{k}}$
$\small{\vec{v} = \hat{i}+2\hat{j}-5\hat{k}}$
4. So the required line is: $\small{\vec{r}=\hat{i}+2\hat{j}+3\hat{k} + \lambda \left(\hat{i}+2\hat{j}-5\hat{k} \right)}$
Solved example 27.70
A line makes angles $\small{\alpha, \beta, \gamma ~\text{and}~\delta}$ with the diagonals of a cube, prove that
$\small{\cos^2 \alpha + \cos^2 \beta+ \cos^2 \gamma + \cos^2 \delta = \frac{4}{3}}$
Solution:
1. In fig.27.28 below, the brown lines define the cube OADBFEGC
• The vertices are shown as brown spheres.
• Each side of the cube has a length of ‘a’ units
![]() |
| Fig.27.28 |
• The four diagonals are also drawn.
♦ Diagonal OE is drawn in white color
♦ Diagonal AF is drawn in yellow color
♦ Diagonal BG is drawn in magenta color
♦ Diagonal CD is drawn in cyan color
2. Our next task is to find the direction cosines of each one of the four diagonals
• We can find the direction cosines of any line if we know the coordinates of any two points on that line. See fig.27.3 of the first section of this chapter.
3. First we consider the diagonal OE.
• The two points are: O(0,0,0) and E(a,a,a)
• So the direction cosines of OE are:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{l} & {~=~} &{\frac{a-0}{\sqrt{(a-0)^2 + (a-0)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ {~\color{magenta} 2 } &{{}} &{m} & {~=~} &{\frac{a-0}{\sqrt{(a-0)^2 + (a-0)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ {~\color{magenta} 3 } &{{}} &{n} & {~=~} &{\frac{a-0}{\sqrt{(a-0)^2 + (a-0)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ \end{array}}$
4. Next we consider the diagonal AF
• The two points are: A(a,0,0) and F(0,a,a)
• So the direction cosines of AF are:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{l} & {~=~} &{\frac{0-a}{\sqrt{(0-a)^2 + (a-0)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{-a}{\sqrt{3a^2}}=\frac{-1}{\sqrt{3}}}
\\ {~\color{magenta} 2 } &{{}} &{m} & {~=~} &{\frac{a-0}{\sqrt{(0-a)^2 + (a-0)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ {~\color{magenta} 3 } &{{}} &{n} & {~=~} &{\frac{a-0}{\sqrt{(0-a)^2 + (a-0)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ \end{array}}$
5. Next we consider the diagonal BG
• The two points are: B(0,a,0) and G(a,0,a)
• So the direction cosines of BG are:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{l} & {~=~} &{\frac{a-0}{\sqrt{(a-0)^2 + (0-a)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ {~\color{magenta} 2 } &{{}} &{m} & {~=~} &{\frac{0-a}{\sqrt{(a-0)^2 + (0-a)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{-a}{\sqrt{3a^2}}=\frac{-1}{\sqrt{3}}}
\\ {~\color{magenta} 3 } &{{}} &{n} & {~=~} &{\frac{a-0}{\sqrt{(a-0)^2 + (0-a)^2 + (a-0)^2}}}
\\ {~\color{magenta} {} } &{} &{} & {~=~} &{\frac{a}{\sqrt{3a^2}}=\frac{1}{\sqrt{3}}}
\\ \end{array}}$
6. In a similar way, we can find the direction cosines of the remaining diagonal CD. Let us compile the results:
$\small{\begin{array}{ll} { } &{{}} &{l} & {~m~} &{n}
\\ {OE } &{} &{\frac{1}{\sqrt{3}}} & {\frac{1}{\sqrt{3}}} &{\frac{1}{\sqrt{3}}}
\\ {AF } &{} &{\frac{-1}{\sqrt{3}}} & {\frac{1}{\sqrt{3}}} &{\frac{1}{\sqrt{3}}}
\\ {BG } &{} &{\frac{1}{\sqrt{3}}} & {\frac{-1}{\sqrt{3}}} &{\frac{1}{\sqrt{3}}}
\\ {CD } &{} &{\frac{1}{\sqrt{3}}} & {\frac{1}{\sqrt{3}}} &{\frac{-1}{\sqrt{3}}}
\\ \end{array}}$
7. Let the given line be $\small{L_1}$
♦ It makes an angle of $\small{\alpha}$ with the diagonal OE
♦ It makes an angle of $\small{\beta}$ with the diagonal AF
♦ It makes an angle of $\small{\gamma}$ with the diagonal BG
♦ It makes an angle of $\small{\delta}$ with the diagonal CD
8. Let the direction cosines of $\small{L_1}$ be $\small{l_1,m_1,n_1}$
• Then the unit vector parallel to $\small{L_1}$ will be:
$\small{\hat{L_1}=l_1\hat{i}+m_1\hat{j}+n_1\hat{k}}$
9. In step (6), we have the direction cosines of diagonal OE
• So the unit vector parallel to OE will be:
$\small{\hat{OE}=\left(\frac{1}{\sqrt{3}} \right)\hat{i}+\left(\frac{1}{\sqrt{3}} \right)\hat{j}+\left(\frac{1}{\sqrt{3}} \right)\hat{k}}$
10. Now we have two unit vectors:
♦ From (8), we have the unit vector parallel to $\small{L_1}$
♦ From (9), we have the unit vector parallel to diagonal OE.
• The angle between them is $\small{\alpha}$. We can write:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{\cos \alpha} & {~=~} &{\frac{\hat{L_1}.\hat{OE}}{\left|\hat{L_1} \right|\,\left|\hat{OE} \right|}}
\\ {~\color{magenta} 2 } &{} &{} & {~=~} &{\frac{\left(l_1\hat{i}+m_1\hat{j}+n_1\hat{k} \right).\left(\left(\frac{1}{\sqrt{3}} \right)\hat{i}+\left(\frac{1}{\sqrt{3}} \right)\hat{j}+\left(\frac{1}{\sqrt{3}} \right)\hat{k} \right)}{(1)(1)}}
\\ {~\color{magenta} 3 } &{} &{} & {~=~} &{\frac{l_1}{\sqrt{3}}+\frac{m_1}{\sqrt{3}}+\frac{n_1}{\sqrt{3}}}
\\ {~\color{magenta} 4 } &{} &{} & {~=~} &{\frac{1}{\sqrt{3}}\left(l_1 + m_1 +n_1 \right)}
\\ \end{array}}$
11. Repeating steps (9) and (10) for diagonal AF, we get:
$\small{\cos \beta = \frac{1}{\sqrt{3}}\left(-l_1 + m_1 +n_1 \right)}$
• For diagonal BG, we get:
$\small{\cos \gamma = \frac{1}{\sqrt{3}}\left(l_1 - m_1 +n_1 \right)}$
• For diagonal CD, we get:
$\small{\cos \delta = \frac{1}{\sqrt{3}}\left(l_1 + m_1 -n_1 \right)}$
12. Now we can square and add:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{\cos^2 \alpha + \cos^2 \beta + \cos^2 \gamma + \cos^2 \delta} & {~=~} &{\frac{1}{3}\big[\left(l_1 + m_1 +n_1 \right)^2 \big.}
\\ {~\color{magenta} 2 } &{} &{} & {~~} &{+\left(-l_1 + m_1 +n_1 \right)^2}
\\ {~\color{magenta} 3 } &{} &{} & {~~} &{+\left(l_1 - m_1 +n_1 \right)^2}
\\ {~\color{magenta} 4 } &{} &{} & {~~} &{\big.+\left(l_1 + m_1 -n_1 \right)^2 \big]}
\\ {~\color{magenta} 5 } &{} &{} & {~=~} &{\frac{1}{3}\big[4\left(l_1^2 + m_1^2 +n_1^2 \right) \big]}
\\ {~\color{magenta} 6 } &{} &{} & {~=~} &{\frac{1}{3}\big[4\left(1 \right) \big]~=~\frac{4}{3}}
\\ \end{array}}$
In the next section, we will see a few more miscellaneous examples.
Previous
Contents
Next
Copyright©2026 Higher secondary mathematics.blogspot.com







