Integration Help (Quick if Possible)

  • Thread starter Thread starter Chewy0087
  • Start date Start date
  • Tags Tags
    Integration
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 1K views
Chewy0087
Messages
368
Reaction score
0

Homework Statement



[tex]\int sec^2 x tan x dx[/tex]

Homework Equations


The Attempt at a Solution


hey guys, sorry about this but i realized i can't do this question (in for tommorow)

I said, let u = tan x
so du/dx = sec^2 x
so dx/du =1 / sec^x

so putting that in I get [tex]\int tan x dx or \int u du[/tex]

which of course is [tex]\frac{u^2}{2}[/tex] = [tex]\frac{tan^2 x}{2}[/tex]

however according to wolfram alpha it's sec^2 x / 2 :O

http://www.wolframalpha.com/input/?i=int+sec^2+x+tan+x

thanks again in advance, would save me :O
 
Physics news on Phys.org
Your answer is correct. Another substitution you can use is u = secx, du = secx tanx dx. With that substitution you have
[tex]\int u du~=~(1/2)u^2 + C~=~(1/2)sec^2x + C[/tex]
The two answers seem to be different, and indeed they are. But they differ only by a constant, since (1/2)sec^2(x) = (1/2)tan^(x) + 1/2.

The upshot is that you are correct and wolfram alpha is also correct.
 
i see now, much obliged sir!