The trick is the King's substitution: replace x with ฯ/2โx. Under this swap, tanx and cotx=1/tanx exchange roles, and the two resulting integrands are complementary โ they add to 1 over the same interval. So I+I=ฯ/2, giving I=ฯ/4, regardless of the exponent 3โ (or any positive exponent!).
Formal Proof / Solution
Step 1: Apply the substitution xโฆฯ/2โx.
Let x=ฯ/2โu, so dx=โdu; when x=0, u=ฯ/2; when x=ฯ/2, u=0. Thus
Remark: The exponent 3โ is completely irrelevant. The same argument shows
โซ0ฯ/2โ1+tanฮฑx1โdx=4ฯโ
for any ฮฑโR (with ฮฑ>0 to ensure the integrand is well-behaved). This is a beautiful example of how symmetry collapses an apparently difficult integral.