July 26, 2026
How to Understand Vectors
Learn what vectors are, how to add and scale them, find magnitude, and use the dot and cross products, with worked examples and geometry.

The direct answer: a vector is a quantity with both size and direction, written as a list of numbers like (3, 4). You can add vectors, scale them, measure their length, and combine them with a dot product that reveals the angle between them. This guide explains the operations and the geometry behind them, with worked examples.
Vectors at a Glance
| Question | Answer |
|---|---|
| What is a vector? | A list of numbers with size and direction. |
| How to add | Add matching components. |
| Magnitude | sqrt(v1 squared + v2 squared + ... + vn squared). |
| Dot product | v dot w = v1 w1 + v2 w2 + ... ; relates to cos of the angle. |
| Cross product | Defined in 3D; gives a vector perpendicular to both. |
| When is it taught? | Typically in precalculus or a first linear algebra course. |
The Basic Picture
A scalar is a single number, like 7. A vector bundles several numbers together and treats them as one object. The vector (3, 4) can mean the point at x = 3, y = 4, or the arrow from the origin to that point. The direction is the line of the arrow, and the size is its length.
In two dimensions, v = (v1, v2). In three, v = (v1, v2, v3). Many ideas extend to any number of dimensions, which is why vectors power data science and physics. Math Insight has a plain language introduction to vectors and their notation if you want extra reading Math Insight.
Addition and Scaling
To add two vectors, add their corresponding components:
(1, 2) + (3, 4) = (4, 6)
Geometrically, place the tail of the second arrow at the head of the first; the sum is the arrow from start to finish. This is the "tip to tail" picture, and it explains why walking three blocks east then four north leaves you five blocks from start in a straight line.
To scale a vector by a number c, multiply each component:
3 times (1, 2) = (3, 6)
Scaling by a negative number flips the direction. Scaling by a positive number less than 1 shrinks it. Scaling by zero collapses any vector to the origin, which is the only vector with no direction.
Magnitude
The magnitude, or length, of a vector v = (v1, v2) is:
|v| = sqrt(v1 squared + v2 squared)
For (3, 4), the magnitude is sqrt(9 + 16) = sqrt(25) = 5. In three dimensions, add v3 squared under the square root. This is just the distance formula from the origin. The magnitude is always a single nonnegative number, never a vector.
The Dot Product
The dot product of v = (v1, v2) and w = (w1, w2) is:
v dot w = v1 w1 + v2 w2
It also equals |v| |w| cos(theta), where theta is the angle between the vectors. This gives two uses. First, you can find the angle:
cos(theta) = (v dot w) divided by (|v| |w|)
Second, the dot product tells you about the angle directly. If v dot w is positive, the angle is acute. If zero, the vectors are perpendicular (orthogonal). If negative, the angle is obtuse.
Example: v = (1, 0), w = (0, 1). The dot product is 1 times 0 + 0 times 1 = 0, so the vectors are perpendicular. That matches the x and y axes. The dot product is the workhorse of geometry because it turns "what is the angle" into arithmetic.
The Cross Product in 3D
The cross product, written v times w, is defined for three dimensional vectors and produces a third vector perpendicular to both. Its magnitude equals |v| |w| sin(theta), which is the area of the parallelogram the two vectors span.
For v = (v1, v2, v3) and w = (w1, w2, w3):
v times w = (v2 w3 minus v3 w2, v3 w1 minus v1 w3, v1 w2 minus v2 w1)
Example: v = (1, 0, 0), w = (0, 1, 0). The cross product is (0 times 0 minus 0 times 1, 0 times 0 minus 1 times 0, 1 times 1 minus 0 times 0) = (0, 0, 1), which points along the z axis, perpendicular to both inputs. The direction follows the right hand rule, which is why the order of the two vectors matters: swapping them flips the sign.
Unit Vectors and Direction
A unit vector has magnitude exactly 1. You make one from any nonzero vector v by dividing by its own magnitude:
unit vector = v divided by |v|
This keeps the direction of v but strips the length. Unit vectors are how we name directions cleanly. In three dimensions, the standard basis vectors i, j, and k point along the x, y, and z axes, so any vector (a, b, c) can be written as a times i plus b times j plus c times k. That notation is common in physics because it separates each direction into its own term.
Vectors in Physics
Vectors model anything with direction. Velocity is a vector: 60 km/h north is different from 60 km/h east, even at the same speed. Force is a vector, so two equal pushes in opposite directions cancel, while two at a right angle combine by the same tip to tail addition used above.
Worked example. A boat heads north at 4 m/s across a river whose current runs east at 3 m/s. The boat's actual velocity is the vector sum (3, 4) in east north coordinates, with magnitude sqrt(3 squared + 4 squared) = 5 m/s, angled east of north by an amount whose tangent is 3/4. The passenger feels a diagonal path even though the engine points straight across. That gap between intent and outcome is pure vector addition.
Resolving a Vector Into Components
The reverse of addition is resolution: given a vector's magnitude and direction, find its components. If a vector has length r and makes angle theta with the x axis, then:
x component = r times cos(theta) y component = r times sin(theta)
Worked example. A vector of length 10 at 30 degrees has x = 10 times cos(30) which is about 8.66, and y = 10 times sin(30) which is 5. So it equals (8.66, 5). Checking with the magnitude formula: sqrt(8.66 squared + 5 squared) is about sqrt(75 + 25) = sqrt(100) = 10. The round trip confirms the work.
A slope example
A crate rests on a ramp tilted 20 degrees above horizontal. Gravity pulls straight down with force 100 newtons. Resolve that force into a component along the ramp, 100 times sin(20) or about 34 newtons pulling the crate down the slope, and a component into the ramp, 100 times cos(20) or about 94 newtons pressing the crate against the surface. The first number tells you how much it tends to slide; the second tells you the normal force for friction. Splitting one force into two directions is the everyday use of resolution.
Why resolution matters
Resolution is how you handle forces on a slope, velocities at an angle, or any situation where directions matter separately. You split a vector into parts along the axes you care about, solve each part, then add the pieces back. Projectile motion, inclined planes, and wind correction for aircraft all reduce to this step. Mastering it turns a messy angled problem into two clean straight line problems.
Common Misconceptions
- Adding vectors by mixing up components or adding dimensions that do not match.
- Forgetting the square root in the magnitude formula.
- Thinking the dot product is a vector; it is a scalar.
- Using the cross product in 2D; it is defined for 3D.
- Assuming a zero dot product means one vector is zero; it means they are perpendicular.
- Believing vector addition commutes in direction for the cross product. Addition commutes, but the cross product does not: w times v = minus (v times w).
Frequently Asked Questions
Is a vector the same as a point?
They share coordinates, but a vector carries direction and size, while a point is just a location.
What does a dot product of zero mean?
The vectors are perpendicular, or orthogonal, assuming neither is the zero vector.
Can you divide by a vector?
No. There is no general division for vectors. You use inverses in matrix form instead.
Why is the cross product only in 3D?
The perpendicular direction it describes is a property of three dimensional space. Other dimensions use different products.
How are vectors used in real life?
They model force, velocity, electric fields, and any quantity with direction, plus data points in machine learning.
Why do we take a square root for magnitude?
Squaring then square rooting gives the straight line distance from the origin, the same idea as the distance formula in geometry.
About the author
Michael R. is a study skills coach with 12 years of experience and a learning specialist. He helps students develop effective study strategies and organizational systems.