Skip to content

Mathematics · Ch 10 — Vector Algebra

Scalar (or Dot) Product of Two Vectors

10.6.1

Scalar (or Dot) Product of Two Vectors

10.6.1 Scalar (or Dot) Product of Two Vectors

The Fundamental Idea

The scalar product (also called the dot product) produces a real number — a scalar — from two vectors. It measures how much of one vector points in the direction of the other.

For two nonzero vectors a⃗\vec{a} and b⃗\vec{b}, with an angle θ\theta between them (where 0≤θ≤π0 \leq \theta \leq \pi), the scalar product is defined as:

a⃗⋅b⃗=∣a⃗∣ ∣b⃗∣ cos⁡θ\vec{a} \cdot \vec{b} = |\vec{a}|\,|\vec{b}|\,\cos\theta

If either a⃗=0⃗\vec{a} = \vec{0} or b⃗=0⃗\vec{b} = \vec{0}, the angle θ\theta is not defined, and we define a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0. The result is always a real number — never a vector.


Key Observations

Observation 1: The Result is a Real Number

a⃗⋅b⃗\vec{a} \cdot \vec{b} is always a real number (a scalar), whether the vectors are nonzero or zero vectors.

Observation 2: Perpendicular Vectors

Let a⃗\vec{a} and b⃗\vec{b} be two nonzero vectors. Then:

a⃗⋅b⃗=0if and only ifa⃗⊥b⃗\vec{a} \cdot \vec{b} = 0 \quad \text{if and only if} \quad \vec{a} \perp \vec{b}

Why? When θ=90∘\theta = 90^\circ, cos⁡90∘=0\cos 90^\circ = 0, so ∣a⃗∣∣b⃗∣cos⁡90∘=0|\vec{a}||\vec{b}|\cos 90^\circ = 0. Conversely, if a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0 with both vectors nonzero, then cos⁡θ=0\cos\theta = 0, which forces θ=90∘\theta = 90^\circ.

Important

The dot product being zero is the algebraic test for perpendicularity between two nonzero vectors.

Observation 3: Parallel Vectors (Same Direction)

If θ=0\theta = 0, then cos⁡0=1\cos 0 = 1, so:

a⃗⋅b⃗=∣a⃗∣ ∣b⃗∣\vec{a} \cdot \vec{b} = |\vec{a}|\,|\vec{b}|

In particular, for any vector a⃗\vec{a}:

a⃗⋅a⃗=∣a⃗∣2\vec{a} \cdot \vec{a} = |\vec{a}|^2

This gives a direct way to find the magnitude of a vector: ∣a⃗∣=a⃗⋅a⃗|\vec{a}| = \sqrt{\vec{a} \cdot \vec{a}}.

Observation 4: Opposite Direction Vectors

If θ=π\theta = \pi, then cos⁡π=−1\cos\pi = -1, so:

a⃗⋅b⃗=−∣a⃗∣ ∣b⃗∣\vec{a} \cdot \vec{b} = -|\vec{a}|\,|\vec{b}|

In particular:

a⃗⋅(−a⃗)=−∣a⃗∣2\vec{a} \cdot (-\vec{a}) = -|\vec{a}|^2

Observation 5: Dot Products of Unit Vectors

For the mutually perpendicular unit vectors i^\hat{i}, j^\hat{j}, k^\hat{k} along the xx, yy, zz axes (each of magnitude 1):

  • Same direction (θ=0\theta = 0):

i^⋅i^=j^⋅j^=k^⋅k^=1\hat{i} \cdot \hat{i} = \hat{j} \cdot \hat{j} = \hat{k} \cdot \hat{k} = 1

  • Perpendicular (θ=90∘\theta = 90^\circ):

i^⋅j^=j^⋅k^=k^⋅i^=0\hat{i} \cdot \hat{j} = \hat{j} \cdot \hat{k} = \hat{k} \cdot \hat{i} = 0

Note

These results are the foundation for computing dot products in component form.

Observation 6: Finding the Angle Between Two Vectors

The angle θ\theta between two nonzero vectors is:

cos⁡θ=a⃗⋅b⃗∣a⃗∣ ∣b⃗∣⟹θ=cos⁡−1(a⃗⋅b⃗∣a⃗∣ ∣b⃗∣)\cos\theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}|\,|\vec{b}|} \quad\Longrightarrow\quad \theta = \cos^{-1}\left(\frac{\vec{a} \cdot \vec{b}}{|\vec{a}|\,|\vec{b}|}\right)

Observation 7: Commutativity

The scalar product is commutative:

a⃗⋅b⃗=b⃗⋅a⃗\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}

This holds because multiplication of real numbers is commutative, and the angle between a⃗\vec{a} and b⃗\vec{b} is the same as between b⃗\vec{b} and a⃗\vec{a}.


Two Important Properties of the Scalar Product

Property 1: Distributivity of Scalar Product Over Addition

For any three vectors a⃗\vec{a}, b⃗\vec{b}, and c⃗\vec{c}:

