Skip to content
IB Diploma ProgrammeSL & HL

Scalar product

Mathematics: Analysis and Approaches SL & HL Chapter Notes

Last updated November 2026

ShareWhatsAppPost

Scalar product notes as a printable PDF.

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

Read the notes

The full Scalar product notes as text: skim, search, and jump between subtopics.

~13 min read

1. The scalar product

The scalar product of two vectors is a number, not a vector. Multiply the matching components, then add the results.

In three dimensions, for boldsymbolv = v₁boldsymboli + v₂boldsymbolj + v₃boldsymbolk and boldsymbolw = w₁boldsymboli + w₂boldsymbolj + w₃boldsymbolk, the product is a single value. Keep every sign: a negative component times a positive one is negative.

The command term 'calculate' needs the working, not only the value. Markschemes award A1 for a correct scalar product, so write each product out before adding.

boldsymbolv · boldsymbolw = v₁ w₁ + v₂ w₂ + v₃ w₃

Worked example 13 marks

Calculate boldsymbolu · boldsymbolv, where boldsymbolu = beginpmatrix 2 -1 3 endpmatrix and boldsymbolv = beginpmatrix 4 5 -2 endpmatrix.

  1. 1

    multiply corresponding components and add (M1) [1]

  2. 2

    boldsymbolu · boldsymbolv = 2 × 4 + (-1) × 5 + 3 × (-2) = 8 - 5 - 6 (A1) [1]

  3. 3

    = -3 (A1) [1]

2. Properties of the scalar product

The scalar product obeys four rules. They let you expand brackets and simplify without writing out components.

The order does not matter, boldsymbolv · boldsymbolw = boldsymbolw · boldsymbolv. It distributes over addition. A scalar multiple comes out of the product. A vector with itself gives the square of its magnitude.

To 'show that' a product is zero, apply the rules line by line. The markscheme gives A1 for the expansion and R1 for the reason a · b = b · a. It says "DO NOT AWARD A0R1": a reason with no expansion earns nothing.

boldsymbolv · boldsymbolw = boldsymbolw · boldsymbolv

boldsymbolu · (boldsymbolv + boldsymbolw) = boldsymbolu · boldsymbolv + boldsymbolu · boldsymbolw

(kboldsymbolv) · boldsymbolw = k(boldsymbolv · boldsymbolw)

boldsymbolv · boldsymbolv = |boldsymbolv|²

Worked example 12 marks

Consider non-zero vectors a, b and c in three-dimensional space. The non-zero vector v is defined as v = (a · c)b - (a · b)c.

(a) Show that v · a = 0.

  1. 1

    expand: v · a = (a · c)(b ·a) - (a · b)(c ·a) (A1) [1]

  2. 2

    a · b = b · a and a · c = c · a, so the two terms are equal (R1) [1]

  3. 3

    v · a = 0 (AG)

3. The angle between two vectors

The scalar product also gives the angle θ between two vectors. For the angle at a point B, use two vectors that start at B.

Rearrange to find the angle: divide the scalar product by the product of the magnitudes, then take the inverse cosine. A positive scalar product gives an acute angle and a negative one an obtuse angle, because cosθ takes the same sign.

The markscheme credits an attempt to use the scalar product for the angle between two vectors (M1). When the question says give your answer in degrees, set the calculator to degrees: the markscheme gives M1A1A0 for 0.147 radians.

boldsymbolv · boldsymbolw = |boldsymbolv||boldsymbolw|cosθ

cosθ = (boldsymbolv · boldsymbolw)/(|boldsymbolv||boldsymbolw|)

Worked example 13 marks

The helicopter's position relative to the point O is given by boldsymbolr = beginpmatrix 10 3 0.5 endpmatrix + 4tbeginpmatrix 10 -25 0 endpmatrix, where t represents the time in hours since 09:00. All distances are measured in kilometres.

At 10:00 the helicopter begins to descend. During descent the helicopter's vertical height decreases at a constant rate of 16 km h⁻¹ and its horizontal velocity remains unchanged. The angle of descent, β, is defined as the angle between the helicopter's direction of travel and the horizontal.

