Open Mathhh

The scalar product

Vectors · worksheets 61 to 70 · 2 min read

I can

  • find a · b for vectors with two or three parts
  • find a · a
  • say what a · b = 0 tells me

Key idea

The inner product (dot product) of two vectors is a single number, not a vector. Multiply matching parts and add:

  • two parts: (a1, a2) · (b1, b2) = a1 × b1 + a2 × b2
  • three parts: (a1, a2, a3) · (b1, b2, b3) = a1 × b1 + a2 × b2 + a3 × b3

The product a · a is the square of the length of a. It is never negative.

If a · b = 0 (and neither vector is zero), the vectors are perpendicular.

Worked examples

Example 1: a = (3, −2), b = (4, 5). Find a · b.

Watch it: a = (3, −2), b = (4, 5): a · b, step by step:

  1. Multiply the first parts: 3 × 4 = 12.
  2. Multiply the second parts: −2 × 5 = −10.
  3. Add: 12 + (−10) = 2.
  4. The dot product is 2.
  1. 3 × 4 = 12.
  2. −2 × 5 = −10.
  3. Add: 12 + (−10) = 2.

a · b = 2

Example 2: a = (1, 2, 3), b = (4, −5, 6). Find a · b.

Watch it: a = (1, 2, 3), b = (4, −5, 6): a · b, step by step:

  1. Multiply the first parts: 1 × 4 = 4.
  2. Multiply the second parts: 2 × (−5) = −10.
  3. Multiply the third parts: 3 × 6 = 18.
  4. Add: 4 − 10 + 18 = 12.
  5. The dot product is 12.
  1. 1 × 4 = 4, 2 × (−5) = −10, 3 × 6 = 18.
  2. Add: 4 − 10 + 18 = 12.

a · b = 12

Example 3: a = (2, −3, 6). Find a · a.

Watch it: a = (2, −3, 6): a · a, step by step:

  1. Square the first part: 4.
  2. Square the second part: 9.
  3. Square the third part: 36.
  4. Add: 4 + 9 + 36 = 49.
  5. a · a is the length squared, so |a| = 7.
  1. Square each part: 4, 9, 36.
  2. Add: 4 + 9 + 36 = 49.

a · a = 49

Try it

a = (−1, 4), b = (3, 2). Find a · b.
Show answer5
a = (5, 0), b = (0, 7). Find a · b.
Show answer0
a = (2, −1, 3), b = (1, 4, −2). Find a · b.
Show answer-8
a = (−3, 0, 4). Find a · a.
Show answer25
a = (6, −2), b = (−1, −3). Find a · b.
Show answer0

Common mistakes

  • Giving a vector as the answer. The inner product is one number.
  • Sign slips. A negative times a negative is positive: (−6) × (−1) = 6.
  • Forgetting the third part for vectors in space.

Remember

  • Multiply matching parts, then add.
  • a · a is the length squared.
  • a · b = 0 means perpendicular.

Practise this

Worksheets 61 to 70 of Vectors practise this note. Sign in to Mathhh, write your answers by hand and see your marks straight away.

Open Mathhh

More Vectors notes

Keep learning

All Vectors notes · All study notes