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

  • Thread starter Thread starter PhizKid
  • Start date Start date
  • Tags Tags
    Integration
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
8 replies · 2K views
PhizKid
Messages
477
Reaction score
2

Homework Statement


[itex]\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx[/itex]


Homework Equations





The Attempt at a Solution


[itex]\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)[/itex]

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

Homework Statement


[itex]\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx[/itex]


Homework Equations





The Attempt at a Solution


[itex]\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)[/itex]

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


[itex]\int \frac{sin2x}{1 + cos^{2}x} \textrm{ } dx[/itex]

Homework Equations



The Attempt at a Solution


[itex]\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)[/itex]

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
 
SammyS said:
What is [itex]\displaystyle \ \ -\ln(1 + \cos^{2}x)-(-\ln(\cos(2x) + 3))\ ?[/itex]

Isn't it [itex]ln(\frac{1 + cos^2x}{cos(2x) + 3})[/itex]? But what does [itex]ln(cos(2x) + 3)[/itex] have to do with anything?
 
Mute said:
Try plotting that function.

It looks like -ln(2)