Skip to content

Mathematics · Ch 5 — Vectors

Scalar product of two vectors

5.3.1

Scalar product of two vectors

Two non-zero vectors aˉ,bˉ\bar a,\bar b, drawn from a common initial point, make an angle θ\theta with

0≤θ≤π0\le\theta\le\pi; this angle is written aˉ∧bˉ\bar a\wedge\bar b. Collinear vectors make an angle of 00 if they

point the same way and π\pi if opposite.

Definition (scalar/dot product). aˉ⋅bˉ=∣aˉ∣∣bˉ∣cos⁡θ\bar a\cdot\bar b=|\bar a||\bar b|\cos\theta. Since this is a real

number, the dot product is also called the scalar product.

Notes.

  1. If aˉ=0ˉ\bar a=\bar 0 or bˉ=0ˉ\bar b=\bar 0, θ\theta is undefined and aˉ⋅bˉ\bar a\cdot\bar b is defined to be 0.
  2. If θ=0\theta=0: aˉ⋅bˉ=∣aˉ∣∣bˉ∣\bar a\cdot\bar b=|\bar a||\bar b|; in particular aˉ⋅aˉ=∣aˉ∣2\bar a\cdot\bar a=|\bar a|^2.
  3. If θ=π\theta=\pi: aˉ⋅bˉ=−∣aˉ∣∣bˉ∣\bar a\cdot\bar b=-|\bar a||\bar b|.
  4. aˉ⊥bˉ  ⟺  aˉ⋅bˉ=0\bar a\perp\bar b\iff\bar a\cdot\bar b=0 (given both are non-zero), and conversely aˉ⋅bˉ=0  ⟹  aˉ=0ˉ\bar a\cdot\bar b=0\implies\bar a=\bar 0 or bˉ=0ˉ\bar b=\bar 0 or θ=π/2\theta=\pi/2. Also aˉ⋅bˉ=bˉ⋅aˉ\bar a\cdot\bar b=\bar b\cdot\bar a (commutative).
  5. Distributive over addition: aˉ⋅(bˉ+cˉ)=aˉ⋅bˉ+aˉ⋅cˉ\bar a\cdot(\bar b+\bar c)=\bar a\cdot\bar b+\bar a\cdot\bar c.
  6. For scalars m,nm,n: (maˉ)⋅(nbˉ)=mn(aˉ⋅bˉ)(m\bar a)\cdot(n\bar b)=mn(\bar a\cdot\bar b) and (maˉ)⋅bˉ=m(aˉ⋅bˉ)=aˉ⋅(mbˉ)(m\bar a)\cdot\bar b=m(\bar a\cdot\bar b)=\bar a\cdot(m\bar b).
  7. Cauchy-Schwarz inequality: ∣aˉ⋅bˉ∣≤∣aˉ∣∣bˉ∣|\bar a\cdot\bar b|\le|\bar a||\bar b|.

For the standard basis, ı^⋅ı^=ȷ^⋅ȷ^=k^⋅k^=1\hat\imath\cdot\hat\imath=\hat\jmath\cdot\hat\jmath=\hat k\cdot\hat k=1 and

ı^⋅ȷ^=ȷ^⋅k^=k^⋅ı^=0\hat\imath\cdot\hat\jmath=\hat\jmath\cdot\hat k=\hat k\cdot\hat\imath=0; consequently, for aˉ=a1ı^+a2ȷ^+a3k^\bar a=a_1\hat\imath+a_2\hat\jmath+a_3\hat k and bˉ=b1ı^+b2ȷ^+b3k^\bar b=b_1\hat\imath+b_2\hat\jmath+b_3\hat k,

aˉ⋅bˉ=a1b1+a2b2+a3b3.\bar a\cdot\bar b=a_1b_1+a_2b_2+a_3b_3.

