Question
Question: How do you evaluate the definite integral \[\int {\dfrac{{\cos x}}{{1 + \sin x}}} dx\] from \[\left[...
How do you evaluate the definite integral ∫1+sinxcosxdx from [0,2π]
Solution
Hint : In order to solve this integral, first of all, we will assume 1+sinx=t .After that we will differentiate it and transfer the given integral in terms of t .And then we will use the formula as, ∫xdx=ln∣x∣+c to solve the given integral. And finally, we will substitute the new limits to get the required result.
Complete step-by-step answer :
In this question, we have to solve the given definite integral, ∫1+sinxcosxdx from [0,2π]
which means we have to solve, 0∫2π1+sinxcosxdx
Let us consider the given integral as,
I= 0∫2π1+sinxcosxdx −−−(i)
Now, let us assume 1+sinx=t −−−(ii)
As we know that,
dxd(c)=0
dxd(sinx)=cosx
So, by differentiating both the sides of equation (ii) we get
(0+cosx)=dxdt
⇒(0+cosx)dx=dt −−−(iii)
So, by substituting the values from equation (ii) and equation (iii) in equation (i) we get,
I= a∫btdt
Now, as we change the variable x from t ,we need to change the limits as well.
So, let us find out the value of the units a and b by substituting x=0 and x=2π in equation (ii)
∴ a=1+sin(0)
⇒a=1+0=1
And b=1+sin(2π)
⇒b=1+1=2
Therefore, we get
I= 1∫2tdt
Now, we know that
∫xdx=ln∣x∣+c
So, we get
I= [ln∣t∣]12
⇒I= [ln∣2∣−ln∣1∣]
We know that ln∣1∣=0
So, I= [ln∣2∣−0]
⇒I=ln∣2∣
Hence, we get the value of the definite integral ∫1+sinxcosxdx as ln∣2∣
So, the correct answer is “ln∣2∣”.
Note : In this question, many students solve the integral correctly but forget to change the limits. That is like in the above equation, they forget to transforms the limits 0 and 2π into 1 and 2 respectively and get the wrong answer even after doing the calculation correctly. So, this must be taken care of in the case of definite integrals.
Also, this question can be solved using a result, i.e., ∫f(x)f′(x)dx=ln∣f(x)∣+c
As, the given integral is I= 0∫2π1+sinxcosxdx −−−(i)
Since, dxd(1+sinx)=cosx
Therefore, we get
I= 0∫2π1+sinxcosxdx = [ln∣1+sinx∣]02π
=[ln(1+sin(2π))]−[ln(1+sin(0))]
We know that ln∣1∣=0
Therefore, we get
=[ln(1+1)]−0
=ln2 which is the required result.