don't use \mathrm{} on d in derivatives; don't use \mathrm{} when you mean \operatorname{}