So far we have studied addition and subtraction of vectors. Multiplication of two vectors is defined in two ways — one where the result is a scalar (the scalar or dot product), and another where the result is a vector (the vector or cross product). Both have wide applications in geometry, mechanics, and engineering.
Scalar (Dot) Product
The scalar product of two vectors a and b is defined as:
a⋅b=∣a∣∣b∣cosθ
where θ is the angle between a and b, with 0≤θ≤π.
Important
The dot product is a scalar (a real number), not a vector. It is also called the inner product.
If either a=0 or b=0, then θ is not defined, and we define a⋅b=0.
Observations
a⋅b is positive if θ is acute (0≤θ<2π).
a⋅b is zero if θ=2π.
a⋅b is negative if θ is obtuse (2π<θ≤π).
Note
The dot product of two non-zero vectors is zero if and only if they are perpendicular (orthogonal). This is a key test for orthogonality.
Properties of the Dot Product
Property 1 (Commutativity):a⋅b=b⋅a
›Proof
a⋅b=∣a∣∣b∣cosθ=∣b∣∣a∣cosθ=b⋅a, since real-number multiplication is commutative.
Property 2 (Distributivity over addition):a⋅(b+c)=a⋅b+a⋅c
›Proof
Using the dot product as ∣a∣ times the projection of the other vector onto a: the projection of b+c onto a equals the sum of the projections of b and c onto a. Multiplying by ∣a∣ gives the result.
For λ≥0: (λa)⋅b=∣λ∣∣a∣∣b∣cosθ=λ(a⋅b). For λ<0, the angle between λa and b is π−θ, and cos(π−θ)=−cosθ, so (λa)⋅b=∣λ∣∣a∣∣b∣(−cosθ)=λ(a⋅b). The same reasoning applies to a⋅(λb).
Property 4 (Dot product with itself):a⋅a=∣a∣2
›Proof
a⋅a=∣a∣∣a∣cos0=∣a∣2.
Tip
This gives a convenient way to compute the magnitude: ∣a∣=a⋅a.
Dot Product in Component Form
For a=a1i^+a2j^+a3k^ and b=b1i^+b2j^+b3k^, using i^⋅i^=j^⋅j^=k^⋅k^=1 and i^⋅j^=j^⋅k^=k^⋅i^=0:
The scalar projection of a onto b (the component of a along b) is:
∣b∣a⋅b
The vector projection of a onto b is:
(∣b∣2a⋅b)b
Note
The scalar projection is a signed quantity — positive if the angle is acute, negative if obtuse. The vector projection points along b (or opposite if the scalar projection is negative).
Vector (Cross) Product
The vector product of two vectors a and b is defined as:
a×b=∣a∣∣b∣sinθn^
where θ is the angle between a and b (0≤θ≤π), and n^ is a unit vector perpendicular to both a and b, such that a,b,n^ form a right-handed system.
Important
The cross product is a vector. Its magnitude ∣a×b∣=∣a∣∣b∣sinθ equals the area of the parallelogram formed by a and b.
If either a=0 or b=0, then θ is not defined, and we define a×b=0.
The direction of a×b is given by the right-hand rule: if you curl the fingers of your right hand from a to b, your thumb points in the direction of a×b.
Watch out
The cross product is not commutative: a×b=−(b×a), because reversing the order reverses the direction of n^.
Properties of the Cross Product
Property 1 (Anticommutativity):a×b=−(b×a)
›Proof
For b×a, the right-hand rule gives −n^ (the rotation is opposite), so b×a=∣a∣∣b∣sinθ(−n^)=−(a×b).
Property 2 (Distributivity):a×(b+c)=a×b+a×c
›Proof
This follows from the geometric interpretation of the cross product as an area vector, or algebraically using components (analogous to the dot-product distributive law, but more involved).
For λ≥0: (λa)×b=∣λ∣∣a∣∣b∣sinθn^=λ(a×b). For λ<0, the angle becomes π−θ (so sin(π−θ)=sinθ) but the right-hand rule now gives −n^, so (λa)×b=∣λ∣∣a∣∣b∣sinθ(−n^)=λ(a×b). The same holds for a×(λb).