Linear span in this visualization
The span of some vectors is the set of all their linear combinations, with any real numbers as coefficients. It always contains the origin O, and in space it is O alone, a line or a plane through O, or all of space.
In the opening view, the glass disc through O is , the span of and . The crossings of its engraved grid are the combinations with integer coefficients , and its rim fades because the plane goes on forever. The fainter discs are the layers for integers , and the blue disc is the plane through the target point T. A chain of thin blue arrows, , then , then , walks from O to T. The red segment from the tip of down to has length , where is the signed height of off the plane.
Why can a third vector add a whole dimension? Every combination of , and is a point of moved by some multiple of , so the span is the union of the planes over all real . If is off , the planes at and are apart, and as runs through the real numbers the planes sweep through all of space.
Now lower until it is only a hair off the plane. With the default and , is about 0.004 off , and the span is still all of space. Reaching takes : . For a fixed target off , the smaller is, the larger has to be, but there is always an answer. Only when is exactly 0 does every plane stay , and the span of , and drops back to .
Vectors are linearly dependent if some combination of them with coefficients not all zero is the zero vector. When the vectors are nonzero, the page draws this as a closed loop: multiples of the vectors, laid tip to tail, walk back to O. Equivalently, one of them is a combination of the others. No two of , and are parallel, yet the three are dependent, because lies in :
A loop also means that a point has many recipes. Adding a nonzero multiple of the loop to a recipe for T changes the coefficients but not the point.
The dimension of the span is the largest number of independent vectors among them.
Things to notice
- In perspective, a tip can look as if it touches a plane that it misses. The red segment and the height readout tell you, and Edge-on shows as a single line.
Controls
- The red fader under Third vector u moves straight off the plane or back into it, and catches at 0. The wheels p and q move within its layer.