You may travel along two arrows, any amount, forwards or back. Watch where you can get to: the dots fill the plane.
When two arrows lose a dimension
Every dot is c v + d w, for weights c and d between −3 and 3.
Two arrows, v = (2, 1) and w = (1, 2). Each dot will be one trip: c lengths of v, then d of w, with c and d between −3 and 3.
Describe this picture
A square grid with two arrows from the origin, and . Over 6 s, dots land one after another at for many pairs of weights and between and 3, until they cover the grid. The pairs come from a fixed sequence, so the same moment always shows the same dots. A readout says what the dots fill: “the whole plane” or “a line”. One control, once the clip has finished: drag the tip of , or move it with the arrow keys, in steps of half a unit. When lies on the line of , the cloud collapses onto that line and the readout says “a line”.
Travelling with two arrows
Here is a game. You stand at the origin and hold two arrows, and . You may walk along as far as you like, forwards or backwards, and then along as far as you like. Where can you end up?
Walk 2 lengths of and 1 length of , and you arrive at
Walk half of backwards and 3 of : . Each choice of two amounts lands you on one point, and each dot in the picture at the top of the page is one such choice.
Every trip has the same shape: scale each arrow by a number, then add. The result
is a linear combination of and . The two numbers and are its weights. “Linear” means only these two things happen: scaling and adding. Nothing is squared and nothing is multiplied by another arrow.
The span: every place you can reach
Watch the clip again. The dots spread out in every direction and keep filling the gaps. Given enough trips, you can reach any point of the plane with these two arrows.
The set of all the places you can reach is the span of the arrows, written
where and run over all numbers.
For and the span is the whole plane, .
Fewer arrows reach less. With one arrow you can only walk along it, so its span is the line through the origin in the direction of . The zero vector is a stranger case: every multiple of is , so its span is a single point, the origin. Every span contains the origin, because you can always choose all the weights to be 0.
When an arrow adds nothing
Now drag the tip of onto the line of and watch the cloud. The dots stop filling the plane and fall onto one line, and the readout changes to “a line”.
Here is why. Put at , which is . Then every trip is
a multiple of . Walking along only moves you along the line you could already reach with . The second arrow adds nothing new, and two arrows span only a line.
So the count of arrows is not what matters. What matters is whether each new arrow points somewhere the others can’t reach. Two arrows that are not on one line span the plane; two arrows on one line span only that line.
Three arrows in space
In space, points have three components. One arrow spans a line, and two arrows not on one line span a flat plane through the origin. A third arrow fills all of space, but only if it points out of that plane.
Three arrows in space
Each dot is a combination of the three arrows. Where can they reach?
Three axes of space, x_1, x_2 and x_3, and the floor, where x_3 = 0.
Describe this picture
A slowly turning view of 3-D space: three axes, a square of the floor where the third component is 0, and three arrows that grow from the origin one after another, , and . Dots then land at combinations of the three arrows, and every one lands on the floor. Then the third arrow lifts up to , a dotted box appears around the axes, and dots at the new combinations fill the box, above and below the floor. A readout names the third arrow, and a second says what the dots fill: “the floor, a plane” or “all of space”. There is no control.
Watch the dots before and after the swap. The arrow is , so it lies in the floor already, and three arrows paint only the floor. The arrow points up out of the floor, and with it the dots reach every height.
Reaching a given point
Often the question comes the other way round: here is a target, can I reach it, and with which weights? Take the target and the arrows and . I need weights and with
Comparing the two components gives two equations, one per component:
The worked example below solves them. If the equations have a solution, the target is in the span; if they have none, it is not. In A matrix moves the plane the two arrows become the columns of a table of numbers, and this same question gets its own short notation.
In signal processing · signals from impulses
A signal of three samples, , , , is the linear combination of three shifted impulses. As a vector it is , counted from 1: . Writing every input this way is how The impulse response, in the signal processing course, describes every linear time-invariant system.
Worked example
1. Reaching with and . From , write . Put that into :
Then . Check: . The target is in the span.
2. The same target with and . Every combination is a multiple of , so its second component is half its first. For , half of 5 is 2.5, not 4. No weights work: is not in the span of and .
3. Three arrows in space. With three arrows I need three weights; I’ll call them , and . Reach with , and :
The last component gives at once. Then gives , and gives . Check: .
Predict before you drag: if , what does the cloud look like? A line, the line of .
Where you’ll meet this
Colour on a screen. Every pixel mixes red, green and blue light. The colour you see is a linear combination of three fixed colours, with the three brightnesses as weights. The span of those three is every colour the screen can show.
Chords and superposition. A chord is a mix of notes sounding together. Its waveform is the sum of the notes’ waveforms, each scaled by how loudly it is played: a linear combination of signals.
Equalisers. An audio equaliser splits sound into bands, scales each band by a gain and adds them back. The output is a linear combination of the band signals, with the slider settings as weights, as in Audio equalisers and biquads.
Reference card
| Quantity | Formula | Notes |
|---|---|---|
| Linear combination | scale each arrow, then add; , are the weights | |
| Span | every combination: all places you can reach | |
| One arrow | a line through the origin | the zero vector alone spans just the origin |
| Two arrows in the plane | the whole plane, or a line | a line when one arrow is a multiple of the other |
| Three arrows in space | all of space, a plane, a line, or the origin | all of space only if no arrow lies in the span of the others |
| Is reachable? | solve | one equation per component |