Vectors & Space

Discover vectors as arrows, not just lists of numbers. Explore addition, scaling, and what it means to span a space.

Vectors Are Arrows, Not Lists

A vector is an arrow from the origin to a point, and its numbers just say where the tip lands. Drag, stretch, and combine arrows below to see what that buys you.

Vector Addition

Drag the blue and green tips and watch the sum close the parallelogram. Walking the two arrows tip to tail always lands on the same point.

a = (2.0, 1.0)
b = (1.0, 2.0)
a + b = (3.0, 3.0)

Drag the blue and green vector tips. Notice how the sum always completes the parallelogram.

Go deeper:Vectors Are Arrows, Not Lists

Before diving into matrices, let's build intuition for vectors. A vector isn't just a list of numbers—it's an arrow pointing from the origin to some point in space. The numbers simply tell us where the tip lands.

This geometric view is the key to understanding all of linear algebra. Every operation we'll learn has a beautiful visual meaning.

To add two vectors, place the tail of the second at the tip of the first. The sum is the vector from the original origin to the new tip—forming a parallelogram.

Scalar Multiplication

Slide the scalar and watch the arrow stretch, shrink, and flip. Positive scalars keep its direction; negative scalars reverse it.

-202

Positive scalars: stretch or compress the vector

Negative scalars: flip direction and scale

Zero: collapses the vector to a point

Linear Combinations

Dial the two coefficients and watch where the scaled-and-added vector lands. Try to reach a point you pick in advance.

1.0·(2, 0.5)+1.0·(0.5, 2)=(2.5, 2.5)

A linear combination scales each basis vector and adds them together. Every point in the plane can be reached by some combination of v₁ and v₂.

Go deeper:Linear Combinations

A linear combination takes multiple vectors, scales each by some coefficient, and adds the results. This is the fundamental operation of linear algebra.

Span—What Can You Reach?

Drag the two vectors and watch the reachable region change. Make them parallel and see the plane shrink to a line.

Two non-parallel vectors span the entire 2D plane

The span of a set of vectors is all possible linear combinations. Drag the vectors to see how the span changes.

Go deeper:Span—What Can You Reach?

The span of a set of vectors is all points reachable via linear combinations. One vector spans a line. Two non-parallel vectors span a plane. What happens if they're parallel?

Span is all points reachable; non-parallel vectors span more.

Vectors in 3D

Drag to rotate the view and see the arrows in space. Three independent vectors reach every point in 3D.

Result = (2.0, 2.0, 2.0)

Three independent vectors span all of 3D space. Drag to rotate the view, scroll to zoom. Any point in space can be reached by some linear combination of v₁, v₂, and v₃.

Key Takeaways

  • Vectors are arrows—think geometrically, not just algebraically
  • Addition follows the parallelogram rule (tip-to-tail)
  • Scalar multiplication stretches, compresses, or flips vectors
  • Linear combinations scale and add—the building block of everything

Spot a mistake or have an idea?

Search