integral of tan²(x)
The integral of tan²(x) is tan(x) − x + C, where C is any constant.
✓ checked: differentiating the answer gives back the original function (tested at several points).
step-by-step working
Use the identity tan²(u) = sec²(u) − 1.
tan²(x) = sec²(x) − 1Integrate term by term (the integral of a sum is the sum of the integrals).
Standard integral: ∫sec²(u) du = tan(u).
∫ sec²(x) dx = tan(x)The integral of a constant k is k·x.
∫ −1 dx = −xAdd the constant of integration C (any constant differentiates to 0).
plain-text version of this solution
Problem: ∫ tan²(x) dx Step 1: Use the identity tan²(u) = sec²(u) − 1. tan²(x) = sec²(x) − 1 Step 2: Integrate term by term (the integral of a sum is the sum of the integrals). Step 3: Standard integral: ∫sec²(u) du = tan(u). ∫ sec²(x) dx = tan(x) Step 4: The integral of a constant k is k·x. ∫ −1 dx = −x Step 5: Add the constant of integration C (any constant differentiates to 0). Answer: ∫ tan²(x) dx = tan(x) − x + C ✓ checked: differentiating the answer gives back the original function (tested at several points).
Related problems
- ∫ cot²(x) dx = −x − cot(x) + C see the steps
Try it yourself
Change the problem below and press Enter. Steps, answer and check update instantly, all in your browser.
Enter solves · Shift+Enter for a new line · put systems on separate lines or separate them with commas
Frequently asked questions
What is the integral of tan²(x)?
∫ tan²(x) dx = tan(x) − x + C. Method: a trig identity, linearity (term by term) and standard integral.
How do you check the integral of tan²(x)?
Differentiate the answer. The derivative of tan(x) − x is tan²(x), and the + C disappears because the derivative of a constant is 0.
What is the integral of cot²(x)?
∫ cot²(x) dx = −x − cot(x) + C.