The integral comes from finding the work done by a force over a distance dx. The force may or may not be variable so I needed to prove the variableness of F did not matter over an infinitesimal for the purposes of determining the amount of work done.
So dw = F⋅dx => F0⋅dx
So integrating over...