Distance Alone or Distance with Direction?
Read these five everyday statements. For each one, ask yourself a simple question: does the number tell the whole story?
- 1. Two fields together have an area of 40 square metres.
- 2. An aeroplane is flying at 20 miles per second towards the west.
- 3. A truck is travelling at 50 km/hr.
- 4. A car leaves Kathmandu bus park at 35 km/hr. Where will it be after 1 hour?
- 5. A car leaves Kathmandu bus park at 35 km/hr towards Pokhara. Where will it be after 1 hour?
Try to answer statement 4. You cannot. After one hour the car is about 35 km away from the bus park, but it could be on any road leaving the city: east, west, north or south. Every place 35 km away is a possible answer. Statement 5 adds only two words, "towards Pokhara", and suddenly you can estimate the answer: the car is somewhere on the highway to Pokhara, about 35 km out of Kathmandu.
Look at the other statements in the same way. Statements 1, 3 and 4 give only a size, a number with its unit. Statements 2 and 5 give a size and also a direction. So a number is enough to describe some quantities completely, but for others a number alone is not sufficient. We must also say which way.
Vector and Scalar Quantities
The size of a quantity, the number together with its unit, is called its magnitude. In the statements above, 40 square metres, 50 km/hr and 35 km/hr are magnitudes. The aeroplane in statement 2 and the car in statement 5 have a magnitude and a direction. This difference gives us two kinds of quantity.
Magnitude: the size of a quantity, given by a number and its unit. For example, 35 km/hr or 5 kg.
Vector quantity: a physical quantity which has both magnitude and direction is called a vector quantity, or simply a vector. Examples: velocity, acceleration, weight, displacement, force.
Scalar quantity: a physical quantity which has only magnitude is called a scalar quantity, or simply a scalar. Examples: volume, length, mass, time, temperature.
| Quantity | Example | Direction needed? | Type |
| Length | A rope is 3 m long | No | Scalar |
| Mass | A bag of rice is 25 kg | No | Scalar |
| Volume | A bottle holds 1 litre | No | Scalar |
| Velocity | 20 miles per second towards the west | Yes | Vector |
| Displacement | 35 km towards Pokhara | Yes | Vector |
| Weight | The pull of the Earth on a 50 kg girl, straight downward | Yes | Vector |
Distance and displacement show the difference clearly. If you walk 5 km, that is a distance, a scalar. If you walk 5 km towards the north, that is a displacement, a vector, because it tells us where you ended up. In mathematics we usually think of a vector as a displacement: a move of a certain size in a certain direction.
To decide whether a quantity is a vector, ask: does it make sense to say which way? If the answer is yes, and the direction changes the meaning, the quantity is a vector.
Mass and weight are not the same kind of quantity. Mass is a scalar: 50 kg has no direction. Weight is a force pulling towards the centre of the Earth, so it is a vector. In the same way, speed is a scalar but velocity is a vector.
Notation of a Vector
A vector is drawn as a directed line segment: a straight line with an arrowhead at one end. The length of the line shows the magnitude, and the arrowhead shows the direction. The point where the vector starts is its initial point, and the point where the arrow ends is its terminal point.

Directed line segment: a line segment with a definite starting point and a definite end point, marked by an arrowhead. It is the picture of a vector.
If P and Q are the two end points of a vector, the vector from P to Q can be written in three ways:
- (a) \( \overrightarrow{PQ} \): two capital letters with an arrow over them. The first letter is always the initial point.
- (b) \( \vec{a} \): a single small letter with an arrow over it.
- (c) a single small letter in bold type, used in printed books. By hand, we always write the arrow instead.
The magnitude of a vector is its length. It is written with two straight bars around the vector and read as "the modulus of PQ" or "the magnitude of PQ":
\[ |\overrightarrow{PQ}| = |\vec{a}| \]
\( \overrightarrow{PQ} \) and \( \overrightarrow{QP} \) are different vectors. They have the same length, but \( \overrightarrow{PQ} \) points from P to Q and \( \overrightarrow{QP} \) points from Q back to P, the opposite way.
A Vector in the Cartesian Plane
Let P(x, y) be any point on the Cartesian plane. Join the origin O to P, and draw PM perpendicular to OX, so that PM ⊥ OX. Then OM = x and MP = y.

