∫ex (sin x + cos x)dx is equal to -
Whenever you come across an integral which has ex with some other function in its integrand, it is advised to check whether the integral is of the form of ∫ex [f(x) + f'(x)]dx. In that case, we can use the formula ∫ex [f(x) + f'(x)]dx = ex f(x).
Here, we can see that cos x is the derivative of sin x, so the given integral is of the form ∫ex [f(x) + f'(x)]dx. Hence we can directly say that the solution of this would be ex sin x + C.