In the previous section, we saw the effect when direction ratios of two lines are proportional. In this section, we will see equation of line.
Equation of a line in space
In Class XI, we have seen the equation of line in two dimensional plane. Now we will see the equation in three dimensional space.
It can be explained in 10 steps:
1. Suppose that, we want a line to satisfy a condition:
The line must pass through a particular point $\small{U(x_1,y_1,z_1)}$.
• But here we encounter a problem. Infinite lines can pass through U. Because there are infinite directions possible through U. We cannot think about a unique line which satisfies the condition.
2. So we add one more condition. The two conditions are:
(i) The line must pass through a particular point $\small{U(x_1,y_1,z_1)}$.
(ii) The line must have a particular direction.
• There will be one and only one line which can satisfy the two conditions simultaneously. Our aim is to write the equation of such a line.
3. In fig.27.4 below, the magenta line $\small{L}$ satisfies two conditions.
(i) It passes through the given point $\small{U(x_1,y_1,z_1)}$
(ii) It is parallel to the given vector $\small{\vec{v}}$
• Our aim is to write the equation of this magenta line $\small{L}$.
![]() |
| Fig.27.4 |
4. A random point $\small{P(x,y,z)}$ is marked on the line $\small{L}$
• The position vector of P is $\small{\vec{r}}$
5. The position vector of U is $\small{\vec{u}}$
6. Imagine that, there is a vector $\small{\vec{UP}}$ between U and P
• $\small{\vec{UP}}$ is parallel to $\small{\vec{v}}$
• So we can write: $\small{\vec{UP}~=~\lambda \vec{v}}$
Where $\small{\lambda}$ is some real number.
7. Applying the triangle rule of vector addition, we get:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{\vec{r}} & {~=~} &{\vec{u}+\vec{UP}} \\
{~\color{magenta} 2 } &{\Rightarrow} &{\vec{r}} & {~=~} &{\vec{u}+\lambda\vec{v}} \\
\end{array}}$
8. In the above equation, we can input infinite values (real numbers) for $\small{\lambda}$.
• For each value of $\small{\lambda}$, we get a unique $\small{\vec{r}}$
• Each unique $\small{\vec{r}}$ gives a unique point on the line $\small{L}$
• So infinite values of $\small{\lambda}$ will give infinite points on $\small{L}$. Those infinite points together will give us the line $\small{L}$
9. Therefore, the vector equation of the line passing through U and parallel to $\small{\vec{v}}$ is: $\small{\vec{r}~=~\vec{u}+\lambda\vec{v}}$
10. Let us see an example:
• The vector equation of the line through (5,2,−4) and which is parallel to the vector $\small{3\hat{i}+2\hat{j}-8\hat{k}}$ can be obtained in 2 steps:
(i) $\small{\vec{u}}$ is the position vector of the given point (5,2,−4). So $\small{\vec{u} = 5\hat{i}+2\hat{j}-4\hat{k}}$
(ii) Then the required vector equation is:
$\small{5\hat{i}+2\hat{j}-4\hat{k}~+~\lambda \left(3\hat{i}+2\hat{j}-8\hat{k} \right)}$
Derivation of Cartesian form
This can be done in 7 steps:
1. In the fig.27.4 above, $\small{\vec{v}}$ is parallel to the magenta line $\small{L}$. Let the component form of the vector be: $\small{\vec{v}=v_1 \hat{i}+v_2\hat{j}+v_3\hat{k}}$.
• Based on the component form of $\small{\vec{v}}$, we can write:
Vector $\small{\vec{v}}$ has a set of direction ratios: $\small{v_1,~v_2,~v_3}$. This we proved in the previous section.
2. Suppose another line $\small{L_1}$ is also parallel to $\small{\vec{v}}$. Then $\small{L_1}$ will also have a set of direction ratios $\small{a_{L1},~b_{L1},~c_{L1}~~\text{as:}~~v_1,~v_2,~v_3}$.
3. $\small{L_1}$ will be parallel to $\small{L}$.
• Then the direction ratios of $\small{L~\text{and}~L_1}$ are proportional. This we proved in the previous section. We can write:
$\small{\frac{a_L}{a_{L1}}~=~\frac{b_L}{b_{L1}}~=~\frac{b_L}{b_{L1}}}$
4. So our next task is to find $\small{a_{L},~b_{L},~c_{L}}$
• We have two points $\small{U(x_1,y_1,z_1)~\text{and}~P(x,y,z)}$ on the line $\small{L}$
• Then a set of direction ratios of $\small{L}$ can be taken as: $\small{(x – x_1),~(y – y_1),~(z – z_1)}$
5. So from (3), we get:
$\small{\frac{x – x_1}{v_1}~=~\frac{y – y_1}{v_2}~=~\frac{z – z_1}{v_3}}$
• This is the equation of $\small{L}$ in Cartesian form.
6. Let us see an example:
The Cartesian equation of the line through
(5,2,−4) and which is parallel to the vector
$\small{3\hat{i}+2\hat{j}-8\hat{k}}$ can be obtained in 3 steps:
(i) The required line $\small{L}$, passes through (5,2,−4).
• Let (x,y,z) be any point on the line.
• Then (x−5), (y−2), (z+4) is a set of direction ratios of the required line.
(ii) Any line $\small{L_1}$ parallel to $\small{3\hat{i}+2\hat{j}-8\hat{k}}$, will have a set of direction ratios 3, 2, −8
(iii) The lines $\small{L ~\text{and}~ L_1}$ are parallel.
• So the direction ratios of the two lines will be proportional. Therefore, we can write:
$\small{\frac{x – 5}{3}~=~\frac{y – 2}{2}~=~\frac{z + 4}{-8}}$
• This is the equation of $\small{L}$ in Cartesian form.
7. Now we will see an interesting fact. It can be written in (ii) steps:
(i) Consider the Cartesian equation obtained in (6) above. The three fractions are equal. So we can write:
$\small{\frac{x – 5}{3}~=~\frac{y – 2}{2}~=~\frac{z + 4}{-8} = \lambda}$
(ii) $\small{\lambda}$ can be any real number.
• Let us put $\small{\lambda = -1}$. Then we get:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{\frac{x – 5}{3}} & {~=~} &{-1} \\
{~\color{magenta} {} } &{\Rightarrow} &{x} & {~=~} &{2} \\
{~\color{magenta} 2 } &{{}} &{\frac{y – 2}{2}} & {~=~} &{-1} \\
{~\color{magenta} {} } &{\Rightarrow} &{y} & {~=~} &{0} \\
{~\color{magenta} 3 } &{{}} &{\frac{z + 4}{-8}} & {~=~} &{-1} \\
{~\color{magenta} {} } &{\Rightarrow} &{z} & {~=~} &{4} \\
\end{array}}$
• So (2,0,4) is a point on the line. This is shown in the actual plot of $\small{L}$ in the fig.27.5 below:
![]() |
| Fig.27.5 |
• Note that in the fig. above, $\small{L}$ is parallel to $\small{\vec{v}}$, and is passing through U(5,2,−4)
Alternate method to derive the Cartesian form
This can be written in 4 steps:
1. Based on fig.27.4 above, we can write:
$\small{\begin{array}{ll}
{~\color{magenta} 1 } &{{}} &{\vec{u}} &
{~=~} &{(x_1)\hat{i}+(y_1)\hat{j}+(z_1)\hat{k}} \\
{~\color{magenta} 2 } &{{}} &{\vec{v}} & {~=~} &{(v_1)\hat{i}+(v_2)\hat{j}+(v_3)\hat{k}} \\
{~\color{magenta} 3 } &{{}} &{\vec{r}} & {~=~} &{x\hat{i}+y\hat{j}+z\hat{k}} \\
\end{array}}$
2. We have the vector form:
$\small{\vec{r}~=~\vec{u}+\lambda\vec{v}}$
• Substituting the vectors, we get:
$\small{\begin{array}{ll}
{~\color{magenta} 1 } &{{}} &{\vec{r}} &
{~=~} &{\vec{u}+\lambda\vec{v}} \\
{~\color{magenta}
2 } &{{\Rightarrow}} &{x\hat{i}+y\hat{j}+z\hat{k}}
& {~=~}
&{(x_1)\hat{i}+(y_1)\hat{j}+(z_1)\hat{k}+\lambda\left[(v_1)\hat{i}+(v_2)\hat{j}+(v_3)\hat{k}
\right]} \\
{~\color{magenta} 3 }
&{{\Rightarrow}} &{x\hat{i}+y\hat{j}+z\hat{k}} &
{~=~} &{\left[x_1+ \lambda(v_1)\right]\hat{i}+\left[y_1+
\lambda(v_2)\right]\hat{j}+\left[z_1+ \lambda(v_3)\right]\hat{k}} \\
\end{array}}$
3. Equating the coefficients of $\small{\hat{i},~\hat{j}~\text{and}~\hat{k}}$, we get:
$\small{\begin{array}{ll} {~\color{magenta} 1 } &{{}} &{x} & {~=~} &{x_1+ \lambda(v_1)} \\
{~\color{magenta} 2 } &{{}} &{y} & {~=~} &{y_1+ \lambda(v_2)} \\
{~\color{magenta} 3 } &{{}} &{z} & {~=~} &{z_1+ \lambda(v_3)} \\
\end{array}}$
4. Eliminating $\small{\lambda}$, we get:
$\small{\frac{x - x_1}{v_1}~=~\frac{y - y_1}{v_2}~=~\frac{z - z_1}{v_3}~=~\lambda}$
Now we will see some solved examples
Solved example 27.8
Find the
equation of the line which passes through the point (1,2,3) and is
parallel to the vector $\small{3\hat{i}+2\hat{j}-2\hat{k}}$.
Solution:
Part (i): Derivation of vector form
1. $\small{\vec{u}}$ is the position vector of the given point U(1,2,3). So $\small{\vec{u} = \hat{i}+2\hat{j}+3\hat{k}}$
2. Then the required vector equation is:
$\small{\vec{r}=\hat{i}+2\hat{j}+3\hat{k}~+~\lambda \left(3\hat{i}+2\hat{j}-2\hat{k} \right)}$
Part (ii): Derivation of Cartesian form
1. The required line $\small{L}$, passes through (1,2,3).
• Let (x,y,z) be any point on the line.
• Then (x−1), (y−2), (z−3) is a set of direction ratios of the required line.
(ii) Any line $\small{L_1}$ parallel to $\small{3\hat{i}+2\hat{j}-2\hat{k}}$, will have a set of direction ratios 3, 2, −2
(iii) The lines $\small{L ~\text{and}~ L_1}$ are parallel.
• So the direction ratios of the two lines will be proportional. Therefore, we can write:
$\small{\frac{x – 1}{3}~=~\frac{y – 2}{2}~=~\frac{z - 3}{-2}}$
• This is the equation of $\small{L}$ in Cartesian form.
Solved example 27.9
Find the equation of the
line in vector and in Cartesian form that passes through the point with
position vector $\small{2\hat{i}-\hat{j}+4\hat{k}}$ and is in the
direction $\small{\hat{i}+2\hat{j}-\hat{k}}$.
Solution:
Part (i): Derivation of vector form
1.
$\small{\vec{u}}$ is the position vector of the given point. This
vector is already given to us. So $\small{\vec{u} =
2\hat{i}-\hat{j}+4\hat{k}}$
2. Then the required vector equation is:
$\small{\vec{r}=2\hat{i}-\hat{j}+4\hat{k}~+~\lambda \left(\hat{i}+2\hat{j}-\hat{k} \right)}$
Part (ii): Derivation of Cartesian form
1. Based on the given position vector, we can write:
The required line $\small{L}$, passes through (2,−1,4).
• Let (x,y,z) be any point on the line.
• Then (x−2), (y+1), (z−4) is a set of direction ratios of the required line.
(ii) Any line $\small{L_1}$ parallel to $\small{\hat{i}+2\hat{j}-\hat{k}}$, will have a set of direction ratios 1, 2, −1
(iii) The lines $\small{L ~\text{and}~ L_1}$ are parallel.
• So the direction ratios of the two lines will be proportional. Therefore, we can write:
$\small{\frac{x – 2}{1}~=~\frac{y +1}{2}~=~\frac{z - 4}{-1}}$
• This is the equation of $\small{L}$ in Cartesian form.
Solved example 27.10
Find the Cartesian equation of the line that passes through the point
(−2,4,−5) and parallel to the line given by
$\small{\frac{x+3}{3}~=~\frac{y-4}{5}~=~\frac{x+8}{6}}$.
Solution:
1.
The Cartesian form of a line passing through $\small{U\left(x_1,y_1,z_1
\right)}$, and is parallel to the vector $\small{\vec{v}=v_1
\hat{i}+v_2 \hat{j}+v_3 \hat{k}}$ is:
$\small{\frac{x-x_1}{v_1}~=~\frac{y-y_1}{v_2}~=~\frac{z-z_1}{v_3}}$
2. $\small{v_2,~v_3,~v_4}$ can be taken as the direction ratios of any line parallel to $\small{\vec{v}=v_1 \hat{i}+v_2 \hat{j}+v_3 \hat{k}}$
3.
In our present problem, the required line $\small{L}$ must be parallel
to the line $\small{\frac{x+3}{3}~=~\frac{y-4}{5}~=~\frac{x+8}{6}}$
• This line has direction ratios 3, 5, 6
• So the required line $\small{L}$ must be parallel to the vector $\small{\vec{v}=3 \hat{i}+5 \hat{j}+6 \hat{k}}$
4. The required line $\small{L}$ is said to pass through (−2,4,−5).
• So this line has the Cartesian equation:
$\small{\frac{x+2}{3}~=~\frac{y-4}{5}~=~\frac{z+5}{6}}$
Solved example 27.11
The Cartesian
equation of a line is
$\small{\frac{x+3}{2}~=~\frac{y-5}{4}~=~\frac{x+6}{2}}$
Write its vector form
Solution:
1.
The Cartesian form of a line passing through $\small{U\left(x_1,y_1,z_1
\right)}$, and is parallel to the vector $\small{\vec{v}=v_1
\hat{i}+v_2 \hat{j}+v_3 \hat{k}}$ is:
$\small{\frac{x-x_1}{v_1}~=~\frac{y-y_1}{v_2}~=~\frac{z-z_1}{v_3}}$
2. $\small{v_2,~v_3,~v_4}$ can be taken as the direction ratios of any line parallel to $\small{\vec{v}=v_1 \hat{i}+v_2 \hat{j}+v_3 \hat{k}}$
3.
So in our present problem, the required line $\small{L}$ must be parallel
to the vector
$\small{\vec{v}=2
\hat{i}+4 \hat{j}+2 \hat{k}}$
4. The given Cartesian form is:
$\small{\frac{x+3}{2}~=~\frac{y-5}{4}~=~\frac{x+6}{2}}$
• So the given line passes through $\small{U(-3,5,-6)}$
• So the position vector of $\small{U}$ is:
$\small{\vec{u}=-3\hat{i}+5\hat{j}-6\hat{k}}$
5. The general vector form is: $\small{\vec{r}=\vec{u}+\lambda \vec{v}}$
• So for the present problem, we get:
$\small{\vec{r}=-3\hat{i}+5\hat{j}-6\hat{k}+\lambda \left(2
\hat{i}+4 \hat{j}+2 \hat{k} \right)}$
Easy method:
After becoming familiar with the above five steps, the reader may use the easy method. It can be written in three steps:
1. From the numerators of the given Cartesian form, we get the coordinates of U. These coordinates are the scalar components of $\small{\vec{u}}$.
•
So we get: $\small{\vec{u}=-3\hat{i}+5\hat{j}-6\hat{k}}$
2. From the denominators of the given Cartesian form, we get the scalar components of $\small{\vec{v}}$.
•
So we get: $\small{\vec{v}=2
\hat{i}+4 \hat{j}+2 \hat{k}}$
3. Now we can easily write $\small{\vec{r}=\vec{u}+\lambda \vec{v}}$
Solved example 27.12
The Cartesian
equation of a line is
$\small{\frac{x-5}{2}~=~\frac{y+4}{4}~=~\frac{x-6}{2}}$
Write its vector form
Solution:
1.
The Cartesian form of a line passing through $\small{U\left(x_1,y_1,z_1
\right)}$, and is parallel to the vector $\small{\vec{v}=v_1
\hat{i}+v_2 \hat{j}+v_3 \hat{k}}$ is:
$\small{\frac{x-x_1}{v_1}~=~\frac{y-y_1}{v_2}~=~\frac{z-z_1}{v_3}}$
2. $\small{v_2,~v_3,~v_4}$ can be taken as the direction ratios of any line parallel to $\small{\vec{v}=v_1 \hat{i}+v_2 \hat{j}+v_3 \hat{k}}$
3.
So in our present problem, the required line $\small{L}$ must be parallel
to the vector
$\small{\vec{v}=3
\hat{i}+7 \hat{j}+2 \hat{k}}$
4. The given Cartesian form is:
$\small{\frac{x-5}{2}~=~\frac{y+4}{4}~=~\frac{x-6}{2}}$
• So the given line passes through $\small{U(5,-4,6)}$
• So the position vector of $\small{U}$ is:
$\small{\vec{u}=5\hat{i}-4\hat{j}+6\hat{k}}$
5. The general vector form is: $\small{\vec{r}=\vec{u}+\lambda \vec{v}}$
• So for the present problem, we get:
$\small{\vec{r}=5\hat{i}-4\hat{j}+6\hat{k}+\lambda \left(3
\hat{i}+7 \hat{j}+2 \hat{k} \right)}$
Easy method:
After becoming familiar with the above five steps, the reader may use the easy method. It can be written in three steps:
1.
From the numerators of the given Cartesian form, we get the coordinates
of U. These coordinates are the scalar components of $\small{\vec{u}}$.
•
So we get: $\small{\vec{u}=5\hat{i}-4\hat{j}+6\hat{k}}$
2. From the denominators of the given Cartesian form, we get the scalar components of $\small{\vec{v}}$.
•
So we get: $\small{\vec{v}=3
\hat{i}+7 \hat{j}+2 \hat{k}}$
3. Now we can easily write $\small{\vec{r}=\vec{u}+\lambda \vec{v}}$
In the next section, we will see equation of a line passing through two given points.
Previous
Contents
Next
Copyright©2026 Higher secondary mathematics.blogspot.com




