How do you find the derivative of y=tan(x) ?

1 Answer
Aug 1, 2014

y=tanx

dydx=sec2x

This is a common identity which many people memorize, along with the derivatives of sinx and cosx because they appear so frequently.

It can be proven easily using two well-known trig identities and the quotient rule.

Process:
First recall from pre-calculus that tanθ=sinθcosθ.

So, we can rewrite y=tanx equivalently as:

y=sinxcosx

Now, we differentiate, and apply the quotient rule:

dydx=ddx[sinx]cosxddx[cosx]sinx(cosx)2

We know that the derivative of sinx is cosx, and that the derivative of cosx is sinx. So, upon simplifying the above equation, we arrive at:

dydx=cos2x+sin2xcos2x

It should be clear that the numerator can be simplified using another trig identity.

Recall sin2θ+cos2θ=1. (or the Pythagorean identity)

Substitution yields:

dydx=1cos2x

which is equivalent to:

dydx=sec2x