Dot product

The dot product of two equal-length vectors is the sum of the products of their corresponding components, giving a single number. It is used to compute projections, lengths, and angles between vectors, and equals the product of their magnitudes times the cosine of the angle between them.

\mathbf{a}\cdot\mathbf{b}=\sum_{i} a_i b_i

What the symbols mean

first vector
second vector
i-th Cartesian component of \mathbf{a}
i-th Cartesian component of \mathbf{b}
index running over the components of the vectors

About this formula

  • FieldMathematics
  • TopicLinear algebra
  • LevelHigh school
  • Also calledscalar product, inner product, dot product of vectors, scalar product of vectors, vector dot product, sum of products of components
  • SourceWikidata Q181365

Write it in Obsidian

MathLive is a free visual math editor for Obsidian. Run Find a formula, type “dot product”, and it goes into your note as editable LaTeX. You can also scan formulas from screenshots, PDFs and handwriting.

Related formulas