Scalar product

$\underline{a} =(a_x,a_y)$, $\underline{b} =(b_x,b_y)$: \[ \underline{a} \cdot \underline{b} = a_x b_x + a_y b_y \]