integrate (tg(x))^2 dx = 1/(x-1) tg(x) -x