Derivatives · Trigonometric

Derivative of tan(x)

ddx[tanx]=sec2x\frac{d}{dx}[\tan x] = \sec^2 x

The derivative of tangent is secant squared.

Conditions. x ≠ π/2 + nπ for integer n.
  • 2 worked examples
  • 24 in Derivatives

Worked examples

Find d/dx[tan(5x)].
  1. By chain rule: sec²(5x) · 5 = 5 sec²(5x)

Answer: 5 sec²(5x)

1 more worked examplePremium

Find d/dx[x tan x].

Step-by-step solution locked.

Unlock the full working. CalcRef Premium opens the step-by-step solution above, and 141 worked solutions across the whole library - the intermediate lines, not just the answer. The formula statement, its conditions, its variables and the first worked example stay free on every page.

Related formulas

See all 24 Derivatives formulas on one printable sheet - the same statements and conditions as these pages, typeset and laid out for paper.

Common questions

What is the Derivative of tan(x)?

The derivative of tangent is secant squared. It is one of the derivatives formulas in the CalcRef reference.

When does the Derivative of tan(x) apply?

The Derivative of tan(x) holds under this condition: x ≠ π/2 + nπ for integer n.

How do you use the Derivative of tan(x)?

Worked example. Find d/dx[tan(5x)]. By chain rule: sec²(5x) · 5 = 5 sec²(5x). Answer: 5 sec²(5x).

Practice

Quiz yourself on Derivatives

Derivative of tan(x) is one of 24 Derivatives formulas in CalcRef, out of 136 in the library. Today's free round is 10 mixed multiple-choice questions drawn from the same dataset as this page, refreshed every day and replayable as often as you like - no account needed.