Question : Show in the one-dimensional case, how for potential forces $F(x) = \dfrac{−dV (x)}{dx}$, energy conservation follows from Newton’s 2nd law
From Newton's second law we know $$F=ma=m\ddot{x}$$
How do we derive the conservation of energy equation from this?
So far I have:
$F=ma$
$\implies \dfrac{−dV (x)}{dx}=m\ddot{x}$
Now I don't know what to do. I want to integrate, but they're both derivatives of different variables. Thanks in advance.