Dot Product of Two Vectors Questions The dot product of two vectors (also called the scalar product) is a fundamental operation in vector algebra , widely used in physics, engineering, and mathematics. It helps in finding the angle between vectors, determining projections, and checking orthogonality. In this blog, we will explore the definition, formula, properties, and most importantly, solved questions related to the dot product of two vectors, including some challenging JEE and JEE Advanced level problems.
1.0 Definition of Dot Product The dot product of two vectors a and b is defined as: a . b = ∣ a ∣∣ b ∣ C os θ
where:
∣ a ∣ = magnitude of vector a ∣ b ∣ = magnitude of vector b θ = angle between vectors a and b 2.0 Dot Product in Component Form If: a 1 i + a 2 j + a 3 k and b = b 1 i + b 2 j + b 3 k , then a . b = a 1 b 1 + a 2 b 2 + a 3 b 3
Key Properties Commutative: a . b = b . a Distributive over addition: a . ( b + c ) = a . b + a . c Orthogonal vectors: If a . b = 0 , then a and b are perpendicular. Relation with projection: a . b = ∣ a ∣ × (projection of b on a ) 3.0 Dot Product of Two Vectors Solved Questions Example 1: Find the dot product of a = 2 i + 3 j − k and b = i − 2 j + 4 k .
Solution:
a ⋅ b = ( 2 ) ( 1 ) + ( 3 ) ( − 2 ) + ( − 1 ) ( 4 )
= 2 − 6 − 4 = − 8
Answer: -8
Example 2: If a = i + 2 j + 2 k and b = 2 i + j + 2 k , find the angle between them.
Solution:
a ⋅ b = ( 1 ) ( 2 ) + ( 2 ) ( 1 ) + ( 2 ) ( 2 ) = 2 + 2 + 4 = 8
∣ a ∣ = 1 2 + 2 2 + 2 2 = 9 = 3
∣ b ∣ = 2 2 + 1 2 + 2 2 = 9 = 3
cos θ = ∣ a ∣∣ b ∣ a ⋅ b = 3 × 3 8 = 9 8
θ = co s − 1 ( 9 8 )
Answer: θ = co s − 1 ( 9 8 )
Example 3: Let P = 3 i − 2 j + k an d q = λi + j + 2 k . If P is perpendicular to Q, find λ .
Solution:
For perpendicular vectors: p . q = 0
( 3 ) ( λ ) + ( − 2 ) ( 1 ) + ( 1 ) ( 2 ) = 0
3 λ − 2 + 2 = 0
3 λ = 0 ⇒= 0
Answer: λ = 0
Example 4: p = 3 i − 2 j + k , q = λi + j + 2 k . If p ⊥ q , find λ .
Solution:
p . q = 0
( 3 ) ( λ ) + ( − 2 ) ( 1 ) + ( 1 ) ( 2 ) = 0
3 λ − 2 + 2 = 0
3 λ = 0 ⇒ λ = 0
Answer: λ = 0
Example 5: ∣ a ∣ = 3 , ∣ b ∣ = 5 , a ⋅ b = 15 . Find the angle between a and b, and the length of projection of b on a.
Solution:
cos θ = ∣ a ∣∣ b ∣ a ⋅ b = 3.5 15 = 1 ⇒ θ = 0 o
Projection length of b on a is ∣ b ∣ cos θ = 5
Answer: θ = 0 o , projection length =5.
Example 6: a = 2 i − j + 2 k , b = i + 2 j + 2 k . Find the angle between them.
Solution:
a ⋅ b = 2 ( 1 ) + ( − 1 ) ( 2 ) + 2 ( 2 ) = 2 − 2 + 4 = 4.
∣ a ∣ = 4 + 1 + 4 = 3 , ∣ b ∣ = 1 + 4 + 4 = 3
cos θ = 3.3 4 = 9 4
θ = co s − 1 ( 9 4 )
Answer: θ = co s − 1 ( 9 4 ) .
Example 7: If a , b = 0 and ∣ a + b ∣ = ∣ a − b ∣ , show that a . b = 0 .
Solution:
Square both sides:
∣ a + b ∣ 2 = ∣ a ∣ 2 + ∣ b ∣ 2 + 2 a ⋅ b
∣ a − b ∣ 2 = ∣ a ∣ 2 + ∣ b ∣ 2 − 2 a ⋅ b
Equality gives + 2 a . b = − 2 a . b ⇒ a . b = 0
Answer: a ⊥ b
Example 8: For a = ( 3 , − 1 , 2 ) and b = ( 1 , 2 , 2 ) , find the projection of a on b and the component of a perpendicular to b.
Solution:
a ⋅ b = 3 ( 1 ) + ( − 1 ) ( 2 ) + 2 ( 2 ) = 5 , ∣ b ∣ 2 = 1 2 + 2 2 + 2 2 = 9
proj b ( a ) = ∣ b ∣ 2 a ⋅ b b
= 9 5 < 1 , 2 , 2 >= ⟨ 9 5 , 9 10 , 9 10 ⟩
Perpendicular component:
a ⊥ = a − p ro j b ( a )
=< 3 , − 1 , 2 > − < 9 5 , 9 10 , 9 10 >
=< 9 22 , 9 19 , 9 8 >
Answer:
p ro j b ( a ) =< 9 5 , 9 10 , 9 10 >
a ⊥ ==< 9 22 , 9 19 , 9 8 > .
Example 9: A force F = ( 1 , − 2 , 2 ) moves a particle through displacement s = ( 2 , 1 , − 4 ) m . Find the work done.
Solution:
W = F ⋅ s = 6.2 + ( − 2 ) .1 + 3. ( − 4 ) = 12 − 2 = − 2 J .
Answer: -2 J.
Example 10: Problem: A parallelogram has adjacent sides a and b. Find the angle between its diagonals a+b and a-b.
Solution:
( a + b ) . ( a − b ) = ∣ a ∣ 2 − ∣ b ∣ 2
Also ∣ a + b ∣ 2 = ∣ a ∣ 2 + ∣ b ∣ 2 + 2 a ⋅ b , ∣ a − b ∣ 2 = ∣ a ∣ 2 + ∣ b ∣ 2 − 2 a ⋅ b .
Thus cos θ = ∣ a ∣ 2 + ∣ b ∣ 2 + 2 a ⋅ b ∣ a ∣ 2 + ∣ b ∣ 2 − 2 a ⋅ b ∣ a ∣ 2 − ∣ b ∣ 2 .
Answer: θ = co s − 1 ( ∣ a ∣ 2 + ∣ b ∣ 2 + 2 a ⋅ b ∣ a ∣ 2 + ∣ b ∣ 2 − 2 a ⋅ b ∣ a ∣ 2 − ∣ b ∣ 2 . )
Example 11: Find the angle between the space diagonals O A and OB of a cube of side a with O = (0, 0, 0), A = (a, a, a), B = (a, -a, a).
Solution:
O A = ⟨ a , a , a ⟩ , OB = ⟨ a , − a , a ⟩ .
Dot product = O A ⋅ OB = a 2 − a 2 + a 2 = a 2 .
∣ O A ∣ = ∣ OB ∣ = a 2 + a 2 + a 2 = a 3 .
cos θ = ∣ O A ∣ ∣ OB ∣ O A ⋅ OB = a 3 ⋅ a 3 a 2 = 3 1 .
⇒ θ = cos − 1 ( 3 1 )
Answer: θ = cos − 1 ( 3 1 )
Example 12: For fixed a = 0 and fixed k>0, maximize a.x subject to ∣ x ∣ = k . Also find the maximizing x.
Solution:
By Cauchy–Schwarz, ∣ a ⋅ x ∣ ≤ ∣ a ∣ ∣ x ∣ = k ∣ a ∣.
Maximum value is k ∣ a ∣ when x is in the direction of a.
So x = k ∣ a ∣ a
Answer: Max = k ∣ a ∣ , attained at x = ka /∣ a ∣ .
Example 13: Unit vectors a , b , c satisfy a . b = b . c = c . a = 3 1 Find the common angle between each pair.
Solution:
For unit vectors, a . b = cos θ Given cos θ = 3 1
Hence θ = co s − 1 ( 3 1 )
Answer: θ = co s − 1 ( 3 1 ) for each pair.
Example 14: u = ( λ , 2 , − 1 ) is a unit vector and v =< 1 , − 1 , 2 > . If u⋅v=0 , find λ .
Solution:
Orthogonality:
λ ( 1 ) + 2 ( − 1 ) + ( − 1 ) ( 2 ) = 0
⇒ λ − 2 − 2 = 0
λ = 4
Check unit:
∣ u ∣ 2 = λ 2 + 4 + 1 = 16 + 5 = 21 = 1
This violates unit length, so no λ satisfies both unless we scale. Fix by imposing unit first:
∣ u ∣ 2 = λ 2 + 5 = 1 ⇒ λ 2 = − 4
impossible over reals. Therefore no real λ makes u both unit and orthogonal to with this template.
Answer: No real solution.
Example 15: Vectors a, b satisfy ∣a∣=∣b∣=5 and ∣a+b∣=6 . Find the angle between a and b.
Solution:
∣ a + b ∣ 2 =∣ a ∣ 2 + ∣ b ∣ 2 + 2 a ⋅ b 36 = 25 + 25 + 2 a . b ⇒ 2 a . b = − 14 ⇒ a . b = − 7
cos θ = 5.5 − 7 = 25 7 θ = co s − 1 ( − 25 7 )
Answer: θ = co s − 1 ( − 25 7 )
Example 16: Check if u 1 = 2 1 < 1 , 1 , 0 > , u 2 = 6 1 < 1 , − 1 , 2 > , u 3 = 3 1 < 1 , 1 , 1 > are mutually orthonormal.
Solution:
Each is unit by construction.
u 1 ⋅ u 2 = 12 1 ( 1 ⋅ 1 + 1 ⋅ ( − 1 ) + 0 ⋅ 2 ) = 12 0 = 0
u 1 ⋅ u 3 = 6 1 ( 1 ⋅ 1 + 1 ⋅ 1 + 0.1 ) = 6 2 = = 0
So not mutually orthonormal.
Answer: Not orthonormal since u 1 . u 3 = 0 .
Example 17: a =< 1 , 2 , 2 > A vector b =< t , 1 , − 1 > has projection length on a equal to 2. Find t.
Solution:
Projection length of b on a is ∣ a ∣ ∣ a . b ∣ = 2
a . b = 1. t + 2.1 + 2. ( − 1 ) = t + 2 − 2 = t . ∣ a ∣ = 1 + 4 + 4 = 3
So, 3 ∣ t ∣ = 2 ⇒ ∣ t ∣ = 6 ⇒ t = ± 6
Answer: t = 6 or t = -6.
4.0 Practice Questions on Dot Product of Two Vectors Questions Find the dot product of a = 4 i − j + 2 k an d b = − i + 3 j − 5 k . Two vectors have magnitudes 7 and 10 with an angle of 60° between them. Find their dot product. If a . b = 15 , ∣ a ∣ = 5 , an d ∣ b ∣ = 4 , find the angle between a and b. Vectors u = i + j + k an d v = x i + 2 j + 3 k are perpendicular. Find x.