# Demonstrate that F(x)=e^xsinx is primitive of f(x)=e^x(sinx+cosx)?

### 1 Answer | Add Yours

You need to test if `F(x)` is the primitive of the function `f(x)` , hence, you need to check if `F'(x) = f(x)` , such that:

`F'(x) = (e^x*sin x)'`

You need to differentiate the function `F(x)` with respect to `x` , using the product rule, such that:

`F'(x) = (e^x)'*sin x + e^x*(sin x)'`

`F'(x) = e^x*sin x + e^x*cos x`

Factoring out `e^x` yields:

`F'(x) = e^x*(sin x + cos x)`

Comparing the equation of F'(x) with the equation of `f(x)` yields that they coincide.

**Hence, testing if `F(x)` is the primitive of `f(x)` yields that `F'(x)` `= f(x)` , hence, the statement holds.**

**Sources:**