Two displacements performed one after the other are a single displacement. Walk along , then along : you end up somewhere, and the arrow from where you started to where you ended is the sum . Drawn, that is the head-to-tail rule โ slide so its tail sits on the head of , and the sum runs from the tail of to the head of . Walking first and then lands you at the same place, so , and the two routes together trace a parallelogram whose sides are copies of and . The sum is its diagonal from the shared tail.
Parallelograms live in a plane, so the first figure is drawn in one: two vectors on four sliders, their sum, and the parallelogram they span.
Interactive figureThe parallelogram law of vector additionDrag the 4 sliders below the figure.
XYZ Graph · viewer build 5edf91b
The parallelogram spanned by in red and in blue. The purple diagonal from the origin is ; the dotted gray diagonal from the tip of to the tip of is .
Explore the figure
At the starting values and , read the far corner: it sits at , which is . Adding the components adds the arrows. As a bonus, the sum has length .
Follow the dashed blue copy of that starts at the tip of . It ends at the far corner: that is head-to-tail addition. The dashed red copy of , starting at the tip of , ends at the same corner โ the other order, the same sum.
Drag to . Now and the far corner is at : the parallelogram leans backward and the sum points straight up. A sum can be shorter than either of its parts.
Set and , so that . The parallelogram flattens to a segment and the purple arrow disappears: .
Return to the starting values and look at the dotted gray arrow from the tip of to the tip of . Head minus tail gives , which is : the other diagonal of the same parallelogram, and the arrow you would add to to reach .
Adding by components
The corner did the algebra for you. Sliding to start at the head of moves its head by exactly the components of , so the head of the sum is at . In the same sentence has clauses:
Subtraction is addition of the opposite: , where has every component negated, so the difference is computed component by component too. Geometrically is the arrow from the head of to the head of โ head minus tail once more โ which is why it appears as the second diagonal.
Because addition happens one component at a time, it inherits the arithmetic of ordinary numbers. For all vectors , , of :
, and , so a sum of several vectors needs no parentheses and no order.
, and .
Each is checked by looking at one component: the th component of is , which equals , the th component of . Four more rules arrive in the next section once scalars join in, and the eight together are the rules of the game for the whole book.
Three vectors, one diagonal
Head-to-tail addition is not a plane fact โ it works for arrows anywhere in space, and it works for more than two arrows. The second figure adds three: and lie in the floor, and climbs by a slider. Three vectors that are not all in one plane span a parallelepiped, a box with parallelogram faces, and their sum is its long diagonal.
Explore in 3D (opens in a new tab)The box spanned by , and , with the three faces at the origin shaded. The thin copies run head to tail โ , then , then โ and finishes at the far corner, which the fourth arrow, the diagonal , reaches directly.
Explore the box
Orbit the box at the starting value . The thin copy of leaves the tip of , the thin copy of leaves the tip of that, and the path ends at the box's far corner. Read the corner: , which is .
The diagonal arrow goes straight from the origin to that corner, so it is the sum. Every one of the box's other diagonals is a sum too, with different signs: the one from the tip of to the opposite corner is .
Drag to . All three vectors now lie in the floor, the box collapses to a flat parallelogram, and the diagonal lies flat with it, ending at . Three vectors in one plane span no volume โ a fact Chapter 4 will measure with a determinant.
Drag to . The box hangs below the floor and the diagonal dips to . Only the third component of the sum has changed, because only 's third component did.
The first two vectors, added โ Computed ยท mojocas 0.1.0โ Agrees with the text The first two vectors, added, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
The vectors and of the box, stacked as columns and added by a computer algebra system: , the corner of the floor parallelogram.
Then the third โ Computed ยท mojocas 0.1.0โ Agrees with the text Then the third, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
The same sum with added at : , the far corner of the box. Head-to-tail addition is associative, so it does not matter that this was done in two steps.
A difference โ Computed ยท mojocas 0.1.0โ Agrees with the text A difference, computed exactly by mojocas 0.1.0, and confirmed to agree with the result stated in the text.
The difference , computed component by component: .
An original work of XYZ Homework, built around interactive XYZ 3D figures. Its chapter sequence is aligned to Interactive Linear Algebra (Margalit & Rabinoff, Georgia Tech, GNU FDL); this work is original, copies nothing from it, and is not affiliated with or endorsed by its authors. License: CC-BY-NC-SA-4.0.
These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.