A vector is the combination of a magnitude and a direction. The magnitude or size of a vector is just a positive real number, and direction can be defined mathematically as a ray with its base point at the origin. We also allow the zero vector which has 0 magnitude and no direction, and always distinguish vector variables from other real number or scalar variables by putting a little vector hat over them like so: . We write to denote the magnitude of a vector, and call any vector with magnitude 1 a unit vector.
Physics provided numerous examples of vectors. For example, force is a vector quantity: you can't apply a force without applying it in some direction, and every force has a magnitude corresponding to its strength. Other examples of vector quantities include the velocity and acceleration of a particle, the angular momentum of a rigid body, and torque.
One important instance of vectors in mathematics is the displacement between two points. I have two points P1 and P2, then the vector has magnitude equal to the distance between the two points and the same direction as a ray that starts at P1 and goes through P2.
This blurring can become confusing when we introduce cartesian coordinates, so be careful. The tuple (2,3.5,-7) can mean either the point with those coordinates, or the vector giving the displacement between the origin and that point. Only the surrounding context can determine which is meant. Introducing cartesian coordinates does give us three new vectors to play around with, however: the vector is the unit vector in the same direction as the positive X axis, the vector the unit vector in the same direction as the positive Y axis, and the vector the unit vector in the same direction as the positive Z axis.