A 2D vector is a pair of numbers that tells you horizontal change and vertical change at the same time. If , the vector goes units right and units up, so it has both a length and a direction. Once that picture is clear, magnitude, direction, and vector operations all follow naturally.
If you only remember one idea, remember this: a vector is not just a length. Direction is part of the quantity, so the arithmetic has to keep track of both components.
What a 2D vector means in coordinates
In the plane, a vector is usually written as
The first component shows horizontal change. The second component shows vertical change. You can think of the vector as an arrow from the origin to the point , or as a movement with the same size and direction starting anywhere in the plane.
That is why vectors are useful in geometry, physics, and graphics. They describe quantities such as displacement, velocity, and force, where direction matters as much as size.
How to find the magnitude of a 2D vector
In the usual Euclidean plane, the magnitude of is
This comes directly from the Pythagorean theorem. The magnitude tells you how long the vector is, not where it points.
For example, if , then
So the vector has length . This is the same right-triangle idea behind the distance formula.
How direction works in 2D
Direction in D is often described by an angle measured from the positive -axis. If the vector is nonzero and , you can start from
but that is only a starting point. You still have to choose the angle that matches the correct quadrant.
That condition matters because and give the same tangent value, but they point in opposite directions. In calculator or programming settings, a quadrant-aware function such as is often the safer way to find the angle.
The zero vector is a special case. Its magnitude is , and it does not have one unique direction.
Basic 2D vector operations
Most basic operations work component by component.
For addition,
For subtraction,
For scalar multiplication,
These rules are simple, but their meaning matters. Addition combines two directed changes into one new directed change. Subtraction compares one vector with another. Scalar multiplication changes the size, and if , it also reverses direction.
Worked example with magnitude, direction, and addition
Let
Start with the magnitude of :
Its direction angle is in Quadrant I, so
Now add the vectors component by component:
The result is another vector, not a single number. Its magnitude is
This shows the main pattern. Components tell you how the vector moves, magnitude gives its length, direction gives its angle, and addition creates a new vector with its own length and direction.
Common mistakes when working with 2D vectors
Adding lengths instead of vectors
is not the same as . Those are different quantities unless the vectors point in exactly the same direction.
Using without checking the quadrant
The ratio alone does not tell you the full direction. You need the signs of both components to place the angle correctly.
Forgetting what scalar multiplication does
Multiplying by doubles the length. Multiplying by doubles the length and flips the direction.
Treating the zero vector like an ordinary direction
The vector has no unique direction, so angle-based reasoning does not work the same way there.
Where 2D vectors are used
2D vectors appear whenever motion or change in a plane matters. Common examples include displacement on a map, velocity in two directions, forces on a flat surface, and movement in computer graphics.
They also give a clean bridge to later topics such as dot product, projections, and polar coordinates, because all of those build on the same component idea.
Try your own version
Try your own version with and . Find the magnitude of each vector, add them, and decide which quadrant the result points into.
If you want to go one step further, solve a similar problem where both components are negative. That is a quick way to test whether you really understand direction, not just magnitude.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →