12.3 The Dot Product

Created

The dot product is a way to multiply vectors. Ends up with a real number called a scalar.

If a⃗=<a1,a2,a3>\vec{a}=<a_{1}, a_{2}, a_{3}> and b⃗=<b1,b2,b3>\vec{b}=<b_{1}, b_{2}, b_{3}>, then the dot product of a⃗\vec{a} and b⃗\vec{b} is the number a⃗⋅b⃗\vec{a}\cdot\vec{b} given by: a⃗⋅b⃗=a1b1+a2b2+a3,b3\vec{a}\cdot\vec{b}=a_{1}b_{1}+a_{2}b_{2}+a_{3}, b_{3} Dot proucts are also called "scalar product" or "inner product".

Properties of Dot Product

  1. a⃗⋅a⃗=∣a⃗∣2\vec{a}\cdot\vec{a}=|\vec{a}|^2 because the magnitude is ∣a⃗∣=a12+a22|\vec{a}|=\sqrt{a_{1}^2+a_{2}^2} and a⃗⋅a⃗=a12+a22\vec{a}\cdot\vec{a}=a_{1}^2+a_{2}^2
  2. a⃗⋅b⃗=b⃗⋅a⃗\vec{a}\cdot\vec{b}=\vec{b}\cdot\vec{a}
  3. a⃗⋅(b⃗+c⃗)=a⃗⋅b⃗+a⃗⋅c⃗\vec{a}\cdot(\vec{b}+\vec{c})= \vec{a}\cdot\vec{b}+\vec{a}\cdot\vec{c}
  4. (ca⃗)⋅b⃗=c(a⃗⋅b⃗)=a⃗⋅(cb⃗)(c\vec{a})\cdot\vec{b}=c(\vec{a}\cdot\vec{b})=\vec{a}\cdot(c\vec{b})

Uses of Dot Product

a⃗⋅b⃗\vec{a}\cdot\vec{b} can be given a geometric interpretation in terms of the angle θ\theta between a⃗\vec{a} and b⃗\vec{b}.

Theorem (proof uses law of cosine): If θ\theta is the angle between a⃗\vec{a} and b⃗\vec{b}, then a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ\vec{a}\cdot\vec{b} = |\vec{a}||\vec{b}|\cos{\theta} Two vectors a⃗\vec{a} and b⃗\vec{b} are orthogonal (perpendicular) if and only if a⃗⋅b⃗=0\vec{a}\cdot\vec{b}=0. If a⃗⋅b⃗≠0\vec{a}\cdot\vec{b}\neq0, we know that they are not perpendicular.

The sign of a⃗⋅b⃗\vec{a}\cdot\vec{b} is reliant on the cos⁡θ\cos{\theta} because ∣a⃗∣∣b⃗∣|\vec{a}||\vec{b}| are always positive. Therefore, the dot product is:

  • positive if a⃗\vec{a} and b⃗\vec{b} point in the same general direction. 0<θ<π20<\theta<\frac{\pi}{2}
  • 00 if perpendicular
  • negative if they point in generally opposite directions. π2<θ<π\frac{\pi}{2}<\theta<\pi
  • ∣a⃗∣∣b⃗∣|\vec{a}||\vec{b}| if they point in the same direction.
  • -∣a⃗∣∣b⃗∣|\vec{a}||\vec{b}| if they point in opposite directions.

Projection

Vector Projection

Two vectors a⃗\vec{a} and b⃗\vec{b} have the same initial point P. projab⃗proj_{a}\vec{b} represents the vector projection (distance and direction) of b⃗\vec{b} onto a⃗\vec{a} (The shadow of b⃗\vec{b}). Read as "prorjecting onto a⃗\vec{a}, the vector of b⃗\vec{b}".

Vector projection represented by projab⃗=(a⃗⋅b⃗∣a⃗∣)a⃗∣a⃗∣=a⃗⋅b⃗∣a⃗∣2a⃗proj_{a}\vec{b}=(\frac{\vec{a}\cdot\vec{b}}{|\vec{a}|})\frac{\vec{a}}{|\vec{a}|}=\frac{\vec{a}\cdot\vec{b}}{|\vec{a}|^2}\vec{a} because it's the unit vector (a⃗∣a⃗∣\frac{\vec{a}}{|\vec{a}|}) in the direction of a⃗\vec{a} multiplied by the scalar projection.

Scalar Projection

The scalar projection (magnitude) of b⃗\vec{b} onto a⃗\vec{a} ("component of b⃗\vec{b} along a⃗\vec{a}" or compab⃗comp_{a}\vec{b}) is defined to be the signed magnitude of the vector projecetion.

The scalar projection can be calculated by compab⃗=a⃗⋅b⃗∣a⃗∣comp_{a}\vec{b}=\frac{\vec{a}\cdot\vec{b}}{|\vec{a}|} because compab⃗=∣b⃗∣cos⁡θcomp_{a}\vec{b}=|\vec{b}|\cos{\theta}. Replace cos⁡θ\cos{\theta} with cos⁡θ=a⃗⋅b⃗∣a⃗∣∣b⃗∣\cos{\theta}=\frac{\vec{a}\cdot\vec{b}}{|\vec{a}||\vec{b}|} which comes from a⃗⋅b⃗=∣a⃗∣∣b⃗∣cos⁡θ\vec{a}\cdot\vec{b}=|\vec{a}||\vec{b}|\cos{\theta}

Work and The Dot Product

In physics, work is defined as W=FdW=Fd. Only includes the force directed along the line of motion of the object. Suppose D⃗\vec{D} is the displacement vector. Work done is defined to be the compdF⃗comp_{d}\vec{F} multiplied by ∣D⃗∣|\vec{D}| (distance moved) or the dot product of F⃗⋅D⃗\vec{F}\cdot\vec{D} W=(∣F⃗∣cos⁡θ)∣D⃗∣=F⃗⋅D⃗W=(|\vec{F}|\cos{\theta})|\vec{D}|=\vec{F}\cdot\vec{D}