a⃗⋅(b⃗+c⃗)=a⃗⋅b⃗+a⃗⋅c⃗\vec{a} \cdot (\vec{b} + \vec{c}) = \vec{a} \cdot \vec{b} + \vec{a} \cdot \vec{c}

›Proof

The projection of b⃗+c⃗\vec{b} + \vec{c} onto a⃗\vec{a} equals the sum of the projections of b⃗\vec{b} and c⃗\vec{c} onto a⃗\vec{a}. Since the dot product equals ∣a⃗∣|\vec{a}| times the projection of the second vector onto a⃗\vec{a}, and vector addition is linear, the distributive property follows. It can also be verified algebraically using components (developed below).

Property 2: Scalar Multiplication

For any vectors a⃗\vec{a}, b⃗\vec{b} and any scalar λ\lambda:

(λa⃗)⋅b⃗=λ(a⃗⋅b⃗)=a⃗⋅(λb⃗)(\lambda\vec{a}) \cdot \vec{b} = \lambda(\vec{a} \cdot \vec{b}) = \vec{a} \cdot (\lambda\vec{b})

›Proof

(λa⃗)⋅b⃗=∣λa⃗∣ ∣b⃗∣ cos⁡θ(\lambda\vec{a}) \cdot \vec{b} = |\lambda\vec{a}|\,|\vec{b}|\,\cos\theta. Since ∣λa⃗∣=∣λ∣ ∣a⃗∣|\lambda\vec{a}| = |\lambda|\,|\vec{a}|, and λa⃗\lambda\vec{a} points the same way as a⃗\vec{a} (if λ>0\lambda > 0) or opposite (if λ<0\lambda < 0), the angle between λa⃗\lambda\vec{a} and b⃗\vec{b} is θ\theta or π−θ\pi - \theta.

For λ>0\lambda > 0: (λa⃗)⋅b⃗=λ∣a⃗∣ ∣b⃗∣ cos⁡θ=λ(a⃗⋅b⃗)(\lambda\vec{a}) \cdot \vec{b} = \lambda|\vec{a}|\,|\vec{b}|\,\cos\theta = \lambda(\vec{a} \cdot \vec{b})

For λ<0\lambda < 0: (λa⃗)⋅b⃗=∣λ∣∣a⃗∣ ∣b⃗∣ cos⁡(π−θ)=−∣λ∣∣a⃗∣ ∣b⃗∣cos⁡θ=λ∣a⃗∣ ∣b⃗∣ cos⁡θ=λ(a⃗⋅b⃗)(\lambda\vec{a}) \cdot \vec{b} = |\lambda||\vec{a}|\,|\vec{b}|\,\cos(\pi - \theta) = -|\lambda||\vec{a}|\,|\vec{b}|\cos\theta = \lambda|\vec{a}|\,|\vec{b}|\,\cos\theta = \lambda(\vec{a} \cdot \vec{b})

The same reasoning gives a⃗⋅(λb⃗)=λ(a⃗⋅b⃗)\vec{a} \cdot (\lambda\vec{b}) = \lambda(\vec{a} \cdot \vec{b}).


Dot Product in Component Form

Let:

a⃗=a1i^+a2j^+a3k^,b⃗=b1i^+b2j^+b3k^\vec{a} = a_1\hat{i} + a_2\hat{j} + a_3\hat{k}, \qquad \vec{b} = b_1\hat{i} + b_2\hat{j} + b_3\hat{k}

Using Property 1 (distributivity) and Property 2 (scalar multiplication), the product expands into nine terms: …

Definition 2Scalar (dot) product of two vectors

Definition

The scalar (or dot) product of two nonzero vectors a⃗\vec{a} and b⃗\vec{b}, denoted by a⃗⋅b⃗\vec{a} \cdot \vec{b}, is defined as:

a⃗⋅b⃗=∣a⃗∣ ∣b⃗∣ cos⁡θ\vec{a} \cdot \vec{b} = |\vec{a}| \, |\vec{b}| \, \cos \theta

where θ\theta is the angle between a⃗\vec{a} and b⃗\vec{b} (with 0≤θ≤π0 \le \theta \le \pi).

If either a⃗=0⃗\vec{a} = \vec{0} or b⃗=0⃗\vec{b} = \vec{0}, then θ\theta is not defined. In this case, we define a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0.

