Is this Tricky Definite Integral Solvable?

Click For Summary

Homework Help Overview

The problem involves evaluating the definite integral \(\int_0^\pi \frac{x \cdot \sin(x)}{1+\cos^2(x)} \, dx\). Participants explore various integration techniques, including integration by parts and trigonometric substitution, while discussing the complexity of the integral.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation, Assumption checking

Approaches and Questions Raised

  • Participants discuss breaking the integral into parts and using substitutions such as \(u = \pi - x\). There are questions about the integrability of resulting expressions and whether certain integrals evaluate to zero. Some participants express uncertainty about the correctness of their approaches and the implications of their findings.

Discussion Status

The discussion is active, with participants sharing their attempts and questioning the validity of their results. Some guidance has been offered regarding substitutions and the nature of the integrals involved, but there is no explicit consensus on the final evaluation of the integral.

Contextual Notes

Participants note the challenges of integrating certain functions and the potential for errors due to fatigue. There is an acknowledgment of the complexity of the integral and the need for careful consideration of assumptions made during the problem-solving process.

pierce15
Messages
313
Reaction score
2
1. The problem, the whole problem, and nothing but the problem

[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2(x)} \, dx[/tex]

Homework Equations



Integration by parts
trig substitution

The Attempt at a Solution



My first idea was to break up the integral by letting [itex]u=x[/itex] and [itex]dv=sin(x)/(1+cos^2 x)[/itex]. I will omit the work, but it got me here:

