[Physics] What’s the work done by a spring on a block when it moves from extreme to mean position

conventionshomework-and-exercisesnewtonian-mechanicsspringwork

I really don't know where am I doing it wrong, but block when it moves towards mean position displacement will be along the force right, so the force acting on block will be $+fxdx$

Integrating we get
$$\frac{k}{2}(x_f^2-x_i^2)<0$$

Since $x_f$ would be smaller than $x_i$ in the case when we take $x=0$ as origin. Why is the work showing up as negative?

Best Answer

This question arises because of a subtlety involved in the choice of variables and infinitesimals we use in the definite integration to find the work done by the force.

If the block is at the coordinate $x$ and is moving towards the origin then the work done by the spring on it during the small interval of time in which the block travels a distance of $dl$ is clearly $kx\ dl$. And of course, this $kx\ dl$ is positive because as you have noticed the block is moving in the direction of the force. But the point is that you are choosing the variable $x$ to represent the coordinate of the block. Thus during a travel of distance $dl$, the change in the coordinate of the block (i.e $ dx$ ) is not actually equal to $dl$ in this case because the coordinate value is decreasing so "the change in its coordinate value corresponding to a distance travel of $dl$ " = $dx$ = $-dl$. Thus the work done $W$ = $ \int kx\ dl$ = $ - \int kx\ dx$ with proper limits. (i.e. from $x=x_i$ to $x=x_f$) Now the things will settle.

Edit:

A rather elegant and mathematical way to calculate the work done can be considered like this:

$dW\ =\ F\ * infinitesimal\ small\ displacement$

Now,

the force here is $-kx$ (because it is in negative X direction);

the displacement is by definition $dx$

(which can be either in positive or negative X direction, but both the cases are taken care for just by writing the displacement to be $dx$ i.e. if you want to write it in the terms of distance then you have to particularly are whether you should write $dx\ =\ -|dx|\ or\ dx\ =\ |dx|$. But we do not need it. We have the formula for the work done which just involves the displacement term. So we are relieved.).

So $ dW = -\ kx\ dx$

So $ W = -\ \frac{k}{2}(x^2_f - x^2_i)$

Thus clearly $W>0$ as $x_f < x_i$.

Related Question