How do you integrate #int x^3 sec^2 x dx # using integration by parts?
The first two steps are OK. After that you need polylogarithmic functions (beyond the scope of an introductory course).
So, we have
So we have
The last integral involves the polylogarithmic function.
I don't know enough about that to explain it. (Good luck.)