Question: what is the square of a vector?
Answer: By square of a vector we mean Dot Product with itself. Since, the projection of a vector on to itself leaves its magnitude unchanged, the dot product of any vector with itself is the square of that vector's magnitude(only).