NIMCET, GATE, CUET & CBSE test series are live — start practicing free
syllabuzAI

Vectors: Position Vectors and Direction Cosines | NIMCET

Learn vector basics: types of vectors, addition, position vectors, section formula in vector form, components, unit vectors, direction cosines and direction ratios, with a NIMCET syllabus note.

5 min read

SP

SHIVAM PRADHAN

Updated 25 October 2026

On this page

Quick answer: A vector has magnitude and direction. For a⃗=a1i^+a2j^+a3k^\vec{a} = a_1\hat{i} + a_2\hat{j} + a_3\hat{k}, the magnitude is ∣a⃗∣=a12+a22+a32\lvert\vec{a}\rvert = \sqrt{a_1^2 + a_2^2 + a_3^2} and the unit vector is a^=a⃗∣a⃗∣\hat{a} = \frac{\vec{a}}{\lvert\vec{a}\rvert}. The position vector of a point P(x,y,z)P(x, y, z) is xi^+yj^+zk^x\hat{i} + y\hat{j} + z\hat{k}, and AB→=b⃗−a⃗\overrightarrow{AB} = \vec{b} - \vec{a}. The direction cosines l,m,nl, m, n are the cosines of the angles with the axes, and l2+m2+n2=1l^2 + m^2 + n^2 = 1.

Syllabus note: Several admission and coaching portals report that Vectors was removed in the revised NIMCET mathematics syllabus. Check the official information brochure for your exam year before prioritising this topic. Our revised syllabus update has the details. This article stays useful for older papers and for other exams that include vectors.

Types of vectors

TypeMeaning
Zero vectorMagnitude 0, any direction
Unit vectorMagnitude 1
Equal vectorsSame magnitude and direction
Negative vectorSame magnitude, opposite direction
Collinear (parallel)a⃗=λb⃗\vec{a} = \lambda\vec{b} for some scalar λ
CoplanarLie in the same plane
Co-initialShare the same starting point

Addition and scalar multiplication

LawStatement
Triangle lawAB→+BC→=AC→\overrightarrow{AB} + \overrightarrow{BC} = \overrightarrow{AC}
Parallelogram lawThe diagonal from the common point is a⃗+b⃗\vec{a} + \vec{b}
Commutativea⃗+b⃗=b⃗+a⃗\vec{a} + \vec{b} = \vec{b} + \vec{a}
Associative(a⃗+b⃗)+c⃗=a⃗+(b⃗+c⃗)(\vec{a} + \vec{b}) + \vec{c} = \vec{a} + (\vec{b} + \vec{c})
Distributiveλ(a⃗+b⃗)=λa⃗+λb⃗\lambda(\vec{a} + \vec{b}) = \lambda\vec{a} + \lambda\vec{b}

Triangle inequality: ∣a⃗+b⃗∣≤∣a⃗∣+∣b⃗∣\lvert\vec{a} + \vec{b}\rvert \le \lvert\vec{a}\rvert + \lvert\vec{b}\rvert.

Position vectors and section formula

With position vectors a⃗\vec{a} and b⃗\vec{b} for A and B:

PointPosition vector
AB→\overrightarrow{AB}b⃗−a⃗\vec{b} - \vec{a}
Divides AB internally in m:nm : nmb⃗+na⃗m+n\frac{m\vec{b} + n\vec{a}}{m + n}
Divides AB externally in m:nm : nmb⃗−na⃗m−n\frac{m\vec{b} - n\vec{a}}{m - n}
Midpointa⃗+b⃗2\frac{\vec{a} + \vec{b}}{2}
Centroid of triangle ABCa⃗+b⃗+c⃗3\frac{\vec{a} + \vec{b} + \vec{c}}{3}

This matches the coordinate section formula.

Direction cosines and direction ratios

If a vector makes angles α, β, γ with the x-, y- and z-axes:

l=cos⁡α,m=cos⁡β,n=cos⁡γl = \cos\alpha, \quad m = \cos\beta, \quad n = \cos\gamma

and l2+m2+n2=1l^2 + m^2 + n^2 = 1.

Any numbers a,b,ca, b, c proportional to l,m,nl, m, n are direction ratios. To convert:

l=aa2+b2+c2,m=ba2+b2+c2,n=ca2+b2+c2l = \frac{a}{\sqrt{a^2 + b^2 + c^2}}, \quad m = \frac{b}{\sqrt{a^2 + b^2 + c^2}}, \quad n = \frac{c}{\sqrt{a^2 + b^2 + c^2}}

