We need to find derivative of f(x) = x cos x
Derivative of a function f(x) is given by –

{where h is a very small positive number}
∴ derivative of f(x) = x cos x is given as –

We can’t evaluate the limits at this stage only as on putting value it will take 0/0 form. So, we need to do little modifications.
Use: cos A – cos B = – 2 sin ((A + B)/2) sin ((A – B)/2)
