Skip to content
IB Diploma ProgrammeSL & HL

Vectors and scalars

Mathematics: Applications and Interpretation SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Vectors and scalars notes as a printable PDF.

Read online free. Download a watermarked copy with a free account.

Read the notes

The full Vectors and scalars notes as text: skim, search, and jump between subtopics.

~9 min read

1. Vectors and scalars

A scalar has magnitude only. A vector has both magnitude and direction. Distance and speed are scalars. Displacement and velocity are vectors.

A vector is drawn as a directed line segment: the length shows the magnitude and the arrow shows the direction. Its components are the steps along the three axes. The base vectors i, j, k are unit vectors (magnitude 1) along the x, y and z axes. A missing component is written as 0.

The zero vector 0 has all components 0. The vector -v has the same magnitude as v and the opposite direction.

v = beginpmatrixv₁ v₂ v₃endpmatrix = v₁i+v₂j+v₃k

-v = beginpmatrix-v₁ -v₂ -v₃endpmatrix

Worked example 13 marks

The unit vectors i, j and k point east, north and up. A drone is launched and its displacement is 3 m east, 2 m south and 5 m up.

(a) Write down the displacement in the form ai+bj+ck.

(b) Write down the displacement as a column vector.

(c) Write down the displacement that returns the drone to its launch point.

  1. 1

    (a) A1: 3i-2j+5k, since south is the negative j direction [1]

  2. 2

    (b) A1: beginpmatrix3 -2 5endpmatrix [1]

  3. 3

    (c) A1: -v = beginpmatrix-3 2 -5endpmatrix [1]

2. Adding, subtracting and scaling vectors

Algebraically, add or subtract vectors component by component. To multiply by a scalar k, multiply every component by k.

Geometrically, place the tail of the second vector at the head of the first. The sum runs from the tail of the first to the head of the second. To subtract, add the opposite: a-b=a+(-b).

a+b=beginpmatrixa₁+b₁ a₂+b₂ a₃+b₃endpmatrix

ka=beginpmatrixka₁ ka₂ ka₃endpmatrix

a-b=a+(-b)

Worked example 14 marks

Given a=2i-j+3k and b=-4i+5j, find

(a) a+b

(b) 3a-b.

  1. 1

    (a) M1: add component by component, (2-4)i+(-1+5)j+(3+0)k [1]

  2. 2

    A1: -2i+4j+3k [1]

  3. 3

    (b) M1: 3a=6i-3j+9k, then subtract b from it, (6+4)i+(-3-5)j+(9-0)k [1]

  4. 4

    A1: 10i-8j+9k [1]

3. Parallel vectors

Two non-zero vectors are parallel when one is a scalar multiple of the other: q=kp. If k>0 they point the same way. If k<0 they point opposite ways, and they are still parallel.

To show that two vectors are parallel, find the same value of k for every component. To find an unknown component, get k from a pair of known components, then apply it to the rest.

q=kp Longleftrightarrow q is parallel to p

Worked example 14 marks

The vectors p=beginpmatrix2 -1 3endpmatrix and q=beginpmatrix-6 m nendpmatrix are parallel.

Find the value of m and the value of n.

  1. 1

    M1: parallel vectors, so q=kp. Use the first components, -6=2k [1]

  2. 2

    A1: k=-3 [1]

  3. 3

    A1: m=-3×(-1)=3 [1]

  4. 4

    A1: n=-3×3=-9 [1]

4. The magnitude of a vector

The magnitude of v, written |v|, is its length. It is Pythagoras' theorem in three dimensions.

Square each component first, so a negative component gives a positive square. The magnitude is never negative, and -v has the same magnitude as v.

On the GDC, enter the square root of the sum of the squares, with brackets round each negative number. Give an exact value if there is one, otherwise three significant figures.

|v|=√(v₁²+v₂²+v₃²)

Worked example 14 marks

Let v=2i-3j+6k.

(a) Calculate |v|.

(b) Write down |-v|.

  1. 1

    (a) M1: |v|=√(2²+(-3)²+6²) [1]

  2. 2

    A1: √(4+9+36)=√49 [1]

  3. 3

    A1: |v|=7 [1]

  4. 4

    (b) A1: |-v|=7, because -v has the same magnitude as v [1]

