OpenMath Content Dictionary: polynomial1

Canonical URL:
http://www.openmath.org/cd/polynomial1.ocd
CD Base:
http://www.openmath.org/cd
CD File:
polynomial1.ocd
CD as XML Encoded OpenMath:
polynomial1.omcd
Defines:
coefficient, coefficient_ring, degree, expand, leading_coefficient, leading_monomial, leading_term
Date:
2004-07-12
Version:
0
Review Date:
2006-07-12
Status:
experimental

This CD holds a collection of basic constructs for univariate polynomials over rings. The data structures for polynomials can be arithmetic expressions, for instance using the ring1.expression symbol, or DMP as in the CD polyd1.


coefficient_ring

Role:
application
Description:

This symbol is a unary function whose argument should be a polynomial. It represents the coefficient ring of the polynomial.

Example:
The coefficient ring is often explicitly given as part of the polynomial:
coefficient_ring ( expression ( expression ( poly_ring ( Zm ( 7 ) , X ) , ( X + 1 ) 2 ) ) ) = Zm ( 7 )
Signatures:
sts


[Next: coefficient] [Last: leading_monomial] [Top]

coefficient

Role:
application
Description:

This symbol is a binary function whose first argument should be a polynomial f and whose second argument should be a non-negative integer n. It represents the coefficient of the i-th power of the variable in the polynomial f.

Example:
The coefficient of the first power of X in the polynomial (X+1)^2 in (Z/7Z)[X] is equal to 2.
coefficient ( expression ( expression ( poly_ring ( Zm ( 7 ) , X ) , ( X + 1 ) 2 ) ) ) = expression ( Zm ( 7 ) , 2 )
Signatures:
sts


[Next: expand] [Previous: coefficient_ring] [Top]

expand

Role:
application
Description:

Expands a polynomial.

Example:
The following expression is equivalent to the arithmetic expression X^2+2X+1 in (Z/7Z)[X].
expand ( expression ( expression ( poly_ring ( Zm ( 7 ) , X ) , ( X + 1 ) 2 ) ) )
Signatures:
sts


[Next: degree] [Previous: coefficient] [Top]

degree

Description:

This symbol represents a unary function, whose argument should be univariate polynomial. When applied to a polynomial, it represents its degree, that is the highest power of the variable occurring in a term of the polynomial. If the polynomial has no terms, it is the zero polynomial, in which case the value represented is -1.

Signatures:
sts


[Next: leading_term] [Previous: expand] [Top]

leading_term

Description:

This symbol represents a unary function, whose argument should be univariate polynomial. When applied to a polynomial, it represents its leading term, that is the term that is the product of the highest power of the variable and its coefficient. If the polynomial is zero, the value represented is zero.

Signatures:
sts


[Next: leading_coefficient] [Previous: degree] [Top]

leading_coefficient

Description:

This symbol represents a unary function, whose argument should be univariate polynomial. When applied to a polynomial, it represents the coefficient of the monomial of highest degree. If the polynomial is zero, the value represented is zero.

Signatures:
sts


[Next: leading_monomial] [Previous: leading_term] [Top]

leading_monomial

Description:

This symbol represents a unary function, whose argument should be a nonzero univariate polynomial. When applied to such a polynomial, it represents the highest power of the variable occurring in the polynomial.

Commented Mathematical property (CMP):
The leading term of a nonzero polynomial is the product of the leading monomial and the leading coefficient of the polynomial.
Formal Mathematical property (FMP):
leading_term ( f ) = leading_coefficient ( f ) leading_monomial ( f )
Signatures:
sts


[First: coefficient_ring] [Previous: leading_coefficient] [Top]