# Absolute value in integral

∫tan(x) dx = -ln lcos(x)l + C = f(x)

So is f'(x) = -sin(x)/lcos(x)l ? When taking the derivative, do we only consider f'(x) to only exist on the intervals where cos(x) > 0 instead?

Dick