The scalar product (or dot product) of two vectors combines them to produce an ordinary number (a scalar), not another vector — hence the name. For vectors A and B with angle θ between them,
A⋅B=ABcosθ
Properties:
A⋅B is always a scalar; it is positive when θ is acute (<90°) and negative when θ is obtuse (90°<θ<180°).
It is commutative: A⋅B=B⋅A.
It is distributive over addition: A⋅(B+C)=A⋅B+A⋅C.
The angle between two vectors can be recovered from their dot product: θ=cos−1(ABA⋅B).
Maximum when cosθ=1, i.e. θ=0° (parallel vectors): (A⋅B)max=AB.
Minimum (most negative) when cosθ=−1, i.e. θ=180° (anti-parallel vectors): (A⋅B)min=−AB.
If A⊥B, then A⋅B=0 (since cos90°=0) — this is exactly how orthogonality (perpendicularity) of two vectors is tested/deduced: compute the dot product; if it comes out to zero, the vectors are perpendicular.
Self-dot product:A⋅A=AAcos0°=A2, so the magnitude can also be written A=A⋅A.
For any unit vector, n^⋅n^=1×1×cos0°=1; in particular i^⋅i^=j^⋅j^=k^⋅k^=1.
Since i^,j^,k^ are mutually perpendicular, i^⋅j^=j^⋅k^=k^⋅i^=0.
In component form:
A⋅B=AxBx+AyBy+AzBz
(every cross term like Axi^⋅Byj^ vanishes because i^⋅j^=0). …