Abstract
An algorithm is given for computing the values of the characteristic polynomial of a tree. Its time complexity is linear; hence, the polynomial is readily accessible from the tree and no computation is necessary to get the polynomial ready for applications. If necessary, the coefficients can be determined in time O(n 2). This improves the complexity O(n 3), reached by Tinhofer and Schreck, to O(1).
Similar content being viewed by others
References
A.V. Abo, J.E. Hopcroft and J.D. Ullman,The Design and Analysis of Computer Algorithms (Addison-Wesley, Reading, Mass., 1974).
D. Cvetković, M. Doob and H. Sachs,Spectra of Graphs (Academic Press, New York, 1979).
C.D. Godsil and I. Gutman, On the theory of the matching polynomial, J. Graph Theory 5 (1981)137–144.
E. Isaacson and H.B. Keller,Analysis ofNumericalMethods (Wiley, New York, 1966).
G. Tinhofer and H. Schreck, Computing the characteristic polynomial of a tree, Computing 35 (1985)113–125.
Author information
Authors and Affiliations
Additional information
received by the Publisher 20 September 1989
This work was supported in part by the Research Council of Slovenia, Yugoslavia.
Rights and permissions
About this article
Cite this article
Mohar, B. Computing the characteristic polynomial of a tree. J Math Chem 3, 403–406 (1989). https://doi.org/10.1007/BF01169021
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF01169021