Integral of sec x tan x
Updated 6 November 2026 · Checked numerically by the ihateDesmos engine
The integral of sec x tan x
∫
sec(x)tan(x)
dx =sec(x)+C
The integral of sec x tan x is sec x + C. This is the derivative of sec x read backwards.
y=sec(x)tan(x)
in blue and its integral y=sec(x)
(with C = 0) in red. Defined for x ≠ π/2 + nπ.How to integrate sec x tan x
Method: standard integral.
- 1We know that d/dx sec x = sec x tan x.
- 2So sec x is an antiderivative of sec x tan x.
- 3Adding the constant gives sec x + C.
What it means
The integrand is odd, and negative for x < 0, which is why sec x has a minimum at x = 0.
The integral from 0 to π/3
Using the antiderivative: F(π/3) − F(0) = 1, which is about 1. A direct numerical integration of sec x tan x gives 1, which agrees.
Check by differentiating
The derivative of the answer should give back the original function. The last column measures that slope directly from the answer, and it matches.
| x | sec x tan x | Slope of the answer |
|---|---|---|
| −1 | −2.88247 | −2.88247 |
| −π/4 | −√2 | −√2 |
| 0 | 0 | 0 |
| π/4 | √2 | √2 |
| 1 | 2.88247 | 2.88247 |
Common mistakes
- Trying to multiply the separate integrals of sec x and tan x. An integral of a product isn’t the product of the integrals.
Frequently asked questions
What is the integral of sec x tan x?
The integral of sec x tan x is sec x + C, for x ≠ π/2 + nπ.
What is the integral of sec x tan x from 0 to π/3?
1, which is about 1.
Keep going
Integrate any function
Type your own function into the integral calculator for the steps, the answer and a graph.