OpenMath Content Dictionary: linalgpoly1

Canonical URL:
http://www.openmath.org/cd/linalgpoly1.ocd
CD Base:
http://www.openmath.org/cd
CD File:
linalgpoly1.ocd
CD as XML Encoded OpenMath:
linalgpoly1.omcd
Defines:
characteristic_poly, minimum_poly, substitute
Date:
2004-11-30
Version:
4 (Revision 1)
Review Date:
2006-03-30
Status:
experimental


     This document is distributed in the hope that it will be useful, 
     but WITHOUT ANY WARRANTY; without even the implied warranty of 
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

     The copyright holder grants you permission to redistribute this 
     document freely as a verbatim copy. Furthermore, the copyright
     holder permits you to develop any derived work from this document
     provided that the following conditions are met.
       a) The derived work acknowledges the fact that it is derived from
          this document, and maintains a prominent reference in the 
          work to the original source.
       b) The fact that the derived work is not the original OpenMath 
          document is stated prominently in the derived work.  Moreover if
          both this document and the derived work are Content Dictionaries
          then the derived work must include a different CDName element,
          chosen so that it cannot be confused with any works adopted by
          the OpenMath Society.  In particular, if there is a Content 
          Dictionary Group whose name is, for example, `math' containing
          Content Dictionaries named `math1', `math2' etc., then you should 
          not name a derived Content Dictionary `mathN' where N is an integer.
          However you are free to name it `private_mathN' or some such.  This
          is because the names `mathN' may be used by the OpenMath Society
          for future extensions.
       c) The derived work is distributed under terms that allow the
          compilation of derived works, but keep paragraphs a) and b)
          intact.  The simplest way to do this is to distribute the derived
          work under the OpenMath license, but this is not a requirement.
     If you have questions about this license please contact the OpenMath
     society at http://www.openmath.org.

This CD defines the following symbols for polynomials related to basic linear algebra over a field: the characteristic and the minimum polynomial, as well as a substitution of a square matrix in a polynomial.


characteristic_poly

Role:
application
Description:

This symbol represents a binary function. This first argument should be a square matrix A defined over a field F, the second argument a variable X. When applied to A and X, it represents the characteristic polynomial of A in the variable X over the field F. (The output should be semantically equivalent to an object obtained by the poly_ring_d_named constructor of the CD polyd1.)

Example:
The characteristic polynomial of the matrix [[0,1],[-1,-1]] is equal to X^2+X+1.
characteristic_poly ( 0 1 -1 -1 , X ) = expression ( poly_ring_d_named ( Q , X ) , X 2 + X + 1 )
Commented Mathematical property (CMP):
The characteristic polynomial with variable X is the determinant of the matrix A - X identity(columcount(A)).
Formal Mathematical property (FMP):
characteristic_poly ( A , X ) = det A - X identity ( rowcount ( A ) )
Signatures:
sts


[Next: minimum_poly] [Last: substitute] [Top]

minimum_poly

Role:
application
Description:

This symbol represents a binary function. This first argument should be a square matrix A defined over a field F, the second argument a variable X. When applied to A and X, it represents the minimum polynomial of A in the variable X over the field F. (The output should be semantically equivalent to an object obtained by the poly_ring_d_named constructor of the CD polyd1.)

Example:
The minimum polynomial of the matrix [[0,1,0,0], [-1,-1,0,0], [0,0,0,1], [0,0,-1,-1] ] is equal to X^2+X+1.
minimum_poly ( 0 1 0 0 -1 -1 0 0 0 0 0 1 0 0 -1 -1 , X ) = expression ( poly_ring_d_named ( Q , X ) , X 2 + X + 1 )
Commented Mathematical property (CMP):
The minimum polynomial is the polynomial f of minimal degree such that f(A) = 0.
Formal Mathematical property (FMP):
f_poly = characteristic_poly ( A , X ) substitute ( f , A ) = zero ( rowcount ( A ) , rowcount ( A ) ) g . g 0 eq ( substitute ( g , A ) , zero ( rowcount ( A ) , rowcount ( A ) ) ) degree ( g , f )
Signatures:
sts


[Next: substitute] [Previous: characteristic_poly] [Top]

substitute

Role:
application
Description:

This symbol represents a binary function. This first argument should be a polynomial f in a single variable X, the second should be a square matrix A defined over a field F. When applied to f and A, it represents the matrix obtained by replacing X by A and the constant term by the corresponding scalar matrix.

Example:
The minimum polynomial of the matrix Substituting [[0,1], [-1,-1], ] in the polynomial X + 1 gives the matrix [[1,1], [-1,0], ]
substitute ( expression ( poly_ring_d_named ( Q , X ) , X + 1 ) , 1 1 -1 0 )
Signatures:
sts


[First: characteristic_poly] [Previous: minimum_poly] [Top]