Linear Algebra

How to solve

The dot product combines two vectors into a single number by pairing components in order, multiplying each pair, and adding those products. That scalar encodes projection and angle information; computationally it is just the sum of matched component products.

Steps

  1. Pair corresponding components of the two vectors.
  2. Multiply each pair.
  3. Add those products to get the scalar result.

Example

Compute ⟨2, 3⟩ · ⟨4, 1⟩.

  1. Pair: 2 with 4, and 3 with 1.
  2. Products: 2 · 4 = 8 and 3 · 1 = 3.
  3. Sum: 8 + 3 = 11.

Answer: 11

Loading drills…