integrate tan^3 x

Indefinite integral

integral tan^3(x) dx = (sec^2(x))/2 + log(cos(x)) + constant
(assuming a complex-valued logarithm)

Series expansion of the integral at x=0

1/2 + x^4/4 + x^6/6 + (11 x^8)/120 + O(x^9)
(Taylor series)

Series expansion of the integral at x=-π/2

1/(2 (x + π/2)^2) + 1/6 (6 log(x + π/2) + 1) - 2/15 (x + π/2)^2 + O((x + π/2)^4)
(generalized Puiseux series)