Simple integration for absolute energy formulation

In a derivation for absolute energy equation for a structure subjected to an earthquake, the following equation appears:

$\int m \frac{d\dot v}{dt}dv =\frac{m(\dot v)^2}{2}$

Would someone please elaborate on the intermediate steps? I dont understand how we can go from the left hand side to the right hand side of this equation. We have $m$ is constant and $v$ is a function of $t$.

• What is the derivative $\frac{d(\dot v)^2}{dt}$? Or can you integrate by parts? – Mark Viola Nov 14 '15 at 22:56
• It is $\frac{d}{dt} (\frac{dv}{dt})^2$ – user32882 Nov 14 '15 at 22:58
• It's $2\dot v \frac{d\dot v}{dt}$. – Mark Viola Nov 14 '15 at 23:00
• but the original integral is with respect to $v$... – user32882 Nov 14 '15 at 23:05
• $dv \to \dot v\,dt$ – Mark Viola Nov 14 '15 at 23:09

Let $v=v(t)$. Then $dv=\dot v\,dt$ and we can write
\begin{align} \int m\frac{d\dot v}{dt}dv&=m\int \frac{d\dot v}{dt}\dot v\,dt\\\\ &=\frac12 m\int \frac{d(\dot v)^2}{dt}\,dt\\\\ &=\frac{m(\dot v)^2}{2} \end{align}