Sage CBM Change-of-Basis Matrix

To create a change-of-basis matrix, it is enough to construct an identity linear transformation relative to a domain and codomain with the specified user bases, which is simply a straight application of Definition CBM. Here we go with two arbitrary bases.





We can demonstrate that CB is indeed the change-of-basis matrix from B to C, converting vector representations relative to B into vector representations relative to C. We choose an arbitrary vector, x, to experiment with (you could experiment with other possibilities). We use the Sage conveniences to create vector representations relative to the two bases, and then verify Theorem CB. Recognize that x, u and v are all the same vector.







We can also verify the construction above by building the change-of-basis matrix directly (i.e., without constructing a linear transformation).