When does the potential energy of a spring increase?
only when spring is stretched
when spring is compressed or stretched
when spring is neither stretched nor compressed.
only when spring is compressed
It increases in both cases as long as there is a deformation, whether positive or negative.
What is the potential energy stored in a spring when it is neither compressed nor elongated?