PRESUMPTION. “Following Compton’s argument, we assume that the colliding photon and electron form an isolated system.”
https://opentextbc.ca/universityphysicsv3openstax/chapter/the-compton-effect/#:~:text=The%20Compton%20effect%20is%20the,wavelength%20of%20the%20incident%20radiation