d/dxDerivCalc

Derivative of sec(x)

Secant's derivative looks like something you'd have to memorize, but it comes straight out of writing sec(x) = 1/cos(x) and turning the crank.

Answer
d/dx [sec(x)]  =  sec(x) tan(x)
Rule used: Quotient rule (derived), standard result
Open sec(x) in the calculator →

Step-by-step solution

1
Rewrite secant as a reciprocal

sec(x) = 1 / cos(x). Use the quotient rule with u = 1, v = cos(x) (or the reciprocal rule, which is the same thing).

2
Apply the rule

(1/v)′ = −v′/v² gives −(−sin(x)) / cos²(x) = sin(x) / cos²(x).

3
Factor into the standard form

Split the fraction: [1/cos(x)] · [sin(x)/cos(x)] = sec(x) tan(x).

Why it works

Why bother factoring the answer into sec·tan instead of leaving sin/cos²? Because the factored form reveals structure: the derivative of secant contains secant itself. Functions whose derivatives contain the original function tend to show up in integral tables and differential equations, and sec(x)tan(x) is precisely the integrand that anti-differentiates back to sec(x).

There's also a symmetry worth noticing: the derivatives of the three "co-" functions (cos, cot, csc) all carry minus signs, while sin, tan, and sec don't. If you remember d/dx[sec] = sec·tan, you get d/dx[csc] = −csc·cot for free by swapping every function for its co-version and flipping the sign.

Common mistakes

Practice problems

Differentiate 2 sec(x)

Answer: 2 sec(x)tan(x).

Find the slope of sec(x) at x = 0

Answer: sec(0)tan(0) = 1·0 = 0 — secant has a flat minimum there.

Differentiate sec(x) + cos(x)

Answer: sec(x)tan(x) − sin(x).

Related derivatives

tan(x)cos(x)sin(x)