2026-07-072026-07-07http://salesiana.dossiersoluciones.com/handle/123456789/108893In this paper we prove that two quantities relating to the length of permutations defined on trees are independent of the structures of trees. We also find that these results are closely related to the results obtained by Graham and Pollak (Bell System Tech. J. 50(1971) 2495--2519) and by Bapat, Kirkland, and Neumann (Linear Alg. Appl. 401(2005) 193--209).12 pages, 1 figureCombinatorics15A09; 15A15The determinant of q-distance matrices of trees and two quantities relating to permutationstext