Dot Product
The inner product of two vectors â a scalar measuring alignment, enabling projections, angles, and the geometry of vector spaces.
Formula
a dot b = ||a||||b||cos(theta)
a dot b = 4.63
Positive means aligned. Zero means perpendicular. Negative means pointing against each other.
The dot product (inner product) of two vectors and is:
The result is a scalar (single number), not a vector.
Geometric meaning: where is the angle between the vectors.
- : angle (same general direction)
- : perpendicular (orthogonal)
- : angle (opposite directions)
- Commutative:
- Distributive over addition:
- Compatible with scalars:
- , with equality only when
- Confusing the dot product with the cross product: the dot product yields a scalar and works in any dimension; the cross product yields a vector and is specific to 3D
- Dimension mismatch: the dot product is only defined for vectors of the same length â is meaningless
, .
.
Since the result is negative, the vectors point in roughly opposite directions.
Find the dot product of and . Are these vectors perpendicular?
Solution
. Yes, they are perpendicular â the dot product is zero, confirming .
This pair is a 90° rotation of each other â a general fact: and are always perpendicular.