The geometric definition of the dot product says that the dot product between two vectors a and b is a⋅b=∥a∥∥b∥cosθ , where θ is the angle between vectors a and b.
As a first step, we look at the dot product between standard unit vectors, i.e., the vectors i, j, and k of length one and parallel to the coordinate axes.
Since the standard unit vectors are orthogonal, we immediately conclude that the dot product between a pair of distinct standard unit vectors is zero: i⋅j=k⋅j=i⋅k=0 .
The dot product between a unit vector and itself is also simple to compute. In this case, the angle is zero and cosθ=1 . Given that the vectors are all of length one, the dot products are i⋅i=j⋅j=k⋅k=1 .
The second step is to calculate the dot product between two three-dimensional vectors
a=(a1,a2,a3)=a1i+a2j+a3k , b=(b1,b2,b3)=b1i+b2j+b3k .
To do this, we simply assert that for any three vectors a, b, and c, and any scalar λ : (λa)⋅b=λ(a⋅b)=a⋅(λb) , (a+b)⋅c=a⋅c+b⋅c .
Given these properties and the fact that the dot product is commutative, we can expand the dot product a⋅b in terms of components, a⋅b=(a1i+a2j+a3k)⋅(b1i+b2j+b3k)=a1b1i⋅i+a2b2j⋅j+a3b3k⋅k+(a1b2+a2b1)i⋅j+(a1b3+a3b1)i⋅k+(a2b3+a3b2)j⋅k
Since we know the dot product of unit vectors, we can simplify the dot product formula to a⋅b=a1b1+a2b2+a3b3 .
Answer: a⋅b=a1b1+a2b2+a3b3 .
Comments