I am working on an assignment and am a little stuck on a question. I will try give an example without using my assignment question (hope it works!).
Given a 2 x 2 transformation matrix:
M = [-5 6]
[ 6 -5]
Q1: Write the tranformation of vector 2xi + 5yj under M
x' = [-10x + 30y]
[ 12x - 25y]
Q2: What angle has the vector above been rotated through? Explain.
So that is where I am a little stuck. I cant seem to figure this out. I tried using cos(a) = ll' + mm' (sum of the products of the direction cosines) but the algebra just blew out. Also tried the formula for the relationship between anlge and the dot product of vectors. I tried drawing and plotting lots of points. They seem to rotate a different amount depending on the initial point!!! So now I am a little out of ideas!
Any help would be greatly appreciated...
May 3rd 2009, 01:24 AM
I'm not sure, but plugging in simple matrix and graphing it out, it seems that the transformation is just a linear combination with no rotation what so ever.
May 15th 2009, 11:39 PM
After wasting wayyy too much time on this (supposedly simple) problem I still do not have a mathematical answer!
Anybody have any ideas?
May 16th 2009, 12:29 AM
My guess is that as you have created this problem yourself based on a model from something else, you may have misinterpreted what is going on.
I suspect what is going on is that you have redundantly put the coordinate tags on those things. You can either use i and j or like and but not both. The action of M on a vector just works like matrix multiplication. It represents a linear transformation from .
So basically you take the vector you are acting on call it . In your case . You would write it as a column to the right of the matrix M and see where it goes. You should get out a 2x1 column vector, call it , in your case it is .
So you see this matrix has changed your vector in some way. Because I assume you just made up this matrix, it does not actually represent a rotation as you can see the magnitude of this vector is way bigger than the original one, but in general here is how you would find out the degree of the rotation as follows.
Hopefully I have made some sense to you, I am pretty sure this is what the problem is asking you to do, but I can't be sure.
May 16th 2009, 01:03 AM
The question is worded exactly as I have written above. In fact I only changed the numbers as I did not want to confuse anyone by creating a BS example. I don't know how to work the pretty maths equations but the given vector was 2xi + 5yj where i and j are the unit vectors and x and y are just variables (I assume).
May 16th 2009, 01:06 AM
then plug and chug dude. I gave you the formula you need to calculate the angle of rotation, its just going to be nasty with it all in terms of x's and y's.
May 16th 2009, 01:50 AM
Yeah, I already had a go the other night and got stuck when the algebra blew out! I will have another go at it and see how I get on. Thanks for your help...
May 16th 2009, 02:00 AM
did you alter your matrix M too? Generally a matrix of rotation in is of the form
But yeah, none of the computations are particularly difficult, you just gotta be careful. If you are having a hard time doing the computations, I can go through it with this example, but I mean if you have changed the numbers there is really no point in us both doing it.
May 16th 2009, 02:42 AM
I would be keen to see an example. I get stuck trying to simplify the bottom line!
May 16th 2009, 09:10 AM
Lets do an example with a matrix that we know what is going to happen. This will rotate
Dot product of v Mv:
May 17th 2009, 02:02 AM
Excellent... Not enough info to answer my assignment question, but enough to show how to get there! I have been on the right track but have been getting tangled up trying to simplify the two square roots on the bottom line. I will just keep staring at it until I can get it to come up with a result that is not a page wide!
Thanks for your help...
May 17th 2009, 06:18 AM
Is the matrix in this problem the same one as in your original assignment question?
If it is not and this is a matrix you've concocted then I reckon you're probably making more work for yourself than is necessary. You see the matrix above is not a rotation matrix but looks like it's very close to one i.e. I wonder if your original question had a rotation matrix which you slightly altered for the sake of making a similar problem but destroyed its rotation property.
This matrix has real eigenvalues whilst a rotation matrix would have complex eigenvalues.
In other words this matrix will just scale up the eigenvectors which your vector is composed of so any perceived rotation is only a consequence of differing scaling of the components. As the matrix is symmetric the eigenvectors are orthogonal and are infact at 45 degrees to the x and y axes.
Hence I don't believe there will be any nice simplification in the expression you get from your dot-product calculation!
So to sum up what was the original matrix? If that matrix was of the form of the rotation matrix described above then it should be easy to see that the tangent of the angle can be found directly from the matrix by dividing one element by another.
If this is your original matrix then I'm sorry to say that your angle is going to have to be expressed in terms of x and y.
May 17th 2009, 02:06 PM
My matrix was of the same form as the one above. I just altered the numbers. I think the original was:
[-2 3 ]
[ 3 -2]
the original vector was 3xi + 2yj
Remember this is an assignment question so I am not looking for someone to solve it for me...
I assumed the rotation will be in terms of X and Y but I just cant seem to simplify it enough. the question is not worth enough marks for all this work so I assume I am missing something obvious!
May 17th 2009, 03:29 PM
Well in that case I suggest you use formula to determine the angle of each vector in the plane from the unit vector and then subtract one angle from the other. For example call the initial vector and the vector it transforms to and the angles they make with and respectively. Now bearing in mind the tangent is given by the ratio of j component over i component then you will have relations of the form:
Call the angle between the two vectors so then:
The caveat to this is that you have to keep track of where your vectors are so you know which quadrant would put you in. This depends upon what the values of x and y are and so as they are unknown this expression is fine as it is.
I've tried it and it does lead to much simpler algebra.