Dot product
.....
Dot product as correlation
Here’s how the dot product acts like a measure of “correlation” or alignment between two vectors
- If the result is large positive, the two vectors tend to point in the same direction (positively correlated).
- If it’s large negative, they point in opposite directions (negatively correlated).
- If it’s zero, they’re orthogonal—no linear alignment (uncorrelated).
To illustrate, we’ll use
and three choices of
-
Positive Correlation
points roughly along the same “trend.” -
Negative Correlation
one increases while the other decreases. -
Zero Correlation
balanced ups and downs cancel out—no net alignment.