Let I(x)=∫(xtanx+1)2xsec2x+tanxdx. If I(0)=0, then I(4π) is equal to:
Solutions · 1
Official solution
Write the integral as I(x)=∫(xtanx+1)2x2⋅xsec2x+tanxdx. Splitting via xsec2x+tanx=[(xtanx+1)−1]⋅(derivative structure)+2x, one obtains
\[I(x) = \frac{x^2-1}{x\tan x+1}+2\int\frac{2x}{x\tan x+1}\,dx\]
(more precisely, using ∫(xtanx+1)2xsec2x+tanxdx=xtanx+1−x+∫xtanx+12dx type manipulation), which after using I(0)=0 to fix the constant, gives
\[I\left(\frac\pi4\right) = \log_e\frac{(\pi+4)^2}{32}-\frac{\pi^2}{4(\pi+4)}\]