The momentum operator for a particle in a box is represented by an inf
inite-order Hermitian matrix P. Its square P-2 is well-defined (and di
agonal), but its cube P-3 is ill-defined, because P P-2 not equal P-2
P. Truncating these matrices to a finite order restores the associativ
e law, but leads to other curious results.