A brief set of notes on vectors.

read moreX hat, or the ^ on top of the variable, is a unit vector.

One may multiply scalar values by a unit vector to transform it into a vector in the direction the unit vector corresponds to.

Dot products of vectors generates a scalar value.

Vector A * Vector B = Ax * Bx + Ay * By.