Question
Question: How do you integrate \[\dfrac{1}{{1 + \sin x}}\] ?...
How do you integrate 1+sinx1 ?
Solution
In this problem of integral we will multiply numerator and denominator by 1−sinx .After that we will change the denominator by using the standard identity 1−sin2x=cos2x. Then we will split the terms in two separate terms and then we will find the integral of them separately.
Complete step by step answer:
Given that
∫1+sinx1dx
Now we will multiply the numerator and denominator by 1−sinx.
=∫1+sinx1×1−sinx1−sinxdx
In denominator we can see the form (a+b)(a−b)=a2−b2
So rewriting the equation we get,
=∫12−sin2x1−sinxdx
We know that 1−sin2x=cos2x
=∫cos2x1−sinxdx
Separating the terms,
=∫cos2x1dx+∫cos2x−sinxdx
We know that cos2x1=sec2x
=∫sec2xdx+∫cos2x−sinxdx
Also here sec2xdx=tanx
=tanx+∫cos2x−sinxdx
For finding the integral of the second term we will use the substitution.
Put u=cosx
Taking derivative on both sides,
du=−sinxdx
Now re-subtitute the values in the integral above,
=tanx+∫u21du
Here we know that ∫xndx=n+1xn+1
So we will rewrite the integral above,
=tanx+∫u−2du
Using the formula above,
=tanx+−1u−1
Simplifying this term,
=tanx−u1
Re-substitute the value of u,
=tanx−cosx1
On solving the ratio,
=tanx−secx+C
This is our final answer.
Note: Note that if students are facing the question in how to identify the method of solution it only comes with practice. For example in the above question the method used is substitution and multiplying the numerator and denominator by the same quantity in the denominator but with different signs. This is because we will get the standard identity sin2x+cos2x=1. After that we saw that the second integral has function and derivative both so we used substitution. Don’t forget to write the constant C after finding the integral.