Dot product
The Euclidean dot product multiplies corresponding coordinates and sums the products. It measures directional alignment together with magnitude.
Definition
The Euclidean dot product multiplies corresponding coordinates and sums the products. It measures directional alignment together with magnitude.
Intuition
A large dot product can result from long vectors, strong alignment, or both. Normalize first when you want only direction.
Worked example
(1, 2) · (3, 4) = 1 × 3 + 2 × 4 = 11.
The math
For real vectors, .
In machine learning
Use dot products in linear models, projections, and similarity search, checking that dimensions and coordinate meanings match.
Go deeper
Sources
More in Linear algebra
Assembled from the ReLU.chat curated knowledge base. These explanations are concise on purpose; check the sources for anything important.