Course contentsShow
← Mathematics
Lesson 1253 of 3,12129. Vectors (Precalculus)Free lesson

Definition of the Dot Product

Learn the algebraic definition of the dot product and how to compute it from vector components.

Definition of the Dot Product

You'll learn: How to compute the dot product of two vectors using their components and understand what this operation produces.

What Is the Dot Product?

The dot product (also called the scalar product) is a way to multiply two vectors that produces a single number (a scalar), not another vector. Unlike vector addition or scalar multiplication, which give you vectors back, the dot product collapses two vectors into one meaningful number.

Think of it like this: if vectors are lists of directions and magnitudes, the dot product measures how much the two vectors "agree" with each other directionally.

The Algebraic Definition

For two vectors in 2D:

  • u = ⟨u₁, u₂⟩
  • v = ⟨v₁, v₂⟩

The dot product is:

u · v = u₁v₁ + u₂v₂

For vectors in 3D:

  • u = ⟨u₁, u₂, u₃⟩
  • v = ⟨v₁, v₂, v₃⟩

The dot product is:

u · v = u₁v₁ + u₂v₂ + u₃v₃

How to Compute It

Simply multiply corresponding components together, then add all those products up.

Example: If u = ⟨3, -2⟩ and v = ⟨1, 4⟩:

u · v = (3)(1) + (-2)(4) = 3 - 8 = -5

Example in 3D: If u = ⟨2, 0, -1⟩ and v = ⟨1, 3, 5⟩:

u · v = (2)(1) + (0)(3) + (-1)(5) = 2 + 0 - 5 = -3

Key Takeaway: The dot product multiplies corresponding components and sums them to produce a scalar that captures the relationship between two vectors.