The integral of sec x is given by the formula:
∫ sec x dx = ln |sec x + tan x| + C
where C is the constant of integration. To derive this result, we can use a clever trick that involves multiplying and dividing by (sec x + tan x):
- Start with the integral: ∫ sec x dx
- Multiply and divide by (sec x + tan x):
- This simplifies to:
- Now, let u = sec x + tan x. Then, the derivative du = (sec x tan x + sec² x) dx
- Thus, we can rewrite the integral in terms of u: ∫ 1/u du
- This evaluates to:
∫ sec x dx = ∫ sec x (sec x + tan x)/(sec x + tan x) dx
∫ (sec² x + sec x tan x)/(sec x + tan x) dx
ln |u| + C = ln |sec x + tan x| + C
And that is how we arrive at the final answer for the integral of sec x. It’s a neat example of how using substitution can simplify seemingly complicated integrals!