Integral of tan x
Mathematics
ScanSolve AI Answer
Step-by-step solution
6 stepsLet's solve this.
To find the integral of tan x, we can rewrite tan x as (sin x)/(cos x).
Set up the integral.
∫ tan x dx = ∫ (sin x)/(cos x) dx
Use a substitution.
Let u = cos x.
Then, du = -sin x dx, which means sin x dx = -du.Substitute u and du into the integral.
∫ (sin x)/(cos x) dx = ∫ (1)/(u) (-du) = -∫ (1)/(u) du
Integrate with respect to u.
-∫ (1)/(u) du = -ln|u| + C
Substitute back cos x for u.
-ln|u| + C = -ln|cos x| + C
Use logarithm properties to simplify.
Since -ln|cos x| = ln|(cos x)⁻¹| = ln|(1)/(cos x)| = ln|sec x|.
So, the integral is ln|sec x| + C.The integral of tan x is ln|sec x| + C.
Was this helpful?
Still stuck on this one?
Ask a follow-up, and the answer starts from this question.
Got a different question?Ask your own question