If we square both sides of the equation for the magnitude of the vector X=a1∼i+a2∼j, we get
X⋅X=a1⋅a1+a2⋅a2
This equation is interesting, because we start with a vector and end up with a scalar as the result. If we had a second vector, Y=b1∼i+b2∼j, we could also get a scalar if we calculated
a1⋅b1+a2⋅b2
This is what we call the scalar product of two vectors, sometimes called the dot product because we often write this as X⋅Y:
X⋅Y=a1⋅b1+a2⋅b2
The magntiude of a vector can then be related back to the dot product by
X2=X⋅X
We will also see that the dot product can be used to calculate the angle between two vectors X and Y.