I am trying to develop an intuition for how to tell if a certain variable (linear momentum, angular momentum, $L^2$, and parity) will be constants of motion in a particular potential.
I know the definition of a constant of motion: operator can not be a function of time, and it must commute with the Hamiltonian. However, if I have a particle, I want to develop symmetry arguments for determining whether it will commute:
(1) If I can rotate a particle around the $x,y,z$ axis, and the potential on the particle remains the same then angular momentum remains a constant of motion
(2) If I can move $x,y,z$ direction, and have the potential remain the same on the particle, then regular momentum remains a constant of motion.
(3) if moving the particle to $-x,-y,-z$ does not change the effecting potential, parity will be a constant of motion.
Hence, for a central potential I quickly realize that angular momentum will be constants of motion, but not linear momentum. For a particle in a uniform electric field in the z direction, $z$ angular momentum will be a constant of motion, but not linear or other angular components.
I am having difficulties applying this argument to a square potential. If I move within the box, the potential remains the same. If I move out of the box, the potential is different. Would I then conclude that there are no constants of motion for a square potential? How exactly can I show this with $[H, V(x)]$?
If this argument makes sense please let me know!