Calculate the integral ∫(tanx+cotx)(tanx/(1+cotx))^2dx.

  • Context:
  • Thread starter Thread starter lfdahl
  • Start date Start date
  • Tags Tags
    Integral
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 2K views
lfdahl
Gold Member
MHB
Messages
747
Reaction score
0
Calculate the integral:

\[I = \int_{0}^{\frac{\pi}{4}}\left(\tan x + \cot x \right)\left ( \frac{\tan x}{1 + \cot x} \right )^2dx.\]

A solution without the use of an online integral calculator is preferred. :cool:
 
Physics news on Phys.org
lfdahl said:
Calculate the integral:

\[I = \int_{0}^{\frac{\pi}{4}}\left(\tan x + \cot x \right)\left ( \frac{\tan x}{1 + \cot x} \right )^2dx.\]

A solution without the use of an online integral calculator is preferred. :cool:
$-2+3 ln2 $
 
Last edited:
Albert said:
-2+3 ln2 (hope no miscalculation)

My mistake! Your result is correct!
Please show your integration steps. Thankyou.
 
Last edited:
lfdahl said:
My mistake! Your result is correct!
Please show your integration steps. Thankyou.
my solution:
with transformation $y=tan(x),dy=sec^2(x)dx$
$$I = \int_{0}^{\dfrac{\pi}{4}}\left(\tan x + \cot x \right)\left ( \dfrac{\tan x}{1 + \cot x} \right )^2dx.$$
we have:
$$I=\int_{0}^{1}(\dfrac{1+y^2}{y})\times\dfrac {y^4}{(1+y)^2}\times \dfrac{1}{1+y^2}dy=\int_{0}^{1}\dfrac{y^3}{(1+y)^2}dy$$
$=(\dfrac{y^2}{2}-2y+3ln(1+y)+\dfrac{1}{1+y})\big|_{0}^{1}=-2+3 ln2$
 
Last edited:
Albert said:
my solution:
with transformation $y=tan(x),dy=sec^2(x)dx$
$$I = \int_{0}^{\dfrac{\pi}{4}}\left(\tan x + \cot x \right)\left ( \dfrac{\tan x}{1 + \cot x} \right )^2dx.$$
we have:
$$I=\int_{0}^{1}(\dfrac{1+y^2}{y})\times\dfrac {y^4}{(1+y)^2}\times \dfrac{1}{1+y^2}dy=\int_{0}^{1}\dfrac{y^3}{(1+y)^2}dy$$
$=(\dfrac{y^2}{2}-2y+3ln(1+y)+\dfrac{1}{1+y})\big|_{0}^{1}=-2+3 ln2$

Thanks, Albert! - for your participation - and a nice solution.