Definition · applies to vectors in $\reals^n$ · also called scalar product, $x \cdot y$

High school

Consider two vectors $x = (x_1, \dots, x_n)$ and $y = (y_1, \dots, y_n)$ in $\reals^n$. The dot product of $x$ and $y$ is

\[x \cdot y = x_1 y_1 + x_2 y_2 + \dots + x_n y_n.\]
Undergraduate

Consider the vector space $\reals^n$, with vectors written as columns. The dot product is the standard inner product on $\reals^n$,

\[x \cdot y = x^{\top} y.\]

Examples

Examples

Non-examples

Things that may be mistaken for examples.

Properties

  • $x \cdot y = \norm{x} \norm{y} \cos \theta$, where $\theta$ is the angle between $x$ and $y$. In particular, $x \cdot y = 0$ exactly when $x$ and $y$ are perpendicular (or one of them is zero).

Distinctions involving this term

All definitions · All distinctions · All examples