More with Vectors

On the first vectors page a bunny hopped: every hop had a magnitude and a direction, and chaining hops tip-to-tail added the vectors. Here we keep working with that same hop, but stretch it, flip it, break it into unit-sized steps, and finally attach the physical units that turn an abstract arrow into a displacement, a velocity, or a force.

Scaling and Negation

Multiplying a vector by an ordinary number — a scalar — stretches or shrinks it without changing the line it points along. Each component is multiplied by the scalar:

ca=cax,ay=cax,  cay.c\,\vec{a} = c\,\langle a_x, a_y \rangle = \langle c\,a_x,\; c\,a_y \rangle.

The magnitude scales by the absolute value of the scalar,

ca=ca,\lVert c\,\vec{a} \rVert = |c|\,\lVert \vec{a} \rVert,

so 2a2\vec{a} is twice as long and 12a\tfrac{1}{2}\vec{a} is half as long, both pointing the same way as a\vec{a}.

A negative scalar does something extra: it reverses the direction. The special case c=1c = -1 is negation, a=(1)a-\vec{a} = (-1)\vec{a}, which is the same-length hop pointing the opposite way. This is exactly what lets us subtract: ab=a+(b)\vec{a} - \vec{b} = \vec{a} + (-\vec{b}).

Scale a Vector

Drag the blue tip to set the base hop, then slide the scalar. Stretching changes the length; a negative scalar flips the hop to point the opposite way.

base a

<2.0, 1.0>

scalar c

2.0

c · a

<4.0, 2.0>

xyc · aa
2.0

2.0 · <2.0, 1.0> = <4.0, 2.0> |c · a| = 4.47

Unit Vectors

A unit vector is any vector with magnitude 11. Two of them are special enough to get their own names. Let the bunny’s single hop one space to the right be

ı^=1,0,\hat{\imath} = \langle 1, 0 \rangle,

and its single hop one space up be

ȷ^=0,1.\hat{\jmath} = \langle 0, 1 \rangle.

(The “hat” is read “i-hat” and “j-hat,” and always marks a unit vector.) Using the scaling rule from the previous section, any vector is just a scaled right-hop plus a scaled up-hop:

a=ax,ay=axı^+ayȷ^.\vec{a} = \langle a_x, a_y \rangle = a_x\,\hat{\imath} + a_y\,\hat{\jmath}.

So 3,2\langle 3, 2 \rangle is “three hops right and two hops up,” or 3ı^+2ȷ^3\hat{\imath} + 2\hat{\jmath}. Every press of an arrow key below adds one unit vector to the bunny’s running displacement from where its current carrot appeared. Each hop is drawn as a blue vector; reach the carrot and their green sum is the total displacement — the same head-to-tail addition from the first page, now built one unit vector at a time.

Bunny Hops

Click the field, then steer with the arrow keys or WASD. Each hop adds one unit vector. Munch the carrot, then press Space for a new one.

last hop

hops 0 · carrots 0

xy
Click to steer with the keyboard

position

<0.0, 0.0>

displacement

<0.0, 0.0>

as unit vectors

0 î + 0 ĵ

Vectors Carry Units

So far the bunny’s hops have been pure numbers on a grid. In physics a vector almost always carries a unit that tells you what it measures. The bunny’s hop is a displacement, so its components have units of length — say meters — and a hop of 3,2 m\langle 3, 2 \rangle\ \text{m} means three meters east and two meters north. Displacement is the most intuitive vector precisely because you can pace it out.

The power of the vector formalism is that the algebra never changes. Adding components, scaling, and decomposing into ı^\hat{\imath} and ȷ^\hat{\jmath} work identically no matter what the arrow represents. The units simply ride along inside the magnitude:

QuantitySymbolExample units
Displacementd\vec{d}m\text{m}
Velocityv\vec{v}m/s\text{m/s}
Accelerationa\vec{a}m/s2\text{m/s}^2
ForceF\vec{F}N=kg⋅m/s2\text{N} = \text{kg·m/s}^2
Electric fieldE\vec{E}N/C\text{N/C}

Scaling even respects the units. Multiplying a velocity v\vec{v} (in m/s\text{m/s}) by a time tt (a scalar in s\text{s}) gives a displacement in meters, d=vt\vec{d} = \vec{v}\,t — the seconds cancel just as they would in ordinary arithmetic, while the direction of the velocity is preserved. Every tool you built on the first page now applies to forces on a free-body diagram, to electric fields around a charge, and to any other quantity with both a magnitude and a direction.

Problem Solving

Scaling and Negating

Problem

A bunny’s hop is a=2,3\vec{a} = \langle 2, 3 \rangle. Find 2a2\vec{a} and a-\vec{a}.

Use

cax,ay=cax,  cay.c\,\langle a_x, a_y \rangle = \langle c\,a_x,\; c\,a_y \rangle.

Solve

2a=22,  23=4,6,a=2,3.2\vec{a} = \langle 2\cdot 2,\; 2\cdot 3 \rangle = \langle 4, 6 \rangle, \qquad -\vec{a} = \langle -2, -3 \rangle.

Check

2a2\vec{a} points the same way as a\vec{a} but is twice as long, while a-\vec{a} has the same length and points the opposite way — exactly what scaling by 22 and by 1-1 should do.

Unit Vectors and Units

Problem

A velocity is v=4,3 m/s\vec{v} = \langle -4, 3 \rangle\ \text{m/s}. Write it with unit vectors and find its speed (the magnitude).

Write and solve

v=4ı^+3ȷ^ m/s,v=(4)2+32=25=5 m/s.\vec{v} = -4\,\hat{\imath} + 3\,\hat{\jmath}\ \text{m/s}, \qquad \lVert \vec{v} \rVert = \sqrt{(-4)^2 + 3^2} = \sqrt{25} = 5\ \text{m/s}.

Check

The components form a 33-44-55 right triangle, so a speed of 5 m/s5\ \text{m/s} is reasonable, and the unit m/s\text{m/s} carries straight through to the magnitude.

More Vectors Checkpoint

Question 1 of 3

What is $3\langle -1, 2 \rangle$?

Choose an answer to get instant feedback.