The displacement from O to P is the same as the displacement from O to M followed by the displacement from M to P. In other words, a horizontal move OM = x and a vertical move MP = y together give the move OP. So the vector \( \overrightarrow{OP} \) is completely described by the two numbers x and y. We write it either as an ordered pair or as a column:
\[ \overrightarrow{OP} = (x, y) \]
\[ \overrightarrow{OP} = \begin{pmatrix} x \\ y \end{pmatrix} \]
Components of a vector: the horizontal displacement (the x-component) and the vertical displacement (the y-component) that together make up the vector. Writing a vector as \( \begin{pmatrix} x \\ y \end{pmatrix} \) or (x, y) is called writing it in terms of components, or in component form.
Position vector: the vector \( \overrightarrow{OP} \) drawn from the fixed point O, the origin, to a point P is called the position vector of P with respect to O. Its components are simply the coordinates of P.
For example, the point P(4, 3) has position vector \( \overrightarrow{OP} = \begin{pmatrix} 4 \\ 3 \end{pmatrix} \). Starting at the origin, you move 4 units to the right and then 3 units up to reach P.
A Vector Whose Initial Point Is Not at the Origin
Most vectors do not start at the origin. Let P(x₁, y₁) and Q(x₂, y₂) be the two end points of the vector \( \overrightarrow{PQ} \). Draw PM ⊥ OX, QN ⊥ OX, and PR ⊥ QN, so that PRQ is a right angled triangle.

The horizontal part is PR. Since PR = MN = ON minus OM, the x-component of \( \overrightarrow{PQ} \) is \( x_2 - x_1 \). The vertical part is RQ. Since RN = PM, we get RQ = QN minus PM, so the y-component is \( y_2 - y_1 \). Putting the two together:
\[ \overrightarrow{PQ} = \overrightarrow{OQ} - \overrightarrow{OP} \]
\[ \overrightarrow{PQ} = \begin{pmatrix} x_2 - x_1 \\ y_2 - y_1 \end{pmatrix} \]
As an ordered pair, the same result is written \( \overrightarrow{PQ} = (x_2 - x_1, y_2 - y_1) \).
To find a vector between two points, take the end point minus the starting point: "end minus start", once for x and once for y.
Subtracting the wrong way round, start minus end, gives \( \overrightarrow{QP} \) instead of \( \overrightarrow{PQ} \). Every sign in the answer comes out reversed, so the vector points the opposite way.
What the Signs of the Components Mean
A column vector is an instruction for a move. The top number tells you how far to move sideways: positive means to the right, negative means to the left. The bottom number tells you how far to move up or down: positive means upward, negative means downward. Here is what four vectors built from the numbers 3 and 7 mean:
- (a) \( \begin{pmatrix} 3 \\ 7 \end{pmatrix} \) means a horizontal displacement of 3 units to the right and a vertical displacement of 7 units upward.
- (b) \( \begin{pmatrix} 3 \\ -7 \end{pmatrix} \) means 3 units to the right and 7 units downward.
- (c) \( \begin{pmatrix} -3 \\ 7 \end{pmatrix} \) means 3 units to the left and 7 units upward.
- (d) \( \begin{pmatrix} -3 \\ -7 \end{pmatrix} \) means 3 units to the left and 7 units downward.

All four vectors have the same length, because each is made of a move of 3 and a move of 7. Only their directions differ. This is exactly why a vector needs its signs: without them, the four moves could not be told apart.
Magnitude and Direction of a Vector
Let \( \overrightarrow{OP} = \begin{pmatrix} x \\ y \end{pmatrix} \) be the position vector of the point P(x, y). Draw PM ⊥ OX. Then OMP is a right angled triangle with OM = x, PM = y, and the vector OP as its hypotenuse.

By Pythagoras' theorem, the square of the hypotenuse equals the sum of the squares of the other two sides. So the length of OP is found from its two components:
\[ |\overrightarrow{OP}| = \sqrt{x^2 + y^2} \]
Magnitude of a vector: the length of the vector, written \( |\overrightarrow{OP}| \). It equals the square root of (x-component)² + (y-component)².
Direction of a vector: if \( \overrightarrow{OP} \) makes the angle ∠XOP = θ with the positive x-axis, then θ is called the direction of \( \overrightarrow{OP} \).
In the right angled triangle OPM, the side opposite θ is PM and the side next to it is OM. So tan θ is the y-component divided by the x-component:
\[ \tan\theta = \frac{PM}{OM} = \frac{y}{x} \]
\[ \theta = \tan^{-1}\left(\frac{y}{x}\right) \]
For a vector with end points P(x₁, y₁) and Q(x₂, y₂), the components are \( x_2 - x_1 \) and \( y_2 - y_1 \). Putting these into the same two results gives the magnitude and the direction of \( \overrightarrow{PQ} \):
\[ |\overrightarrow{PQ}| = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \]
\[ \theta = \tan^{-1}\left(\frac{y_2 - y_1}{x_2 - x_1}\right) \]
\( \tan^{-1} \) does not mean 1 divided by tan. It means "the angle whose tangent is". So \( \tan^{-1}(1) \) is the angle whose tangent is 1, which is 45°.
Worked Example: Two End Points A(2, 5) and B(7, 10)
A(2, 5) and B(7, 10) are the two end points of \( \overrightarrow{AB} \).
- (i) Write \( \overrightarrow{AB} \) in component form.
- (ii) Find the magnitude of \( \overrightarrow{AB} \).
- (iii) Find the direction of \( \overrightarrow{AB} \).

