Consider the fish and water as our system. The swishing tail pushes water backward. The system’s momentum is conserved. The moving water gains momentum one way, and the fish gains momentum the other way, i.e., it moves in the opposite direction, or forward.
Work Step by Step
This situation may also be analyzed in terms of Newton’s third law.