LinearAlgebra
FrobeniusForm
reduce a square Matrix to Frobenius form (rational canonical form)
Calling Sequence
Parameters
Description
Examples
FrobeniusForm(A, out, options, outopts)
RationalCanonicalForm(A, out, options, outopts)
A
-
Matrix
out
(optional) equation of the form output = obj where obj is one of 'F' or 'Q', or a list containing one or more of these names; selects result objects to compute
options
(optional); constructor options for the result object(s)
outopts
(optional) equation(s) of the form outputoptions[o] = list where o is one of 'F' or 'Q'; constructor options for the specified result object
The FrobeniusForm(A) command returns the Frobenius form F of square Matrix A.
This function can also be invoked using the RationalCanonicalForm command.
The Frobenius form Matrix F has the following structure:
F = DiagonalMatrix([C[1], C[2],..., C[k]])
where the Ci are companion Matrices associated with polynomials p1,p2,..,pk where the pi are a factorization of the characteristic polynomial of A with the property that pi divides pi−1, for i = 2..k.
The Frobenius form defined in this way is unique (if you require that pi divides pi−1).
The columns of Q form a rational canonical basis for A.
The output option (out) determines the content of the returned expression sequence.
Depending on what is included in the output option, an expression sequence containing one or more of the factors F (the Frobenius form), or Q (the transformation Matrix) can be returned. If output is a list, the objects are returned in the same order as specified in the list.
The returned Matrix objects have the property that MatrixInverse⁡Q·A·Q=F.
The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Matrix constructor that builds the result(s). These options may also be provided in the form outputoptions[o]=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions[o] option, the latter takes precedence (regardless of the order).
The following list indicates permissible values for index [o] of outputoptions with their corresponding meaning.
F
Frobenius form
Q
transformation Matrix
with⁡LinearAlgebra:
A≔0,1,1,1,1|2,−2,0,−2,−4|0,0,1,1,3|−6,0,−3,−1,−3|2,2,2,2,4
A≔020−621−2002101−321−21−121−43−34
FrobeniusForm⁡A
0040010−200012000000−200010
factor⁡CharacteristicPolynomial⁡A,x
x−2⁢x2+22
M≔BandMatrix⁡2,2,2,2,1,1,0
M≔2100021000200002
F,Q≔FrobeniusForm⁡M,output=F,Q
F,Q≔008010−12001600002,0010014012401241
Q−1·M·Q
008010−12001600002
See Also
LinearAlgebra[CharacteristicPolynomial]
LinearAlgebra[CompanionMatrix]
LinearAlgebra[DiagonalMatrix]
LinearAlgebra[MatrixInverse]
Download Help Document