Integral of sec²x

∫sec⁡2(x) dx=tan⁡(x)+C\int \sec^{2}\left(x\right)\,dx = \tan\left(x\right) + C

A direct reversal of d/dx tan x = sec²x.

Step by step

  1. Trig rule

    ∫sec²u du = tan u.

    ∫sec⁡2(x) dx=tan⁡(x)\int \sec^{2}\left(x\right)\,dx = \tan\left(x\right)
-1-0.50.512468
  • f(x) = sec²x
  • F(x) + C

Every choice of C gives a valid antiderivative, since shifting up or down doesn’t change the slope.

Open in the integral calculator

Questions students ask

What is the integral of sec²x?

∫sec⁡2(x) dx=tan⁡(x)+C\int \sec^{2}\left(x\right)\,dx = \tan\left(x\right) + C.

How do you integrate sec²x?

A direct reversal of d/dx tan x = sec²x.

How can I check the answer?

Differentiate it: the derivative of tan⁡(x)\tan\left(x\right) is sec⁡2(x)\sec^{2}\left(x\right). CalcViz checks every antiderivative this way before showing it.