Q.

Evaluate the integral:   ∫ex(cosx-sinx) dx

1 exsinx+C  
2 cosx+C  
3 excosx+C  
4 e-xcosx+C  

Ans.

(3)

Ans.      excosx+C

Explanation :

The given integral is,

                         I=∫ex(cosx-sinx) dx

Let,             f(x)=cosx

Differentiating f(x),

                      f'(x)=-sinx

Substitute f(x) for cosx and f'(x) for -sinx in the given integral.

                             I=∫ex(cosx-sinx) dx

                              =∫ex{f(x)+f'(x)} dx
 

We know that

∫ex{f(x)+f'(x)} dx=exf(x)+C

∴                                I=excosx+C