IsSimilar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


Student[LinearAlgebra]

  

IsSimilar

  

determine if two Matrices are similar

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

IsSimilar(A, B, options)

Parameters

A

-

square Matrix

B

-

square Matrix

options

-

(optional) parameters; for a complete list, see LinearAlgebra[IsSimilar]

Description

• 

The IsSimilar(A, B) command returns false if A and B are not similar, and otherwise returns the expression sequence true, P, where P is the similarity transformation matrix, that is, A=P−1·B·P.

  

If either of the Matrices has a floating-point data type, then each must evaluate to a purely floating-point Matrix. In this case, the result of IsSimilar is achieved by making a numeric comparison of the eigenvalues of each Matrix.

Examples

> 

with⁡StudentLinearAlgebra:

> 

IsSimilar⁡1,2|3,4,9,17|−2,−4

true,104−32

(1)
> 

A≔3,1|2,2

A≔3212

(2)
> 

B≔DiagonalMatrix⁡1,4

B≔1004

(3)
> 

S≔IsSimilar⁡A,B

S≔true,−13232323

(4)
> 

S2−1·B·S2

3212

(5)

See Also

LinearAlgebra[IsSimilar]

Student[LinearAlgebra]

Student[LinearAlgebra][Eigenvalues]

Student[LinearAlgebra][JordanForm]