\frac{\partial f}{\partial x} [cosxy + xcosy] =
-ysinxy + cosy