What is the dot product of <-7,2,-1 > and <0,8,-27 >?

Jan 27, 2016

Dot Product of $A = \left[7 , 2 , - 1\right] \text{ and } B = \left[0 , 8 , - 27\right]$
$A \cdot {B}^{T}$ where ${B}^{T}$ is the transpose of vector $B$
Input matrix $A$:

[7 2 -1]

Input matrix ${B}^{T}$:

0
8
-27

Matrix product $A \cdot {B}^{T} = - 11$

Explanation:

For the dot product simple multiply
$A \cdot {B}^{T} = {\sum}_{i = 1}^{n} 3 {a}_{i} {b}_{i}$
$A \cdot {B}^{T} = {a}_{1} {b}_{1} + {a}_{2} {b}_{2} + {a}_{3} {b}_{3} = \left(- 7 \cdot 0\right) + \left(8 \cdot 2\right) + \left(1 \cdot - 27\right) = - 11$