The dot product of two vectors is calculated by multiplying corresponding elements and then adding them up. So, we have:
$$\mathbf{u} \cdot \mathbf{v} = \left(\frac{1}{2} \cdot 2\right) + \left(-\frac{1}{4} \cdot 2\right) + \left(-\frac{1}{2} \cdot -2\right) = 1 -
Show more…