Two non-zero vectors aˉ,bˉ, drawn from a common initial point, make an angle θ with
0≤θ≤π; this angle is written aˉ∧bˉ. Collinear vectors make an angle of 0 if they
point the same way and π if opposite.
Definition (scalar/dot product).aˉ⋅bˉ=∣aˉ∣∣bˉ∣cosθ. Since this is a real
number, the dot product is also called the scalar product.
Notes.
If aˉ=0ˉ or bˉ=0ˉ, θ is undefined and aˉ⋅bˉ is defined to be 0.
If θ=0: aˉ⋅bˉ=∣aˉ∣∣bˉ∣; in particular aˉ⋅aˉ=∣aˉ∣2.
If θ=π: aˉ⋅bˉ=−∣aˉ∣∣bˉ∣.
aˉ⊥bˉ⟺aˉ⋅bˉ=0 (given both are non-zero), and conversely aˉ⋅bˉ=0⟹aˉ=0ˉ or bˉ=0ˉ or θ=π/2. Also aˉ⋅bˉ=bˉ⋅aˉ
(commutative).
Distributive over addition: aˉ⋅(bˉ+cˉ)=aˉ⋅bˉ+aˉ⋅cˉ.
For scalars m,n: (maˉ)⋅(nbˉ)=mn(aˉ⋅bˉ) and (maˉ)⋅bˉ=m(aˉ⋅bˉ)=aˉ⋅(mbˉ).
Cauchy-Schwarz inequality:∣aˉ⋅bˉ∣≤∣aˉ∣∣bˉ∣.
For the standard basis, ^⋅^=^⋅^=k^⋅k^=1 and
^⋅^=^⋅k^=k^⋅^=0; consequently, for aˉ=a1^+a2^+a3k^ and bˉ=b1^+b2^+b3k^,
aˉ⋅bˉ=a1b1+a2b2+a3b3.
Worked examples.
aˉ⋅bˉ=∣aˉ∣∣bˉ∣cos45∘=3⋅6⋅22=92 for ∣aˉ∣=3,∣bˉ∣=6.
For aˉ=3^+4^−5k^,bˉ=3^−4^−5k^: (i) aˉ⋅bˉ=9−16+25=18; (ii) ∣aˉ∣=∣bˉ∣=50, so cosθ=18/50, giving θ=cos−1(18/50);
(iii) scalar projection of aˉ on bˉ is (aˉ⋅bˉ)/∣bˉ∣=18/50; (iv) vector
projection of bˉ along aˉ is ∣aˉ∣2aˉ⋅bˉaˉ=5018(3^+4^−5k^).
To find λ making 3^+2^+9k^ and ^+λ^+3k^
perpendicular: set the dot product 3+2λ+27=0⇒λ=−15; to make them parallel, match
ratios of like components, 3/1=2/λ=9/3⇒λ=2/3.
Given aˉ=^+2^−3k^,bˉ=3^−^+2k^, the angle between
2aˉ+bˉ and aˉ+2bˉ is found by first simplifying each combination into a single vector,
then applying cosθ=(mˉ⋅nˉ)/(∣mˉ∣∣nˉ∣) to the two simplified vectors.
A line making angles 90∘,60∘,30∘ with the X,Y,Z axes has direction cosines 0,21,23.
To find the vector projection of PQ on AB from four given points: form
both vectors from the point coordinates, then apply the vector-projection formula
∣AB∣2PQ⋅ABAB.
To find λ making the angle between ^+λ2^+4k^ and
2^−λ^+2λk^ obtuse: the angle is obtuse exactly when the dot product is
negative, so simplify the dot product to an inequality in λ and solve it.
Direction cosines of 2^+2^−k^: divide by its magnitude 3 to get
(32,32,−31).
If a line is inclined at 45∘ to the X-axis and 60∘ to the Y-axis, the third direction cosine
n is found from l2+m2+n2=1, giving n=±21; multiplying the direction cosines by the given
total length 12 gives the position vector of the far endpoint.
Direction ratios from two given points, with the requirement that the angle α with the X-axis be …