# Dot Product Formula

The geometric definition of the dot product states that the dot product between two vectors $\vec{a}$ and $\vec{b}$ is –

Where θ is the angle between vectors $\vec{a}$ and $\vec{b}$. This formula gives a clear picture on the properties of the dot product; a formula for the dot product in terms of vector components would make it easier to calculate the dot product between two given vectors. The dot product is also known as Scalar product. The symbol for dot product is represented by a heavy dot **(.)**

Here,

|a| is the magnitude (length) of vector $\vec{a}$

|b| is the magnitude (length) of vector $\vec{b}$

θ is the angle between a and b

**Dot Product Formula for Two Vectors**

\[\LARGE a.b=a_{1}a_{2}+b_{1}b_{2}+c_{1}c_{2}\]

If we have two vectors a = $a_{1}$, $a_{2}$, $a_{3}$…..$a_{n}$ and b = $b_{1}$, $b_{2}$, $b_{3}$…..$b_{n}$, then the dot product is given by

### Solved Examples

**Question 1:**Find the dot product of two vectors $\vec{a}$ and $\vec{b}$ if $\vec{a}$ = 4 $\hat{i}$ + 2 $\hat{j}$ + 1 $\hat{k}$ and $\vec{b}$ = 5 $\hat{i}$ + 4 $\hat{j}$ + $\hat{k}$?

**Solution:**

$\vec{b}$ = 5 $\hat{i}$ + 4 $\hat{j}$ + $\hat{k}$

The Dot product is given by $vec{a}$.$vec{b}$ = a

_{1}a

_{2}+ b

_{1}b

_{2}+ c

_{1}c

_{2}

= 5 $\times$ 4 + 2 $\times$ 4 + 1 $\times$ 1

= 20 + 6 + 1

= 27