For non-zero vectors a,b with included angle θ (0≤θ≤π), the scalar (dot) product is the numbera⋅b=∣a∣∣b∣cosθ.
Geometric meaning (projection).a⋅b=∣a∣×(projection of b on a), and the projection of b on a is ∣a∣a⋅b (symmetrically, projection of a on b is ∣b∣a⋅b).
Core properties.
Commutative:a⋅b=b⋅a.
Sign follows the angle: positive for 0≤θ<π/2, zero at θ=π/2, negative for π/2<θ≤π. In particular a⋅b=0⟺a=0 or b=0 or a⊥b — for two non-zero vectors, a⋅b=0 is exactly the perpendicularity test.
a⋅a=∣a∣2 (often written a2), so ∣a∣=a⋅a.
i^⋅i^=j^⋅j^=k^⋅k^=1 and i^⋅j^=j^⋅k^=k^⋅i^=0 (they're mutually perpendicular unit vectors).
Distributive:a⋅(b+c)=a⋅b+a⋅c, and likewise for subtraction and for the right factor. …
Using only the sum a⋅b+b⋅c+c⋅a (which only works when all three coefficients are equal) instead of solving for each dot product separately, since the coeffic …