Understanding Linear Transformations: How to Write the Matrix with Symmetry

In summary: A-lambda*I) is just the determinant of the matrix A-lambda*I.In summary, S is the matrix whose columns are the coefficients of S(1), S(x), S(y), etc. in terms of the monomial basis. To find the eigenvalues of S, you need to take the det(S-lambda*I).
  • #1
DWill
70
0

Homework Statement


Hi all, we just started doing linear transformations in class and I still don't fully understand them. Here's one question I've been stuck on:

Let P2(x,y) be the vector space of polynomials in the variables x and y of degree at most 2. Recall the monomial basis for this space is {1, x, y, x2, xy, y2}

Let S: P2(x,y) -> P2(x,y) be the linear transformation which swaps the role of x and y in a polynomial. Write the matrix of S with respect to the monomial basis. Note that S is symmetric.


Homework Equations





The Attempt at a Solution


What are the basic steps I need to take to solve problems of this kind? The thing is I don't know how to start and what to do, so if somebody can teach me I will try to do this on my own. Thanks
 
Physics news on Phys.org
  • #2
Ok I think I figured out how to find the matrix of S on my own. It's just (0, 1, 1, 0) right? Now I just need to figure out how to write it with respect to the monomial basis?
 
  • #3
First of all, (0, 1, 1, 0) is not a matrix. Find out what S(1), S(x), S(y), etc. is written in terms of the monomial basis. S will be the matrix whose columns are, respectively, the coefficients of S(1), S(x), S(y), etc.
 
  • #4
Your matrix will need to be 6 x 6. You can represent your monomial basis {1, x, y, x^2, xy, y^2} as column vectors, (1, 0, 0, 0, 0, 0), (0, 1, 0, 0, 0, 0), and so on. Now look at what S does to each of these vectors. The output vectors will be the columns of your transformation matrix.
 
  • #5
e(hoon3, what is S(1), S(x), S(y)? I think that's my problem, I'm not sure what you mean by write them in terms of the monomial basis.

Mark, how do I write the basis as column vectors? Factor out the x and y's respectively? I'm not sure what you mean there.

Thanks for the help though!
 
  • #6
S(1) is the image of 1 under S, i.e. S applied to 1. And similarly for the rest. "In terms of the monimial basis" means writing S(1) as a monomial.
 
  • #7
Hm, so a 6x6 matrix that looks like this then?

1 0 0 0 0 0
0 0 1 0 0 0
0 1 0 0 0 0
0 0 0 0 0 1
0 0 0 0 1 0
0 0 0 1 0 0
 
  • #8
For example, let's say I have a vector space with two basis vectors, a and b. I pick a linear transformation T where T(a) = a+b and T(b) = -b. Then I want to construct a basis for T by representing a as (1,0) and b as (0,1). Notice the space is 2 dimensional, so the matrix will be 2x2. If the matrix is

[w x]
[y z] = A

say, then
T(a) = a+b means A(1,0) = (1,1) (the coefficients of the basis vectors match up with the coordinates) But A(1,0) = (w,y) so w=1, y=1

T(b) = -b means A(0,1) = (0,-1). But A(0,1) = (x,z) so x=0, z=-1

And the matrix would be

[1 0]
[1 -1]

Notice how each column is the image of one of the basis vectors... this isn't a coincidence, if you look at how the matrix was calculated you can see clearly how this happened. So instead, when given T(a) = a+b and T(b) = -b, instead of doing all those equations above (well, 2 here, but for a 6x6 matrix you'd be screwed) you can just read off the columns of the matrix by looking at the image of each basis vector.

Now do the same for the map that you have
 
  • #9
It is important to recognize that you can turn this question into a question about a linear transformation [itex]S : \mathbb{R}^6 \rightarrow \mathbb{R}^6[/itex] because you can identify each element in P2(x,y) uniquely with a vector in R6. You do this by considering each element of the monomial basis {1, x, y, x2, xy, y2} as if it were a different direction in R6. Therefore, what must the size of the matrix S?