For the line through (x1,y1,z1)(x_1, y_1, z_1) and (x2,y2,z2)(x_2, y_2, z_2), the direction ratios are x2−x1x_2 - x_1, y2−y1y_2 - y_1, z2−z1z_2 - z_1.

Since cos⁡2α+cos⁡2β+cos⁡2γ=1\cos^2\alpha + \cos^2\beta + \cos^2\gamma = 1, it follows that sin⁡2α+sin⁡2β+sin⁡2γ=2\sin^2\alpha + \sin^2\beta + \sin^2\gamma = 2.

Worked examples

Example 1: magnitude and unit vector

For a⃗=2i^−j^+2k^\vec{a} = 2\hat{i} - \hat{j} + 2\hat{k}, ∣a⃗∣=4+1+4=3\lvert\vec{a}\rvert = \sqrt{4 + 1 + 4} = 3, so

a^=23i^−13j^+23k^\hat{a} = \frac{2}{3}\hat{i} - \frac{1}{3}\hat{j} + \frac{2}{3}\hat{k}

These are also the direction cosines.

Example 2: section formula

A and B have position vectors i^+2j^\hat{i} + 2\hat{j} and 4i^+8j^4\hat{i} + 8\hat{j}. Find the point dividing AB internally in 1:21 : 2.

1(4i^+8j^)+2(i^+2j^)3=2i^+4j^\frac{1(4\hat{i} + 8\hat{j}) + 2(\hat{i} + 2\hat{j})}{3} = 2\hat{i} + 4\hat{j}

Example 3: collinear vectors

For what λ are 2i^+3j^2\hat{i} + 3\hat{j} and λi^+6j^\lambda\hat{i} + 6\hat{j} collinear?

The components must be proportional: λ2=63\frac{\lambda}{2} = \frac{6}{3}, so λ=4\lambda = 4.

Example 4: equal angles with the axes

A vector makes equal angles with all three axes. Find its direction cosines.

3l2=13l^2 = 1, so l=m=n=±13l = m = n = \pm\frac{1}{\sqrt{3}}.

Summary table

ConceptKey result
Magnitudea12+a22+a32\sqrt{a_1^2 + a_2^2 + a_3^2}
Unit vectora⃗∣a⃗∣\frac{\vec{a}}{\lvert\vec{a}\rvert}
AB→\overrightarrow{AB}b⃗−a⃗\vec{b} - \vec{a}
Section formulamb⃗+na⃗m+n\frac{m\vec{b} + n\vec{a}}{m + n}
Direction cosinesl2+m2+n2=1l^2 + m^2 + n^2 = 1

Exam tips

  • The components of a unit vector are its direction cosines.
  • Collinearity means proportional components.
  • Use AB→=b⃗−a⃗\overrightarrow{AB} = \vec{b} - \vec{a} (head minus tail) every time.

Next, read the dot product and cross product of vectors, or see the NIMCET Coordinate Geometry and Vectors chapter.

Common mistakes

  • Writing AB→=a⃗−b⃗\overrightarrow{AB} = \vec{a} - \vec{b}.
  • Treating direction ratios as direction cosines without dividing by the magnitude.
  • Swapping m and n in the vector section formula.
  • Forgetting that the zero vector has no fixed direction.

Frequently Asked Questions

What is a position vector?

The position vector of a point P is the vector from the origin to P. For P(x, y, z), it is xî + yĵ + zk̂.

What are direction cosines?

They are the cosines of the angles a vector makes with the x-, y- and z-axes. They satisfy l² + m² + n² = 1.

How do you find a unit vector?

Divide the vector by its magnitude.

What is the difference between direction cosines and direction ratios?

Direction ratios are any numbers proportional to the direction cosines. Direction cosines are the normalised values whose squares add to 1.

Are vectors in the NIMCET syllabus?

Several portals report that Vectors was removed in the revised NIMCET syllabus. Confirm with the official information brochure for your exam year.

Concept Check

MEDIUM

Let f(x)=ax+bcx+df(x) = \frac{ax + b}{cx + d} such that (f∘f)(x)=x(f \circ f)(x) = x for all valid xx. What necessary and sufficient linear algebraic condition must coefficients a,b,c,da, b, c, d satisfy?

Suggested for you