This picture illustrates the standard basis in R 2 . The red and blue vectors are the elements of the basis; the green vector can be given with the basis vectors. In linear algebra , a basis is a set of vectors in a given vector space with certain properties:
One can get any vector in the vector space by multiplying each of the basis vectors by different numbers, and then adding them up. If any vector is removed from the basis, the property above is no longer satisfied. The plural of basis is bases. For any vector space V {\displaystyle V} , any basis of V {\displaystyle V} will have the same number of vectors. This number is called the dimension of V {\displaystyle V} .
B = { ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 0 , 0 , 1 ) } {\displaystyle B=\{(1,0,0),(0,1,0),(0,0,1)\}} is a basis of R 3 {\displaystyle \mathbb {R} ^{3}} as a vector space over R {\displaystyle \mathbb {R} } .
Any element of R 3 {\displaystyle \mathbb {R} ^{3}} can be written as a linear combination of the above basis. Let x {\displaystyle x} be any element of R 3 {\displaystyle \mathbb {R} ^{3}} and let x = ( x 1 , x 2 , x 3 ) {\displaystyle x=(x_{1},x_{2},x_{3})} . Since x 1 , x 2 {\displaystyle x_{1},x_{2}} and x 3 {\displaystyle x_{3}} are elements of R {\displaystyle \mathbb {R} } , then we can write x = ( x 1 , x 2 , x 3 ) = x 1 ( 1 , 0 , 0 ) + x 2 ( 0 , 1 , 0 ) + x 3 ( 0 , 0 , 1 ) {\displaystyle x=(x_{1},x_{2},x_{3})=x_{1}(1,0,0)+x_{2}(0,1,0)+x_{3}(0,0,1)} . So x {\displaystyle x} can be written as a linear combination of the elements in B {\displaystyle B} .
Also, this process would not be possible for any vector x {\displaystyle x} if an element was removed from B {\displaystyle B} . So B {\displaystyle B} is a basis for R 3 {\displaystyle \mathbb {R} ^{3}} .
The basis B {\displaystyle B} is not unique; there are infinitely many bases for R 3 {\displaystyle \mathbb {R} ^{3}} . Another example of a basis would be { ( 1 , 0 , 0 ) , ( 0 , 1 , 0 ) , ( 1 , 1 , 1 ) } {\displaystyle \{(1,0,0),(0,1,0),(1,1,1)\}} .