Derivative of sec^2 x: Answer, Proof, and Mistakes
The derivative of sec^2 x is 2 sec^2(x) tan(x). In prime notation, if f(x) = sec^2 x then f'(x) = 2 sec^2(x) tan(x). Read sec^2 x as (sec x)^2 and use the chain rule: 2 sec x times the derivative of sec x, which is sec x tan x.
dxd[sec2x]=2sec2xtanx
How to differentiate sec^2 x
The notation sec2x means (secx)2, so the outer function is the square and the inner function is secx. The chain rule needs the standard fact dxdsecx=secxtanx.
In cosine form the same answer reads cos3x2sinx, which is the version a calculator check will match.
Two checks that confirm the answer
First check: sec2x is itself the derivative of tanx, so this result is the second derivative of tangent.
dxdtanx=sec2x,dx2d2tanx=2sec2xtanx
Second check: the Pythagorean identity sec2x=1+tan2x means sec2x and tan2x differ by the constant 1, so the two have the same derivative. Differentiating tan2x by the chain rule gives 2tanxsec2x, the same expression.
Sign follows tanx, so sec2x decreases on (−2π,0), bottoms out at 1 when x=0, and increases on (0,2π).
Common mistakes with the derivative of sec^2 x
Answering 2secx, applying the power rule to the outside and skipping the inner derivative secxtanx.
Dropping the 2 and writing sec2xtanx. The square supplies that factor.
Confusing sec2x with sec(x2), whose derivative is 2xsec(x2)tan(x2).
Reporting sec2x again, which is the derivative of tanx, not of sec2x.
Check yourself, not just the answer
Type derivatives and get graded on mathematical equivalence, with rule-level hints when you miss, in the Derivative Practice Checker.
Frequently asked questions
What is the derivative of sec2x?
It is 2sec2xtanx, equivalently cos3x2sinx.
Is the derivative of tan2x the same?
Yes, it is also 2tanxsec2x. The identity sec2x=1+tan2x means the two functions differ by the constant 1, and constants differentiate away.
What is ∫sec2xdx?
That is the reverse question, and the answer is tanx+C, since dxdtanx=sec2x. Differentiating sec2x instead gives 2sec2xtanx.