First time here? Check out the FAQ!

Ask Your Question
2

Checking conjugacy of two matrices

asked 8 years ago

nebuckandazzer gravatar image

updated 2 years ago

FrédéricC gravatar image
  1. I want to check whether or not two matrices are conjugate. I need to check conjugacy for two matrices in SL(2,Z). How to do it ? How to do it for any general ring or field ? (Notice that I just want to verify whether two given matrices are conjugate or not, I don't need the actual matrices; meaning that say X and Y are conjugates and AXA1=Y. I just want to know if or not X and Y are conjugates, I don't need the matrix A)

  2. Extending the previous question, say AXA1=Y. Then we can solve the system of linear equations AX=YA to find out A. But is there any command which can directly find A ?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
2

answered 8 years ago

tmonteil gravatar image
  1. You can look at the is_similar method for matrices, see this page for the documentation and examples.

  2. You can get the transformation matrix A by setting the transformation parameter to True. Note that, since you are working with integer matrices, the transformation matrix will be in the algebraic field QQbar, you can get it back to ZZ as follows:

    sage: A = X.is_similar(Y, transformation=True)[1].change_ring(ZZ)
Preview: (hide)
link

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 8 years ago

Seen: 1,275 times

Last updated: May 15 '19