In math, a vector is an object that has both a magnitude and a direction. Vectors are often represented by directed line segments, with an initial point and a terminal point. The length of the line segment represents the magnitude of the vector, and the arrowhead pointing in a specific direction represents the direction of the vector.