-
Magnitude of a vector.
The scalar product can be used to determine the length of a vector
since:from which:
So, we obtain, using the coordinates of the vector
,
Example
For
-
Angle between two vectors.
From the definition of the scalar product,
we can convert the cosine to another value:Applying the function arcosine to both sides of the equality we obtain (ang=angle):
So, if we have two vectors
and we have:
Example
Find the angle formed by