v\dfrac{\mathrm{d}v}{\mathrm{d}x  } = -n^2x \implies \displaystyle\int v \ \mathrm{d}v = \displaystyle\int -n^2x \ \mathrm{d}x 