Course contentsShow
← Mathematics
Lesson 1422 of 3,12133. Derivatives of Special FunctionsFree lesson

Derivative of tan(x) Using the Quotient Rule

Derive d/dx[tan(x)] = sec²(x) by writing tan(x) = sin(x)/cos(x) and applying the quotient rule.

Derivative of tan(x) Using the Quotient Rule

What You'll Learn

You'll discover how to find the derivative of tan(x) by expressing it as a ratio of sine and cosine, then applying the quotient rule.

The Core Idea

Since you already know the derivatives of sin(x) and cos(x), finding the derivative of tan(x) is straightforward once you recall that:

tan⁡(x)=sin⁡(x)cos⁡(x)\tan(x) = \frac{\sin(x)}{\cos(x)}

This is a quotient of two functions you can differentiate, making it perfect for the quotient rule!

Applying the Quotient Rule

Recall the quotient rule: if f(x)=u(x)v(x)f(x) = \frac{u(x)}{v(x)}, then:

f′(x)=v(x)⋅u′(x)−u(x)⋅v′(x)[v(x)]2f'(x) = \frac{v(x) \cdot u'(x) - u(x) \cdot v'(x)}{[v(x)]^2}

For tan⁡(x)=sin⁡(x)cos⁡(x)\tan(x) = \frac{\sin(x)}{\cos(x)}:

  • u(x)=sin⁡(x)u(x) = \sin(x), so u′(x)=cos⁡(x)u'(x) = \cos(x)
  • v(x)=cos⁡(x)v(x) = \cos(x), so v′(x)=−sin⁡(x)v'(x) = -\sin(x)

Substituting into the quotient rule:

ddx[tan⁡(x)]=cos⁡(x)⋅cos⁡(x)−sin⁡(x)⋅(−sin⁡(x))cos⁡2(x)\frac{d}{dx}[\tan(x)] = \frac{\cos(x) \cdot \cos(x) - \sin(x) \cdot (-\sin(x))}{\cos^2(x)}

=cos⁡2(x)+sin⁡2(x)cos⁡2(x)= \frac{\cos^2(x) + \sin^2(x)}{\cos^2(x)}

Using the Pythagorean identity cos⁡2(x)+sin⁡2(x)=1\cos^2(x) + \sin^2(x) = 1:

=1cos⁡2(x)=sec⁡2(x)= \frac{1}{\cos^2(x)} = \sec^2(x)

Why This Result Makes Sense

The derivative sec⁡2(x)\sec^2(x) is always positive (where tan(x) is defined), which matches the fact that tan(x) is always increasing on each interval where it's continuous. The derivative grows large near vertical asymptotes, reflecting tan(x)'s steep behavior there.

Key Takeaway: The derivative of tan(x) is sec²(x), derived by writing tan(x) = sin(x)/cos(x) and applying the quotient rule, then simplifying using the Pythagorean identity.