What is the issue with u-Substitution in Integrating tan x sec^4 x dx?

  • Thread starter Thread starter andrewjohnsc
  • Start date Start date
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
3 replies · 2K views
andrewjohnsc
Messages
7
Reaction score
0

Homework Statement


[tex]\int[/tex]tan x sec[tex]^{}4[/tex] x dx

Homework Equations


U-Sub

The Attempt at a Solution


I did this two different ways and go two different answers.

The correct way is
[tex]\int[/tex]sec^3(x)*sec(x)*tan(x) dx
letting u= sec(x) and du= sec(x)*tan(x)
= [tex]\int[/tex] u^3 du = sec^4(x)/4 + C
Which is good,

but I can't figure out what's wrong with this way:
[tex]\int[/tex]tan(x)*sec^4(x) dx
= [tex]\int[/tex] tan(x)*(1+tan^2(x))(sec^2(x)) dx
from the identity sec^2(x) = 1 + tan^2(x)
then letting u= tan(x) and du= sec^2(x) dx
gives [tex]\int[/tex] u*(1 + u^2) du = [tex]\int[/tex] u + u^3 du = u^2/2 + u^4/4 + C
= tan^2(x)/2 + tan^4(x)/4 + C

Which is a different answer from the correct one. What's wrong with the second way? Does it have to do with the u-sub... Thanks,
Andrew
 
Last edited:
Physics news on Phys.org
Both answers are correct, but the constant C in your second answer isn't the same as the constant C in your first answer.

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

I leave the intermediate steps to you.
 
sec4x=(1+tan2)2

[tex]sec^4x= 1 + 2tan^2x+tan^4x[/tex]

Now divide by 1/4 and you'll see that they are the exact same thing.

AND 1/4+C = another constant!