Dot Product

Algebra
operation

Also known as: scalar product, inner product, dot multiplication

Grade 9-12

View on concept map

The dot product of two vectors \mathbf{a} = \langle a_1, a_2 \rangle and \mathbf{b} = \langle b_1, b_2 \rangle is the scalar \mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2. The dot product tests orthogonality (perpendicularity), computes projections, finds angles between vectors, and calculates work in physics (W = \mathbf{F} \cdot \mathbf{d}).

Definition

The dot product of two vectors \mathbf{a} = \langle a_1, a_2 \rangle and \mathbf{b} = \langle b_1, b_2 \rangle is the scalar \mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2. Equivalently, \mathbf{a} \cdot \mathbf{b} = \|\mathbf{a}\| \|\mathbf{b}\| \cos\theta, where \theta is the angle between the vectors.

πŸ’‘ Intuition

The dot product measures how much two vectors point in the same direction. If they point the same way, the dot product is large and positive. If perpendicular, it is zero. If they point in opposite directions, it is negative. Think of it as a 'similarity score' for directions.

🎯 Core Idea

The dot product converts two vectors into a single number that captures their directional alignment. Zero means perpendicular (orthogonal).

Example

\mathbf{a} = \langle 1, 2 \rangle, \quad \mathbf{b} = \langle 3, -1 \rangle
\mathbf{a} \cdot \mathbf{b} = 1(3) + 2(-1) = 1
Since \mathbf{a} \cdot \mathbf{b} > 0, the angle between them is less than 90Β°.

Formula

\mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 + \cdots + a_n b_n = \|\mathbf{a}\| \|\mathbf{b}\| \cos\theta

Notation

\mathbf{a} \cdot \mathbf{b} uses a raised dot. Do not confuse with \mathbf{a} \times \mathbf{b} (cross product).

🌟 Why It Matters

The dot product tests orthogonality (perpendicularity), computes projections, finds angles between vectors, and calculates work in physics (W = \mathbf{F} \cdot \mathbf{d}). It is foundational in machine learning, signal processing, and quantum mechanics.

πŸ’­ Hint When Stuck

Multiply matching components, then add all the products. If the result is zero, the vectors are perpendicular.

Formal View

The dot product (inner product) on \mathbb{R}^n: \mathbf{a} \cdot \mathbf{b} = \sum_{i=1}^{n} a_i b_i = \|\mathbf{a}\|\|\mathbf{b}\|\cos\theta. Properties: bilinear, symmetric (\mathbf{a} \cdot \mathbf{b} = \mathbf{b} \cdot \mathbf{a}), positive-definite (\mathbf{a} \cdot \mathbf{a} > 0 for \mathbf{a} \neq \mathbf{0}). Orthogonality: \mathbf{a} \perp \mathbf{b} \iff \mathbf{a} \cdot \mathbf{b} = 0.

🚧 Common Stuck Point

The result of a dot product is a scalar (number), not a vector. This is the key difference from the cross product.

⚠️ Common Mistakes

  • Expecting a vector resultβ€”the dot product always produces a scalar
  • Confusing dot product (\mathbf{a} \cdot \mathbf{b}) with cross product (\mathbf{a} \times \mathbf{b})
  • Forgetting the orthogonality test: if \mathbf{a} \cdot \mathbf{b} = 0 and neither vector is the zero vector, the vectors are perpendicular

Frequently Asked Questions

What is Dot Product in Math?

The dot product of two vectors \mathbf{a} = \langle a_1, a_2 \rangle and \mathbf{b} = \langle b_1, b_2 \rangle is the scalar \mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2. Equivalently, \mathbf{a} \cdot \mathbf{b} = \|\mathbf{a}\| \|\mathbf{b}\| \cos\theta, where \theta is the angle between the vectors.

Why is Dot Product important?

The dot product tests orthogonality (perpendicularity), computes projections, finds angles between vectors, and calculates work in physics (W = \mathbf{F} \cdot \mathbf{d}). It is foundational in machine learning, signal processing, and quantum mechanics.

What do students usually get wrong about Dot Product?

The result of a dot product is a scalar (number), not a vector. This is the key difference from the cross product.

What should I learn before Dot Product?

Before studying Dot Product, you should understand: vector operations, vector magnitude direction.

How Dot Product Connects to Other Ideas

To understand dot product, you should first be comfortable with vector operations and vector magnitude direction. Once you have a solid grasp of dot product, you can move on to cross product and vector operations.