Evaluate the integral of 1/(1+(tan x)^(πe)) from 0 to π/2

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
2 replies · 2K views
anemone
Gold Member
MHB
POTW Director
Messages
3,851
Reaction score
115
Evaluate $$\int_0^{\frac{\pi}{2}} \frac{dx}{1+(\tan x)^{\pi e}}$$.
 
Physics news on Phys.org
Here is my solution:

We are given to evaluate:

$$I=\int_0^{\frac{\pi}{2}}\frac{1}{1+\tan^{\pi e}(x)}\,dx$$

Using the property of definite integrals $$\int_0^a f(x)\,dx=\int_0^a f(a-x)\,dx$$ and a co-function identity, we may state:

$$I=\int_0^{\frac{\pi}{2}}\frac{1}{1+\cot^{\pi e}(x)}\,dx$$

Adding the two equations, we obtain:

$$2I=\int_0^{\frac{\pi}{2}}\frac{1}{1+\tan^{\pi e}(x)}+\frac{1}{1+\cot^{\pi e}(x)}\,dx$$

$$2I=\int_0^{\frac{\pi}{2}}\frac{2+\tan^{\pi e}(x)+\cot^{\pi e}(x)}{2+\tan^{\pi e}(x)+\cot^{\pi e}(x)}\,dx=\int_0^{\frac{\pi}{2}}\,dx=\frac{\pi}{2}$$

Hence:

$$I=\frac{\pi}{4}$$
 
MarkFL said:
Here is my solution:

We are given to evaluate:

$$I=\int_0^{\frac{\pi}{2}}\frac{1}{1+\tan^{\pi e}(x)}\,dx$$

Using the property of definite integrals $$\int_0^a f(x)\,dx=\int_0^a f(a-x)\,dx$$ and a co-function identity, we may state:

$$I=\int_0^{\frac{\pi}{2}}\frac{1}{1+\cot^{\pi e}(x)}\,dx$$

Adding the two equations, we obtain:

$$2I=\int_0^{\frac{\pi}{2}}\frac{1}{1+\tan^{\pi e}(x)}+\frac{1}{1+\cot^{\pi e}(x)}\,dx$$

$$2I=\int_0^{\frac{\pi}{2}}\frac{2+\tan^{\pi e}(x)+\cot^{\pi e}(x)}{2+\tan^{\pi e}(x)+\cot^{\pi e}(x)}\,dx=\int_0^{\frac{\pi}{2}}\,dx=\frac{\pi}{2}$$

Hence:

$$I=\frac{\pi}{4}$$

Well done, MarkFL!(Clapping) Your answer is spot on!