Two Forms of the Dot Product