qm: 5.1b: characteristic polynomial