You can express tan(x) as sin(x)/cos(x). Therefore, tan(x)= sin(x)/ cos(x)The quotient rule can be applied here as there is a function of x in the numerator and denominator.Quotient Rule: (v*(du/dx) - u*(dv/dx))/v2Let u =sin(x) and v=cos(x) and hence (du/dx)= cos(x) and (dv/dx)= -sin(x).Therefore:d(tan(x))/dx= (cos(x)cos(x))-(sin(x)(-sin(x))/(cos2(x))=(cos2(x)+sin2(x))/(cos2(x))Using the trig identity, cos2(x)+sin2(x)=1, the numerator of the fraction can be tidied and heavily simplified.d(tan(x))/dx= 1/(cos2(x))As 1/(cos(x)) is equal to sec(x), 1/(cos2(x)) is equal to sec2(x).