‹ Class 12 · Ch 10
Vector Algebra · Principle 16 of 21

Multiply matching components

a · b = a₁b₁ + a₂b₂ + a₃b₃, and cos θ = (a · b)/(|a||b|).

Stuck? Ask Guru

NCERT: 10.6.1 Scalar (or dot) product of two vectors

Think

Multiply it out

Take a = a₁î + a₂ĵ + a₃k̂ and b = b₁î + b₂ĵ + b₃k̂, and multiply out a · b using î · î = 1 and î · ĵ = 0.

What is left of a · b?

What this lesson covers

The idea

a · b = a₁b₁ + a₂b₂ + a₃b₃, the dot product distributes over addition, and cos θ = (a · b)/(|a||b|) gives the angle between two vectors.

Multiply it out

Take a = a₁î + a₂ĵ + a₃k̂ and b = b₁î + b₂ĵ + b₃k̂, and multiply out a · b using î · î = 1 and î · ĵ = 0.

What is left of a · b?

  • a₁b₁ + a₂b₂ + a₃b₃
  • a₁b₂ + a₂b₃ + a₃b₁
  • (a₁ + a₂ + a₃)(b₁ + b₂ + b₃)

Hit a target

Drag b. The readout works out a · b both ways: from the components, and as |a||b| cos θ.

Dot product in components

a · b = a₁b₁ + a₂b₂ + a₃b₃ and the angle between non-zero a and b comes from cos θ = (a · b)/(|a||b|).

Why: the dot product distributes over addition, a · (b + c) = a · b + a · c, and (λa) · b = λ(a · b). Multiplying out, the six cross terms like î · ĵ are 0 and the three like î · î are 1.

Example 14: a = î + ĵ − k̂ and b = î − ĵ + k̂. a · b = 1 − 1 − 1 = −1 and |a| = |b| = √3, so cos θ = −1/3.

Example 15: a + b = 6î + 2ĵ − 8k̂ and a − b = 4î − 4ĵ + 2k̂. Their dot product is 24 − 8 − 16 = 0, so they are perpendicular.

Notes

a · b = a₁b₁ + a₂b₂ + a₃b₃ cos θ = (a · b)/(|a||b|) a · (b + c) = a · b + a · c.

Check yourself

Exercise 10.3, Q2: for the vectors î − 2ĵ + 3k̂ and 3î − 2ĵ + k̂, cos θ = …

Exercise 10.3, Q10: a = 2î + 2ĵ + 3k̂, b = −î + 2ĵ + k̂, c = 3î + ĵ. Find λ so that a + λb is perpendicular to c.

Answer: 8

(2 − λ) × 3 + (2 + 2λ) × 1 + (3 + λ) × 0 = 8 − λ = 0, so λ = 8.

Example 15: (6î + 2ĵ − 8k̂) · (4î − 4ĵ + 2k̂) = ?

Answer: 0

24 − 8 − 16 = 0: the vectors are perpendicular.

Example 14: a = î + ĵ − k̂ and b = î − ĵ + k̂. Then cos θ = …

  • 1/7. (−2) × (−2) = +4, not −4: a · b = 3 + 4 + 3 = 10.
  • 10/√14. Divide by |a||b| = √14 × √14 = 14, not by √14.
  • 5/7 — correct. Yes! a · b = 3 + 4 + 3 = 10 and |a| = |b| = √14, so cos θ = 10/14 = 5/7.
  • −1/3 — correct. Yes! a · b = 1 − 1 − 1 = −1 and |a||b| = 3.
  • 1/3. a · b = 1 − 1 − 1 = −1: the sign matters.
  • −1/√3. Divide a · b by |a||b| = √3 × √3 = 3, not by √3 alone.