In my fluid mechanics course, I was exposed to some cases where I need to calculate the torque due to the pressure and all solutions manuals or online tutorials take it as a known fact that $d\tau=rdF$ ($r$ is perpendicular to $F$). If I apply the normal differential rules to it, it should be $$d\tau = r dF + F \mathrm{d}r.$$ I'm trying to understand why the second term is cancelled out.
The best answer I thought of was that because the force is due to a pressure so at each point it would have a value of $p\cdot \mathrm{d}\mathbf{A}$ (with $p$ the pressure and $\mathbf{A}$ the area) which is an infinitely small force and thus F is 0. Is that correct?
What if instead the force was defined as a function of r (continuous force distribution), so it does have a value at each point; for example $F = kr^2$?