The derivative of #y=tan^2(x)# is #y'(x) = 2sec^2(x)tan(x)#
To find the derivative, we will need to make use of two properties. The first is the Product Rule, which states that given a function #f(x)# that is itself the product of other functions #g(x)# and #h(x)#, that is, #f(x)=g(x)h(x)#, the derivative #f'(x) # equals #g'(x)h(x) + g(x)h'(x)#. In other words, the derivative of a function that is the product of two other functions is equal to the sum of the two expressions formed by the product of each function with the other function's derivative.
Our second property consists of the definitions of the derivatives of the six basic trigonometric functions. Specifically, we only require the derivative of #tan(x)#, which is #d/dx tan(x) = sec^2(x)#. This will be accepted without proof, but a proof does in fact exist.
For this calculation, we will represent #y=tan^2(x)# with its equivalent, #y=tan(x)tan(x)#. This will allow us to use the product rule. We declare #f(x) = y(x) = g(x)h(x) = tan(x)tan(x)#, and by utilizing #d/dx tan(x) = sec^2(x)# along with #f'(x) = g'(x)h(x) + g(x)h'(x)#, we obtain...
#f'(x) = sec^2(x)tan(x) + tan(x)sec^2(x) = 2tan(x)sec^2(x)#