The dot product is used in various fields, including physics (work done by a force), geometry (calculating angles and distances), computer graphics (lighting and shading), and engineering (mechanics and structural analysis).
The dot product, often referred to as the scalar product, is a foundational concept in vector algebra. It combines two vectors to produce a single number (a scalar), offering insights into the relationship between the vectors, such as their relative angle and the projection of one vector onto another.
1.0Dot Product of Two Vectors
The scalar product of two non-zero vectors a and b , denoted by a, b is defined as
a⋅b=∣a∥b∣cosθ
Where, θ is the angle between a and b, 0 ≤θ≤π.
If either a=0 or b=0 then θ is not defined, and in this case, we define a⋅b=0
Observations
a⋅b is a real number
If a and b are non-zero vector, then a⋅b=0. If and only if a and b are perpendicular to each other. i.e., a⋅b=0⇔a⊥b
If θ = 0 then a⋅b=∣a∣∣b∣
If θ = π then a⋅b=−∣a∣∣b∣
Angle between two non-zero vectors a and bis given by cosθ=∣a∣∣b∣a⋅b , or θ=cos−1(∣a∣∣b∣a⋅b)
2.0Properties of Scalar Products
Since the cosine of 0° is 1 and the cosine of 90° is 0, the scalar products of unit vectors are
i^⋅i^=j^⋅j^=k^⋅k^=1.1cosθ=1
i^⋅j^=j^⋅k^=k^⋅i^=1⋅1cos90∘=0
It also follows commutative and distributive properties
Commutative Property: a⋅b=b⋅a
a⋅(b+c)=a⋅b+a⋅c=(b+c)⋅a
3.0Dot Product of two Vectors Formula
The dot product can be defined using the magnitudes of the vectors and the cosine of the angle between them. For two vectors A and B , the dot product is given by:
A⋅B=∣A∥B∣cos(θ)
4.0Dot Product of Two Vectors Example
Example 1: Determine the dot product of vectors A=2i^+5j^−k^ and B=i^−j^−3k^ and the angle between them.
Solution:
A⋅B=AxBx+AyBy+AzBz
A⋅B=(2)(1)+(5)(−1)+(−1)(−3)
= 2 – 5 + 3 = 0
Dot product formula
A⋅B=∣A∣∣B∣cosθ
∣A∣=4+25+1=30
∣B∣=1+1+9=11∣
cosθ=∣A∣∣B∣A⋅B=30110
cos θ = 0
θ = 90°
So the dot product of two vectors A&B is 0 and the angle between them is 90°.
Example 2: Find (2a+3b)⋅(4a−6b), where a, b are mutually perpendicular unit vectors.
Solution: If a and b are mutually perpendicular unit vectors, then a⋅b=0
So, (2a+3b)⋅(4a−6b)
=(2a)(4a)−(2a)(6b)+(3b)(4a)−(3b)(6b)
=8(a)2−12a⋅b+12b⋅a−18(b)2
∵a⋅b=0=b⋅a and (a)2=1=(b)2
So, 8 – 18 = –10.
Example 3: If a=2i^+2j^+3k^, b=−i^+2j^+k^ and c=3i^+j^, then find ‘t’ such that a+tb is perpendicular to c.
Solution:
a+tb=(2−t)i^+(2+2t)j^+(3+t)k^
Since a+tb is perpendicular to c, so (a+tb)⋅c=0
∴ (2 – t) × 3 + (2 + 2t) + (3 + t) × 0 = 0
⇒ 6 – 3t + 2 + 2t = 0
⇒ 8 – t = 0⇒ t = 0
Example 4: Being given that ∣a∣=2,∣b∣=5 and angle between a and b is 32π. Find the value of a for which the vectors q=αa+17b and q=3a−b are perpendicular.
Solution: We know the formula of Dot Product formula
a⋅b=∣a∣∣b∣cosθ
a⋅b=(2)(5)cos32π
=10⋅(−21)=−5
As given in the question p and q are mutually perpendicular. so p⋅q=0
So (αa+17b)⋅(3a−b)=0
⇒3α(a)2−αa⋅b+51b⋅a−17(b)2=0
⇒ 3α(4) – α(–5) + 51(–5) – 17(25) = 0
⇒ 12α + 5α – 255 – 425 = 0
⇒ 17α – 680 = 0
⇒ 17α = 680 ⇒ α = 40.
Example 5: If ∣a∣=3,∣b∣=4 and ∣a+b∣=5, then find ∣a−b∣
Solution: ∣a+b∣=5
Squaring both the sides
∣a+b∣2=52
⇒ ∣a∣2+∣b∣2+2a⋅b=25
⇒ 9+16+2a⋅b=25
⇒2a⋅b=0⇒a⋅b=0
aandb are mutually perpendicular
Now ∣a−b∣2=∣a∣2+∣b∣2−2a⋅b
= 9 + 16 – 0 = 25
∣a−b∣2=25
∣a−b∣=5
Example 6: Find the vector a which is collinear with the vector b=(3,6,6) and satisfies the condition a⋅b=27
Solution: If a is collinear with the b then
a=(3α,6α,6α)
Now a⋅b=27
⇒ (3α) (3) + (6α) (6) + (6α) (6) = 27
⇒ 9α + 36α + 36α = 27
⇒ 81α = 27⇒α=8127=31
So a=(3×31,6×31,6×31)=(1,2,2)
5.0Dot Product of Two Vectors Practice Question
Find the angle between the vectors a−b and a+b. If a=(1,2,1)b=(2,−1,0)
Ans: cos−1111
Find the angle between the vectors 2aand21b if a=(−4,2,4) and b=(2,−2,0).
Ans:43π
Find the vector a which is collinear with vector b=(2,−1,0), If a⋅b=10
Ans: a = (4, –2, 0)
If vector b, which is collinear with the vector a=(8,−10,13) forms an acute angle with the unit vector k^. Being given that ∣b∣=37, find the vector b.
Ans: b=38,3−10,313
If the vector C is perpendicular to vectors a=(2,−3,1),b=(1,−2,3) and satisfies the condition c⋅(i^+2j^−7k^)=10c. then find
Ans: 7i^+5j^+k^
Find a vector of magnitude 51 which makes equal angles with the vector a=31(i^−2j^+2k^) , b=51(−4i^−3k^) and c=j^.
Ans: ±(5i^−j^−5k^)
6.0Sample Questions on Dot Product of Two Vectors
Q. What is the dot product of two vectors?
Ans: The scalar product of two non-zero vectors a and b , denoted by a⋅b is defined as
a⋅b=∣a∥∣∣b∣cosθ, Where, θ is the angle between a and b, 0 ≤θ≤π.
Q. How do you calculate the dot product of two vectors?
Ans: To calculate the dot product of two vectors A and B, multiply their corresponding components and sum the results:
A⋅B=AxBx+AyBy+AzBz
Q. What does the dot product represent geometrically?
Ans: Geometrically, the dot product measures the projection of one vector onto another, scaled by their magnitudes. It can also determine the angle between two vectors:
Where θis the angle between vectors A and B.
Q. What is the significance of a dot product of zero?
Ans: A dot product of zero indicates that the vectors A and B are orthogonal (perpendicular) to each other: A⋅B=0
Q. How is the dot product used to find the angle between two vectors?
Ans: The angle between two vectors A and B can be found using the dot product formula:
θ=cos−1(∣A∥∣B∣A⋅B)
Q. What are the properties of the dot product?
Ans: The dot product has several important properties:
Commutative:A⋅B=B⋅A
Distributive:A⋅(B+C)=A⋅B+A⋅C
Scalar Multiplication:(cA)⋅B=c(A⋅B)
Q. How does the dot product relate to vector projection?
Ans: The dot product is used to compute the projection of one vector onto another. The projection of vector A onto vector B is given by: