Please post the entire question (which I suspect is something like find the derivative of . Correct ....? In which case you're barking up the wrong tree by trying to first integrate to get an expression to differentiate. The integral has no elementary closed form solution. The correct approach is shown in post #2 but you might want clarification ....).