Step 1: Naming the coordinates. A is the starting point, so it gives x₁ and y₁:
\[ x_1 = 2, \quad y_1 = 5 \]
B is the end point, so it gives x₂ and y₂:
\[ x_2 = 7, \quad y_2 = 10 \]
Step 2: Finding the x-component, end minus start:
\[ x_2 - x_1 = 7 - 2 = 5 \]
Step 3: Finding the y-component in the same way:
\[ y_2 - y_1 = 10 - 5 = 5 \]
Step 4: Writing the vector in component form, which answers part (i):
\[ \overrightarrow{AB} = \begin{pmatrix} 5 \\ 5 \end{pmatrix} \]
Step 5: Substituting the components into the magnitude formula for part (ii):
\[ |\overrightarrow{AB}| = \sqrt{(7 - 2)^2 + (10 - 5)^2} \]
Step 6: Squaring each component and adding, since 5² = 25:
\[ |\overrightarrow{AB}| = \sqrt{25 + 25} = \sqrt{50} \]
Step 7: Simplifying the surd. Since 50 = 2 × 25 and √25 = 5:
\[ |\overrightarrow{AB}| = \sqrt{2 \times 25} = 5\sqrt{2} \text{ units} \]
Step 8: Dividing the y-component by the x-component to find tan θ for part (iii):
\[ \tan\theta = \frac{y_2 - y_1}{x_2 - x_1} = \frac{5}{5} = 1 \]
Step 9: Recognising the angle. The tangent of \( \frac{\pi^c}{4} \), which is 45°, equals 1:
\[ \tan\theta = \tan\frac{\pi^c}{4} \]
Step 10: Comparing the two sides gives the direction:
\[ \theta = \frac{\pi^c}{4} = 45^\circ \]
So \( \overrightarrow{AB} \) has length \( 5\sqrt{2} \) units and makes an angle of 45° with the positive x-axis. This makes sense: its horizontal and vertical moves are equal, so it climbs at exactly half a right angle.
Worked Example: Magnitude and Direction of a Position Vector
Find the magnitude and the direction of the position vector of the point P(3, 3√3).
Step 1: Writing the position vector. Its components are the coordinates of P:
\[ \overrightarrow{OP} = \begin{pmatrix} 3 \\ 3\sqrt{3} \end{pmatrix} \]
Step 2: Squaring each component. Since \( (3\sqrt{3})^2 = 9 \times 3 = 27 \):
\[ |\overrightarrow{OP}| = \sqrt{3^2 + (3\sqrt{3})^2} = \sqrt{9 + 27} \]
Step 3: Adding and taking the square root:
\[ |\overrightarrow{OP}| = \sqrt{36} = 6 \text{ units} \]
Step 4: Dividing the y-component by the x-component:
\[ \tan\theta = \frac{3\sqrt{3}}{3} = \sqrt{3} \]
Step 5: Recognising the angle. Since tan 60° = √3:
\[ \theta = 60^\circ = \frac{\pi^c}{3} \]
Worked Example: Components with Negative Numbers
Find \( \overrightarrow{PQ} \) and its magnitude, where P(-2, 3) and Q(4, -5). Negative coordinates are where signs most often go wrong, so work slowly.
Step 1: Finding the x-component, end minus start. Subtracting a negative number is the same as adding it:
\[ x_2 - x_1 = 4 - (-2) = 6 \]
Step 2: Finding the y-component:
\[ y_2 - y_1 = -5 - 3 = -8 \]
Step 3: Writing the vector. It means 6 units to the right and 8 units downward:
\[ \overrightarrow{PQ} = \begin{pmatrix} 6 \\ -8 \end{pmatrix} \]
Step 4: Finding the magnitude. Squaring removes the minus sign, since \( (-8)^2 = 64 \):
\[ |\overrightarrow{PQ}| = \sqrt{6^2 + (-8)^2} = \sqrt{36 + 64} \]
Step 5: Adding and taking the square root:
\[ |\overrightarrow{PQ}| = \sqrt{100} = 10 \text{ units} \]
A magnitude is a length, so it is never negative, even when a component is. The signs belong to the direction, not to the size.
The full lesson is waiting for you
The notes are free to read in full. A free account opens the rest of the practice, and tracks your progress and confidence score for every subject. Presentations and videos need approval from Learn Yeti.