(b) Find β, giving your answer in degrees.

  1. 1

    velocity in descent is beginpmatrix 40 -100 -16 endpmatrix = 4beginpmatrix 10 -25 -4 endpmatrix. attempt to find angle between beginpmatrix 10 -25 -4 endpmatrix and beginpmatrix 10 -25 0 endpmatrix (M1) [1]

  2. 2

    cosβ = (10 × 10 + (-25)(-25) + (-4)(0))/(√(10² + (-25)² + (-4)²) √(10² + (-25)² + 0²)) = 725/(√(741)√(725)) (= 0.989144…) (A1) [1]

  3. 3

    β = 8.45^(°) A1 [1]

4. Perpendicular vectors

Two non-zero vectors are perpendicular exactly when their scalar product is zero. This follows from cos 90^(°) = 0.

To find an unknown, write boldsymbolv · boldsymbolw = 0, expand and solve. The markscheme credits the recognition that the scalar product of the direction vectors is 0 as method. For two lines, the direction vectors are the vectors multiplying the parameter.

Once one unknown is fixed, use the point of intersection to find the rest.

boldsymbolv · boldsymbolw = 0 iff boldsymbolv ⊥ boldsymbolw

Worked example 16 marks

The line L₁ has vector equation boldsymbolr = 4boldsymboli - boldsymbolk + λ(aboldsymbolj + boldsymbolk), where a, λ ∈ R. The line L₂ has vector equation boldsymbolr = boldsymboli - bboldsymbolk + μ(boldsymboli + 2boldsymbolj + 3boldsymbolk), where b, μ ∈ R. The lines L₁ and L₂ are perpendicular and intersect at a unique point.

Find the value of a and the value of b.

  1. 1

    direction vectors are aboldsymbolj + boldsymbolk = beginpmatrix 0 a 1 endpmatrix and boldsymboli + 2boldsymbolj + 3boldsymbolk = beginpmatrix 1 2 3 endpmatrix (A1) [1]

  2. 2

    recognition that the scalar product of the direction vectors is 0: beginpmatrix 0 a 1 endpmatrix · beginpmatrix 1 2 3 endpmatrix = 2a + 3 = 0 (M1) [1]

  3. 3

    a = -3/2 A1 [1]

  4. 4

    at the point of intersection 4 = 1 + μ, -3/2λ = 2μ and -1 + λ = -b + 3μ (A1) [1]

  5. 5

    attempt to solve the three equations for μ, λ and b (M1) [1]

  6. 6

    μ = 3, λ = -4, so b = 14 A1 [1]

5. Parallel vectors

For non-zero vectors, cosθ = ± 1 when the vectors are parallel, so the scalar product equals the product of the magnitudes in size. The syllabus states it with a modulus: |boldsymbolv · boldsymbolw| = |boldsymbolv||boldsymbolw|.

If the vectors point the same way, boldsymbolv · boldsymbolw = |boldsymbolv||boldsymbolw|. If they point opposite ways, the product is negative. The modulus covers both.

Command term 'show that': find the scalar product and both magnitudes, then compare them in a closing line that states the conclusion.

|boldsymbolv · boldsymbolw| = |boldsymbolv||boldsymbolw|

Worked example 14 marks

Show that boldsymbolu = beginpmatrix 1 2 2 endpmatrix and boldsymbolw = beginpmatrix -2 -4 -4 endpmatrix are parallel.

  1. 1

    attempt to find boldsymbolu · boldsymbolw and both magnitudes (M1) [1]

  2. 2

    boldsymbolu · boldsymbolw = (1)(-2) + (2)(-4) + (2)(-4) = -2 - 8 - 8 = -18 (A1) [1]

  3. 3

    |boldsymbolu| = √(1 + 4 + 4) = 3 and |boldsymbolw| = √(4 + 16 + 16) = 6 (A1) [1]

  4. 4

    |boldsymbolu · boldsymbolw| = 18 = 3 × 6 = |boldsymbolu||boldsymbolw|, so the vectors are parallel (R1) [1]

