Math Home
Linear Algebra

Definition of Dot Products

The dot product is an operation on 2 \(n\)-dimensional vectors. The formula is \[< a_1, a_2, \dots, a_n > \cdot < b_1, b_2, \dots, b_n > = a_1b_1 + a_2b_2 + \dots + a_nb_n\]




The dots product is computed by multiplying cooridinate-wise, then adding all the products.

For example, here is the dot product of 3-dimensional vectors: \begin{align} <2,1,4> \cdot <3,5,2> & = 2 \cdot 3 + 1 \cdot 5 + 4 \cdot 2 \\ & = 6 + 5 + 8 \\ & = 19 \end{align} Here is an example with 2-dimensional vectors: \[<2,3> \cdot <-1, 0> = -2 + 0 = -2\] The dot product is not defined for vectors of different dimensions.

Calculator

Enter two vectors to see their dot product.


Warning: include_once(../../../snippets/math_lin_alg_keys.php): failed to open stream: No such file or directory in /var/www/michaelbriankelly.com/digital-garden/math/bourbaki/8_dot_product.php on line 27

Warning: include_once(): Failed opening '../../../snippets/math_lin_alg_keys.php' for inclusion (include_path='.:/usr/share/php') in /var/www/michaelbriankelly.com/digital-garden/math/bourbaki/8_dot_product.php on line 27

Fatal error: Uncaught Error: Call to undefined function makeKeyboard() in /var/www/michaelbriankelly.com/digital-garden/math/bourbaki/8_dot_product.php:28 Stack trace: #0 /var/www/michaelbriankelly.com/digital-garden/math/lesson/index.php(118): include_once() #1 {main} thrown in /var/www/michaelbriankelly.com/digital-garden/math/bourbaki/8_dot_product.php on line 28