x = \frac{kx^2}{2} + {k \over 2}