Dot Product

Domain: Math & Logic for AI

🎯 Motivation

Multiplies two vectors element-wise and sums the result. Measures how aligned two vectors are.

📋 Concrete Example

Dot of [1, 2, 3] and [4, 5, 6] = 14 + 25 + 3*6 = 4 + 10 + 18 = 32.

🔗 Analogy

Like two people pulling a cart - if they pull in the same direction, their effort adds up; if opposite, it cancels.