Matroids
CharacteristicPolynomial
construct characteristic polynomial
Calling Sequence
Parameters
Description
Examples
References
CharacteristicPolynomial(M, k)
M
-
Matroid
k
algebraic value
The characteristic polynomial of a matroid is a polynomial p⁡k in one variable.
It is an evaluation of the Tutte polynomial T⁡x,y of that matroid, namely, p⁡k=−1rank⁡M⁢T⁡1−k,0.
Consequently, it respects the operations of deletion and contraction in the same way as the Tutte polynomial.
When applied to a graphic matroid M⁡G associated to a graph G, the characteristic polynomial of M⁡G is related to the chromatic polynomial of G. Namely, the characteristic polynomial of M⁡G is kc (where c is the number of connected components of G) times the chromatic polynomial of G.
with⁡Matroids:
with⁡GraphTheory:
Construct the chromatic polynomial of a graph
G≔Graph⁡a,x,a,y,b,x,b,y,c,x,c,y
G≔Graph 1: an undirected graph with 5 vertices and 6 edge(s)
Chrome≔ChromaticPolynomial⁡G,k
Chrome≔k⁢k−1⁢k3−5⁢k2+10⁢k−7
Compare to the characteristic polynomial of the matroid constructed from the graph
M≔Matroid⁡G
M≔thⅇ graphⅈc matroⅈⅆ on thⅇ graph:PLOT⁡...
C≔Matroids:-CharacteristicPolynomial⁡M,k
C≔k4−6⁢k3+15⁢k2−17⁢k+7
expand⁡Chrome−k⁢C
0
James G. Oxley. Matroid Theory (Oxford Graduate Texts in Mathematics). New York: Oxford University Press. 2006.
See Also
Matroids[Contraction]
Matroids[Deletion]
Matroids[TuttePolynomial]
Download Help Document