How do you Integrate cosx(sinx)2+sinx?

1 Answer
Mar 6, 2015

The required integral is

I=[cosx(sinx)2+sinx]dx

This can be evaluated as two separate integrals,

I=I1+I2 , where I1=cosx(sinx)2dx and I2=sinxdx

The solution of I2 is trivial,

I2=sinxdx=cosx+C2

For I1:

Let sinx=t

Differentiating with respect to t,

cosxdxdt=1

cosxdx=dt

This transforms I1 to

I1=1t2dt

which has the simple solution of

I1=1t+C1

Replacing the value of t=sinx

I1=1sinx+C1

Combining both solutions,

I=I1+I2
I=1sinx+C1cosx+C2

The constants of integration C1 and C2 can be added without affecting the solution.

Finally, the answer is

I=1sinxcosx+C