The Setup
A Rolling Ball and a Waiting Spring
Imagine you are standing in a physics lab, watching a heavy ball of mass m=4 kg rolling smoothly across a frictionless floor. It's moving with a brisk velocity of v=10 m/s.
Directly in its path is a relaxed spring attached firmly to a wall. The spring has an original, uncompressed length of L=8 m and a stiffness, or force constant, of k=100 N/m. The stage is set for a classic collision. What exactly happens when the ball makes contact with the spring?
The Physics
A Perfect Energy Exchange
As soon as the ball hits the spring, it doesn't just stop instantly. It pushes against the spring, and the spring pushes back. The ball begins to slow down, and the spring begins to compress.
At the exact moment of maximum compression, the ball comes to a momentary halt before it gets pushed back. Because we are dealing with an ideal, frictionless system, no energy is lost to heat or sound. The entire Kinetic Energy of the moving ball is perfectly converted into the Elastic Potential Energy stored within the compressed spring.
We can write this beautiful conservation of mechanical energy mathematically as:
Here, y represents the maximum distance the spring has been compressed from its natural length.
The Math
Finding the Compression
Now, let's plug our known values into the master equation. We know the mass m=4, the velocity v=10, and the spring constant k=100.
We can immediately cancel out the 21 on both sides to simplify our lives. Squaring the velocity gives us 100.
Dividing both sides by 100, we get:
Taking the square root, we find that the maximum compression is:
The Final Catch
Reading the Question Carefully
It is incredibly tempting to stop here and declare 2 as the answer. But wait! This is where many students fall into a classic trap.
The question does not ask for the compression of the spring. It specifically asks for the length of the compressed spring, denoted as x.
To find the final length, we must subtract the compression y from the original natural length L:
And there we have it! The final length of the compressed spring is exactly 6 m. Always remember to double-check what the question is actually asking for before you bubble in that final answer!