The ∫ tan xdx is equal to In |sec x|+ C and - In(cos x) + C because of the identity sec x = 1/cos x

+ C