Recap

  • The scalar product is a number: boldsymbolv · boldsymbolw = v₁ w₁ + v₂ w₂ + v₃ w₃. Keep every sign.
  • Rules: boldsymbolv · boldsymbolw = boldsymbolw · boldsymbolv, it distributes over addition, (kboldsymbolv) · boldsymbolw = k(boldsymbolv · boldsymbolw) and boldsymbolv · boldsymbolv = |boldsymbolv|².
  • Angle: cosθ = (boldsymbolv · boldsymbolw)/(|boldsymbolv||boldsymbolw|). A negative product means an obtuse angle. Check degrees or radians.
  • Non-zero vectors are perpendicular when boldsymbolv · boldsymbolw = 0. Write the equation, then solve for the unknown.
  • Non-zero vectors are parallel when |boldsymbolv · boldsymbolw| = |boldsymbolv||boldsymbolw|. 'Show that' needs the values and a closing reason.

End-of-chapter exercise

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

  1. State the value of boldsymbolu · boldsymbolv when boldsymbolu and boldsymbolv are non-zero perpendicular vectors.1 mark
    Answer
    1. boldsymbolu · boldsymbolv = 0 (A1)

    Trap: |boldsymbolu||boldsymbolv| is the value for parallel vectors that point the same way, not for perpendicular ones.

  2. Given boldsymbola = beginpmatrix 3 -2 5 endpmatrix and boldsymbolb = beginpmatrix -1 4 2 endpmatrix, the value of boldsymbola · boldsymbolb is A. 21 B. -1 C. 1 D. beginpmatrix -3 -8 10 endpmatrix1 mark
    Answer
    1. boldsymbola · boldsymbolb = (3)(-1) + (-2)(4) + (5)(2) = -3 - 8 + 10 = -1, so the answer is B (A1)
    2. A adds the sizes 3 + 8 + 10 and ignores the signs. C has the right size but the wrong sign. D multiplies the components but does not add them, so it is a vector.

    Trap: The scalar product is a single number, so D cannot be right however carefully the components are multiplied.

  3. Given boldsymbolv = beginpmatrix 2 -3 6 endpmatrix, calculate boldsymbolv · boldsymbolv and state the magnitude |boldsymbolv|.2 marks
    Answer
    1. boldsymbolv · boldsymbolv = 2² + (-3)² + 6² = 4 + 9 + 36 = 49 (A1)
    2. boldsymbolv · boldsymbolv = |boldsymbolv|², so |boldsymbolv| = 7 (A1)

    Trap: boldsymbolv · boldsymbolv is |boldsymbolv|², not |boldsymbolv|. Answering 49 for the magnitude forgets the square root.

  4. Do not use a calculator. The vectors boldsymbolp = beginpmatrix k 3 -2 endpmatrix and boldsymbolq = beginpmatrix 4 -2 5 endpmatrix are perpendicular. Find the value of k.3 marks
    Answer
    1. recognition that boldsymbolp · boldsymbolq = 0 (M1)
    2. 4k + (3)(-2) + (-2)(5) = 4k - 6 - 10 = 0 (A1)
    3. k = 4 (A1)

    Trap: (-2)(5) = -10. Writing +10 gives 4k + 4 = 0 and k = -1.

  5. Do not use a calculator. The vectors boldsymbola = beginpmatrix 1 2 2 endpmatrix and boldsymbolb = beginpmatrix 4 -3 0 endpmatrix make an angle θ. (a) Find the exact value of cosθ. (b) State whether θ is acute or obtuse, with a reason.4 marks
    Answer
    1. (a)
    2. boldsymbola · boldsymbolb = 4 - 6 + 0 = -2 (A1)
    3. |boldsymbola| = 3 and |boldsymbolb| = 5 (A1)
    4. cosθ = (-2)/(3 × 5) = -2/15 (A1)
    5. (b)
    6. θ is obtuse, because cosθ is negative (A1)

    Trap: Dropping the minus sign gives 2/15 and the wrong answer 'acute'. The sign of the scalar product decides.

  6. Find the angle between boldsymbolp = beginpmatrix 1 2 -2 endpmatrix and boldsymbolq = beginpmatrix 3 0 4 endpmatrix. Give your answer in degrees, correct to three significant figures.3 marks
    Answer
    1. boldsymbolp · boldsymbolq = 3 + 0 - 8 = -5, |boldsymbolp| = 3 and |boldsymbolq| = 5 (M1)
    2. cosθ = (-5)/(3 × 5) = -1/3 (A1)
    3. θ = 109^(°) (A1)

    Trap: Taking cos⁻¹(1/3) gives 70.5^(°), the angle with the sign lost. A calculator in radian mode gives 1.91.

  7. Show that boldsymbola = beginpmatrix 2 -2 1 endpmatrix and boldsymbolb = beginpmatrix -6 6 -3 endpmatrix are parallel.4 marks
    Answer
    1. attempt to find boldsymbola · boldsymbolb and both magnitudes (M1)
    2. boldsymbola · boldsymbolb = -12 - 12 - 3 = -27 (A1)
    3. |boldsymbola| = 3 and |boldsymbolb| = √(36 + 36 + 9) = 9 (A1)
    4. |boldsymbola · boldsymbolb| = 27 = 3 × 9, so the vectors are parallel (R1)

    Trap: Testing boldsymbola · boldsymbolb = |boldsymbola||boldsymbolb| without the modulus gives -27 ≠ 27, and wrongly rejects parallel vectors that point in opposite directions.

  8. The points A(1, 0, 2), B(3, 1, -1) and C(4, 5, 1) form a triangle. Show that angle ABC = 90^(°).5 marks
    Answer
    1. overrightarrowBA = beginpmatrix 1 - 3 0 - 1 2 + 1 endpmatrix = beginpmatrix -2 -1 3 endpmatrix (A1)
    2. overrightarrowBC = beginpmatrix 4 - 3 5 - 1 1 + 1 endpmatrix = beginpmatrix 1 4 2 endpmatrix (A1)
    3. attempt to find overrightarrowBA · overrightarrowBC (M1)
    4. = (-2)(1) + (-1)(4) + (3)(2) = -2 - 4 + 6 = 0 (A1)
    5. the scalar product is zero, so overrightarrowBA and overrightarrowBC are perpendicular and angle ABC = 90^(°) (R1)

    Trap: The angle at B needs vectors that both start at B. The position vectors of A and C give overrightarrowOA · overrightarrowOC = 6, which says nothing about angle ABC.

  9. Do not use a calculator. The angle between boldsymbola = beginpmatrix k 1 1 endpmatrix and boldsymbolb = beginpmatrix 1 1 0 endpmatrix, where k ∈ R, is 120^(°). Find the value of k.6 marks
    Answer
    1. boldsymbola · boldsymbolb = k + 1, |boldsymbola| = √(k² + 2) and |boldsymbolb| = √2 (A1)
    2. (k + 1)/(√2√(k² + 2)) = cos 120^(°) = -1/2, so 2(k + 1) = -√2√(k² + 2) (M1)
    3. square both sides: 4(k + 1)² = 2(k² + 2) (M1)
    4. 4k² + 8k + 4 = 2k² + 4, so 2k(k + 4) = 0 and k = 0 or k = -4 (A1)
    5. k = 0 gives boldsymbola · boldsymbolb = 1 > 0, an acute angle (60^(°)), so reject it (R1)
    6. k = -4: check (-3)/(√2√18) = -3/6 = -1/2, as required (A1)

    Trap: Squaring loses the sign of cos 120^(°), so k = 0 solves the squared equation but gives an angle of 60^(°); it is an extraneous root.

  10. Two forces act on a crane hook. They are represented by vectors boldsymbolu and boldsymbolv with |boldsymbolu| = 3 and |boldsymbolv| = 4. The angle between boldsymbolu and boldsymbolv is 60^(°). (a) Find boldsymbolu · boldsymbolv. (b) By expanding (boldsymbolu + boldsymbolv) · (boldsymbolu + boldsymbolv), find the exact value of |boldsymbolu + boldsymbolv|. (c) Find the angle between boldsymbolu + boldsymbolv and boldsymbolu, giving your answer in degrees to three significant figures.8 marks
    Answer
    1. (a)
    2. use of boldsymbolu · boldsymbolv = |boldsymbolu||boldsymbolv|cosθ: 3 × 4 × cos 60^(°) (M1)
    3. boldsymbolu · boldsymbolv = 6 (A1)
    4. (b)
    5. (boldsymbolu + boldsymbolv) · (boldsymbolu + boldsymbolv) = boldsymbolu · boldsymbolu + 2boldsymbolu · boldsymbolv + boldsymbolv · boldsymbolv (M1)
    6. |boldsymbolu + boldsymbolv|² = 9 + 12 + 16 = 37 (A1)
    7. |boldsymbolu + boldsymbolv| = √37 (A1)
    8. (c)
    9. (boldsymbolu + boldsymbolv) · boldsymbolu = boldsymbolu · boldsymbolu + boldsymbolv · boldsymbolu = 9 + 6 = 15 (M1)
    10. cosphi = 15/(√37 × 3) = 5/(√37) (A1)
    11. phi = 34.7^(°) (A1)

    Trap: |boldsymbolu + boldsymbolv| is not |boldsymbolu| + |boldsymbolv| = 7. Squaring a sum brings in the middle term 2boldsymbolu · boldsymbolv.

