I want to find out how far a spring stretches.
If I use the force equilibrium, I get $kx=mg \to x=mg/k$.
If I use the conservation of energy, I get $0.5kx^2=mgx \to x=2mg/k$.
How can I choose whether to use force or energy equilibrium?
I want to find out how far a spring stretches.
If I use the force equilibrium, I get $kx=mg \to x=mg/k$.
If I use the conservation of energy, I get $0.5kx^2=mgx \to x=2mg/k$.
How can I choose whether to use force or energy equilibrium?
When using Newton's law you made $\sum{\vec{F}}=0$, that is $mg-kx=0$ and that is the correct equation when there is no acceleration.
The correct energy conservation of spring would be $$ GPE + KE + EPE = 0$$
That is, gravitational potential energy + kinetic energy + elastic potential energy $=0$. If we are talking about a vertical spring, then the only difference is the equilibrium position (everything else is the same as a normal horizontal spring-mass system).
Explanation: http://hirophysics.com/Study/vertical-spring.pdf
Energy conservation, for me, is always the easier way of calculation, whether by Energy Conservation or it's cousin, Work (energy difference between two points).