Worked examples.

  • aˉ⋅bˉ=∣aˉ∣∣bˉ∣cos⁡45∘=3⋅6⋅22=92\bar a\cdot\bar b=|\bar a||\bar b|\cos45^\circ=3\cdot6\cdot\tfrac{\sqrt2}{2}=9\sqrt2 for ∣aˉ∣=3,∣bˉ∣=6|\bar a|=3,|\bar b|=6.
  • For aˉ=3ı^+4ȷ^−5k^, bˉ=3ı^−4ȷ^−5k^\bar a=3\hat\imath+4\hat\jmath-5\hat k,\ \bar b=3\hat\imath-4\hat\jmath-5\hat k: (i) aˉ⋅bˉ=9−16+25=18\bar a\cdot\bar b=9-16+25=18; (ii) ∣aˉ∣=∣bˉ∣=50|\bar a|=|\bar b|=\sqrt{50}, so cos⁡θ=18/50\cos\theta=18/50, giving θ=cos⁡−1(18/50)\theta=\cos^{-1}(18/50); (iii) scalar projection of aˉ\bar a on bˉ\bar b is (aˉ⋅bˉ)/∣bˉ∣=18/50(\bar a\cdot\bar b)/|\bar b|=18/\sqrt{50}; (iv) vector projection of bˉ\bar b along aˉ\bar a is aˉ⋅bˉ∣aˉ∣2aˉ=1850(3ı^+4ȷ^−5k^)\dfrac{\bar a\cdot\bar b}{|\bar a|^2}\bar a=\dfrac{18}{50}(3 \hat\imath+4\hat\jmath-5\hat k).
  • To find λ\lambda making 3ı^+2ȷ^+9k^3\hat\imath+2\hat\jmath+9\hat k and ı^+λȷ^+3k^\hat\imath+\lambda\hat\jmath+3\hat k perpendicular: set the dot product 3+2λ+27=0⇒λ=−153+2\lambda+27=0\Rightarrow\lambda=-15; to make them parallel, match ratios of like components, 3/1=2/λ=9/3⇒λ=2/33/1=2/\lambda=9/3\Rightarrow\lambda=2/3.
  • Given aˉ=ı^+2ȷ^−3k^,bˉ=3ı^−ȷ^+2k^\bar a=\hat\imath+2\hat\jmath-3\hat k,\bar b=3\hat\imath-\hat\jmath+2\hat k, the angle between 2aˉ+bˉ2\bar a+\bar b and aˉ+2bˉ\bar a+2\bar b is found by first simplifying each combination into a single vector, then applying cos⁡θ=(mˉ⋅nˉ)/(∣mˉ∣∣nˉ∣)\cos\theta=(\bar m\cdot\bar n)/(|\bar m||\bar n|) to the two simplified vectors.
  • A line making angles 90∘,60∘,30∘90^\circ,60^\circ,30^\circ with the X,Y,Z axes has direction cosines 0,12,320,\tfrac12, \tfrac{\sqrt3}2.
  • To find the vector projection of PQ→\overrightarrow{PQ} on AB→\overrightarrow{AB} from four given points: form both vectors from the point coordinates, then apply the vector-projection formula PQ→⋅AB→∣AB→∣2 AB→\dfrac{\overrightarrow{PQ}\cdot\overrightarrow{AB}}{|\overrightarrow{AB}|^2}\,\overrightarrow{AB}.
  • To find λ\lambda making the angle between ı^+λ2ȷ^+4k^\hat\imath+\lambda^2\hat\jmath+4\hat k and 2ı^−λȷ^+2λk^2\hat\imath-\lambda\hat\jmath+2\lambda\hat k obtuse: the angle is obtuse exactly when the dot product is negative, so simplify the dot product to an inequality in λ\lambda and solve it.
  • Direction cosines of 2ı^+2ȷ^−k^2\hat\imath+2\hat\jmath-\hat k: divide by its magnitude 33 to get (23,23,−13)(\tfrac23,\tfrac23,-\tfrac13).
  • If a line is inclined at 45∘45^\circ to the X-axis and 60∘60^\circ to the Y-axis, the third direction cosine nn is found from l2+m2+n2=1l^2+m^2+n^2=1, giving n=±12n=\pm\tfrac12; multiplying the direction cosines by the given total length 1212 gives the position vector of the far endpoint.
  • Direction ratios from two given points, with the requirement that the angle α\alpha with the X-axis be …