characteristic polynomials