Skip to content

Mathematics · Ch 10 — Vector Algebra

Vector Joining Two Points

10.5.2

Vector Joining Two Points

Concept: The Vector from One Point to Another

In coordinate geometry, every point in space is represented by its position vector relative to the origin. For two points P1(x1,y1,z1)P_1(x_1, y_1, z_1) and P2(x2,y2,z2)P_2(x_2, y_2, z_2), the vector that starts at P1P_1 and ends at P2P_2 is the vector joining P1P_1 to P2P_2, denoted P1P2→\overrightarrow{P_1P_2}.

Draw the position vectors OP1→\overrightarrow{OP_1} and OP2→\overrightarrow{OP_2} from the origin OO. In triangle OP1P2OP_1P_2, the vector P1P2→\overrightarrow{P_1P_2} is the third side, going from P1P_1 to P2P_2.

Note

By the triangle law, OP1→+P1P2→=OP2→\overrightarrow{OP_1} + \overrightarrow{P_1P_2} = \overrightarrow{OP_2}.

Deriving the Formula for P1P2→\overrightarrow{P_1P_2}

Rearranging the triangle law:

P1P2→=OP2→−OP1→\overrightarrow{P_1P_2} = \overrightarrow{OP_2} - \overrightarrow{OP_1}

Substituting the position vectors in component form:

P1P2→=(x2i^+y2j^+z2k^)−(x1i^+y1j^+z1k^)\overrightarrow{P_1P_2} = (x_2\hat{i} + y_2\hat{j} + z_2\hat{k}) - (x_1\hat{i} + y_1\hat{j} + z_1\hat{k})

P1P2→=(x2−x1)i^+(y2−y1)j^+(z2−z1)k^\overrightarrow{P_1P_2} = (x_2 - x_1)\hat{i} + (y_2 - y_1)\hat{j} + (z_2 - z_1)\hat{k}

Vector Joining Two Points

P1P2→=(x2−x1)i^+(y2−y1)j^+(z2−z1)k^\overrightarrow{P_1P_2} = (x_2 - x_1)\hat{i} + (y_2 - y_1)\hat{j} + (z_2 - z_1)\hat{k}

Magnitude of P1P2→\overrightarrow{P_1P_2}

The magnitude equals the distance between P1P_1 and P2P_2:

∣P1P2→∣=(x2−x1)2+(y2−y1)2+(z2−z1)2|\overrightarrow{P_1P_2}| = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2}

Important

This is the distance formula in three-dimensional space, derived directly from vector algebra.

Direction Matters: Initial and Terminal Points …

Figure 10.153D coordinate axes with points P1(x1,y1,z1) and P2(x2,y2,z2), showing position vectors OP1 and OP2 and the vector P1P2 joining the two points as one side of triangle OP1P2.
Fig. 10.15 — 3D coordinate axes with points P1(x1,y1,z1) and P2(x2,y2,z2), showing position vectors OP1 and OP2 and the vector P1P2 joining the two points as one side of triangle OP1P2.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

The figure shows a three-dimensional right-handed coordinate system with origin OO. The axes are labelled: the ZZ-axis points vertically upward, the YY-axis points to the right, and the XX-axis points down and to the left. Along each axis, the unit vectors i^\hat{i}, j^\hat{j}, and k^\hat{k} are drawn, pointing in the positive XX, YY, and ZZ directions respectively.

Two points are plotted in space. P1(x1,y1,z1)P_1(x_1, y_1, z_1) is located in the middle-right region of the diagram, and P2(x2,y2,z2)P_2(x_2, y_2, z_2) is higher up and to the right. From the origin OO, a dotted indigo arrow reaches P1P_1 — this is the position vector OP1→\overrightarrow{OP_1}. A dashed indigo arrow reaches P2P_2 — this is OP2→\overrightarrow{OP_2}. A solid indigo arrow, starting at P1P_1 and ending at P2P_2, represents the vector joining the two points, P1P2→\overrightarrow{P_1P_2}. The three arrows together form triangle OP1P2OP_1P_2.

The physical idea is simple: the vector from one point to another is the difference of their position vectors. If you know where each point is relative to the origin, you can find the displacement between them by subtracting the starting point's position from the ending point's position.

P1P2→=OP2→−OP1→\overrightarrow{P_1P_2} = \overrightarrow{OP_2} - \overrightarrow{OP_1}

Writing the position vectors in component form:

OP1→=x1i^+y1j^+z1k^,OP2→=x2i^+y2j^+z2k^\overrightarrow{OP_1} = x_1\hat{i} + y_1\hat{j} + z_1\hat{k}, \qquad \overrightarrow{OP_2} = x_2\hat{i} + y_2\hat{j} + z_2\hat{k}

Applying the triangle law from the figure gives:

P1P2→=(x2i^+y2j^+z2k^)−(x1i^+y1j^+z1k^)\overrightarrow{P_1P_2} = (x_2\hat{i} + y_2\hat{j} + z_2\hat{k}) - (x_1\hat{i} + y_1\hat{j} + z_1\hat{k})

P1P2→=(x2−x1)i^+(y2−y1)j^+(z2−z1)k^\overrightarrow{P_1P_2} = (x_2 - x_1)\hat{i} + (y_2 - y_1)\hat{j} + (z_2 - z_1)\hat{k}

The magnitude of this vector — the straight-line distance between P1P_1 and P2P_2 — follows from the distance formula in three dimensions:

∣P1P2→∣=(x2−x1)2+(y2−y1)2+(z2−z1)2|\overrightarrow{P_1P_2}| = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2 + (z_2 - z_1)^2} …