Finding the Position Vector of a Point

What a position vector is

The position vector of a point P(x,y,z)P(x, y, z) is the vector from the origin OO to PP:

p⃗=OP→=xi^+yj^+zk^,∣p⃗∣=x2+y2+z2\vec{p} = \overrightarrow{OP} = x\hat{i} + y\hat{j} + z\hat{k}, \qquad |\vec{p}| = \sqrt{x^2 + y^2 + z^2}

Its components are just the point's coordinates, so moving between "the point (2,3,4)(2, 3, 4)" and "the vector 2i^+3j^+4k^2\hat{i} + 3\hat{j} + 4\hat{k}" costs nothing. Once every point has a position vector, the vector joining two of them is a subtraction:

PQ→=q⃗−p⃗\overrightarrow{PQ} = \vec{q} - \vec{p}

That's "head minus tail": the position vector of where the arrow ends, minus where it starts.

The section formula

A point RR dividing the segment from PP to QQ in the ratio m:nm:n has position vector:

Internally: mq⃗+np⃗m+n,Externally: mq⃗−np⃗m−n\text{Internally: } \dfrac{m\vec{q}+n\vec{p}}{m+n}, \qquad \text{Externally: } \dfrac{m\vec{q}-n\vec{p}}{m-n}

Notice the cross-over: mm, the part of the ratio next to PP, multiplies q⃗\vec{q}, and nn multiplies p⃗\vec{p}. Internally RR lies between PP and QQ; externally it lies on the line through them but outside the segment.

Worked example

Find the position vector of RR, which divides the segment joining PP (position vector i^+2j^−k^\hat{i}+2\hat{j}-\hat{k}) and QQ (position vector −i^+j^+k^-\hat{i}+\hat{j}+\hat{k}) in the ratio 2:1, both internally and externally.

Solution, internally (m=2,n=1m=2, n=1):

R=2(−i^+j^+k^)+1(i^+2j^−k^)3=−i^+4j^+k^3R = \dfrac{2(-\hat{i}+\hat{j}+\hat{k}) + 1(\hat{i}+2\hat{j}-\hat{k})}{3} = \dfrac{-\hat{i}+4\hat{j}+\hat{k}}{3}

Externally:

R=2(−i^+j^+k^)−1(i^+2j^−k^)1=−3i^+3k^R = \dfrac{2(-\hat{i}+\hat{j}+\hat{k}) - 1(\hat{i}+2\hat{j}-\hat{k})}{1} = -3\hat{i}+3\hat{k}

Worked example: a midpoint

Find the position vector of the midpoint of the segment joining P(2,3,4)P(2,3,4) and Q(4,1,−2)Q(4,1,-2).

Solution: A midpoint is just the 1:1 case of the section formula: average each coordinate:

(2+42,3+12,4−22)=(3,2,1)=3i^+2j^+k^\left(\dfrac{2+4}{2}, \dfrac{3+1}{2}, \dfrac{4-2}{2}\right) = (3,2,1) = 3\hat{i}+2\hat{j}+\hat{k}

Worked example: the centroid of a triangle

The centroid of a triangle with vertices a⃗\vec{a}, b⃗\vec{b}, c⃗\vec{c} is their average, a⃗+b⃗+c⃗3\dfrac{\vec{a} + \vec{b} + \vec{c}}{3}. Find the centroid of the triangle with vertices A(1,2,3)A(1, 2, 3), B(3,0,1)B(3, 0, 1) and C(−1,1,−1)C(-1, 1, -1).

Solution:

(1+3−1)i^+(2+0+1)j^+(3+1−1)k^3=i^+j^+k^\dfrac{(1 + 3 - 1)\hat{i} + (2 + 0 + 1)\hat{j} + (3 + 1 - 1)\hat{k}}{3} = \hat{i} + \hat{j} + \hat{k}

Worked example: showing three points are collinear

Show that A(2,−1,3)A(2, -1, 3), B(4,3,1)B(4, 3, 1) and C(3,1,2)C(3, 1, 2) lie on one line.

Solution: Find two vectors from AA using head minus tail:

AB→=2i^+4j^−2k^,AC→=i^+2j^−k^\overrightarrow{AB} = 2\hat{i} + 4\hat{j} - 2\hat{k}, \qquad \overrightarrow{AC} = \hat{i} + 2\hat{j} - \hat{k}

AB→=2 AC→\overrightarrow{AB} = 2\,\overrightarrow{AC}, so the two vectors are parallel and share the point AA, which puts all three points on one line. In fact CC is the midpoint of ABAB: averaging AA and BB gives (3,1,2)(3, 1, 2).

Common mistakes

  • Pairing mm with p⃗\vec{p}. In mq⃗+np⃗m+n\dfrac{m\vec{q}+n\vec{p}}{m+n}, mm goes with the far endpoint QQ. Swapping them gives the point dividing the segment in n:mn:m instead.
  • Using ++ in the external formula. Externally both the numerator and the denominator change to minus: mq⃗−np⃗m−n\dfrac{m\vec{q}-n\vec{p}}{m-n}.
  • Writing PQ→=p⃗−q⃗\overrightarrow{PQ} = \vec{p} - \vec{q}. That's QP→\overrightarrow{QP}, the same arrow pointing the other way. It's always head minus tail.
  • Treating a position vector as the point itself in a length question. ∣p⃗∣|\vec{p}| is the distance from the origin. The distance between PP and QQ is ∣q⃗−p⃗∣|\vec{q} - \vec{p}|.

Where this comes up in exams

The 2025-26 CBSE Class XII syllabus lists the position vector of a point and the position vector of a point dividing a line segment in a given ratio. The JEE Main 2026 three-dimensional geometry unit lists the section formula.

Checked against CBSE Mathematics curriculum, Classes XI-XII (2025-26) and JEE (Main) 2026 syllabus (NTA). Syllabi can change from year to year, so confirm with the latest official notification for your exam.

Continue learning

Combining position vectors like this is the same vector arithmetic covered more generally elsewhere.