## Linear Algebra: A Modern Introduction

We know that the dot product of $u$ and $v$ is defined as $u.v=u1v1+u2v2$. We have $u=[-1, 2]$ and $v=[3, 1]$. So $u.v=(-1*3)+(2*1)=(-3+2)=-1$