Three Dimensional Coordinate System
    1.0 Introduction

1.0 Introduction

Three mutually perpendicular set of co-ordinate axes are required to identify the infinite number of points in the space.

These three axes determine three mutually perpendicular planes called co-ordinate planes.

The three mutually perpendicular lines are represented by $OX$, $OY$ and $OZ$ called $X$-axis, $Y$-axis and $Z$-axis respectively as shown in figure.

The co-ordinates of any point $P$ in three dimension is represented by $(x,y,z)$.

Vector representation



Let $P(x,y,z)$ be any point in space and $\widehat i$, $\widehat j$ and $\widehat k$ be the unit vectors along $OX$, $OY$ and $OZ$ respectively.

Therefore, the position vector of point $P$ is written as $\overrightarrow r $ i.e., $$\begin{equation} \begin{aligned} \overrightarrow r = \overrightarrow {OP} = \overrightarrow {OM} + \overrightarrow {MP} \\ \overrightarrow r = \left( {\overrightarrow {OA} + \overrightarrow {AM} } \right) + \overrightarrow {MP} \\ \overrightarrow r = \overrightarrow {OA} + \overrightarrow {OB} + \overrightarrow {OC} \\ \overrightarrow r = x\widehat i + y\widehat j + z\widehat k \\\end{aligned} \end{equation} $$

Distance formulae

The distance between any two points $A({x_1},{y_1},{z_1})$ and $B({x_2},{y_2},{z_2})$ in space is calculated by $$AB = \sqrt {{{({x_2} - {x_1})}^2} + {{({y_2} - {y_1})}^2} + {{({z_2} - {z_1})}^2}} $$
Proof: Let $O(0,0,0)$ be the origin, $A({x_1},{y_1},{z_1})$ and $B({x_2},{y_2},{z_2})$ be two given points in space and we have to find the distance between $A$ and $B$.

We can write the position vector of $A$ as $$\overrightarrow {OA} = {x_1}\widehat i + {y_1}\widehat j + {z_1}\widehat k$$
The position vector of $B$ as $$\overrightarrow {OB} = {x_2}\widehat i + {y_2}\widehat j + {z_2}\widehat k$$
and the position vector of $AB$ as $$\begin{equation} \begin{aligned} \overrightarrow {AB} = {\text{position vector of }}B - {\text{position vector of }}A \\ \overrightarrow {AB} = \overrightarrow {OB} - \overrightarrow {OA} \\ \overrightarrow {AB} = \left( {{x_2}\widehat i + {y_2}\widehat j + {z_2}\widehat k} \right) - \left( {{x_1}\widehat i + {y_1}\widehat j + {z_1}\widehat k} \right) \\ \overrightarrow {AB} = \left( {{x_2} - {x_1}} \right)\widehat i + \left( {{y_2} - {y_1}} \right)\widehat j + \left( {{z_2} - {z_1}} \right)\widehat k \\\end{aligned} \end{equation} $$
Now, the distance between points $A$ and $B$ is
$$AB = \left| {\overrightarrow {AB} } \right| = \sqrt {{{\left( {{x_2} - {x_1}} \right)}^2} + {{\left( {{y_2} - {y_1}} \right)}^2} + {{\left( {{z_2} - {z_1}} \right)}^2}} $$

Question 1. Find the locus of a point which moves such that the sum of its distances from points $A(0,0, - \alpha )$ and $B(0,0,\alpha )$ is constant.

Solution: Let the variable point be $P(h,k,l)$ and it is given that $$PA + PB = {\text{constant}} = 2b({\text{say)}}$$ Therefore, $$\begin{equation} \begin{aligned} \sqrt {{{\left( {h - 0} \right)}^2} + {{\left( {k - 0} \right)}^2} + {{\left( {l - ( - \alpha )} \right)}^2}} + \sqrt {{{\left( {h - 0} \right)}^2} + {{\left( {k - 0} \right)}^2} + {{\left( {l - \alpha } \right)}^2}} = 2b \\ \sqrt {{h^2} + {k^2} + {{\left( {l + \alpha } \right)}^2}} = 2b - \sqrt {{h^2} + {k^2} + {{\left( {l - \alpha } \right)}^2}} \\\end{aligned} \end{equation} $$ Squaring both sides, we get $$\begin{equation} \begin{aligned} {h^2} + {k^2} + {\left( {l + \alpha } \right)^2} = 4{b^2} + {h^2} + {k^2} + {l^2} + {\alpha ^2} - 4b\sqrt {{h^2} + {k^2} + {{\left( {l - \alpha } \right)}^2}} \\ {h^2} + {k^2} + {l^2}\left( {1 - \frac{{{\alpha ^2}}}{{{b^2}}}} \right) = {b^2} - {\alpha ^2} \\ \frac{{{h^2}}}{{{b^2} - {\alpha ^2}}} + \frac{{{k^2}}}{{{b^2} - {\alpha ^2}}} + \frac{{{l^2}}}{{{b^2}}} = 1 \\\end{aligned} \end{equation} $$ Therefore, the required locus is $$\frac{{{x^2}}}{{{b^2} - {\alpha ^2}}} + \frac{{{y^2}}}{{{b^2} - {\alpha ^2}}} + \frac{{{z^2}}}{{{b^2}}} = 1$$

