Definition (geometric definition of the dot product)
For $\v a,\v b\in\mathbb R^2$ or $\mathbb R^3$, define $$ \v a\cdot\v b = |\v a||\v b|\cos\theta $$ where $\theta$ is the angle between $\v a$ and $\v b$.
For $\v a,\v b\in\mathbb R^2$ or $\mathbb R^3$, define $$ \v a\cdot\v b = |\v a||\v b|\cos\theta $$ where $\theta$ is the angle between $\v a$ and $\v b$.