5. The resultant of two or more vectors

The resultant is the sum of two or more vectors: the single vector with the same total effect. For displacements, it is the displacement from the start to the end of the whole journey.

Add the vectors first, then find the magnitude of the sum. The magnitude of the resultant is not the sum of the magnitudes, unless the vectors point the same way.

R=a+b+c

|R|≠|a|+|b|+|c| in general

Worked example 14 marks

A drone makes three displacements, in metres:

d₁=i+2j+4k, d₂=3i-j, d₃=-2i+2j+2k.

Find the resultant displacement, and hence the distance of the drone from its starting point.

  1. 1

    M1: add the vectors, (1+3-2)i+(2-1+2)j+(4+0+2)k [1]

  2. 2

    A1: R=2i+3j+6k m [1]

  3. 3

    M1: |R|=√(2²+3²+6²)=√49 [1]

  4. 4

    A1: the drone is 7 m from its starting point [1]

6. Position vectors

The position vector of a point A is the vector overrightarrowOA=a from the origin O to A. Its components are the coordinates of A. The point A(2,-1,3) has a=2i-j+3k.

To go from A to B, go back from A to O, then on to B. So overrightarrowAB=-a+b=b-a. Remember end minus start. The distance from A to B is |overrightarrowAB|.

overrightarrowOA=a

overrightarrowAB=b-a

AB=|b-a|

Worked example 14 marks

The points A and B have position vectors a=i+2j-k and b=4i-2j+11k relative to the origin O.

(a) Find overrightarrowAB.

(b) Calculate the distance between A and B.

  1. 1

    (a) M1: overrightarrowAB=b-a, end minus start [1]

  2. 2

    A1: (4-1)i+(-2-2)j+(11+1)k=3i-4j+12k [1]

  3. 3

    (b) M1: AB=√(3²+(-4)²+12²)=√(169) [1]

  4. 4

    A1: AB=13 [1]

7. Rescaling and normalizing vectors

A vector divided by its own magnitude is a unit vector in the same direction. This is normalizing, and the guide calls v/(|v|) the unit normal vector. To rescale a vector to magnitude m, multiply this unit vector by m.

A velocity is a speed times a unit vector in the direction of travel. For a particle with speed 7 m s⁻¹ in the direction 3i+4j: |3i+4j|=5, so the velocity is 7/5(3i+4j)=4.2i+5.6j m s⁻¹.

hatv=v/(|v|)

vector of magnitude m along v=mv/(|v|)

Worked example 14 marks

A drone flies with speed 12 m s⁻¹ in the direction i+2j+2k.

Determine the velocity of the drone as a vector.

  1. 1

    M1: |i+2j+2k|=√(1²+2²+2²) [1]

  2. 2

    A1: =√9=3 [1]

  3. 3

    M1: velocity =12×1/3(i+2j+2k) [1]

  4. 4

    A1: 4i+8j+8k m s⁻¹. Check: √(16+64+64)=√(144)=12 [1]

Recap

  • A scalar has magnitude only. A vector has magnitude and direction. Write a vector as v₁i+v₂j+v₃k or as a column. The zero vector is 0 and -v is the opposite vector.
  • Add, subtract and scale component by component. q is parallel to p when q=kp, with the same k in every component.
  • |v|=√(v₁²+v₂²+v₃²). The resultant of several vectors is their sum: add first, then find the magnitude.
  • overrightarrowOA=a is the position vector of A. overrightarrowAB=b-a, end minus start, and AB=|overrightarrowAB|.
  • Normalizing gives v/(|v|), of magnitude 1. A vector of magnitude m along v is mv/(|v|).

End-of-chapter exercise