Section formulae


Let $A\left( {{x_1},{y_1},{z_1}} \right)$ and $B\left( {{x_2},{y_2},{z_2}} \right)$ be two points whose position vectors are $\overrightarrow {{r_1}} = {x_1}\hat i + {y_1}\hat j + {z_1}\hat k$ and $\overrightarrow {{r_2}} = {x_2}\hat i + {y_2}\hat j + {z_2}\hat k$ respectively.

If the point $P$ whose position vector is $\overrightarrow r $ divides the distance between the points $A$ and $B$ in the ratio $m:n$ internally, then $$\overrightarrow r = \frac{{m\overrightarrow {{r_2}} + n\overrightarrow {{r_1}} }}{{m + n}}$$ and the co-ordinates of $P$ are given as $$\left( {\frac{{m{x_2} + n{x_1}}}{{m + n}},\frac{{m{y_2} + n{y_1}}}{{m + n}},\frac{{m{z_2} + n{z_1}}}{{m + n}}} \right)$$
If the point $P$ whose position vector is $\overrightarrow r $ divides the distance between the points $A$ and $B$ in the ratio $m:n$ externally, then $$\vec r = \frac{{m\overrightarrow {{r_2}} - n\overrightarrow {{r_1}} }}{{m - n}}$$ and the co-ordinates of $P$ are given as $$\left( {\frac{{m{x_2} - n{x_1}}}{{m - n}},\frac{{m{y_2} - n{y_1}}}{{m - n}},\frac{{m{z_2} - n{z_1}}}{{m - n}}} \right)$$



If the point $P$ whose position vector is $\overrightarrow r $ divides the distance between the points $A$ and $B$ in the ratio $m:n$ externally,
then $$\vec r = \frac{{m\overrightarrow {{r_2}} - n\overrightarrow {{r_1}} }}{{m - n}}$$ and the co-ordinates of $P$ are given as $$\left( {\frac{{m{x_2} - n{x_1}}}{{m - n}},\frac{{m{y_2} - n{y_1}}}{{m - n}},\frac{{m{z_2} - n{z_1}}}{{m - n}}} \right)$$

Mid-point formulae

Let $A\left( {{x_1},{y_1},{z_1}} \right)$ and $B\left( {{x_2},{y_2},{z_2}} \right)$ be two points whose position vectors are $\overrightarrow {{r_1}} = {x_1}\hat i + {y_1}\hat j + {z_1}\hat k$ and $\overrightarrow {{r_2}} = {x_2}\hat i + {y_2}\hat j + {z_2}\hat k$ respectively.

The position vector of mid-point $P$ be $\overrightarrow r $ which is given by $$\overrightarrow r = \frac{{\overrightarrow {{r_1}} + \overrightarrow {{r_2}} }}{2}$$ and the co-ordinates of $P$ are $$\left( {\frac{{{x_1} + {x_2}}}{2},\frac{{{y_1} + {y_2}}}{2},\frac{{{z_1} + {z_2}}}{2}} \right)$$


Question 2. Find the ratio in which the plane $2x+3y+5z=0$ divides the line joining the points $(1,0,-3)$ and $(1,-5,7)$.

