The product of two vectors can be defined in two important ways: one gives a scalar quantity and the other gives a vector quantity. The scalar product (or dot product) of two non-zero vectors a and b, written as a⋅b, is defined by
a⋅b=∣a∣∣b∣cosθ
where ∣a∣ and ∣b∣ are the magnitudes of the vectors and θ is the angle between them, with 0≤θ≤π.
Important observations
The result of a dot product is always a scalar.
If either vector is the zero vector, the dot product is defined as 0.
If θ=90∘, then cos90∘=0, so
a⋅b=0.
Thus perpendicular vectors have zero dot product.
If θ=0∘, then
a⋅b=∣a∣∣b∣.
If θ=180∘, then
a⋅b=−∣a∣∣b∣.
The dot product of a vector with itself is
a⋅a=∣a∣2.
So the dot product gives a measure of how much one vector acts in the direction of another.
Properties of the Scalar Product
Let a,b,c be vectors and λ be a scalar.
Commutativity:a⋅b=b⋅a
Distributivity over Addition:a⋅(b+c)=a⋅b+a⋅c
and similarly,
(a+b)⋅c=a⋅c+b⋅c.
Scalar Multiplication:(λa)⋅b=λ(a⋅b)=a⋅(λb)
Dot Product with Zero Vector:a⋅0=0
These properties make the dot product algebraically very convenient.
Dot Product of Unit Vectors
Consider the mutually perpendicular unit vectors i^,j^,k^ along the positive coordinate axes.
Since the angle between a unit vector and itself is 0∘,
i^⋅i^=j^⋅j^=k^⋅k^=1.
Since the angle between any two distinct coordinate unit vectors is 90∘,
i^⋅j^=j^⋅k^=k^⋅i^=0.
Also, by commutativity,
j^⋅i^=0,k^⋅j^=0,i^⋅k^=0.
These identities are the basis of the component formula for the dot product.
Dot Product in Component Form
If
a=a1i^+a2j^+a3k^,b=b1i^+b2j^+b3k^,
then using the properties of unit vectors,
a⋅b=a1b1+a2b2+a3b3.
This is the most useful form in calculations.
Using this, the angle between two non-zero vectors can be found from
cosθ=∣a∣∣b∣a⋅b=a12+a22+a32b12+b22+b32a1b1+a2b2+a3b3.
This formula is especially useful for testing whether two vectors are perpendicular, parallel, or making an acute or obtuse angle.
Projection of a Vector on a Line
The projection of one vector on another tells us how much of one vector lies in the direction of the other.
If a is projected on a non-zero vector b, then:
Scalar projection of a on b is
a⋅b^=∣b∣a⋅b.
This can be positive, negative, or zero depending on the relative direction of the vectors.
Vector projection of a on b is
(∣b∣a⋅b)b^=(∣b∣2a⋅b)b.
The vector projection points along the direction of b.
Example 1: Basic Dot Product
Find the scalar product of two vectors a and b having magnitudes 3 and 4 respectively, and the angle between them is 60°.
Solution:
Step 1: Write the formula:
a⋅b=∣a∣∣b∣cosθ
Step 2: Substitute the values:
a⋅b=3×4×cos60∘
Step 3: Since
cos60∘=21,
we get
a⋅b=12×21=6.
Answer: 6
Example 2: Dot Product in Component Form
Find a⋅b if a=2i^+3j^−k^ and b=−i^+2j^+4k^.
Solution:
Using the component formula,
a⋅b=(2)(−1)+(3)(2)+(−1)(4)=−2+6−4=0.
Since the dot product is zero and both vectors are non-zero, the vectors are perpendicular.
Answer: 0
Example 3: Finding the Angle Between Vectors
Find the angle between the vectors a=i^+j^−k^ and b=i^−j^+k^.
Solution:
Step 1: Find the dot product:
a⋅b=(1)(1)+(1)(−1)+(−1)(1)=1−1−1=−1.
Step 2: Find the magnitudes:
∣a∣=12+12+(−1)2=3,∣b∣=12+(−1)2+12=3.
Step 3: Use the angle formula:
cosθ=∣a∣∣b∣a⋅b=3⋅3−1=−31.
So,
θ=cos−1(−31).
Answer:cos−1(−1/3)
Example 4: Condition for Orthogonal Vectors
Find the value of λ for which the vectors a=2i^−3j^+λk^ and b=3i^+4j^+2k^ are perpendicular to each other.
Solution:
Two non-zero vectors are perpendicular if and only if their dot product is zero.
So,
a⋅b=0.
Compute the dot product:
(2)(3)+(−3)(4)+(λ)(2)=06−12+2λ=0−6+2λ=02λ=6λ=3.
Answer:λ=3
Example 5: Scalar Projection
Find the projection of the vector a=2i^+3j^+2k^ on the vector b=i^+2j^+k^.
Solution:
The scalar projection of a on b is
∣b∣a⋅b.
Step 1: Find the dot product:
a⋅b=(2)(1)+(3)(2)+(2)(1)=2+6+2=10.
Step 2: Find the magnitude of b:
∣b∣=12+22+12=6.
Step 3: Therefore,
Projection=610=6106=356.
Answer:56/3
Example 6: Vector Projection
Find the vector projection of u=i^−2j^+k^ onto v=4i^−4j^+7k^.
Solution:
The vector projection of u on v is
(∣v∣2u⋅v)v.
Step 1: Find the dot product:
u⋅v=(1)(4)+(−2)(−4)+(1)(7)=4+8+7=19.