As we discussed earlier in the section, scalar multiplication involves multiplying a vector by a scalar, and the result is a vector. As we have seen, multiplying a vector by a number is called scalar multiplication. If we multiply a vector by a vector, there are two possibilities: the dot product and the cross product. We will only examine the dot product here; you may encounter the cross product in more advanced mathematics courses.
The dot product of two vectors involves multiplying two vectors together, and the result is a scalar.
dot product
The dot product of two vectors [latex]\boldsymbol{v}=\langle a,b\rangle[/latex] and [latex]\boldsymbol{v}=\langle c,d\rangle[/latex] is the sum of the product of the horizontal components and the product of the vertical components.
To find the angle between them, we use the formula [latex]\cos \theta =\dfrac{\boldsymbol{v}}{|\boldsymbol{v}|}\cdot \dfrac{\boldsymbol{u}}{|\boldsymbol{u}|}[/latex].
Find the angle between [latex]\boldsymbol{u}=\langle -3,4\rangle[/latex] and [latex]\boldsymbol{v}=\langle 5,12\rangle[/latex].
Using the formula, [latex]\theta ={\cos }^{-1}\left(\dfrac{\boldsymbol{u}}{|\boldsymbol{u}|}\cdot \dfrac{\boldsymbol{v}}{|\boldsymbol{v}|}\right)[/latex],