# Problem in law of conservation of linear momentum [closed]

Suppose the above system moves with a velocity $v$ and collides into a wall.

The spring compresses and stores the energy, so energy is conserved.

However during the collision the spring compresses.

How is momentum conserved as during the compression the speed of the block reduces?

• What about the wall? Dec 4, 2017 at 19:35
• Did you ever tried to play with spring? Suppose you compress and decompress it say 20 times quickly. Try! Dec 4, 2017 at 19:39
• The collision happens in a single instant, and there isn't any time passing to change the elongation of the spring. Dec 4, 2017 at 21:22
• What @GregPetersen is getting at is that the wall is attached to the earth. When the collision you describe takes place, the momentum of the wall and earth changes. But, on the scale of the mass of the earth, the associated velocity change of the earth is very slight. Dec 5, 2017 at 0:39
• Is the wall on the left or on the right on the diagram? Dec 5, 2017 at 0:53