What is a vector?
In math and physics, a vector is a quantity that has both size, called magnitude, and direction. It is often drawn as an arrow, where the length shows the magnitude and the arrowhead shows the direction.
Examples
Velocity is a vector. Saying a car is traveling at 60 kilometers per hour to the north gives both speed and direction.
Force is a vector. Pushing a box with 10 newtons to the right is different from pushing it with 10 newtons to the left.
Displacement, the change in position from one point to another, is also a vector.
Vectors and scalars
A scalar has only magnitude, such as temperature, mass or time.
Writing vectors
Vectors are often written in bold, such as v, or with an arrow over the letter.
On a graph, a vector can be written using components. For example, (3, 4) means 3 units along the x-axis and 4 units along the y-axis. Its length is 5, using the Pythagorean theorem.
Adding vectors
Vectors are added by placing them head to tail. If you walk 3 meters east and then 4 meters north, your overall displacement is 5 meters toward the northeast.
Uses
Vectors are used in physics, engineering, navigation, computer graphics and video games to describe movement and forces.
Airplane pilots must combine their own velocity with the wind's velocity to stay on course.
Vector graphics
In computing, vector graphics describe images with shapes and lines, so they can be resized without losing quality.