In Nonlinear Ordinary Differential Equations: An Introduction for Scientists and Engineers one of the very first stated equations are, as in the title of the question,
$$ \ddot{x} = \frac{\mathrm{d}}{\mathrm{d}x} \left(\frac{1}{2} \dot{x}^2 \right). $$
However, I'm having trouble seeing why this should be true. Could anyone clarify this? Thank you for your time in advance.
$\dfrac{d}{dx} \left (\dfrac{1}{2} \dot x^2 \right ) = \dfrac{d \dot x}{dx}\dot x = \dfrac{d\dot x}{dx} \dfrac{dx}{dt} = \dfrac{d \dot x(x(t))}{dt} = \dfrac{d \dot x}{dt} = \dfrac{d^2 x}{dt^2} = \ddot x \tag 1$
by the chain rule.
The key here is the observation that, for one-dimensional motion (as (1) appears to describe), the variables $x$ and $t$ may both be taken to be parameters along the curve $x(t)$.