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

A product that is a number

a · b = |a||b| cos θ; it is 0 exactly when a ⊥ b.

Stuck? Ask Guru

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

Think

How should vectors multiply?

Multiplying two numbers gives a number. Vectors have a size and a direction, so the way they point relative to each other should matter.

If a and b are perpendicular, what should a · b be?

What this lesson covers

The idea

a · b = |a||b| cos θ, where θ (0 ≤ θ ≤ π) is the angle between them; it is a real number, and for non-zero vectors a · b = 0 if and only if a and b are perpendicular.

How should vectors multiply?

Multiplying two numbers gives a number. Vectors have a size and a direction, so the way they point relative to each other should matter.

If a and b are perpendicular, what should a · b be?

  • 0
  • |a||b|
  • −|a||b|

Turn b

Drag the tip of b. Watch the angle θ between a and b, and the dot product a · b = |a||b| cos θ.

Scalar (dot) product

The scalar (dot) product of two non-zero vectors a and b is a · b = |a||b| cos θ, where θ (0 ≤ θ ≤ π) is the angle between them. a · b is a real number, and for non-zero a, b: a · b = 0 ⇔ a ⊥ b.

θ = 0 gives a · b = |a||b|, and in particular a · a = |a|². θ = π gives a · b = −|a||b|. If a or b is the zero vector, a · b = 0.

So î · î = ĵ · ĵ = k̂ · k̂ = 1 and î · ĵ = ĵ · k̂ = k̂ · î = 0. The angle is θ = cos⁻¹((a · b)/(|a||b|)), and a · b = b · a.

Notes

a · b = |a||b| cos θ, a real number. Non-zero a, b: a · b = 0 ⇔ a ⊥ b. a · a = |a|²; î · î = 1, î · ĵ = 0.

Check yourself

Example 13: |a| = 1, |b| = 2 and a · b = 1. The angle between a and b is …

Example 18: a is a unit vector and (x − a) · (x + a) = 8. Find |x|.

Answer: 3

|x|² − 1 = 8, so |x|² = 9 and |x| = 3 (a magnitude is never negative).

Exercise 10.3, Q1: |a| = √3, |b| = 2 and a · b = √6. The angle between them is …

î · ĵ = ?

  • π/6. cos(π/6) = √3/2, but here cos θ = 1/2.
  • π/3 — correct. Yes! cos θ = (a · b)/(|a||b|) = 1/2, so θ = π/3.
  • π/2. That would need a · b = 0; here it is 1.
  • 2π/3. cos(2π/3) = −1/2: the dot product would be negative.
  • π/4 — correct. Yes! cos θ = √6/(2√3) = 1/√2, so θ = π/4.
  • π/3. cos(π/3) = 1/2, but √6/(2√3) = 1/√2.
  • π/6. cos(π/6) = √3/2; here cos θ = 1/√2.
  • 1. That is î · î: a unit vector with itself.
  • 0 — correct. Yes! î and ĵ are perpendicular, so their dot product is 0.
  • k̂. A dot product is a number, not a vector.