Basic understanding of vector operations is provided by Vector Operations.
Linear Combination of Vectors
are combined with coefficients and give a linear combination which is a vector:
Up to Three Dimensions
Orthonormal Bases
Let be orthonormal vectors in three-dimensional space. Then every vector can be written as
This arises from solving for the constants. As every vector in a space can be expressed in terms of this linear combination of , this set of vectors is called a basis. If they are orthonormal then it is an orthonormal basis.
Linear Combination Approximation
if is an orthonormal basis for three-dimensional space and v is a vector, then the linear combination of that is closest to is.
Equivalent of dropping the vector perpendicularly onto the plane spanned by . The image demonstrates the idea.

Higher Dimensions
In a n-dimensional space with basis vectors, any n-dimensional vector can be written as
The best approximation to this vector is the same formula, but with , a lower-dimensional vector, that tries to approximate our n-dimensional . The best approximation of in dimensions is the vector , the “orthogonal projection of onto the span of “.