`int sinx/(cosx+cos^2x) dx` Use substitution and partial fractions to find the indefinite integral

Expert Answers

An illustration of the letter 'A' in a speech bubbles


Apply integral substitution: `u=cos(x)`



Take the constant out,


Now to compute the partial fraction expansion of a proper rational function, we have to factor out the denominator,


Now let's create the partial fraction expansion,


Multiply the above equation by the denominator,




Equating the coefficients of the like terms,

`A+B=0`  ------------------(1)


Plug in the value of A in equation 1,



Plug in the values of A and B in the partial fraction expansion,




Apply the sum rule,


Now use the common integral:`int1/xdx=ln|x|`


Substitute back `u=cos(x)`



Simplify and add a constant C to the solution,



Approved by eNotes Editorial Team