Solution: Let us assume that a point $P$ which lies on the given plane divides the line joining the points $(1,0,-3)$ and $(1,-5,7)$ in the ratio $p :1$. Apply section formulae, we get $$\begin{equation} \begin{aligned} P \equiv \left( {\frac{{p \times 1 + 1 \times 1}}{{p + 1}},\frac{{p \times - 5 + 1 \times 0}}{{p + 1}},\frac{{p \times 7 + 1 \times - 3}}{{p + 1}}} \right) \\ {\text{ }} \equiv \left( {\frac{{p + 1}}{{p + 1}},\frac{{ - 5p}}{{p + 1}},\frac{{7p - 3}}{{p + 1}}} \right) \\\end{aligned} \end{equation} $$ which must satisfy the equation of the given plane i.e.,
$$\begin{equation} \begin{aligned} \Rightarrow 2\left( {\frac{{p + 1}}{{p + 1}}} \right) + 3\left( {\frac{{ - 5p}}{{p + 1}}} \right) + 5\left( {\frac{{7p - 3}}{{p + 1}}} \right) = 1 \\ \Rightarrow 2p + 2 - 15p + 35p - 15 = p + 1 \\ \Rightarrow 21p = 14 \\ \therefore p = \frac{{14}}{{21}} = \frac{2}{3} \\\end{aligned} \end{equation} $$
Therefore, the plane $2x+3y+5z=0$ divides the line joining the points $(1,0,-3)$ and $(1,-5,7)$ in the ratio $2:3$.

Direction cosines

Let us assume a point $P(x,y,z)$ in the plane and the vector joining origin $O$ and a point $P$ i.e., $\overrightarrow {OP} $ makes an angle of $\alpha $, $\beta $ and $\gamma $ (called direction angles) with the positive directions of the co-ordinate axes $OX$, $OY$ and $OZ$ respectively as shown in figure.

Then $\cos \alpha $, $\cos \beta $ and $\cos \gamma $are the direction cosines of $\overrightarrow {OP} $ which are denoted by $l$, $m$ and $n$ respectively i.e., $$\begin{equation} \begin{aligned} l = \cos \alpha \\ m = \cos \beta {\text{ }}\left[ {0 \leqslant \alpha ,\beta ,\gamma \leqslant \pi } \right] \\ n = \cos \gamma \\\end{aligned} \end{equation} $$
Now, the direction cosines of $x$-axis can be find out by putting $\alpha = {0^ \circ }$ and $\beta = \gamma = {90^ \circ }$ i.e., $$\begin{equation} \begin{aligned} (\cos {0^ \circ },\cos {90^ \circ },\cos {90^ \circ }) \\ (1,0,0) \\\end{aligned} \end{equation} $$
Similarly, the direction cosines of $y$-axis can be find out by putting $\beta = {0^ \circ }$ and $\alpha = \gamma = {90^ \circ }$ i.e., $$\begin{equation} \begin{aligned} (\cos {90^ \circ },\cos {0^ \circ },\cos {90^ \circ }) \\ (0,1,0) \\\end{aligned} \end{equation} $$
Similarly, the direction cosines of $z$-axis can be find out by putting $\gamma = {0^ \circ }$ and $\alpha = \beta = {90^ \circ }$ i.e., $$\begin{equation} \begin{aligned} (\cos {90^ \circ },\cos {90^ \circ },\cos {0^ \circ }) \\ (0,0,1) \\\end{aligned} \end{equation} $$

Note: If $l$, $m$ and $n$ are direction cosines of a vector, then ${l^2} + {m^2} + {n^2} = 1$.

Proof: Let us assume the distance of point $P$ from origin be $r$ i.e., $$\begin{equation} \begin{aligned} \left| {\overrightarrow {OP} } \right| = r \\ \Rightarrow \sqrt {{x^2} + {y^2} + {z^2}} = r \\\end{aligned} \end{equation} $$
On squaring both sides, we get $${x^2} + {y^2} + {z^2} = {r^2}$$
and the co-ordinates of point $P$ is also written as $$\begin{equation} \begin{aligned} x = r\cos \alpha = rl \\ y = r\cos \beta = rm \\ z = r\cos \gamma = rn \\\end{aligned} \end{equation} $$
Therefore, $$\begin{equation} \begin{aligned} {l^2}{r^2} + {m^2}{r^2} + {n^2}{r^2} = {r^2} \\ \Rightarrow {l^2} + {m^2} + {n^2} = 1 \\\end{aligned} \end{equation} $$

Direction ratios

The direction ratios are the three numbers say $a$, $b$ and $c$ which are proportional to the direction cosines $l$, $m$ and $n$ respectively of a vector joining origin $O$ and a point $P$ i.e., $\overrightarrow {OP} $. $$\begin{equation} \begin{aligned} \frac{l}{a} = \frac{m}{b} = \frac{n}{c} = k \\ \Rightarrow (l,m,n) = (ka,kb,kc) \\\end{aligned} \end{equation} $$
To find the direction cosines if direction ratios is given, use the relation ${l^2} + {m^2} + {n^2} = 1$ and put $l=ka$, $m=kb$ and $n=kc$, we get $$\begin{equation} \begin{aligned} {a^2}{k^2} + {b^2}{k^2} + {c^2}{k^2} = 1 \\ {k^2} = \frac{1}{{{a^2} + {b^2} + {c^2}}} \\ k = \pm \frac{1}{{\sqrt {{a^2} + {b^2} + {c^2}} }} \\\end{aligned} \end{equation} $$ Therefore, the direction cosines are $$l = \pm \frac{a}{{\sqrt {{a^2} + {b^2} + {c^2}} }},{\text{ }}m = \pm \frac{b}{{\sqrt {{a^2} + {b^2} + {c^2}} }},{\text{ }}n = \pm \frac{c}{{\sqrt {{a^2} + {b^2} + {c^2}} }}$$

