1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
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: Integrating cot(x) by partswhat's wrong?

  1. Aug 29, 2012 #1
    1. The problem statement, all variables and given/known data


    2. Relevant equations

    wht's wrong in this approach (integrating by parts)

    3. The attempt at a solution

    ⇔I+C=-1-I⇔I=-[itex]\frac{1}{2}[/itex] → I=C1??
    Last edited: Aug 29, 2012
  2. jcsd
  3. Aug 29, 2012 #2
    You have made a number of sign-related mistakes. You should have obtained I = 1 + I. This seems puzzling, but if you recall that any indefinite integral is defined up to an arbitrary constant, this is normal.

    What this really means is that this technique cannot be used with this integral.
  4. Aug 29, 2012 #3
    You better check again..I don't think I've done any sign-related mistake..tell me where!..and I don't think there's any problem regarding that's an indefinite integral..I'll add the constant, you're right..but any integral shoul depend on a variable, right??
    well I know ∫cot(x) = -ln|sin(x)| ..yet wht's wrong with my approach??
  5. Aug 29, 2012 #4
    Yes you did. Try this again.
  6. Aug 29, 2012 #5
    **** :eek:..srry mate..hope I can delete the post :shy:
  7. Aug 29, 2012 #6


    User Avatar
    Science Advisor

    For one obvious point, cos(x) is NOT -(sin(x))'.
  8. Aug 29, 2012 #7
    yes, you're all right! sorry!

    though..waht if we make it a definite integral..let's say between pi/6 and pi/3 (so we have no problem with the existance of cot in any point)..so we end up again with I=1+I..
    wht does it mean?
  9. Aug 29, 2012 #8


    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    This integration can be done using substitution.

    The secant & cosecant functions can be integrated using integration by parts.
  10. Aug 29, 2012 #9
    When you do a definite integral, you get [tex]I = [1]_a^b + I = 1 - 1 + I = I[/tex]
  11. Aug 29, 2012 #10
    uh.. yes.. thanks a lot!!
    it seems today i got some lack of attention..
    Thanks again!!
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook