Skip to content
← All questions

How do you calculate the dot product of two vectors from their components?

To calculate the dot product, multiply corresponding components of the two vectors and add the products. The result is a scalar.

Conditions

  • The vectors must have the same number of components.
  • The vectors are real coordinate vectors.

Reasoning, step by step

  1. Identify the corresponding components of the two vectors.
  2. Multiply each pair of corresponding components together.
  3. Sum all the resulting products.
  4. The final sum is the dot product, which is a scalar value.

Example

For vectors b=(−1,3,−6)\mathbf{b}=(-1,3,-6) and c=(7,−5,1)\mathbf{c}=(7,-5,1), the dot product is calculated as (−1)(7)+(3)(−5)+(−6)(1)=−7−15−6=−28(-1)(7) + (3)(-5) + (-6)(1) = -7 - 15 - 6 = -28.

Common misconceptions

  • Thinking the result is a vector instead of a scalar.
  • Multiplying non-corresponding components (e.g., first of one with second of the other).
  • Forgetting to sum the products after multiplying.

Watch the explanation

Connected concepts

Explore next

Related questions

Find a method

↗
Meet the concept

↗
Meet the concept

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.