Calculus
Intermediate

Derivative of Tangent

Derivative of the tangent function.

Formula

ddxtanx=sec2x\frac{d}{dx}\tan x = \sec^2 x

Variables

xVariable

Example

The slope of tan x at x = 0 is sec²0 = 1.

Did You Know?

The derivative of tan x is sec²x, which is never negative — tangent is always increasing between its asymptotes.