Ask Your Question
1

Is there a way to block diagonalize a matrix?

asked 13 years ago

Shashank gravatar image

I am trying to block diagonalize a four by four symbolic matrix in to two matrices of dimension two by two matrices. Is there a simple way to do it in sage?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 13 years ago

benjaminfjones gravatar image

How do you know that this is possible to do?

Some 4x4 matrices are not block diagonalizable into 2x2 blocks. For example a nilpotent matrix with a singe Jordan block. If you know for some reason that your symbolic matrix is diagonalizable into 2x2 blocks then probably there is a way to do this, but I don't think possible to write an algorithm that can decide if a symbolic matrix is block diagonalizable.

Preview: (hide)
link

Comments

I know that my matrix block diagonalizable from physics arguments. So can you recommend some place where I can read about it?

Shashank gravatar imageShashank ( 13 years ago )

Can you give me an example of a symbolic matrix that is block diagonalizable? Unless the matrix is of a very special form it must depend heavily on assumptions about the domain of the symbolic entries.

benjaminfjones gravatar imagebenjaminfjones ( 13 years ago )

The matrix I am trying to block diagonalise is [[Cos(theta),Sin(theta),0,mu],[-Sin(theta),Cos(theta),mu,0],[0,mu,Cos(theta),Sin(theta)],[mu,0,-Sin(theta),Cos(theta)]]. And I am trying to get rid of the mu in the off-diagonal block. I know it is possible because it is a Hamiltonian and I can always go to a basis in which the two systems decouple.

Shashank gravatar imageShashank ( 13 years ago )
0

answered 13 years ago

The inverse of a matrix isn't guaranteed to exists, but there is a function for it anyway.

You can use SciLab's bdiag (numeric). http://help.scilab.org/docs/5.3.2/en_...

Preview: (hide)
link

Comments

@chicago is asking about symbolic methods, not numerical.

benjaminfjones gravatar imagebenjaminfjones ( 13 years ago )

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 13 years ago

Seen: 3,022 times

Last updated: Dec 10 '11