Excuse post #6. If you interpreted it as a joke to your post, it was not meant to be so.
I think you mentioned about all possible cases. The OP, might also consider differetiating under the integral sign as well, if applicable. But since there are no info whatsoever about the nature of f(x,y), then god help us.
We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling We Value Civility
• Positive and compassionate attitudes
• Patience while debating We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving