How Do You Integrate tan^5(x) Correctly?

  • Thread starter Thread starter SpicyPepper
  • Start date Start date
  • Tags Tags
    Integration Trig
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 5K views
SpicyPepper
Messages
20
Reaction score
0
I'm not sure if my answer is just wrong or basically the same as the one in the back of my book.

Homework Statement


[tex]\int tan^5(x)dx[/tex]

The Attempt at a Solution


My answer:

[tex]\int tan^5(x)dx = \frac{tan^4(x)}{4} - \int(sec^2(x)tan(x) - tan(x)) dx[/tex]

[tex]\int tan^5(x)dx = \frac{tan^4(x)}{4} - \frac{tan^2(x)}{2} + ln|sec(x)| + C[/tex]

Book answer:

[tex]\int tan^5(x)dx = \frac{sec^4(x)}{4} - tan^2(x) + ln|sec(x)| + C[/tex]

If I understand correctly,

[tex]\frac{tan^4(x)}{4} + C = \frac{sec^4(x) - 1}{4} + C = \frac{sec^4(x)}{4} + C[/tex]

If that's wrong let me know please.

However, I don't get why I keep getting

[tex]\frac{tan^2(x)}{2}[/tex]

instead of

[tex]tan^2(x)[/tex]
 
Physics news on Phys.org
Ah! So that means my initial answer was right (assuming I don't keep screwing up my trig), since:

= tan^4(x)/4 - tan^2(x)/2 + ... + C

= [sec^4(x) - 2sec^2(x) + 1]/4 - tan^2(x)/2 + ... + C

= sec^4(x)/4 - sec^2(x)/2 - tan^2(x)/2 + ... + C

= sec^4(x)/4 - [tan^2(x) + 1]/2 - tan^2(x)/2 + ... + C

= sec^4(x)/4 - tan^2(x) + ... + C

Thanks