Test yourself on the whole chapter. Work through these before moving on.

  1. State which of these quantities is a scalar. A. Velocity B. Displacement C. Distance D. Position vector1 mark
    Answer
    1. The answer is C: distance has magnitude only.
    2. A, B and D each need a direction as well as a magnitude.

    Trap: Choosing B because displacement and distance sound alike. Displacement has a direction, so it is a vector.

  2. Write down 2i-5k as a column vector.1 mark
    Answer
    1. beginpmatrix2 0 -5endpmatrix.

    Trap: Writing a two-component column. The missing j component is 0.

  3. Given a=beginpmatrix3 -1 2endpmatrix and b=beginpmatrix1 4 -2endpmatrix, find a-b.2 marks
    Answer
    1. Subtract each component: (3-1, -1-4, 2-(-2)).
    2. a-b=beginpmatrix2 -5 4endpmatrix.

    Trap: A sign slip on the third component: 2-(-2)=4, not 0.

  4. Calculate |v| for v=3i-4j+12k.2 marks
    Answer
    1. |v|=√(3²+(-4)²+12²).
    2. =√(9+16+144)=√(169)=13.

    Trap: Treating (-4)² as -16, which gives √(137).

  5. Show that p=beginpmatrix2 -6 4endpmatrix and q=beginpmatrix-3 9 -6endpmatrix are parallel.3 marks
    Answer
    1. Compare each component of q with p: (-3)/2=-1.5, 9/(-6)=-1.5, (-6)/4=-1.5.
    2. The same k=-3/2 works for every component, so q=-3/2p.
    3. So q is a scalar multiple of p and the vectors are parallel.

    Trap: Checking two components only, or deciding the vectors are not parallel because k is negative. A negative k gives opposite directions, which is still parallel.

  6. The points A and B have position vectors a=2i-j+3k and b=5i+3j-9k. (a) Find overrightarrowAB. (b) Calculate the distance AB.4 marks
    Answer
    1. (a)
    2. overrightarrowAB=b-a=(5-2)i+(3+1)j+(-9-3)k.
    3. overrightarrowAB=3i+4j-12k.
    4. (b)
    5. AB=√(3²+4²+(-12)²)=√(169)=13.

    Trap: Finding a-b, the vector from B to A, which has the opposite signs.

  7. Find a unit vector in the direction of v=4i-4j+2k.3 marks
    Answer
    1. |v|=√(16+16+4)=√36=6.
    2. hatv=1/6(4i-4j+2k)=2/3i-2/3j+1/3k.
    3. Check: 4/9+4/9+1/9=1, so the magnitude is 1.

    Trap: Dividing one component by |v| and leaving the others, or dividing by |v|²=36 instead of |v|.

  8. A drone starts at the origin O and flies with speed 14 m s⁻¹ in the direction 2i+6j+3k. (a) Find the velocity of the drone as a vector. (b) Write down the position vector of the drone after 3 seconds.4 marks
    Answer
    1. (a)
    2. |2i+6j+3k|=√(4+36+9)=7.
    3. Velocity =14/7(2i+6j+3k)=4i+12j+6k m s⁻¹.
    4. (b)
    5. overrightarrowOP=3×(4i+12j+6k)=12i+36j+18k m.

    Trap: Multiplying the speed 14 by the direction vector without dividing by its magnitude. That gives a vector of magnitude 98, not 14.

  9. Relative to an origin O at a mine entrance, with distances in metres, survey points P and Q have position vectors p=i+4j-2k and q=7i+j+4k. A shaft is drilled in a straight line from P to a point R. overrightarrowPR is parallel to overrightarrowPQ but points in the opposite direction, and the shaft is 18 m long. Determine the position vector of R.6 marks
    Answer
    1. overrightarrowPQ=q-p=6i-3j+6k.
    2. |overrightarrowPQ|=√(36+9+36)=√81=9.
    3. Opposite direction, magnitude 18: overrightarrowPR=-18/9overrightarrowPQ=-12i+6j-12k.
    4. Check: |overrightarrowPR|=√(144+36+144)=√(324)=18.
    5. r=p+overrightarrowPR=(1-12)i+(4+6)j+(-2-12)k.
    6. r=-11i+10j-14k.

    Trap: Three slips in one: p-q for overrightarrowPQ, a lost minus sign for the opposite direction, and giving overrightarrowPR as the answer instead of adding it to p.

  10. Relative to a control tower at the origin O, the unit vectors i and j point east and north, and distances are in km. An aircraft is at A with position vector 20i+10j. Relative to the air, it flies with speed 250 km h⁻¹ in the direction 3i+4j. The wind has velocity 30i-40j km h⁻¹. The aircraft's velocity over the ground is the resultant of its velocity relative to the air and the wind's velocity. (a) Show that the aircraft's velocity relative to the air is 150i+200j km h⁻¹. (b) Find the aircraft's speed over the ground. (c) Find the aircraft's distance from O after 45 minutes.8 marks
    Answer
    1. (a)
    2. |3i+4j|=√(9+16)=5.
    3. 250/5(3i+4j)=150i+200j, as required.
    4. (b)
    5. Ground velocity =(150+30)i+(200-40)j=180i+160j.
    6. Speed =√(180²+160²)=√(58 000)=241 km h⁻¹ (3 s.f.).
    7. (c)
    8. 45 minutes is 0.75 h. Displacement =0.75(180i+160j)=135i+120j.
    9. Position vector =(20+135)i+(10+120)j=155i+130j.
    10. Distance =√(155²+130²)=√(40 925)=202 km (3 s.f.).

    Trap: Adding the speeds, 250+50=300 (the wind speed is |30i-40j|=50), instead of adding the velocity vectors; also multiplying by 45 instead of 0.75 h, or giving the distance travelled instead of the distance from O.

