In my AP Physics C class today, we ran into a problem written by College Board whose answer we disputed. The problem is as such :
A block of mass $M=5.0 \ \mathrm{kg}$ is hanging at equilibrium from an ideal spring with spring constant $k=250 \ \mathrm{N/m}$.An identical block is launched up into the first block. The new block is moving with a speed of $v=5.0 \ \mathrm{m/s}$ when it collides with and sticks to the original block. Calculate the maximum compression of the spring after the collision of the two blocks.
According to the College Board answer key, the answer is $0.5 \ \mathrm{m}$ :
$p_1=p_2$
$Mv_0=(M+M)v_2$
$v_2=\frac{1}{2}v_0= \left (\frac{1}{2} \right)\left (5.0 \frac{m}{s}\right)$
$v_2=2.5 \frac{m}{s}$
$K_1 + U_1=K_2+U_2$
$\frac{1}{2}mv_1^2 +0=0+\frac{1}{2}kx_2^2$
$x_2=\sqrt{\frac{m}{k}}v_1= \sqrt{\frac{(10 \ \mathrm{kg)}}{\left(250 \frac{N}{m}\right)}} \left(2.5 \frac{m}{n}\right)$
$x_2=0.50 \ \mathrm{m}=50 \ \mathrm{cm}$
However, half of us disputed this during class. We argued that, yes, $U_2$ includes $\frac{1}{2}kx^2$, but it also includes gravitational potential energy at the maximum compression (that is, when it compresses $x$ meters from equilibrium, the mass $M$ is $x$ meters higher above ground). Thus $K_1+U_1=K_2+U_2$ is $\frac{1}{2}mv^2+0=0+\frac{1}{2}kx^2+mgx$. When $mgx$ is included, $x$ is $0.24 \ \mathrm{m}$, not $0.5 \ \mathrm{m}$.
My physics teacher reluctantly agreed with College Board but could not give a solid explanation why. He said he would e-mail College Board, but in the meantime, I would very much appreciate any input from people who know the answer.