Key Observations

  • The result a⃗⋅b⃗\vec{a} \cdot \vec{b} is a real number (a scalar), not a vector.
  • For nonzero vectors: a⃗⋅b⃗=0\vec{a} \cdot \vec{b} = 0 if and only if a⃗\vec{a} and b⃗\vec{b} are perpendicular (θ=90∘\theta = 90^\circ).
  • If θ=0\theta = 0, then a⃗⋅b⃗=∣a⃗∣ ∣b⃗∣\vec{a} \cdot \vec{b} = |\vec{a}| \, |\vec{b}|. In particular, a⃗⋅a⃗=∣a⃗∣2\vec{a} \cdot \vec{a} = |\vec{a}|^2.
  • If θ=π\theta = \pi, then a⃗⋅b⃗=−∣a⃗∣ ∣b⃗∣\vec{a} \cdot \vec{b} = -|\vec{a}| \, |\vec{b}|.
  • For the standard unit vectors i^,j^,k^\hat{i}, \hat{j}, \hat{k}:
    • i^⋅i^=j^⋅j^=k^⋅k^=1\hat{i} \cdot \hat{i} = \hat{j} \cdot \hat{j} = \hat{k} \cdot \hat{k} = 1
    • i^⋅j^=j^⋅k^=k^⋅i^=0\hat{i} \cdot \hat{j} = \hat{j} \cdot \hat{k} = \hat{k} \cdot \hat{i} = 0
  • The angle between two nonzero vectors is given by cos⁡θ=a⃗⋅b⃗∣a⃗∣ ∣b⃗∣\cos \theta = \frac{\vec{a} \cdot \vec{b}}{|\vec{a}| \, |\vec{b}|}.
  • The scalar product is commutative: a⃗⋅b⃗=b⃗⋅a⃗\vec{a} \cdot \vec{b} = \vec{b} \cdot \vec{a}.

Intuition …

Property 1

Let a⃗\vec{a} and b⃗\vec{b} be any two vectors, and let ll be any scalar. Then the scalar (dot) product satisfies:

(la⃗)⋅b⃗=l(a⃗⋅b⃗)=a⃗⋅(lb⃗)(l\vec{a}) \cdot \vec{b} = l (\vec{a} \cdot \vec{b}) = \vec{a} \cdot (l\vec{b})

This means a scalar can be pulled out of either vector before taking the dot product without changing the result. It is used when simplifying expressions involving scalar multiplication inside a dot product, especially when vectors are …

Property 2

Let a⃗\vec{a} and b⃗\vec{b} be any two vectors, and let ll be any scalar. Then the scalar (dot) product satisfies:

(la⃗)⋅b⃗=l(a⃗⋅b⃗)=a⃗⋅(lb⃗)(l\vec{a}) \cdot \vec{b} = l (\vec{a} \cdot \vec{b}) = \vec{a} \cdot (l\vec{b})

This means a scalar can be pulled out of either vector before taking the dot product without changing the result. It is used when simplifying expressions involving scalar multiplication inside a dot product, especially when vectors are …

Figure 10.19Two vectors a and b drawn from a common point with the angle theta between them, used to define the scalar (dot) product.
Fig. 10.19 — Two vectors a and b drawn from a common point with the angle theta between them, used to define the scalar (dot) product.

Drawn by us to help you understand the concept clearly, and verified to make sure it's accurate. For exams, practice from your NCERT textbook's own diagram.

Fig 10.19 is a simple but essential diagram: it shows two vectors, a and b, drawn from the same starting point. Vector a is a horizontal arrow pointing to the right. Vector b is an arrow pointing up and to the right. Between them, a thin slate-coloured arc marks the smaller angle, labelled θ\theta. That is all the figure contains — no axes, no grid, no extra labels.

The entire purpose of this drawing is to give a visual definition of the angle between two vectors. In the scalar (dot) product, θ\theta is not just any angle; it is the smaller of the two angles formed when the vectors are placed tail-to-tail. The figure makes this concrete: you see the two arrows, you see the arc, and you understand that θ\theta is the measure of the turn needed to align the direction of a with the direction of b (or vice versa).

From this picture, the textbook defines the scalar product:

a⋅b=∣a∣ ∣b∣ cos⁡θ\mathbf{a} \cdot \mathbf{b} = |\mathbf{a}|\,|\mathbf{b}|\,\cos\theta

Here, ∣a∣|\mathbf{a}| and ∣b∣|\mathbf{b}| are the magnitudes (lengths) of the vectors, and θ\theta is the angle between them, exactly as shown in Fig 10.19. The formula tells you that the dot product is a real number, not a vector. If θ=0∘\theta = 0^\circ, the vectors point in the same direction and a⋅b=∣a∣∣b∣\mathbf{a}\cdot\mathbf{b} = |\mathbf{a}||\mathbf{b}|. If θ=90∘\theta = 90^\circ, the vectors are perpendicular and a⋅b=0\mathbf{a}\cdot\mathbf{b} = 0. If θ=180∘\theta = 180^\circ, they point opposite and the dot product is −∣a∣∣b∣-|\mathbf{a}||\mathbf{b}|.

Watch out

A common mistake is to think θ\theta can be any angle, like 200∘200^\circ. The figure shows the smaller angle between the two directions, so θ\theta is always between 0∘0^\circ and 180∘180^\circ (or 00 and π\pi radians). For 200∘200^\circ, the smaller angle is actually 160∘160^\circ, and cos⁡(160∘)\cos(160^\circ) is negative — that is the correct value to use.

The diagram also grounds the idea that the dot product is commutative: a⋅b=b⋅a\mathbf{a}\cdot\mathbf{b} = \mathbf{b}\cdot\mathbf{a}. Swapping the vectors does not change the angle θ\theta between them, so the formula gives the same result. This is obvious from the picture — the arc between the two arrows is the same regardless of which vector you name first. …