Question
Question: Evaluate: \[\int\limits_0^{\dfrac{\pi }{4}} {\log \left( {1 + \tan x} \right)} dx\]?...
Evaluate: 0∫4πlog(1+tanx)dx?
Solution
The given integral is a definite integral so, we will get a unique value for this integral. We will first let the given integral be equal to I. Further, we will use the properties of definite integrals to simplify the question. Then we will use the difference formula for tangent function. At last, we will use the logarithmic property.
Formula used:
0∫af(x)dx=0∫af(a−x)dx
⇒tan(a−b)=1+tanatanbtana−tanb
Complete step by step answer:
I=0∫4πlog(1+tanx)dx
Now using the property of definite integral that 0∫af(x)dx=0∫af(a−x)dx, we get;
⇒I=0∫4πlog[1+tan(4π−x)]dx
Now we will use the difference formula form tangent function i.e., tan(a−b)=1+tanatanbtana−tanb, we get,
⇒I=0∫4πlog1+1+tan4πtanxtan4π−tanxdx
Now we will put the value of tan4π. So, we have;
⇒I=0∫4πlog[1+1+tanx1−tanx]dx
Now we will take the LCM and solve it. So, we get;
⇒I=0∫4πlog[1+tanx1+tanx+1−tanx]dx
Cancelling the terms, we get;
⇒I=0∫4πlog[1+tanx2]dx
Now by using the property of logarithm that;
logba=loga−logb
We get;
⇒I=0∫4πlog2dx−0∫4πlog(1+tanx)dx
Now we can see that the second term on the RHS is the same expression we have assumed to be equal to I. So, replacing we get;
⇒I=0∫4πlog2dx−I
Now shifting I, to the LHS we get
⇒2I=0∫4πlog2dx
Taking the logarithmic term out of integration as it is a constant, we get;
⇒2I=log20∫4πdx
After integration we get;
⇒2I=log2[x]04π
Putting the limits, we get;
⇒2I=log2(4π−0)
On solving we get;
∴I=8πlog2
Therefore, the integration of 0∫4πlog(1+tanx)dx is 8πlog2.
Note: One thing to note is that the value we have got for this integral is the area under the curve log(1+tanx) from x=0 to x=4π. We can also solve this question by drawing the curve and finding the area for the given limit. But as it is somewhat difficult to draw the curve for the given expression, we have simply found the value by integration. But, in some other cases where drawing a graph will be easier, we can check by finding the area.