Adding and Scaling Vectors
Adding vectors head to tail, and multiplying them by a number.
1. Adding Vectors
Walk along a vector $\bar{a}$, then along a vector $\bar{b}$. Where do you end up? Your total displacement is one straight arrow from where you started to where you finished. That arrow is the sum of the two vectors.
To add $\bar{b}$ to $\bar{a}$, draw $\bar{b}$ with its tail at the head of $\bar{a}$. The sum $\bar{a} + \bar{b}$ is the arrow from the tail of $\bar{a}$ to the head of $\bar{b}$.
This is called the head-to-tail rule. We are allowed to move $\bar{b}$ so that its tail meets the head of $\bar{a}$ because, as the first page showed, a vector stays the same wherever it is drawn.
2. Adding with Components
Let $\bar{a} = (a_x, a_y)$ and $\bar{b} = (b_x, b_y)$, and follow the walk one axis at a time. Along the $x$-axis, $\bar{a}$ moves you $a_x$ and then $\bar{b}$ moves you a further $b_x$, so the total movement along $x$ is $a_x + b_x$. In the same way, the total movement along $y$ is $a_y + b_y$. These totals are the components of the sum:
The same reasoning adds a third pair of components in three dimensions. In $n$ dimensions we define the sum the same way, adding matching components:
$$\bar{a} + \bar{b} = (a_1 + b_1,\ a_2 + b_2,\ \dots,\ a_n + b_n)$$Example 1
For $\bar{a} = (3, 1)$ and $\bar{b} = (1, 2)$:
$$\bar{a} + \bar{b} = (3 + 1,\ 1 + 2) = (4, 3)$$3. Order Does Not Matter
Walking along $\bar{a}$ then $\bar{b}$, or along $\bar{b}$ then $\bar{a}$, brings you to the same place. Drawn together, the two routes form a parallelogram, and both end at its far corner.
Components show why. Adding two numbers gives the same answer in either order, so $a_x + b_x = b_x + a_x$, and the same holds along every other axis. Therefore
The sum is the diagonal of the parallelogram, which is why this way of adding is also called the parallelogram rule.
4. Multiplying by a Number
Multiplying a vector by a number stretches it, shrinks it or turns it around. In this setting the number is called a scalar, as on the first page, so this is called scalar multiplication.
For a whole number this is repeated addition. For example,
$$2\bar{v} = \bar{v} + \bar{v} = (v_x + v_x,\ v_y + v_y) = (2v_x,\ 2v_y)$$Following that pattern, for any number $k$ we multiply every component by $k$:
For a number $k$ and a vector $\bar{v} = (v_x, v_y)$,
$$k\bar{v} = (k v_x,\ k v_y)$$and in $n$ dimensions, $k\bar{v} = (k v_1, k v_2, \dots, k v_n)$.
Now we can check that this does what Fig 4 shows. First, its length. Using the formula from the Magnitude page:
$$\begin{align} |k\bar{v}| &= \sqrt{(k v_x)^2 + (k v_y)^2} \\ &= \sqrt{k^2 (v_x^2 + v_y^2)} \\ &= \sqrt{k^2}\ \sqrt{v_x^2 + v_y^2} \end{align}$$On that page we also saw that $\sqrt{k^2} = |k|$, so
So $k\bar{v}$ is $|k|$ times as long as $\bar{v}$. Second, its direction. Every component is multiplied by the same $k$, so the components keep the same proportions to each other and the arrow stays on the same line. If $k$ is positive, every component keeps its sign and the arrow points the same way. If $k$ is negative, every component changes sign and the arrow points the opposite way. And if $k = 0$, every component becomes 0, giving the zero vector.
Example 2
For $\bar{v} = (3, 4)$, which has length 5:
$$\begin{align} 2\bar{v} &= (6, 8) & |2\bar{v}| &= 10 \\ -\bar{v} &= (-3, -4) & |-\bar{v}| &= 5 \end{align}$$5. Subtracting Vectors
Subtracting a vector means adding its opposite:
$$\bar{a} - \bar{b} = \bar{a} + (-\bar{b}) = (a_x - b_x,\ a_y - b_y)$$To see why the arrow in Fig 5 is right, walk along $\bar{b}$ and then along $\bar{a} - \bar{b}$. By the head-to-tail rule you reach the head of $\bar{a}$, and the components agree: $b_x + (a_x - b_x) = a_x$, and the same along $y$. So
$$\bar{b} + (\bar{a} - \bar{b}) = \bar{a}$$Example 3
For $\bar{a} = (5, 1)$ and $\bar{b} = (2, 3)$:
$$\bar{a} - \bar{b} = (5 - 2,\ 1 - 3) = (3, -2)$$Check: $\bar{b} + (3, -2) = (2 + 3,\ 3 - 2) = (5, 1)$, which is $\bar{a}$.
Subtraction gives the vector between two points. If arrows from the origin reach a point $A$ at $\bar{a}$ and a point $B$ at $\bar{b}$, then the vector from $A$ to $B$ is