Demonstration 1.
In the vector space of polynomials with degree at most find the vector representation of relative to the basis for
Hint: Coordinatize with respect to the basis
📚 The CoCalc Library - books, templates and other resources
Important: to view this notebook properly you will need to execute the cell above, which assumes you have an Internet connection. It should already be selected, or place your cursor anywhere above to select. Then press the "Run" button in the menu bar above (the right-pointing arrowhead), or press Shift-Enter on your keyboard.
ParseError: KaTeX parse error: \newcommand{\lt} attempting to redefine \lt; use \renewcommand
It is easy to form vector representations of vectors in
We get a nonstandard basis quickly from the columns of a nonsingular matrix. The keyword algorithm='unimodular'
requests a matrix with determinant
The columns of A
become the “user basis” of a vector space.
Now, we get values of the invertible linear transformation with the Sage method .coordinate\_vector()
method of the vector space.
The inverse linear transformation is also available as the .linear\_combination\_of\_basis()
method of the vector space.
And the automated check:
Notice that this is something we could do “by hand” with just reduced row-echelon form. The coordinitization of u
relative to the basis B
is just a (unique) solution to a linear system.
The following stanza will always return True
as we “coordinatize” and then use the coordinates to form a linear combination of the basis.
Sage does not implement abstract vector spaces. It presumes we have “nice” standard bases available and can apply an intermediate coordinatization ourselves.
In the vector space of polynomials with degree at most find the vector representation of relative to the basis for
Hint: Coordinatize with respect to the basis
B
is a basis, since A
is nonsingular.
Now coordinatize p
.
We'll get a coordinatization old-style.
Let's check to see if this is right and we can recover p
.
This work is Copyright 2016–2019 by Robert A. Beezer. It is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.