Could anyone help me with this question?-
Suppose a particle of mass m with position $x>0$ moves in 1D space under the influence of the gravitational force of another point particle with mass $M$ sitting at $x=0$.
The question gives
$$\mathbf F=-\frac{GmM}{x^2}i$$
And asks to prove $$\frac{d}{dt}(\frac{m \dot{x}^2}{2}- \frac{GmM}{x})=0 $$
Using Newton’s second law. I understand that $\mathbf F= ma = m\frac{dv}{dt}$ and that $ \frac{m \dot{x}^2}{2}$ is the formula for kinetic energy but I can’t figure out how to put all of this together to get the form the question is asking for.
Any help would be much appreciated!
Hence, \begin{align}m\ddot{x}\mathbf i&=-\frac{GmM}{x^2}\mathbf i\\\ddot{x}&=-\frac{GM}{x^2}\end{align}
\begin{align}\text{LHS}=&\frac{\mathrm d}{\mathrm dt}\left(\frac{m \dot{x}^2}{2}\right)-\frac{\mathrm d}{\mathrm dx}\left(\frac{GmM}x\right)\frac{\mathrm dx}{\mathrm dt}\\ =&m\dot{x}\ddot{x}+\left(\frac{GmM}{x^2}\right)\dot x\\ =&m\dot{x}\left(-\frac{GM}{x^2}\right)+\left(\frac{GmM}{x^2}\right)\dot x\\ =&\text{RHS}\end{align}