rwx1606
- 31
- 0
Homework Statement
Is the work done BY a spring always negative when you compress or stretch it?
Homework Equations
W=-1/2kx^2
The Attempt at a Solution
I know that the spring force always acts opposite of displacement when compressing or stretch. So when you compress or stretch the spring, the work the spring does should be -1/2kx^2. I'm having a hard time convincing myself mathematically though. So you compress the spring from x initial=0 m to a x final equal to some -4 m. The spring force according to this convention, F=-kx becomes a positive kx because the displacement is negative. When I integrate the force, do I put a a positive sign now, so in this case I would integrate the spring force from -4m to 0m? Also I know work is the Magnitude of the force times the Magnitude of the displacement for a constant force. Does this hold in varying forces such as the spring force?