Definition VR. Vector Representation.
Suppose that is a vector space with a basis Define a function as follows. For define the column vector by
QQ^4
with this basis as a“user basis”, namely V
.xxxxxxxxxx
v0 = vector(QQ, [ 1, 1, 1, 0])
v1 = vector(QQ, [ 1, 2, 3, 2])
v2 = vector(QQ, [ 2, 2, 3, 2])
v3 = vector(QQ, [-1, 3, 5, 5])
B = [v0, v1, v2, v3]
V = (QQ^4).subspace_with_basis(B)
V
xxxxxxxxxx
V.echelonized_basis_matrix()
V
. In the proof of Theorem VRLT we defined a linear transformation xxxxxxxxxx
rho = linear_transformation(V, QQ^4, (QQ^4).basis())
rho
xxxxxxxxxx
rho.is_invertible()
w
.xxxxxxxxxx
w = vector(QQ, [-13, 28, 45, 43])
rho(w)
xxxxxxxxxx
lincombo = 3*v0 + 5*v1 + (-6)*v2 + 9*v3
lincombo
xxxxxxxxxx
lincombo == w
lincombo
is exactly the messy expression displayed in Definition VR. More precisely, we could even write this as:xxxxxxxxxx
w == sum([rho(w)[i]*B[i] for i in range(4)])
xxxxxxxxxx
u = random_vector(QQ, 4)
u == sum([rho(u)[i]*B[i] for i in range(4)])
xxxxxxxxxx
w = vector(QQ, [-13, 28, 45, 43])
V.coordinate_vector(w)
QQ
in Sage) and the dimension. You can study whatever whacky vector space you might dream up, or whatever very complicated vector space that is important for particle physics, and through vector representation (“coordinatization”), you can convert your calculations to and from Sage.