Many quantities in physics are defined as ratio of infinitesimal quantities. For example: $$\rho(x)=\frac{dm}{dx}$$ or $$P(t)=\frac{dW}{dt}$$
Are these quantities actually derivatives? I mean if we want to calculate density it wouldn't make sense to select a infinitesimal length element $dx$ and then measure the mass difference $dm$ (same for work).
Also are $dm$ and $dW$ infinitesimal? I can't understand why the change of a function $df=f(x+dx)-f(x)$ must be infinitesimal. Or because we measure them in infinitesimal intervals $dx$ and $dt$ we use the differential notation? Another example is the first law of thermodynamics where: $$dU=dq+dw$$ Why again we use the differential notation for change in internal energy? Is the sum of two infinitesimals an infinitesimal?