Integrating cot(x) by partswhat's wrong?

  • Thread starter abel_ghita
  • Start date
  • #1

Homework Statement



I=∫cot(x)dx

Homework Equations



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

The Attempt at a Solution



I=∫cot(x)dx=∫[itex]\frac{cos(x)}{sin(x)}[/itex]dx=∫[itex]\frac{-(sin(x))'}{sin(x)}[/itex]=[itex]\frac{-sin(x)}{sin(x)}[/itex]-∫-sin(x)([itex]\frac{1}{sin^2(x)}[/itex])'dx=-1+∫sin(x)[itex]\frac{-cos(x)}{(sin(x))^2}[/itex]=-1-∫[itex]\frac{cos(x)}{sin(x)}[/itex]
⇔I+C=-1-I⇔I=-[itex]\frac{1}{2}[/itex] → I=C1??
 
Last edited:

Answers and Replies

  • #2
6,054
391
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.
 
  • #3
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.
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??
 
  • #4
647
3
You better check again..I don't think I've done any sign-related mistake..
Yes you did. Try this again.
 
  • #5
Yes you did. Try this again.
**** :eek:..srry mate..hope I can delete the post :shy:
 
  • #6
HallsofIvy
Science Advisor
Homework Helper
41,833
961
For one obvious point, cos(x) is NOT -(sin(x))'.
 
  • #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?
 
  • #8
SammyS
Staff Emeritus
Science Advisor
Homework Helper
Gold Member
11,347
1,022

Homework Statement



I=∫cot(x)dx

Homework Equations



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

The Attempt at a Solution



I=∫cot(x)dx=∫[itex]\frac{cos(x)}{sin(x)}[/itex]dx=∫[itex]\frac{-(sin(x))'}{sin(x)}[/itex]=[itex]\frac{-sin(x)}{sin(x)}[/itex]-∫-sin(x)([itex]\frac{1}{sin^2(x)}[/itex])'dx=-1+∫sin(x)[itex]\frac{-cos(x)}{(sin(x))^2}[/itex]=-1-∫[itex]\frac{cos(x)}{sin(x)}[/itex]
⇔I+C=-1-I⇔I=-[itex]\frac{1}{2}[/itex] → I=C1??
This integration can be done using substitution.

The secant & cosecant functions can be integrated using integration by parts.
 
  • #9
6,054
391
When you do a definite integral, you get [tex]I = [1]_a^b + I = 1 - 1 + I = I[/tex]
 
  • #10
uh.. yes.. thanks a lot!!
it seems today i got some lack of attention..
Thanks again!!
 

Related Threads on Integrating cot(x) by partswhat's wrong?

  • Last Post
Replies
20
Views
24K
  • Last Post
Replies
10
Views
6K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
6
Views
1K
  • Last Post
Replies
3
Views
4K
Replies
46
Views
6K
Replies
2
Views
652
  • Last Post
Replies
3
Views
852
  • Last Post
Replies
4
Views
2K
Replies
8
Views
1K
Top