Let I=∫0∞x2+4loge(x)dx
Substitute x=2tanθ, which gives dx=2sec2θdθ.
The limits of integration change from x=0→θ=0 to x→∞→θ=2π.
I=∫0π/24tan2θ+4loge(2tanθ)(2sec2θ)dθ
I=∫0π/24sec2θloge(2tanθ)(2sec2θ)dθ
I=21∫0π/2loge(2tanθ)dθ
I=21∫0π/2(loge2+loge(tanθ))dθ
I=21loge2∫0π/21dθ+21∫0π/2loge(tanθ)dθ
Let I1=∫0π/2loge(tanθ)dθ
Using the property ∫0af(x)dx=∫0af(a−x)dx, we get:
I1=∫0π/2loge(tan(2π−θ))dθ=∫0π/2loge(cotθ)dθ
I1=∫0π/2loge(tanθ1)dθ=−∫0π/2loge(tanθ)dθ=−I1
2I1=0⇒I1=0
Substituting I1=0 back into the equation for I:
I=21loge2[θ]0π/2+0
I=21loge2(2π)=4πloge2
Answer: 4πloge(2)