What you doing is taking the derivative of
^ That's exactly how it's done. You have to have radicals either in the numerator or denominator here, you just can't cancel them. You're right that it is standard convention to not leave any radicals in the denominator but since your question specifically says rationalize the numerator, rules must be bent.