• Support PF! Buy your school textbooks, materials and every day products Here!

Trig integration (cos(x)+sin(x)) / sin(2x)

  • #1
Prepping for my test, and I can't seem to solve this problem.

Homework Statement



[tex]\int \frac{cos(x) + sin(x)}{sin(2x)}dx[/tex]

Homework Equations



Not sure if it led me astray, but I used the trig. property:

[tex]sin(2x) = 2sin(x)cos(x)[/tex]

The Attempt at a Solution



[tex]= \int \frac{cos(x) + sin(x)}{2sin(x)cos(x)}dx[/tex]

[tex]= 1/2 \int(csc(x) + sec(x))dx[/tex]

[tex]= 1/2ln|csc(x) - cot(x)| + 1/2ln|sec(x) + tan(x)| + C[/tex]

[tex]= 1/2 ln|csc(x)sec(x) + sec(x) - csc(x) - 1| + C[/tex]

I feel like this is wrong, but not sure where I'm messing up. Maybe my trig. property isn't the way to go.
 

Answers and Replies

  • #2
LCKurtz
Science Advisor
Homework Helper
Insights Author
Gold Member
9,544
756
Looks good to me except you need + C.:cool:
 
  • #3
867
0
I would keep the answer in the form of the line before the last one. There's one little mistake in that line, though.
∫cscx dx = -ln|cscx + cotx| + C, not ln|cscx - cotx|
 
  • #4
Mentallic
Homework Helper
3,798
94
I would keep the answer in the form of the line before the last one. There's one little mistake in that line, though.
∫cscx dx = -ln|cscx + cotx| + C, not ln|cscx - cotx|
Uhh...

[tex]LHS=ln\left(\frac{1}{cscx+cotx}\right)[/tex]

[tex]=ln\left(\frac{1}{\frac{1}{sinx}+\frac{cosx}{sinx}}\right)[/tex]

[tex]=ln\left(\frac{sinx}{1+cosx}\right)[/tex]


[tex]RHS=ln\left(\frac{1}{sinx}-\frac{cosx}{sinx}\right)[/tex]

[tex]=ln\left(\frac{1-cosx}{sinx}\right)[/tex]


Now, lets assume:[tex]ln\left(\frac{sinx}{1+cosx}\right)=ln\left(\frac{1-cosx}{sinx}\right)[/tex]

[tex]ln\left(\frac{sinx}{1+cosx}\right)-ln\left(\frac{1-cosx}{sinx}\right)=0[/tex]

[tex]ln\left(\frac{(\frac{sinx}{1+cosx})}{(\frac{1-cosx}{sinx})}\right)=0[/tex]

[tex]ln\left(\frac{sin^2x}{1-cos^2x}\right)=0[/tex]

[tex]ln\left(\frac{1-cos^2x}{1-cos^2x}\right)=0[/tex]

[tex]ln(1)=0[/tex]

Therefore, they are equivalent.
 
  • #5
867
0
Graphically, it looks like they are the same if you ignore the absolute values. LHS - RHS looks like 0 on wolframalpha, but with absolute values, the graph of their difference is not 0.
 
  • #6
Mentallic
Homework Helper
3,798
94
I re-checked my work and didn't seem to find any errors or possibilities of extraneous solutions etc. so I graphed it as well, but on graphmatica. It seems that with or without absolute values, both functions are equal. If you believe you haven't made a mistake, please post a picture of what you see on wolfram :smile:
 
  • #8
867
0
Ok, there is no difference between our integrals of cscx. I didn't recognize the other form immediately (I never worked with ∫cscx dx by itself either) so I thought it was wrong. Looking at the table of integrals in my calc book, I see that same integral, ln|cscx - cotx| and I did find it by looking on the internet, but apparently that form is not as common as the other one.

I learn something new almost every day on this site. :smile:
 
  • #9
cool discussion guys. I just worked the integral of csc(x) on my own, and I came up with that funky version. Didn't realize it was less common :).
 

Related Threads on Trig integration (cos(x)+sin(x)) / sin(2x)

Replies
4
Views
16K
  • Last Post
Replies
3
Views
1K
  • Last Post
Replies
0
Views
2K
  • Last Post
Replies
4
Views
8K
Replies
7
Views
191
Replies
1
Views
5K
  • Last Post
Replies
9
Views
3K
  • Last Post
Replies
6
Views
6K
  • Last Post
Replies
15
Views
3K
Replies
9
Views
2K
Top