Vector Between Two Points Explained with Worked Examples

The vector from to is : the position vector of minus that of .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Vector between two points means

Going from to is the same as going from back to the origin and then from the origin to : .

In coordinates, subtract the coordinates of from those of .

The vector from to is the negative, . The length is the distance between two points, half of it points to the midpoint, and vectors are added by vector addition and scalar multiple; see also parallel vectors.

This page is part of Vectors (basic) in Geometry and measures. Topics that work alongside it: Vector addition and scalar multiple, Distance between two points, Midpoint of a line segment, Translation by a vector, Parallel vectors and Point dividing a line in the ratio m : n.

What is it used for?

The vector from A to B is found by subtracting: AB = b − a. It tells you the step across and the step up between the two points.

How to use vector between two points

  1. Write the position vectors of both points.
  2. Subtract the start from the end.
  3. Write the answer as a column vector.
  4. Check the direction.

Graph

The vector from A(1, 2) to B(5, 5)A (1, 2)B (5, 5)01234560123456The vector from A(1, 2) to B(5, 5)xyGraph with x from -0.5 to 6.5 and y from 0 to 6.5. Shows point A (1, 2) at (1, 2); point B (5, 5) at (5, 5).

Going from A to B takes 4 across and 3 up, so the vector is (4, 3).

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: find the vector

and . Find .

Worked example
Answer
(54)\binom{5}{4}
  1. Subtract the coordinates
  2. Calculate

Example 2: the reverse vector

Find for the same points.

Worked example
Answer
(−5−4)\binom{-5}{-4}
  1. Reverse the direction
    .
  2. Calculate

Example 3: negative coordinates

and . Find .

Worked example
Answer
(4−6)\dbinom{4}{-6}
  1. Subtract A from B

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

A(1, 2), B(4, 6)

AB = b − a

(3, 4).

Length |AB|

√(9 + 16)

5.

BA

−AB

(−3, −4).

A(−2, 3), B(1, −1)

AB

(3, −4).

Word problems

AB = b − a: the position vector of B minus that of A. BA = −AB. The distance between points is |AB| = √(Δx² + Δy²).

x-component

A(1, 2), B(4, 6).

  1. 4 − 1
  2. Check: ✓3

Length

|AB|.

  1. √25
  2. Check: ✓5

Reverse Higher

x-component of BA.

  1. 1 − 4
  2. Check: −3 ✓-3

Negative coordinates Higher

A(−2, 3), B(1, −1): x of AB.

  1. 1 + 2
  2. Check: ✓3

Common mistakes

AB = a − b

reversed ✗

b − a ✓

End minus start.

Adding coordinates

a + b ✗

subtract ✓

Difference.

Length without roots

Δx + Δy ✗

√(Δx² + Δy²) ✓

Pythagoras.

Sign of BA

same as AB ✗

opposite ✓

Reverse.

Exam tips

  1. AB = b − a.
  2. End minus start.
  3. BA = −AB.
  4. Length by Pythagoras.
  5. Mind negatives.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. AB for A(2, 1), B(5, 5): x Foundation

3

2. AB for A(2, 1), B(5, 5): y Foundation

4

3. |AB| for A(0, 0), B(6, 8) Foundation

10

4. AB x for A(3, −2), B(−1, 4) Higher

-4

5. AB y for A(3, −2), B(−1, 4) Higher

6

6. |AB| for A(1, 1), B(4, 5) Higher

5

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Vector AB
From A to B.
Position vector
From the origin.
Displacement
Change in position.
Magnitude
Length.
Reverse vector
BA = −AB.
Coordinates
(x, y).

Frequently asked questions

How do I find AB?

b − a.

What is BA?

−AB.

How do I find |AB|?

√(Δx² + Δy²).

Which point comes first?

The start point is subtracted.

Which page covers parallel vectors?

parallel vectors.

Which page covers vector addition?

vector addition.

More in Geometry and measures and the formula sheets.