Here is a program that depicts the familiar Cartesian coordinate system in three dimensions. The unit vectors along the principal axes are represented by red (x), green (y), and blue (z) arrows. The grid lines appear at one-unit intervals. If you enter three comma-separated values in the text field and then press Go, a sphere is placed at the current coordinates.
Viewed as a vector space, is spanned by three basis vectors , , and . These are depicted by the three arrows. Any vector can be expressed uniquely as the linear combination of basis vectors: . When the basis vectors are assumed, we can write vector more compactly as an ordered tuple of real coefficients. For example . Regarding the basis vectors, since ; similarly, and .