SOLUTION: i want the integral of dx/(2+sinx)

Algebra.Com
Question 203271: i want the integral of dx/(2+sinx)
Answer by jsmallt9(3758)   (Show Source): You can put this solution on YOUR website!
This is a tricky one. It involves a substitution which "converts" rational
functions of sin and/or cos into "plain" rational functions which may be
more easily integrated. The substituion is based on a right triangle with
legs of 2z and (1-z^2) and a hypotenuse of (1+z^2). And let the angle
between the hypoentuse and the (1-z^2) leg be called x. In this triangle:


And, thru the use of 1/2 angle trig identities:

or z = tan((1/2)x)
which leads to:


Now we can substitute in for sin(u) and, if we had one, cos(u), and for du:

Multiplying the numerator and denominaor of the fraction by (1+z^2) we get:

And, if we complete the square in the denominator we can have an integral
of the du/(a^2 + u^2) variety (an arctan):

This fits the pattern of the intergation formula:
So
Substituting back in for z we get:

of, if you like rationalized denominators:

the derivative of which, believe it or not, is !

RELATED QUESTIONS

integral of... (answered by Alan3354)
Find the exact value of the integral {{{int((sinx)^m/((sinx)^m + (cosx)^m), dx, 0,... (answered by robertb)
what is the indefinite integral of... (answered by ewatrrr)
What is the integral of (x^2)(√5-x^2)dx using trigonometric... (answered by Solver92311)
what is the indefinite integral of... (answered by ewatrrr)
Calculus Find integral of ({{{3x^2 - 2x +1)dx... (answered by poliphob3.14)
Solve Integral of squareroot(x^2-4)^3... (answered by rothauserc)
Integral of squareroot(x^2-4)^3 dx (answered by Fombitz)
Find the indefinite integral: (3x^3 - 6x + 2)... (answered by user_dude2008)