Note: The direction ratios and direction cosines of two parallel vectors are equal.

Proof: Let us assume two parallel vectors be $\overrightarrow a $ and $\overrightarrow b $ such that $\overrightarrow b = \lambda \overrightarrow a $ for some $\lambda $. If $\overrightarrow a = \overrightarrow {{a_1}} \widehat i + \overrightarrow {{a_2}} \widehat j + \overrightarrow {{a_3}} \widehat k$, then $\overrightarrow b = \overrightarrow {(\lambda {a_1})} \widehat i + \overrightarrow {(\lambda {a_2})} \widehat j + \overrightarrow {(\lambda {a_3})} \widehat k$. Therefore, the direction ratios of $\overrightarrow b $ is ${\lambda {a_1}}$, ${\lambda {a_2}}$, ${\lambda {a_3}}$ i.e., ${{a_1}}$, ${{a_2}}$, ${{a_2}}$. Thus, $\overrightarrow a $ and $\overrightarrow b $ have equal direction ratios and hence equal direction cosines also.

Note: The direction ratios of the line segment joining two points $P({x_1},{y_1},{z_1})$ and $Q({x_2},{y_2},{z_2})$ is ${x_2} - {x_1}$, ${y_2} - {y_1}$, ${z_2} - {z_1}$.

Application of this concept comes when we have to prove that three points $P$, $Q$ and $R$ are collinear. Using this concept, first find the direction ratios of the line segment joining points $P$ and $Q$ and then find the direction ratios of the line segment joining points $Q$ and $R$. If the direction ratios of $PQ$ and $QR$ are proportional then we can say that $PQ$ is parallel to $QR$ but point $Q$ is common to both $PQ$ and $QR$. Therefore, $P$, $Q$ and $R$ are collinear points.

Question 3. Find the direction cosines of a line passing through two points $P({x_1},{y_1},{z_1})$ and $Q({x_2},{y_2},{z_2})$.


Solution: Let us assume that $l$, $m$ and $n$ be the direction cosines of the line $PQ$ passing through two points $P({x_1},{y_1},{z_1})$ and $Q({x_2},{y_2},{z_2})$ and makes angles of $\alpha $, $\beta $ and $\gamma $ with the $x$-axis, $y$-axis and $z$-axis respectively. Now, draw perpendiculars from $P$ and $Q$ to $XY$-plane which meets the plane at $R$ and $S$. Now a perpendicular is drawn from $P$ to $QS$ which meets $QS$ at $N$. Consider a right angled triangle $PNQ$, we get $\angle PQN = \gamma $ i.e., $$\cos \gamma = \frac{{NQ}}{{PQ}} = \frac{{{z_2} - {z_1}}}{{PQ}}$$ Similarly, $$\cos \alpha = \frac{{{x_2} - {x_1}}}{{PQ}}$$ and $$\cos \beta = \frac{{{y_2} - {y_1}}}{{PQ}}$$ Hence, the direction cosines of the line segment joining points $P$ and $Q$ are $$\frac{{{x_2} - {x_1}}}{{PQ}},\frac{{{y_2} - {y_1}}}{{PQ}},\frac{{{z_2} - {z_1}}}{{PQ}}$$ where $$PQ = \sqrt {{{\left( {{x_2} - {x_1}} \right)}^2} + {{\left( {{y_2} - {y_1}} \right)}^2} + {{\left( {{z_2} - {z_1}} \right)}^2}} $$
Improve your JEE MAINS score
10 Mock Test
Increase JEE score
by 20 marks
Detailed Explanation results in better understanding
Exclusively for
JEE MAINS and ADVANCED
9 out of 10 got
selected in JEE MAINS
Lets start preparing
DIFFICULTY IN UNDERSTANDING CONCEPTS?
TAKE HELP FROM THINKMERIT DETAILED EXPLANATION..!!!
9 OUT OF 10 STUDENTS UNDERSTOOD