Say this, not that

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

Loses the markGets the mark
boldsymbolu · boldsymbolv = (8, -5, -6)boldsymbolu · boldsymbolv = 8 - 5 - 6 = -3. The product is a scalar: add the components
v · a = 0 with no steps(a · c)(b · a) - (a · b)(c · a), then the order does not matter (R1)
β = 0.147β = 8.45^(°). The question asks for degrees, so the radian value gets M1A1A0
Parallel when boldsymbolv · boldsymbolw = |boldsymbolv||boldsymbolw|Parallel when |boldsymbolv · boldsymbolw| = |boldsymbolv||boldsymbolw|. Keep the modulus: opposite directions give a negative product

Frequently asked questions

How do you calculate the scalar product of two vectors?
Multiply the matching components and add the results. The answer is a number, not a vector. For boldsymbolu = beginpmatrix2 -1 3endpmatrix and boldsymbolv = beginpmatrix4 5 -2endpmatrix, boldsymbolu · boldsymbolv = 2 × 4 + (-1) × 5 + 3 × (-2) = -3. Keep every sign, and write each product out before adding.
How do you find the angle between two vectors using the scalar product?
Use cosθ = (boldsymbolv·boldsymbolw)/(|boldsymbolv||boldsymbolw|) and then take the inverse cosine. A negative scalar product gives an obtuse angle. If the question asks for degrees, set the calculator to degrees, because a radian value such as 0.147 earns M1A1A0 and loses the final mark.
How do you find an unknown value that makes two vectors perpendicular?
Non-zero vectors are perpendicular exactly when their scalar product is zero. Write boldsymbolv·boldsymbolw = 0, expand and solve. For the direction vectors beginpmatrix0 a 1endpmatrix and beginpmatrix1 2 3endpmatrix the equation is 2a + 3 = 0, so a = -3/2. Recognising that the scalar product of the direction vectors is zero is the method.
How do you show that two vectors are parallel using the scalar product?
Show that |boldsymbolv·boldsymbolw| = |boldsymbolv||boldsymbolw|. For boldsymbolu = beginpmatrix1 2 2endpmatrix and boldsymbolw = beginpmatrix-2 -4 -4endpmatrix the product is -18, the magnitudes are 3 and 6, and |boldsymbolu·boldsymbolw| = 18 = 3 × 6. The modulus covers both directions, so the vectors are parallel.
Which properties of the scalar product can I use in a proof?
The order does not matter, so boldsymbolv·boldsymbolw = boldsymbolw·boldsymbolv, and the product distributes over addition. A scalar multiple comes out, (kboldsymbolv)·boldsymbolw = k(boldsymbolv·boldsymbolw), and boldsymbolv·boldsymbolv = |boldsymbolv|². To show that boldsymbolv·boldsymbola = 0, expand line by line and give the reason for the equal terms.
Why does a radian answer lose a mark for the angle between two vectors?
When the question says give your answer in degrees, the markscheme gives M1A1A0 for 0.147 radians. Set the calculator to degrees before you take the inverse cosine. The angle in the example is β = 8.45^(°), which is the form the question needs.

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