[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2(x)} \, dx = (x \cdot tan^{-1} (cos(x)) \big|_0^\pi - \int_0^\pi tan^{-1}(cos(x)) \, dx[/tex]

I am fairly sure that I arrived at the second integral correctly. Is it integrateable, if that's a word?
 
Last edited:
Physics news on Phys.org
piercebeatz said:
1. The problem, the whole problem, and nothing but the problem

[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2(x)} \, dx[/tex]

Homework Equations



Integration by parts
trig substitution

The Attempt at a Solution



My first idea was to break up the integral by letting [inline]u=x[/inline] and [inline]dv=sin(x)/(1+cos^2 x)[/inline]. I will omit the work, but it got me here:

[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2(x)} \, dx = (x \cdot tan^{-1} (cos(x)) \big|_0^\pi - \int_0^\pi tan^{-1}(cos(x)) \, dx[/tex]

I am fairly sure that I arrived at the second integral correctly. Is it integrateable, if that's a word?

Also, what is the inline command? I forget it every time I go on this sight.

[itex]works for inline. For the integral, it is a trick. Try substituting u=pi-x. Finding an indefinite integral is really pretty hopeless.[/itex]
 
Last edited:
[tex]- \int_0^\pi tan^{-1} cos(x) \, dx[/tex]
[tex]u= \pi-x, du=- dx[/tex]
[tex]\int_\pi^0 tan^{-1} cos(\pi-u) \, du[/tex]
[tex]- \int_0^\pi tan^{-1}(cos(\pi)cos(u) + sin(\pi)sin(u)) \, du[/tex]
[tex]- \int_0^\pi tan^{-1}(-cos(u)) \, du[/tex]
[tex]\int_0^\pi tan^{-1}cos(u) \, du[/tex]

Hmm... does that mean that since the top equation is equal to the bottom, and they are negatives, the integral must be 0?
 
Last edited:
piercebeatz said:
[tex]- \int_0^\pi tan^{-1} cos(x) \, dx[/tex]
[tex]u= \pi-x, du=-x \, dx[/tex]
[tex]\int_\pi^0 tan^{-1} sin(u) \, du[/tex]
[tex]-\int_0^\pi tan^{-1} sin(u) \, du[/tex]

OK, what now? Maybe:

[tex]\int_0^\pi tan^{-1} sin(u) \, du = \int_0^\pi tan^{-1} cos(x) \, dx[/tex]

Is that what you had in mind?

I meant you to use that substitution in the original integral. You should get the original integral back with a different sign plus something you can integrate. Equate it to the original integral.
 
[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2x} \, dx[/tex]
[tex]u=\pi-x, du=-1[/tex]
[tex]- \int_\pi^0 \frac{(\pi-u)(sin(\pi-u))}{1+cos^2(\pi-u)} \, du[/tex]
[tex]\int_0^\pi \frac{(\pi-u)(-sin(u))}{1+ cos^2(\pi-u)} \, du[/tex]
[tex]-\int_0^\pi \frac{sin(u)(\pi-u)}{1+ cos^2(\pi-u)} \, du[/tex]
[tex]-\int_0^\pi \frac{sin(u)(\pi-u)}{1+ (-cos(u))^2} \, du[/tex]
[tex]-\int_0^\pi \frac{sin(u)(\pi-u)}{1+ cos^2u} \, du[/tex]
[tex]-\pi \int_0^\pi \frac{sin(u)}{1+ cos^2u} \, du + \int_0^\pi \frac{u \cdot sin(u)}{1+ cos^2u}[/tex]
[tex]v=cos(u), dv=-sin(u) \, du[/tex]
[tex]\pi \int_1^{-1} \frac{dv}{1+v^2} + \int_0^\pi \frac{u \cdot sin(u)}{1+ cos^2u}[/tex]
Going back to the beginning:

[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2x} \, dx = -\pi \int_{-1}^1 \frac{dv}{1+v^2} + \int_0^\pi \frac{u \cdot sin(u)}{1+ cos^2u}[/tex]

[tex]0=\int_{-1}^1 \frac{dv}{1+v^2}[/tex]

Am I on the right track?
 
Last edited:
piercebeatz said:
[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2x} \, dx[/tex]
[tex]u=\pi-x, du=-1[/tex]
[tex]- \int_\pi^0 \frac{(\pi-u)(sin(\pi-u))}{1+cos^2(\pi-u)} \, du[/tex]
[tex]\int_0^\pi \frac{(\pi-u)(-sin(u))}{1+ cos^2(\pi-u)} \, du[/tex]
[tex]-\int_0^\pi \frac{sin(u)(\pi-u)}{1+ cos^2(\pi-u)} \, du[/tex]
[tex]-\int_0^\pi \frac{sin(u)(\pi-u)}{1+ (-cos(u))^2} \, du[/tex]
[tex]-\int_0^\pi \frac{sin(u)(\pi-u)}{1+ cos^2u} \, du[/tex]

What now?

First fix an error. sin(pi-u)=sin(u). Then break it into two integrals.
 
[tex]\int_0^\pi \frac{x \cdot sin(x)}{1+cos^2x} \, dx[/tex]
[tex]u=\pi-x, du=-1[/tex]
[tex]- \int_\pi^0 \frac{(\pi-u)(sin(\pi-u))}{1+cos^2(\pi-u)} \, du[/tex]
[tex]\int_0^\pi \frac{(\pi-u)(sin(u))}{1+ cos^2(\pi-u)} \, du[/tex]
[tex]\int_0^\pi \frac{sin(u)(\pi-u)}{1+ cos^2(\pi-u)} \, du[/tex]
[tex]\int_0^\pi \frac{sin(u)(\pi-u)}{1+ (-cos(u))^2} \, du[/tex]
[tex]\int_0^\pi \frac{sin(u)(\pi-u)}{1+ cos^2u} \, du[/tex]
[tex]\pi \int_0^\pi \frac{sin(u)}{1+ cos^2u} \, du - \int_0^\pi \frac{u \cdot sin(u)}{1+ cos^2u}[/tex]
[tex]v=cos(u), dv=-sin(u) \, du[/tex]
[tex]\pi \int_1^{-1} \frac{dv}{1+v^2} - \int_0^\pi \frac{u \cdot sin(u)}{1+ cos^2u} \, du[/tex]

Is the following OK:

[tex]I = \int_0^\pi \frac{x \cdot sin(x)}{1+cos^2x} \, dx = \pi \int_{-1}^1 \frac{dv}{1+v^2} - \int_0^\pi \frac{u \cdot sin(u)}{1+ cos^2u}[/tex]

[tex]2I = \pi \int_{-1}^1 \frac{dv}{1+v^2}[/tex]

If so, how can I evaluate this integral?
 
piercebeatz said:
Am I on the right track?

You know, having to constantly go back and check whether you have reedited a past post really sucks. Use preview to see whether you have what you want, then just LEAVE IT. If you change your mind, just post the correction. Don't go back and change the past. And yes, your result is fine.
 
Dick said:
You know, having to constantly go back and check whether you have reedited a past post really sucks. Use preview to see whether you have what you want, then just LEAVE IT. If you change your mind, just post the correct. Don't go back and change the past.

Sorry
 
  • #10
piercebeatz said:
Sorry

S'ok. Just advice for the future. But you got the right answer.
 
  • #11
Dick said:
S'ok. Just advice for the future. But you got the right answer.

So the answer is just 0?
 
  • #12
piercebeatz said:
If so, how can I evaluate this integral?

It's an arctan, isn't it? Why do you think it's zero?
 
  • #13
piercebeatz said:
[tex]2I = \pi \int_{-1}^1 \frac{dv}{1+v^2}[/tex]

If so, how can I evaluate this integral?

Now I forgot to quote the integral. Doesn't look like zero to me.
 
  • #14
Dick said:
It's an arctan, isn't it? Why do you think it's zero?

Oh, right. I'm pretty tired right now. Just did out the trig substitution and verified that it's 0. How did you know to make the substitution u=pi-x?
 
  • #15
[itex]1/(1+v^2)[/itex] is also an even function which is probably enough to show that the answer is 0, considering that the upper limit is equal to the lower limit
 
  • #16
piercebeatz said:
Oh, right. I'm pretty tired right now. Just did out the trig substitution and verified that it's 0. How did you know to make the substitution u=pi-x?

Tired, ok. But it's NOT zero. Check it in the morning if that works better. I guessed to do the substitution because I've seen problems like this before. Just experience.
 
  • #17
piercebeatz said:
[itex]1/(1+v^2)[/itex] is also an even function which is probably enough to show that the answer is 0, considering that the upper limit is equal to the lower limit

Wrong. Get some sleep if you need to.
 
  • #18
Dick said:
Tired, ok. But it's NOT zero. Check it in the morning if that works better. I guessed to do the substitution because I've seen problems like this before. Just experience.

[tex]\int_{-1}^1 \frac{dv}{v^2+1}[/tex]
[tex]v= tan\theta, dv=sec^2\theta d\theta[/tex]
[tex]\int_{-\pi/4}^{\pi/4} \frac{sec^2 \theta}{sec^2 \theta} d\theta[/tex]
[tex]\int_{-\pi/4}^{\pi/4} \theta d\theta[/tex]
[tex]\frac{\theta^2}{2} \big|_{-\pi/4}^{\pi/4}[/tex]
[tex](\pi/4)^2/2 - (-\pi/4)^2/2[/tex]

Alright, I see that I'm wrong by looking at the graph. What's the problem here?
 
  • #19
piercebeatz said:
[tex]\int_{-1}^1 \frac{dv}{v^2+1}[/tex]
[tex]v= tan\theta, dv=sec^2\theta d\theta[/tex]
[tex]\int_{-\pi/4}^{\pi/4} \frac{sec^2 \theta}{sec^2 \theta} d\theta[/tex]
[tex]\int_{-\pi/4}^{\pi/4} \theta d\theta[/tex]
[tex]\frac{\theta^2}{2} \big|_{-\pi/4}^{\pi/4}[/tex]
[tex](\pi/4)^2/2 - (-\pi/4)^2/2[/tex]

Alright, I see that I'm wrong by looking at the graph. What's the problem here?

Now you are making me sleepy. sec(θ)^2/sec(θ)^2 isn't θ. It's 1.
 
  • #20
[tex]\theta \big|_{-\pi/4}^{\pi/4} = \pi/2[/tex]
[tex]2I= \pi/2[/tex]
[tex]I = \pi/4[/tex]

Were there any arithmetic errors in there? haha
 
  • #21
piercebeatz said:
[tex]\theta \big|_{-\pi/4}^{\pi/4} = \pi/2[/tex]
[tex]2I= \pi/2[/tex]
[tex]I = \pi/4[/tex]

Were there any arithmetic errors in there? haha

Sadly, yes. You dropped the factor of pi you had correct in post 7. You would do it easily with the hint I gave you if you were less tired.
 
  • #22
Alright, so [itex]I = \pi^2/4[/itex]. Thank you very much for the help, now I'm going to get some beauty sleep
 
  • #23
piercebeatz said:
Alright, so [itex]I = \pi^2/4[/itex]. Thank you very much for the help, now I'm going to get some beauty sleep

Very welcome, and good idea!
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
1
Views
1K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K