Integral of sec x
The classic trick: multiply top and bottom by (sec x + tan x). The numerator becomes the derivative of the denominator, giving ln|sec x + tan x|.
Step by step
Trig rule
∫sec u du = ln|sec u + tan u|.
- 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?
.
How do you integrate sec x?
The classic trick: multiply top and bottom by (sec x + tan x). The numerator becomes the derivative of the denominator, giving ln|sec x + tan x|.
How can I check the answer?
Differentiate it: the derivative of is . CalcViz checks every antiderivative this way before showing it.