How would you construct this matrix? Do what Mark44 and e(ho0n3 are suggesting. It is a theorem that the columns of the matrix of a linear transformation T : Rn to Rm can be found by applying each of the standard basis vectors in Rn to T.

EDIT: DWill, that's correct.
 
  • #10
That's the correct matrix? whew...thanks

Now if I want to find the eigenvalues of this matrix I need to take the det(A-lambda*I) right? Since this is a 6x6 matrix I would need to do cofactor expansion? Is there some kind of trick of pattern I'm not seeing here, because doing that might take a while...
 
  • #11
You can expand along the top row... which is convenient. Notice all but one of the entries are zero. So you really have (1-lambda)*(5x5 determinant). And only two entries in the 5x5 matrix's top row are non-zero, so expand into two 4x4 determinants. A lot of stuff will start out being 0 and it shouldn't take that long
 
  • #12
In fact, you may be able to write down six linearly independent eigenvectors just by considering how S changes polynomials.
 
  • #13
Ok similar question, need a bit of help:

Let C = (1 2 ; 3 4). Let L be the linear transformation L(A) = CA. Write the matrix representation of L with respect to the standard basis of M2.

Here's what I got so far:

The standard basis looks like S = { (1 0 ; 0 0), (0 1 ; 0 0), (0 0 ; 1 0), (0 0 ; 0 1) }. If I call each element of the basis vi, e.g. first element v1 = (1 0 ; 0 0), etc., I found L(vi) for each element: L(v1) = (1 0 ; 3 0) and so on

So now I have 4 2x2 matrices. ehoon said somethingn earlier that the matrix L will be the coefficients of the 4 matrices I now have. So I take each column of these matrices and join them together to get L? Wouldn't that be a 2x8 matrix?
 
  • #14
No. The theorem that let's you construct the matrix of a linear transformation from its values on the standard basis vectors works only for a map from Rn to Rn. What you have is a map from M2 to M2.

What you must do in this question and in most questions like this one is uniquely identify each element in M2 with an element in Rn for some appropriate n. For a 2 by 2 matrix, what would n have to be? How could you identify each 2 by 2 matrix with a vector in Rn?

After you have done this, you will see that L is really a map from Rn to Rn. Thus, a matrix for L would be 4 by 4, its columns given by the values of the transformation at the standard basis vectors.
 
  • #15
You have to express each L(vi) in terms of your ordered basis. So for example, (1,0 ; 3,0) would be written as a coordinate vector of the standard basis as: (1 0 3 0)^T. Doing that 4 times gives you a 4x4 matrix.
 
  • #16
The matrix would be this then?

1 0 2 0
0 1 0 2
3 0 4 0
0 3 0 4
 
  • #17
That looks ok.
 

1. What are linear transformations?

Linear transformations are mathematical functions that map one vector space to another in a linear manner. They preserve the properties of linearity, such as scaling and addition, and can be represented by matrices.

2. What is the difference between a linear transformation and a non-linear transformation?

A linear transformation follows the laws of linearity, meaning that it preserves the operations of scaling and addition. On the other hand, a non-linear transformation does not follow these laws and may involve more complex mathematical operations.

3. How do linear transformations affect the shape of a vector?

Linear transformations can change the orientation, size, and position of a vector, but they do not change its shape. This is because the properties of linearity ensure that the ratio of lengths and angles between vectors remains the same after a linear transformation.

4. How can linear transformations be represented mathematically?

Linear transformations can be represented by matrices. The transformation is applied to a vector by multiplying it with the corresponding transformation matrix. This allows for efficient calculations and easy manipulation of the transformation.

5. What are some real-world applications of linear transformations?

Linear transformations have many applications in fields such as physics, engineering, and computer graphics. They are used to model physical systems, compress and encode data, and create realistic computer-generated images.

Similar threads

  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
882
  • Calculus and Beyond Homework Help
Replies
26
Views
2K
  • Calculus and Beyond Homework Help
Replies
4
Views
1K
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
910
  • Calculus and Beyond Homework Help
Replies
2
Views
524
  • Calculus and Beyond Homework Help
Replies
3
Views
931
  • Linear and Abstract Algebra
Replies
8
Views
1K
Back
Top