Derivatives of tan, cot, sec and csc

Writing tangent, cotangent, secant and cosecant in sines and cosines and using the quotient rule gives their derivatives, with the co-functions taking a minus sign.

From AP Calculus BC.