SL | Linear Transformations

[This content was created with SL, available on the App Store.]

Vector Spaces of Polynomials

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 P2 be the vector space of polynomials of degree 2, with the ordered basis β:

            β= 10 x1 x2

Let P3 be the vector space of polynomials of degree 3, with the ordered basis γ:

            γ= 10 x1 x2 x3

Example 1

Let T be a linear transformation from P3 into P2:

            T:P3P2   where Tf  =  f

This means that the transformation T maps a polynomial, by taking its derivative, in P3 to a polynomial in P2. We can compute the corresponding transformation matrix T γβ as follows. First we compute the derivative of each basis vector in the basis γ of P3 as a linear combination of the elements of the basis β of P2:

           T10=010 + 0x1 + 0x2
           Tx1=110 + 0x1 + 0x2
           Tx2=010 + 2x1 + 0x2
           Tx3=010 + 0x1 + 3x2

Then we take the coefficients in each linear combination above and put them into the columns of the transformation matrix T γβ: 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 T γβ:

            T γβ= 0100 0020 0003

This transformation matrix converts the coordinate vector relative to γ of an object (a poynomial) in P3 to the coordinate vector relative to β of an object (a polynomial) in P2. Using this fact, we now compute the derivative hx of a polynomial hx:

            hx=5+7x1+3x2+x3

We first write down the coordinate vector of the polynomial hx:

            hx γ= 5 7 3 1

Then we multiply it with the transformation matrix T γβ:

            T γβ hx γ= 0100 0020 0003 5 7 3 1 = 7 6 3

to get the coordinate vector of hx:

            hx β= 7 6 3

From the coordinate vector hx β, we compute hx itself as a linear combination of the elements of the basis β:

            Thx=  hx=7+6x1+3x2

by using the coordinate vector hx β which contains the coefficients of the linear combination required to construct Thx out of the elements of the basis β of P2.

Example 2

Now let U be a linear transformation from P2 into P3:

            U:P2P3   where Ufx  =  xfdt

The transformation U computes the integral of a polynomial in P2. To find the transformation matrix U βγ, we start by transforming each basis vector in the basis β of P2 to the corresponding object (a polynomial) in P3 by taking the linear combination of the elements of the basis γ of P3:

           U10=010 + 1x1 + 0x2 + 0x3
           Ux1=010 + 0x1 + 12x2 + 0x3
           Ux2=010 + 0x1 + 0x2 + 13x3

Then, we fill in the columns of the transformation matrix U βγ by using the same method as we have used for the transformation matrix in Example 1:

            U βγ= 000 100 0120 0013

The transformation matrix U βγ converts the coordinate vectors relative to β of objects (polynomials) in P2 to the coordinate vectors relative to γ of objects (polynomials) in P3. That is, this transformation matrix enables us to compute the coordinate vector of an object in P3 from the coordinate vector of an object in P2. Armed with this knowledge, we now compute the integral Ugx of a polynomial gx in P2:

            gx=5+2x1+3x2

The coordinate vector of gx is gx β:

            gx β= 5 2 3

Multiplying the coordinate vector gx β by the transformation matrix U βγ produces the coordinate vector of the result, Ugx γ:

            Ugx γ= U βγ gx β

            Ugx γ= 000 100 0120 0013 5 2 3 = 0 5 1 1

Now we can compute Ugx as a linear combination of the elements of the basis γ:

            Ugx  =  xgdt  =  010+5x1+1x2+1x3  =  5x1+x2+x3

by using the coordinate vector Ugx γ which contains the coefficients of the linear combination required to construct Ugx out of the elements of the basis γ of P3.

[This content was created with SL, available on the App Store.]