Say this, not that

Wording that loses the mark, against the wording the mark scheme credits.

Loses the markGets the mark
|v|=√(2²-3²+6²), treating (-3)² as -9.Square each component first: (-3)²=9, so |v|=√(4+9+36)=7.
overrightarrowAB=a-b.overrightarrowAB=b-a: end minus start.
The velocity is 7(3i+4j), because the speed is 7.Divide by the magnitude first: 7×(3i+4j)/5.
2i-5k=beginpmatrix2 -5endpmatrix.A missing component is 0: beginpmatrix2 0 -5endpmatrix.
Speed is a vector, because it describes motion.Speed is a scalar, with magnitude only. Velocity is the vector, with magnitude and direction.

Frequently asked questions

What is the difference between a scalar and a vector?
A scalar has magnitude only, and a vector has both magnitude and direction. Distance and speed are scalars, while displacement and velocity are vectors. A vector is written as v₁i+v₂j+v₃k or as a column vector, with a missing component written as 0.
How do I find the magnitude of a vector in three dimensions?
Use |v|=√(v₁²+v₂²+v₃²), squaring each component first so that a negative component gives a positive square. For v=3i-4j+12k, |v|=√(9+16+144)=√(169)=13. The magnitude is never negative, and -v has the same magnitude as v.
How do I find the vector overrightarrowAB between two points?
Use overrightarrowAB=b-a, which is end minus start, where a and b are the position vectors of A and B. The distance AB is |overrightarrowAB|. For a=i+2j-k and b=4i-2j+11k, overrightarrowAB=3i-4j+12k and AB=13.
How do I show that two vectors are parallel?
Two non-zero vectors are parallel when q=kp, so you must find the same value of k for every component. A negative k still gives parallel vectors, pointing in opposite directions. For p=beginpmatrix2 -6 4endpmatrix and q=beginpmatrix-3 9 -6endpmatrix, the value k=-3/2 works for all three components.
How do I find the velocity of an object from its speed and direction?
Multiply the speed by the unit vector in the direction of travel, v/(|v|). Divide by the magnitude first. A drone with speed 12 m s⁻¹ in the direction i+2j+2k has |i+2j+2k|=3, so its velocity is 4i+8j+8k m s⁻¹.
Why is my vector between two points the wrong way round?
Writing a-b gives the vector from B to A, not from A to B. Use end minus start: overrightarrowAB=b-a. For a=2i-j+3k and b=5i+3j-9k, the answer is overrightarrowAB=3i+4j-12k, with AB=13.

Free notes are just the start.

Unlock every Workbook and Chapter at a Glance, and generate your own worksheets and predicted papers.

Explore plans

Related chapters