Core Definition
The dot product (also known as the scalar product ) is an algebraic operation that takes two vectors of equal dimension and returns a single scalar number (never a vector):
Algebraic Form (Components): Sum of the products of corresponding components:
u β β
v β = u 1 v 1 + u 2 v 2 + u 3 v 3 \vec{u} \cdot \vec{v} = u_1 v_1 + u_2 v_2 + u_3 v_3 u β
v = u 1 β v 1 β + u 2 β v 2 β + u 3 β v 3 β
Geometric Form (Magnitudes & Angle):
u β β
v β = β£ u β β£ β£ v β β£ cos β‘ ΞΈ \vec{u} \cdot \vec{v} = |\vec{u}| |\vec{v}| \cos\theta u β
v = β£ u β£β£ v β£ cos ΞΈ
where ΞΈ \theta ΞΈ is the interior angle between the vectors (0 β€ ΞΈ β€ Ο 0 \le \theta \le \pi 0 β€ ΞΈ β€ Ο ).
Concept Explanation
The fundamental conceptual role of the dot product is to measure directional alignment :
Positive Dot Product (u β β
v β > 0 \vec{u} \cdot \vec{v} > 0 u β
v > 0 ): The vectors point in generally the same direction (ΞΈ < 90 β \theta < 90^\circ ΞΈ < 9 0 β , acute angle).
Zero Dot Product (u β β
v β = 0 \vec{u} \cdot \vec{v} = 0 u β
v = 0 ): The vectors are strictly orthogonal (perpendicular, ΞΈ = 90 β \theta = 90^\circ ΞΈ = 9 0 β ).
Negative Dot Product (u β β
v β < 0 \vec{u} \cdot \vec{v} < 0 u β
v < 0 ): The vectors oppose each other (ΞΈ > 90 β \theta > 90^\circ ΞΈ > 9 0 β , obtuse angle).
Common Student Trap: Output Type
The dot product NEVER produces a vector. A common mistake is writing something like β¨ 12 , 10 β© \langle 12, 10 \rangle β¨ 12 , 10 β© instead of 12 + 10 = 22 12 + 10 = 22 12 + 10 = 22 . The dot product collapses two vectors into a single real number (scalar). If your answer has vector brackets β¨ β¦ β β© \langle \dots \rangle β¨ β¦ β© or basis vectors i ^ , j ^ , k ^ \hat{i}, \hat{j}, \hat{k} i ^ , j ^ β , k ^ , it is automatically incorrect!
Key Algebraic Properties
For any vectors u β , v β , w β \vec{u}, \vec{v}, \vec{w} u , v , w and scalar c c c :
Commutativity: u β β
v β = v β β
u β \vec{u} \cdot \vec{v} = \vec{v} \cdot \vec{u} u β
v = v β
u
Distributive Law: u β β
( v β + w β ) = u β β
v β + u β β
w β \vec{u} \cdot (\vec{v} + \vec{w}) = \vec{u} \cdot \vec{v} + \vec{u} \cdot \vec{w} u β
( v + w ) = u β
v + u β
w
Scalar Compatibility: ( c u β ) β
v β = c ( u β β
v β ) = u β β
( c v β ) (c\vec{u}) \cdot \vec{v} = c(\vec{u} \cdot \vec{v}) = \vec{u} \cdot (c\vec{v}) ( c u ) β
v = c ( u β
v ) = u β
( c v )
Magnitude Relation (Self Dot Product): v β β
v β = β£ v β β£ 2 β
β βΉ β
β β£ v β β£ = v β β
v β \vec{v} \cdot \vec{v} = |\vec{v}|^2 \implies |\vec{v}| = \sqrt{\vec{v} \cdot \vec{v}} v β
v = β£ v β£ 2 βΉ β£ v β£ = v β
v β
Calculating the Angle Between Vectors
Equating the algebraic and geometric definitions allows engineers to calculate the angle between two spatial vectors:
cos β‘ ΞΈ = u β β
v β β£ u β β£ β£ v β β£ β
β βΉ β
β ΞΈ = cos β‘ β 1 ( u β β
v β β£ u β β£ β£ v β β£ ) \cos\theta = \frac{\vec{u} \cdot \vec{v}}{|\vec{u}| |\vec{v}|} \implies \theta = \cos^{-1}\left(\frac{\vec{u} \cdot \vec{v}}{|\vec{u}| |\vec{v}|}\right) cos ΞΈ = β£ u β£β£ v β£ u β
v β βΉ ΞΈ = cos β 1 ( β£ u β£β£ v β£ u β
v β )
Engineering Applications
Mechanical Work: Calculating energy transferred along a path when a force vector is applied (W = F β β
d β W = \vec{F} \cdot \vec{d} W = F β
d ).
Structural Force Decomposition: Isolating axial compression or tension loads along structural truss members using Vector Projections .
Solar Panel Efficiency: Determining solar irradiance flux by taking the dot product of incoming sunlight rays with the surface normal vector.
Example Problems
Example 1: Calculating Angle & Orthogonality
Find the angle between a β = 3 i ^ β 2 j ^ \vec{a} = 3\hat{i} - 2\hat{j} a = 3 i ^ β 2 j ^ β and b β = 4 i ^ β 5 j ^ \vec{b} = 4\hat{i} - 5\hat{j} b = 4 i ^ β 5 j ^ β .
Solution
Compute Dot Product (Scalar Output):
a β β
b β = ( 3 ) ( 4 ) + ( β 2 ) ( β 5 ) = 12 + 10 = 22 \vec{a} \cdot \vec{b} = (3)(4) + (-2)(-5) = 12 + 10 = 22 a β
b = ( 3 ) ( 4 ) + ( β 2 ) ( β 5 ) = 12 + 10 = 22
Compute Magnitudes:
β£ a β β£ = 3 2 + ( β 2 ) 2 = 13 β 3.606 |\vec{a}| = \sqrt{3^2 + (-2)^2} = \sqrt{13} \approx 3.606 β£ a β£ = 3 2 + ( β 2 ) 2 β = 13 β β 3.606
β£ b β β£ = 4 2 + ( β 5 ) 2 = 41 β 6.403 |\vec{b}| = \sqrt{4^2 + (-5)^2} = \sqrt{41} \approx 6.403 β£ b β£ = 4 2 + ( β 5 ) 2 β = 41 β β 6.403
Find Angle:
cos β‘ ΞΈ = 22 13 41 = 22 533 β 22 23.087 β 0.9529 \cos\theta = \frac{22}{\sqrt{13}\sqrt{41}} = \frac{22}{\sqrt{533}} \approx \frac{22}{23.087} \approx 0.9529 cos ΞΈ = 13 β 41 β 22 β = 533 β 22 β β 23.087 22 β β 0.9529
ΞΈ = cos β‘ β 1 ( 0.9529 ) β 17.65 β ( orΒ 0.308 Β rad ) \theta = \cos^{-1}(0.9529) \approx 17.65^\circ \quad (\text{or } 0.308\text{ rad}) ΞΈ = cos β 1 ( 0.9529 ) β 17.6 5 β ( orΒ 0.308 Β rad )
Connections & References