Differentiate the following functions with respect to x:

tan2x

Let y = tan2x


On differentiating y with respect to x, we get



We know


[using chain rule]



However,




Thus,


2