## Step-by-step Solution

Problem to solve:

Solving method

Learn how to solve sum rule of differentiation problems step by step online.

$\frac{d}{dx}\left(e^{2x}\right)+\frac{d}{dx}\left(-x\cos\left(xy\right)\right)$

Learn how to solve sum rule of differentiation problems step by step online. Find the derivative (d/dx)(e^(2x)-x*cos(x*y)) using the sum rule. The derivative of a sum of two functions is the sum of the derivatives of each function. The derivative of a function multiplied by a constant (-1) is equal to the constant times the derivative of the function. Apply the product rule for differentiation: (f\cdot g)'=f'\cdot g+f\cdot g', where f=x and g=\cos\left(xy\right). Solve the product -(\frac{d}{dx}\left(x\right)\cos\left(xy\right)+x\frac{d}{dx}\left(\cos\left(xy\right)\right)).