The derivative of tan(X) Since tan(X)=sin(X)/cos(X), we have sin(X) as the function u(X) and cos(X) as the function v(X). Putting these into the formula d[uv]/dX=(vdu/dX - udv/dX)/v2 we get ...