if only b is a unit vector, then the dot product a · b gives |a| cos(θ). this corresponds to the magnitude of the projection of a in the direction of b, with a minus sign if the direction is opposite. this is called the scalar projection of a onto b, or scalar component of a in the direction of b (see figure). this property of the dot product has several useful applications (see § rotation below).