Solution for Integral of sin2x/(1+cos^2x) using Substitution Method

  • Thread starter Thread starter PhizKid
  • Start date Start date
  • Tags Tags
    Integration
PhizKid
Messages
477
Reaction score
2

Homework Statement


\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx


Homework Equations





The Attempt at a Solution


\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx \\\\<br /> \int \frac{2sinxcosx}{1 + cos^{2}x} \textrm{ } dx \\\\<br /> u = cosx \\\\<br /> -\int \frac{2u}{1 + u^{2}} \textrm{ } du \\\\<br /> w = u^{2} \\\\<br /> -\int \frac{1}{1 + w} \textrm{ } dw \\\\<br /> q = 1 + w \\\\<br /> -\int \frac{1}{q} \textrm{ } dq \\\\<br /> -ln(q) = -ln(1 + w) = -ln(1 + u^{2}) = -ln(1 + cos^{2}x)

I don't know what I did wrong
 
Physics news on Phys.org
PhizKid said:

Homework Statement


\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx


Homework Equations





The Attempt at a Solution


\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx \\\\<br /> \int \frac{2sinxcosx}{1 + cos^{2}x} \textrm{ } dx \\\\<br /> u = cosx \\\\<br /> -\int \frac{2u}{1 + u^{2}} \textrm{ } du \\\\<br /> w = u^{2} \\\\<br /> -\int \frac{1}{1 + w} \textrm{ } dw \\\\<br /> q = 1 + w \\\\<br /> -\int \frac{1}{q} \textrm{ } dq \\\\<br /> -ln(q) = -ln(1 + w) = -ln(1 + u^{2}) = -ln(1 + cos^{2}x)

I don't know what I did wrong

Your answer is correct, except for the omission of the constant of integration. Which makes all the difference in the world, really.

Here's an easier way to approach the integral. Note that the denominator is, in fact: ##\frac{1}{2}(3 + \cos 2x)##. Can you go from there?

You'll find that the final answer you get using that method is different from your answer by only a constant (##\ln 2##), which means the answers are equivalent.
 
PhizKid said:

Homework Statement


\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx

Homework Equations



The Attempt at a Solution


\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx \\\\<br /> \int \frac{2sinxcosx}{1 + cos^{2}x} \textrm{ } dx \\\\<br /> u = cosx \\\\<br /> -\int \frac{2u}{1 + u^{2}} \textrm{ } du \\\\<br /> w = u^{2} \\\\<br /> -\int \frac{1}{1 + w} \textrm{ } dw \\\\<br /> q = 1 + w \\\\<br /> -\int \frac{1}{q} \textrm{ } dq \\\\<br /> -ln(q) = -ln(1 + w) = -ln(1 + u^{2}) = -ln(1 + cos^{2}x)

I don't know what I did wrong
What's the derivative of a constant?
 
Curious3141 said:
Your answer is correct, except for the omission of the constant of integration. Which makes all the difference in the world, really.

Here's an easier way to approach the integral. Note that the denominator is, in fact: ##\frac{1}{2}(3 + \cos 2x)##. Can you go from there?

You'll find that the final answer you get using that method is different from your answer by only a constant (##\ln 2##), which means the answers are equivalent.

I don't see where that denominator is. The solution says it's: -ln(cos(2x) + 3) + C
 
PhizKid said:
I don't see where that denominator is. The solution says it's: -ln(cos(2x) + 3) + C

What is \displaystyle \ \ -\ln(1 + \cos^{2}x)-(-\ln(\cos(2x) + 3))\ ?
 
SammyS said:
What is \displaystyle \ \ -\ln(1 + \cos^{2}x)-(-\ln(\cos(2x) + 3))\ ?

Isn't it ln(\frac{1 + cos^2x}{cos(2x) + 3})? But what does ln(cos(2x) + 3) have to do with anything?
 
PhizKid said:
Isn't it ln(\frac{1 + cos^2x}{cos(2x) + 3})?

Try plotting that function.
 
Mute said:
Try plotting that function.

It looks like -ln(2)
 
PhizKid said:
It looks like -ln(2)
I get ln(2) .

That's just a constant, so the two answers are equivalent.
 

Similar threads

Back
Top