Vector Operations
A vector is an arrow carrying both a direction and a size. Join two arrows and the diagonal of the parallelogram is exactly their sum, while multiplying an arrow by a number (a scalar) keeps its direction but stretches, shrinks, or flips it. The neat part is that all of this comes down to adding and multiplying the x- and y-components separately. Drag the components of a and b with the sliders to watch the sum vector appear, then change k to see the arrow stretch and flip.