First time here? Check out the FAQ!

Ask Your Question
0

rational canonical form

asked 1 year ago

miloulou gravatar image

updated 0 years ago

FrédéricC gravatar image

Please i want to compute the rational canonical form of a matrix also known as frobenius form in terms of the entries of the matrix the matrix is a 2*2 matrix of the form A=[[a*b+1,b],[a,1] Thank you in advance

Preview: (hide)

Comments

Homework ?

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 1 year ago )

@Emmanuel Charpentier No it is not a homework

miloulou gravatar imagemiloulou ( 1 year ago )

2 Answers

Sort by » oldest newest most voted
1

answered 0 years ago

Max Alekseyev gravatar image

updated 0 years ago

Like this:

sage: K = PolynomialRing(QQ,2,'x').fraction_field()
sage: x = K.gens()
sage: A = Matrix([[x[0]*x[1]+1,x[1]],[x[0],1]])
sage: A.rational_form()
[        0        -1]
[        1 x0*x1 + 2]
Preview: (hide)
link
-1

answered 0 years ago

To compute the rational canonical form (Frobenius form) of a matrix, you need to find the invariant factors. For a 2x2 matrix of the form

[ � � + 1 � � 1 ] A=[ ab+1 a ​

b 1 ​ ], we can find its characteristic polynomial and minimal polynomial, and then use them to determine the rational canonical form.

Let's start by finding the characteristic polynomial. The characteristic polynomial is given by:

det ⁡ ( � − � �

)

0 det(A−λI)=0

Where � I is the identity matrix.

det ⁡ [ ( � � + 1 ) − � � � 1 − �

]

0 det[ (ab+1)−λ a ​

b 1−λ ​ ]=0

Expanding this determinant gives:

( ( � � + 1 ) − � ) ( 1 − � ) − �

0 ((ab+1)−λ)(1−λ)−ab=0

Simplifying:

( � � + 1 − � ) ( 1 − � ) − �

0 (ab+1−λ)(1−λ)−ab=0

( � � + 1 − � − � + � 2 ) − �

0 (ab+1−λ−λ+λ 2 )−ab=0

( 1 − � + � 2

)

0 (1−λ+λ 2 )=0

Now, you can solve this quadratic equation to find the eigenvalues � λ.

Once you have the eigenvalues, you can find the corresponding eigenvectors and use them to construct the Jordan chains. The rational canonical form will then consist of blocks corresponding to the Jordan chains.

Preview: (hide)
link

Comments

Your answer is unreadable with a lot of � characters. Also, where is Sage in your answer?

Max Alekseyev gravatar imageMax Alekseyev ( 0 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

1 follower

Stats

Asked: 1 year ago

Seen: 424 times

Last updated: Mar 06 '24