\DeclareMathOperator\permperm\DeclareMathOperator\lenlenLet A be the adjacency matrix of a tree T for some ordering v1,...,vn of the vertices, and let D=xI−A its characteristic matrix, and Dij the sub-matrix obtained from D by deleting the ith row and jth column. Clearly
det(Dii)=ϕT−vi(x) is the characteristic polynomial of T with vi deleted. This has an interesting extension to the case i<j but only up to a square factor namely
(detDij)2=det(DijDji)=ϕT−[vi,vj](x)2
where T−[vi,vj] is the forest obtained from T by deleting all vertices on the unique path from vi to vj. It follows that
det(Dij)=±ϕT−[vi,vj](x),
which begs the question of how are the signs determined? Both signs can occur for different i,j but there does not seem to be a simple rule. For instance if T=[12,23,24,15,56] then the sign is a plus if i=j or ij=13,24,15,35,26,46. I am curious to know the rule even if a proof is not available.