The basis vectors do not have to be orthogonal, as in the example. In
general, suppose I have a basis S, . Then any arbitrary vector
can be written as
Suppose I have another basis S', .Then the same vector
can also be written as
The relationship between the two sets of coordinates is always
Matrix P takes the form:
To get the transformation the other way, use the matrix P-1.