Characteristic polynomials, inner products