
Matrix help
A =
find the smallest value of n > 0 such that http://mapleta7.eps.surrey.ac.uk:808...bgmdmigdij.gif
I need help on this question, I am suppose to solve it using matlab, however, I dont even know how to solve this on paper, let alone matlab, any suggestions or help appreciated.
I have tried to to it like this
to get n, and matlab gives me,
so is n = 1? Is this correct?

Re: Matrix help
Quote:
Originally Posted by
Tweety
Hi Tweety! :)
If you fill in n=1, you'll get .
That does not look like the identity matrix.
So no, it is not n=1.
If you're using matlab you might simply iterate over n, calculate A^n and see if it matches the identity matrix.
Using a little math would be to calculate the eigenvalues.
If any of them has an absolute value that deviates from 1, it is not possible.
Then you need to find the lowest integer power that will turn all eigenvalues into 1.
If there is one, that is your prime candidate.
You will still have to verify if it fits.

Re: Matrix help
Thank you, but still slightly confused...
I defined my matrix in matlab, and calculated a^n , for different values of n, 1,2,3 etc... but get no where near the idenity matrix

Re: Matrix help
Actually I just tried a^4 and got the indenity matrix, thank you sooo much