Question
Question: How do you evaluate the integral \(\int{\dfrac{1}{1-\sin x}dx}\) from \(0\) to \(\dfrac{\pi }{2}\)?...
How do you evaluate the integral ∫1−sinx1dx from 0 to 2π?
Solution
In this problem we need to calculate the definite integral value of the given function in the given range or limits. For this we need to first calculate the indefinite integral value of the given function. In the given function we can observe that the trigonometric ratio sinx in the denominator. So, we will use a substitution method to solve the indefinite integral value. In this method we are going to use the substitution u=tan(2x) and calculate the differentiation of the substitution. Now we will convert the given function into simplified form by using the substitution value and some trigonometric formulas. Now we will simplify the equation and apply the integration formulas to get the value of indefinite integral value. After that we will apply the limits for the calculated value to get the required result.
Complete step by step solution:
Given that, ∫1−sinx1dx.
Take the substitution u=tan(2x).
Differentiating the above value with respect to x, then we will get
⇒du=21sec2(2x)dx
From the trigonometric identity sec2θ−tan2θ=1, we can write the above value as
⇒du=21(1+tan22x)dx⇒du=21(1+u2)dx
In the trigonometry we have the formula sinθ=1+tan2θ2tanθ. From this formula we can write
⇒sinx=1+u22u
Substituting all the values we have in the given function, then we will get
⇒∫1−sinx1dx=∫1−1+u22u1(1+u22du)
Simplifying the above equation, then we will get
⇒∫1−sinx1dx=∫1+u2−2u1+u2×1+u22du⇒∫1−sinx1dx=∫(u−1)22du
Using the integration formula ∫x21dx=−x1+C in the above equation, then we will get
⇒∫1−sinx1dx=−u−12+C⇒∫1−sinx1dx=−tan(2x)−12+C
The definite integral for the above equation will be
⇒0∫y1−sinx1dx=−tan(2x)−120y⇒0∫y1−sinx1dx=−tan(2y)−12−(−0−12)⇒0∫y1−sinx1dx=−2−tan(2y)−12
Let us check the value of above integral when y=2π, by substituting y=2π in the above equation, then we will get
⇒−2−tan22π−12=−2−tan(4π)−12
We know that the value of tan(4π)=1, then the above equation is modified as
⇒−2−tan(4π)−12=−2−1−12⇒−2−tan(4π)−12=−2−02
Here we have the infinite form which is 02. We can’t divide the any number with zero. So we can write that
⇒y→2πlim−2−tan(2y)−12=−∞
Hence the above integral is divergent. So, we can’t find the integration of the given function.
Note: For this problem we have got the divergent integral, so we have terminated the process. But if we don’t get the divergent integral then we need to continue the process by applying the integral to the calculated value and simplifying the equation.