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:
- Multiply the first parts: 3 × 4 = 12.
- Multiply the second parts: −2 × 5 = −10.
- Add: 12 + (−10) = 2.
- The dot product is 2.
- 3 × 4 = 12.
- −2 × 5 = −10.
- 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:
- Multiply the first parts: 1 × 4 = 4.
- Multiply the second parts: 2 × (−5) = −10.
- Multiply the third parts: 3 × 6 = 18.
- Add: 4 − 10 + 18 = 12.
- The dot product is 12.
- 1 × 4 = 4, 2 × (−5) = −10, 3 × 6 = 18.
- 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:
- Square the first part: 4.
- Square the second part: 9.
- Square the third part: 36.
- Add: 4 + 9 + 36 = 49.
- a · a is the length squared, so |a| = 7.
- Square each part: 4, 9, 36.
- Add: 4 + 9 + 36 = 49.
a · a = 49
Try it
a = (−1, 4), b = (3, 2). Find a · b.
Show answer
5a = (5, 0), b = (0, 7). Find a · b.
Show answer
0a = (2, −1, 3), b = (1, 4, −2). Find a · b.
Show answer
-8a = (−3, 0, 4). Find a · a.
Show answer
25a = (6, −2), b = (−1, −3). Find a · b.
Show answer
0Common 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