What is the derivative of y=tan(x) ?

1 Answer
Aug 18, 2014

The derivative of tanx is sec2x.

To see why, you'll need to know a few results. First, you need to know that the derivative of sinx is cosx. Here's a proof of that result from first principles:

Once you know this, it also implies that the derivative of cosx is sinx (which you'll also need later). You need to know one more thing, which is the Quotient Rule for differentiation:

Once all those pieces are in place, the differentiation goes as follows:

ddxtanx
=ddxsinxcosx

=cosx.cosxsinx.(sinx)cos2x (using Quotient Rule)

=cos2x+sin2xcos2x

=1cos2x (using the Pythagorean Identity)

=sec2x