Vector Addition Lab
Drag two or three vectors on a canvas and watch the head-to-tail resultant appear — with full component arithmetic. Set vectors by slider or by dragging their arrowheads; the magnitude and direction of R update live.
Learn the physics first
Vectors add by the head-to-tail rule: draw the first arrow, start the second arrow at the head of the first, and so on. The resultant R is the single arrow from the tail of the first vector to the head of the last. The order you chain them in never matters — the resultant is the same — but the directions matter enormously: adding magnitudes with plain arithmetic is only correct when the vectors are parallel.
The arithmetic that always works is component addition. Each vector contributes its x-part and its y-part separately; the sums Rx and Ry are ordinary signed numbers, and the resultant is rebuilt from them with Pythagoras. This lab draws the geometric construction and performs that arithmetic side by side, so the picture and the numbers can never drift apart.
Model assumptions. Flat 2D geometry with +x east and +y north; angles measured counter-clockwise from +x in degrees. The vectors here are displacements in metres; the same addition rules apply to any vector quantity (velocity, force, …). One grid square = 1 m.
Experiment
Component arithmetic
—
Each axis adds independently; the resultant is rebuilt from Rx and Ry with Pythagoras.
Controls
Run replays the head-to-tail construction step by step; A, B and C are drawn one after another, then R.
Live measurements
C is hidden while only two vectors are selected; its readout then shows its stored value but it is not part of the sum.
Try this. Keep A = 6 m and B = 8 m and swing B’s direction from 0° to 90° to 180°: |R| moves from 14 m (parallel) through 10 m (perpendicular) down to 2 m (opposite). Then set B = 0 and watch R sit exactly on A — a zero vector contributes nothing.
Understand
Predict before you run
With the defaults A = 6 m at 0° and B = 8 m at 90° (or your current settings), predict the resultant magnitude, then check it against the construction.
Experiment completion
Try parallel, perpendicular and opposite pairs, add a third vector, then pass the quiz.
Where to go next
- Scalars & Vectors lesson
- Vector Components Lab — splitting one vector into x and y
- Dot & Cross Product Lab — the two ways to multiply vectors