Skip to main content
Engineering LibreTexts

14.1: Dot Product

  • Page ID
    14858
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    The dot product (or scalar product) is the sum of the products of the individual entries of two vectors. Let hata = (a1, . . . , an) and ˆb= (b1, . . . , bn) be two vectors. Then, their dot product â · ˆb is given by

    \[\hat{a}\cdot \hat{b}=\sum_{i}^{n}a_{i}b_{i}\]

    The dot product therefore takes two sequences of numbers and returns a single scalar. In robotics, the dot product is mostly relevant due to its geometric interpretation:

    \[\hat{a}\cdot \hat{b}=\left \| \hat{a} \right \|\left \| \hat{b} \right \|\cos\theta \]

    with θ the angle between vectors â and ˆb

    If â and ˆb are orthogonal, it follows â · ˆb = 0. If â and ˆb are parallel, it follows â · ˆb = ||â|| ||ˆb||.


    This page titled 14.1: Dot Product is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Nikolaus Correll via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.