Skip to main content
ScotlandMathsSyllabus dot point

How do you add, subtract and scale vectors, and find the magnitude of a vector in two and three dimensions?

Working with vectors in two and three dimensions: vector components, adding and subtracting vectors, multiplying by a scalar, and calculating the magnitude of a vector.

A focused answer to the SQA National 5 Mathematics vectors content, covering vectors in component form, adding and subtracting vectors, multiplying a vector by a scalar, and finding the magnitude of a vector in two and three dimensions.

Generated by Claude Opus 4.89 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Vectors in component form
  3. Adding and subtracting vectors
  4. Multiplying by a scalar
  5. The magnitude of a vector
  6. The vector between two points
  7. Examples in context
  8. Try this

What this dot point is asking

The SQA wants you to work with vectors written in component form, add and subtract them, multiply a vector by a scalar (a number), and calculate the magnitude (length) of a vector in both two and three dimensions.

Vectors in component form

A vector describes a movement: so many across, so many up (and so many in or out, in three dimensions). It is written as a column of components. The vector (32)\begin{pmatrix} 3 \\ 2 \end{pmatrix} means "33 in the xx direction and 22 in the yy direction". A vector has a size and a direction but no fixed position, so two arrows of the same length and direction represent the same vector.

Adding and subtracting vectors

To combine vectors, work one component at a time: add the xx components, the yy components, and (in three dimensions) the zz components.

Multiplying by a scalar

Multiplying a vector by a number stretches or shrinks it (and reverses it if the number is negative), without changing its line of direction. Every component is multiplied by the scalar.

A negative scalar reverses the direction: βˆ’1-1 times a vector points the opposite way with the same length.

The magnitude of a vector

The magnitude (or length) of a vector is found by Pythagoras, since the components form the sides of a right-angled triangle (or box in three dimensions).

In three dimensions the idea is identical, with a third squared term inside the root. The magnitude of (122)\begin{pmatrix} 1 \\ 2 \\ 2 \end{pmatrix} is 12+22+22=9=3\sqrt{1^2 + 2^2 + 2^2} = \sqrt{9} = 3.

The vector between two points

A vector can describe the journey from one point to another. The vector from AA to BB, written AB→\overrightarrow{AB}, is found by subtracting the position of AA from the position of BB, component by component. This is the displacement from AA to BB, and its magnitude is the straight-line distance between the points.

Examples in context

Vectors describe displacement, velocity and force, all of which have direction as well as size. A drone that flies (3040)\begin{pmatrix} 30 \\ 40 \end{pmatrix} metres has travelled a straight-line distance of 302+402=50\sqrt{30^2 + 40^2} = 50 m, its magnitude. Adding a wind vector to an aircraft's velocity vector gives its true path over the ground. Engineers add force vectors nose to tail to find the single resultant force on a structure.

Try this

Q1. Find (42)+(16)\begin{pmatrix} 4 \\ 2 \end{pmatrix} + \begin{pmatrix} 1 \\ 6 \end{pmatrix}. [1 mark]

  • Cue. (58)\begin{pmatrix} 5 \\ 8 \end{pmatrix}.

Q2. Find 2(3βˆ’2)2\begin{pmatrix} 3 \\ -2 \end{pmatrix}. [1 mark]

  • Cue. (6βˆ’4)\begin{pmatrix} 6 \\ -4 \end{pmatrix}.

Q3. Find the magnitude of (236)\begin{pmatrix} 2 \\ 3 \\ 6 \end{pmatrix}. [2 marks]

  • Cue. 4+9+36=49=7\sqrt{4 + 9 + 36} = \sqrt{49} = 7.

Exam-style practice questions

Practice questions written in the style of SQA exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SQA National 5 20183 marksGiven u=(3βˆ’1)\mathbf{u} = \begin{pmatrix} 3 \\ -1 \end{pmatrix} and v=(25)\mathbf{v} = \begin{pmatrix} 2 \\ 5 \end{pmatrix}, find u+2v\mathbf{u} + 2\mathbf{v}.
Show worked answer β†’

First scale v\mathbf{v} by 22: 2v=(410)2\mathbf{v} = \begin{pmatrix} 4 \\ 10 \end{pmatrix} (1 mark). Then add component by component: u+2v=(3+4βˆ’1+10)=(79)\mathbf{u} + 2\mathbf{v} = \begin{pmatrix} 3 + 4 \\ -1 + 10 \end{pmatrix} = \begin{pmatrix} 7 \\ 9 \end{pmatrix} (2 marks). Markers reward scaling each component of v\mathbf{v} and adding matching components.

SQA National 5 20223 marksCalculate the magnitude of the vector (2βˆ’36)\begin{pmatrix} 2 \\ -3 \\ 6 \end{pmatrix}.
Show worked answer β†’

The magnitude in three dimensions is x2+y2+z2\sqrt{x^2 + y^2 + z^2} (1 mark). Substitute: 22+(βˆ’3)2+62=4+9+36=49\sqrt{2^2 + (-3)^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} (1 mark). So the magnitude is 49=7\sqrt{49} = 7 (1 mark). Markers reward squaring all three components (the minus disappears when squared) and the final value.

Related dot points

Sources & how we know this