Evaluating an Indefinite Integral using Substitution

In summary: Also the substitution is obvious . = - \int \frac{d (sin^2 x)}{1 + sin^2 x}. . = - ln (1 + sin^2 x) + C . = - ln (1 + cos^2 x) + C . = - ln K (1 + cos^2 x)
  • #1
Drakkith
Mentor
22,913
7,264

Homework Statement


Evaluate the Integral:
∫sin2x dx/(1+cos2x)

Homework Equations

The Attempt at a Solution



I first broke the numerator up:
∫2sinxcosx dx /(1+cos2x)
2∫sinxcosx dx /(1+cos2x)

Then I let u = cosx so that du = -sinx dx
-2∫u du/(1+u2)

And now I'm stuck. I thought about turning 1+u2 into tan-1u + c, but I still have another u to deal with in the numerator.
 
Physics news on Phys.org
  • #2
Drakkith said:

Homework Statement


Evaluate the Integral:
∫sin2x dx/(1+cos2x)

Homework Equations



The Attempt at a Solution



I first broke the numerator up:
∫2sinxcosx dx /(1+cos2x)
2∫sinxcosx dx /(1+cos2x)

Then I let u = cosx so that du = -sinx dx
-2∫u du/(1+u2)

And now I'm stuck. I thought about turning 1+u2 into tan-1u + c, but I still have another u to deal with in the numerator.
Try a further substitution.

What is the derivative of 1 + u2 ?
 
  • #3
SammyS said:
Try a further substitution.

What is the derivative of 1 + u2 ?

Okay. So if I let y = 1+u2, then dy = 2u du, or dy/2 = u du

That gives me -2/2∫y-1 dy
-∫y-1 dy

Integrating:
-ln|y| + c

Since y = 1+u2 that becomes:
-ln|1+u2|+ c

And since u = cosx:
-ln |1 + cos2x| + c
 
  • #4
Drakkith said:

Homework Statement


Evaluate the Integral:
∫sin2x dx/(1+cos2x)

Homework Equations

The Attempt at a Solution



I first broke the numerator up:
∫2sinxcosx dx /(1+cos2x)
2∫sinxcosx dx /(1+cos2x)

Then I let u = cosx so that du = -sinx dx
-2∫u du/(1+u2)

And now I'm stuck. I thought about turning 1+u2 into tan-1u + c, but I still have another u to deal with in the numerator.

hint: differentiation of ## ln(x) = \frac{1}{x} ##
 
  • #5
Drakkith said:
Okay. So if I let y = 1+u2, then dy = 2u du, or dy/2 = u du

That gives me -2/2∫y-1 dy
-∫y-1 dy

Integrating:
-ln|y| + c

Since y = 1+u2 that becomes:
-ln|1+u2|+ c

And since u = cosx:
-ln |1 + cos2x| + c
Right.

So looking back at your two substitutions, letting u = 1 + cos2(x) would have worked very nicely.
 
  • #6
Er, before you do any calculus can't you very significantly simplify the thing you are asked to integrate?
 
  • #7
SammyS said:
Right.

So looking back at your two substitutions, letting u = 1 + cos2(x) would have worked very nicely.

How so? I'm not getting anything that looks useful.

u = 1 + cos2x, du = -2sinx dx
That still leaves cosx in the numerator.

epenguin said:
Er, before you do any calculus can't you very significantly simplify the thing you are asked to integrate?

I'm open to suggestions.
 
  • #8
Drakkith said:
How so? I'm not getting anything that looks useful.

u = 1 + cos2x, du = -2sinx dx
That still leaves cosx in the numerator.

I'm open to suggestions.
Check your differentiation.
 
  • #9
SammyS said:
Check your differentiation.

Oh. Apparently it's -2sinxcosx. Yeah that would work nicely.

It's been a while since I did any differentiation and I appear to have forgotten some important details about how to use the chain rule.
 
  • #10
Not only?
 
  • #11
epenguin said:
Not only?

Huh?
 
  • #12
Drakkith said:
Huh?

OK my late night mistake..
 
  • #13
epenguin said:
OK my late night mistake..

No worries!

Anyways, thanks for the help all! Sammy, I think I'll have to spend a little time going of differentiation rules again...
 
  • #14
Drakkith said:
No worries!

Anyways, thanks for the help all! Sammy, I think I'll have to spend a little time going of differentiation rules again...
Sure. Practice helps.

It was interesting that you got the part of the chain rule that most people miss and missed the part they get.
 
  • Like
Likes Drakkith
  • #15
Drakkith said:
Oh. Apparently it's -2sinxcosx. Yeah that would work nicely.

It's been a while since I did any differentiation and I appear to have forgotten some important details about how to use the chain rule.

Conclusion?
 
  • #16
epenguin said:
Conclusion?
This was the problem Drakkith was asking about:
Drakkith said:

Homework Statement


Evaluate the Integral:
∫sin2x dx/(1+cos2x)
This was his final result.
Drakkith said:
...
And since u = cosx:
-ln |1 + cos2x| + c
After that I suggested a single substitution to do the job, which he indicates he now adequately understands.
 
  • #17
Ah yes, I had not read carefully enough, I just read 'substitution' and thought oof, that is a bit heavy. In fact in #1 he was only missing that the numerator is (apart from numerical factor) is the derivative of the denominator. I had just mentally written
[tex] 2 \int \frac{cos x sin x}{1 + cos^2 x} dx [/tex]
[tex]. = - 2 \int \frac{cos x }{1 + cos^2 x} d (cos x) [/tex]
[tex]. =-. \int \frac{d (cos^2 x)}{1 + cos^2 x}. [/tex]
[tex]. = - \int \frac{d (1 + cos^2 x)}{1 + cos^2 x}. [/tex]
[tex]. = - ln (1 + cos^2 x) + C [/tex]
which you can also write
[tex]. = - ln K (1 + cos^2 x)[/tex]

which is just the some thing as Drakkith, just slightly differenti setting out.
 

What is substitution in evaluating an indefinite integral?

Substitution is a technique used in calculus to simplify the evaluation of an indefinite integral by substituting a variable or expression with another variable or expression.

Why is substitution helpful in evaluating an indefinite integral?

Substitution can help to simplify complicated integrands and make them easier to evaluate. It can also help to identify patterns and relationships between variables that may not be apparent at first.

How do you decide which substitution to use?

The substitution used will depend on the structure of the integrand. Generally, you want to choose a substitution that will eliminate a complicated term or make the integrand easier to integrate. Common substitutions include trigonometric, logarithmic, and exponential functions.

What are the steps for evaluating an indefinite integral using substitution?

The steps for evaluating an indefinite integral using substitution are as follows:

  1. Identify the substitution to be used based on the structure of the integrand.
  2. Replace the variable or expression in the integrand with the substitution.
  3. Find the derivative of the substitution and substitute it into the integral.
  4. Solve the new integral, which should be simpler than the original.
  5. Substitute the original variable back in to get the final answer.

What are some common mistakes to avoid when using substitution to evaluate an indefinite integral?

Some common mistakes to avoid include incorrect substitutions, forgetting to replace the differential, and not simplifying the final answer. It is also important to check the original integral after performing the substitution to ensure that the solution is correct.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
583
  • Calculus and Beyond Homework Help
Replies
3
Views
346
  • Calculus and Beyond Homework Help
Replies
12
Views
1K
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
7
Views
1K
  • Calculus and Beyond Homework Help
Replies
13
Views
1K
  • Calculus and Beyond Homework Help
Replies
8
Views
763
  • Calculus and Beyond Homework Help
Replies
22
Views
1K
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
Back
Top