Hooke's Law tells us that $m\ddot{x} = -kx$. We can apply the chain rule to rewrite $\ddot{x}$ as follows:
$$\frac{\operatorname{d}\!^2x}{\operatorname{d}\!t^2} = \frac{\operatorname{d}\!v}{\operatorname{d}\!t}=\frac{\operatorname{d}\!x}{\operatorname{d}\!t}\frac{\operatorname{d}\!v}{\operatorname{d}\!x} = v\frac{\operatorname{d}\!v}{\operatorname{d}\!x}$$
Substituting this into $m\ddot{x} = -kx$, separating variables, and then integrating gives:
$$mv^2+kx^2 = c$$
for some constant $c$ to be determined by initial conditions. If we assume that the spring is stretched to a length $\lambda$ to the right before it is released then we have $v=0$ when $x=\lambda$ and so $c=k\lambda^2$. Hence:
$$mv^2+kx^2 = k\lambda^2$$
For all values of $m>0$, $k>0$ and $\lambda>0$, this gives the equation of an ellipse in the $xv$-plane. Ellipses have two special points, named foci. The Earth follows a more-or-less elliptical path around the Sun, which sits at a focus. The Moon follows a more-or-less elliptical path around the Earth, which sits at a focus.My questions is: What is the physical significance of the foci of $mv^2+kx^2=k\lambda^2$
One characterisation of the foci, say $\phi_1$ and $\phi_2$, is that the sum of the distances $\operatorname{d}(\phi_1,p) + \operatorname{d}(p,\phi_2)$ is constant for all points $p$ of the ellipse.