Derivatives: rules and functions

Derivative of tan x

The derivative of tanx\tan x is 1cos2x\frac{1}{\cos^2 x}.

(tanx)=1cos2x(\tan x)'=\frac{1}{\cos^2 x}

Apply the quotient rule to tanx=sinxcosx\tan x=\frac{\sin x}{\cos x}. The numerator becomes cos2x+sin2x=1\cos^2 x+\sin^2 x=1.

(tanx)=cosxcosxsinx(sinx)cos2x=1cos2x\begin{gathered} (\tan x)' \\[4pt] =\frac{\cos x\cdot\cos x-\sin x\cdot(-\sin x)}{\cos^2 x} \\[4pt] =\frac{1}{\cos^2 x} \end{gathered}

You can memorize the result, but derive it by hand once so it sticks.

Examples

  1. 01Differentiateddxtanx\displaystyle \frac{d}{dx} \tan xAnswerHide
    Answer1cos2x\displaystyle \frac{1}{\cos^2 x}
  2. 02Differentiate:tanx\displaystyle \tan xAnswerHide
    Answer1cos2x\displaystyle \frac{1}{\cos^{2}x}
  3. 03What is the value?cos2x+sin2x\displaystyle \cos^{2}x+\sin^{2}xAnswerHide
    Answer1\displaystyle 1
  4. 04What is the value at x=0?(tanx)=1cos2x\displaystyle (\tan x)'=\frac{1}{\cos^{2}x}AnswerHide
    Answer1\displaystyle 1
  5. 05Expand:cosxcosxsinx(sinx)\displaystyle \cos x\cos x-\sin x(-\sin x)AnswerHide
    Answercos2x+sin2x\displaystyle \cos^{2}x+\sin^{2}x
  6. 06What goes in □?tanx=sinx\displaystyle \tan x = \frac{\sin x}{\square}AnswerHide
    Answercosx\displaystyle \cos x

FAQ

Q1How do you derive (tanx)(\tan x)'?Show answerHide
A
Apply the quotient rule to tanx=sinxcosx\tan x=\frac{\sin x}{\cos x}. The numerator becomes cos2x+sin2x=1\cos^2 x+\sin^2 x=1, giving 1cos2x\frac{1}{\cos^2 x}.

Practice this pattern in the app, 5 problems a day.

Download on the App Store
This topic
Derivative of tan x
Next
Last in this chapter

Published 2026-09-03 · Updated 2026-09-05