The forums have permanently moved to forum.kirupa.com. This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

# Thread: Calculus: Integration of (Tan x)^2

1. ## Calculus: Integration of (Tan x)^2

So, now I need help...

I've been trying to figure out the integral of (Tan x)^2, but I just can't...
The answer, from the back of the book, is Tan x - x + C.
Can someone please show me the steps? Thanks.

2. 755
posts
Registered User
tan^2(x) = sec^2(x) - 1

Sub u = tan(x)
and du = sec^2(x)dx

Try that, you should get the right answer, although I haven't done trigonometric integration in 2 years.

3. wait if you change tan^2 x to sec^2 x - 1. how could you substitute u = tan x? you don't have tan left... thanks. but can anyone please help me out? thanks...

4. 755
posts
Registered User
You can ignore the first line I just wrote down the identity because I thought you'd need it. I'll do the integration on paper later when I get a few minutes, unless someone else gets the chance to do it first.

5. Simple Calc 1:
Int of (tan x)^2 dx
Since (secx)^2 - 1 = (tanx)^2, substitute it in so,
Int of (secx)^2 - 1 dx
Integrate, tanx - x + C.

6. you mean, since d/dx of tan x = sec^2 x.
you integrated that and got tan x ?
so, tan^2 x is tan x - x + C?

7. The last line you said, the antiderivative of tangent squared x is tanx - x + C.

8. alright, thanks. i have to go now....

9. Bah! Max beat me to it Anyhoo, since I forgot most of my trig identities, here is another way you could solve it:

10. That's pretty neat handwriting Special K.

11. 755
posts
Registered User
lol I was about to come back and give it a go. Is your paper actually yellow K? Did you forget Simp's advice about yellow snow?

12. oh my god kirupa. you're such a nice person man... thanks everybody...

i actually got [intg]sec^2 - 1 dx
but, i didn't know where to go from there.

again, thank you very much everybody.

btw, kirupa tan^2 x = sec^2 x - 1. hehe. (i'm sure you already figured that out )

13. aye, apparently it seems my brain was still working at 3am in the morning... you won't know what I'm talking about, but if the mods can see deleted posts they'll notice that I posted to try tanx = sinx/cosx

right.. enough of my gloating.

14. Wow that's some neat writing Kirupa. Not neat handwriting, but very nice organization - numbering lines, semi-colons (just like coding!), square brackets, etc.

15. I added the line numbering because it was going to be posted online. I single-space and write much smaller than that

Page 1 of 2 12 Last