Dot product

Dot product = sum of products of corresponding entries

Image: AnonymousUnknown author, Public domain, via Wikimedia Commons

Dot product

Dot product = sum of products of corresponding entries

The dot product of two vectors is calculated by multiplying their corresponding entries and summing the results. This operation results in a scalar value, not a vector. The dot product is essential for determining the angle between vectors and for projecting one vector onto another.

Example

For vectors A = [a1, a2] and B = [b1, b2], the dot product A · B = a1*b1 + a2*b2. If A = [2, 3] and B = [4, 5], then A · B = 2*4 + 3*5 = 8 + 15 = 23.

Remember this

Understanding the dot product is crucial for applications in physics, engineering, and computer science, where vector operations are fundamental.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath