[This content was created with SL, available on the App Store.]
Two examples are presented here to illustrate the computation of transformation matrices in the context of vector spaces of polynomials.
It is important to remember that a transformation matrix can be used to convert the coordinate vectors of objects in one vector space to the coordinate vectors of objects in another vector space. (Note: The two vector spaces can be the same vector space.)
It is also important to remember that an object in a vector space can be computed as a linear combination of the elements of a basis of that vector space from the object's coordinate vector relative to that basis.
Let be the vector space of polynomials of degree 2, with the ordered basis :
Let be the vector space of polynomials of degree 3, with the ordered basis :
Let be a linear transformation from into :
This means that the transformation maps a polynomial, by taking its derivative, in to a polynomial in . We can compute the corresponding transformation matrix as follows. First we compute the derivative of each basis vector in the basis of as a linear combination of the elements of the basis of :
Then we take the coefficients in each linear combination above and put them into the columns of the transformation matrix : we put the three coefficients in the first equation into the first column of the matrix; next, put the three coefficients in the second equation into the second column; then, put the three coefficinets in the third equation into the third column; finally, put the three coefficients in the last equation into the fourth column of the matrix :
This transformation matrix converts the coordinate vector relative to of an object (a poynomial) in to the coordinate vector relative to of an object (a polynomial) in . Using this fact, we now compute the derivative of a polynomial :
We first write down the coordinate vector of the polynomial :
Then we multiply it with the transformation matrix :
to get the coordinate vector of :
by using the coordinate vector which contains the coefficients of the linear combination required to construct out of the elements of the basis of .
Now let be a linear transformation from into :
The transformation computes the integral of a polynomial in . To find the transformation matrix , we start by transforming each basis vector in the basis of to the corresponding object (a polynomial) in by taking the linear combination of the elements of the basis of :
Then, we fill in the columns of the transformation matrix by using the same method as we have used for the transformation matrix in Example 1:
The transformation matrix converts the coordinate vectors relative to of objects (polynomials) in to the coordinate vectors relative to of objects (polynomials) in . That is, this transformation matrix enables us to compute the coordinate vector of an object in from the coordinate vector of an object in . Armed with this knowledge, we now compute the integral of a polynomial in :
The coordinate vector of is :
Multiplying the coordinate vector by the transformation matrix produces the coordinate vector of the result, :
Now we can compute as a linear combination of the elements of the basis :
by using the coordinate vector which contains the coefficients of the linear combination required to construct out of the elements of the basis of .
[This content was created with SL, available on the App Store.]