
Patrick B. answered 03/24/19
Math and computer tutor/teacher
Perhaps it was the integral of the tangent function.
When you integrate tangent by parts you get log secant.
When you integrate sine over cosine by parts you get log cosine.
Using limits that cross pi/2 causes one to blow up but not the other