Let $\mathbf{v} = (1, 2)^T$ and $\mathbf{w} = (-1, 1)^T$. The inner product is given by $\langle\mathbf{v}, \mathbf{w}\rangle = a v_1 w_1 + b v_2 w_2$, where $v_1, v_2$ are the components of $\mathbf{v}$ and $w_1, w_2$ are the components of $\mathbf{w}$.
Show more…