Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Are these two integral formulas the same?

  1. Sep 26, 2007 #1
    In my book, we were give:

    int of tanx dx = - ln|cos x| + c

    and later I cam across:

    int of tanx dx = ln |sec x| + c

    --should I use these interchangeably or what?
     
  2. jcsd
  3. Sep 26, 2007 #2

    D H

    User Avatar
    Staff Emeritus
    Science Advisor

    What is the relation between [itex]\cos x[/itex] and [itex]\sec x[/itex]?
     
  4. Sep 26, 2007 #3
    [tex]ln\left(\frac{1}{x}\right) = -ln x \quad \textrm{and} \quad \sec x = \frac{1}{\cos x}[/tex]

    So yes, you can use them interchangeably.
     
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook