Coordinates
Coordinates Relative to the Standard Basis
The vector v=[35] is a linear combination of the standard basis vectors.
The coefficients are called the coordinates of v relative to the basis S:
v=[35]=3[10]+5[01]
We can use [ ]S to write that this vector's coordinates are relative to the basis S : [v]S=[35]
In other words, the coordinates of v are the coefficients from the linear combination of the basis vectors that create v.
Coordinates Relative to a General Basis
Suppose that B={v1,v2,…,vn} is a basis for an n-dimensional vector space V. Let v be a vector in V such that:
v=c1v1+c2v2+⋯+cnvn
Then the coordinates of v relative to the basis B are given by the coefficients:
[v]B=c1c2⋮cn
Example
The set B={[31],[1−1]} is a basis for R2.
Let u=[35], then we can find coefficients a,b such that
[35]=a[31]+b[1−1]
This is just a 2×2 system of linear equations! Try solving and you will find that:
u=[35]=2[31]+(−3)[1−1]
Therefore, the coordinate vector of u relative to the basis B is:
[u]B=[2−3]
Geometric Interpretation
A basis for a vector space defines a coordinate system.
In the standard basis for R2, the vectors [10] and [01] define the standard coordinate system with the x and y axes.
The basis vectors [31] and [1−1] define a different coordinate system with axes along these vectors.
These two different coordinate systems give us different ways of representing the same vector u:
Example: Coordinates
It can be shown that the set B={1+x2, x+x2, 1+2x+x2} is a basis for the polynomial vector space P2.
Find the coordinate vector of p(x)=1+4x+7x2 relative to the basis B.
Let's include the 0 coefficients in the basis B:
B={1+0x+1x2, 0+1x+1x2, 1+2x+1x2}
We can then transform this into the following basis for R3:
B=⎩⎨⎧101,011,121⎭⎬⎫
Our given polynomial can be written as the following vector in R3:
p=147
Let's find the coordinates of p. These are the coefficients from the linear combination of the basis vectors of B that create p:
[p]B=c1c2c3 such that c1101+c2011+c3121=147
This is equivalent to solving the system:
101011121147RREF10001000126−1
Therefore, [p]B=26−1.
We can check this:
===2(1+x2)+6(x+x2)+(−1)(1+2x+x2)2+2x2+6x+6x2−1−2x−x21+4x+7x2p(x)✓
Practice: Coordinates
Find the coordinates of the polynomial p(x)=5+x−3x2−3x3 relative to the following basis of P3:
B={(1+x), (x+x2), (x2+x3), (1−x3)}
1st coordinate:
2nd coordinate:
3rd coordinate:
4th coordinate: