Integrating x cot(x) from 0 to pi/2

  • Thread starter Thread starter XtremePhysX
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around evaluating the integral I = ∫₀^(π/2) x cot(x) dx, which is noted to be a challenging problem within the context of calculus.

Discussion Character

  • Exploratory, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants explore integration techniques, including integration by parts (IBP), and discuss the possibility of approximating the integral versus seeking an exact answer. There are attempts to manipulate the integral using symmetry properties and transformations, such as relating x cot(x) to (π/2 - x) tan(x). Some participants question the correctness of these transformations and the implications of their results.

Discussion Status

The discussion is active with various attempts and transformations being proposed. Some participants express uncertainty about the correctness of their approaches, while others provide clarifications and corrections to earlier statements. There is no explicit consensus on a final method or solution, but the dialogue appears to be productive in exploring different avenues of reasoning.

Contextual Notes

Participants note the complexity of the integral and the requirement for an exact answer, which may influence the approaches taken. There are also indications of confusion regarding the representation of certain trigonometric identities and their implications for the integral's evaluation.

XtremePhysX
Messages
92
Reaction score
0

Homework Statement



Evaluate

Homework Equations



[tex]I=\int_0^{\pi/2}x\cot(x)\,dx[/tex]

The Attempt at a Solution



I tried IBP, didn't work at all.
 
Physics news on Phys.org
That is a nasty integral, does it have to be an exact answer or can it be approximate?
 
Vorde said:
That is a nasty integral, does it have to be an exact answer or can it be approximate?

Exact. I did this but not sure if it is correct: [tex]I=\int_0^{\pi/2}x\cot(x)\,dx=\int_0^{\pi/2}(\pi/2-x)\tan(x)\,dx[/tex]
 
No that's not a correct representation. ##tan(\frac{\pi}{2}-x)## is though, not sure if that helps however.
 
If you add both of them, xcot(x) and (pi/2-x)tan(x) you get 2I and I think it is relatively easy from there. But I'm not sure if this is correct.[tex]I=\int_0^{\pi/2}x\cot(x)\,dx=\int_0^{\pi/2}(\pi/2-x)\tan(x)\,dx\\ \Rightarrow 2I=\int_0^{\pi/2}\frac{2x\cos^2(x)+2(\pi/2-x)\sin^2(x)}{2\sin(x)\cos(x)}\, dx\\=\int_0^{\pi/2}\frac{2x\cos(2x)+\frac{\pi}{2}(1-\cos(2x))}{\sin(2x)}\,dx\\\Rightarrow 4I=\int_0^{\pi}\frac{x\cos(x)+\frac{\pi}{2}(1-\cos(x))}{\sin(x)}\, dx\\=\int_0^{\pi/2}x\cot(x)\,dx+\frac{\pi}{2}\int_0^{\pi/2}\csc(x)-\cot(x)\,dx+\int_{\pi/2}^\pi (x-\pi)\cot(x)\,dx+\frac{\pi}{2}\int_{\pi/2}^\pi\csc(x)+\cot(x)\,dx\\=2I+\pi\int_0^{\pi/2}\csc(x)-\cot(x)\,dx\\=2I-\pi\log|1+\cos(x)|]^{\pi/2}_0\\\Rightarrow I=\frac{\pi}{2}\log(2).[/tex]
 
Vorde said:
No that's not a correct representation.

Yes it is: [itex]\int_0^a f(x)dx = \int_0^a f(a-x)dx[/itex] and [itex]\cot \left( \frac{\pi}{2} - x \right) = \tan(x)[/itex]

XtremePhysX said:
If you add both of them, xcot(x) and (pi/2-x)tan(x) you get 2I and I think it is relatively easy from there. But I'm not sure if this is correct.[tex]I=\int_0^{\pi/2}x\cot(x)\,dx=\int_0^{\pi/2}(\pi/2-x)\tan(x)\,dx\\ \Rightarrow 2I=\int_0^{\pi/2}\frac{2x\cos^2(x)+2(\pi/2-x)\sin^2(x)}{2\sin(x)\cos(x)}\, dx\\=\int_0^{\pi/2}\frac{2x\cos(2x)+\frac{\pi}{2}(1-\cos(2x))}{\sin(2x)}\,dx\\\Rightarrow 4I=\int_0^{\pi}\frac{x\cos(x)+\frac{\pi}{2}(1-\cos(x))}{\sin(x)}\, dx\\=\int_0^{\pi/2}x\cot(x)\,dx+\frac{\pi}{2}\int_0^{\pi/2}\csc(x)-\cot(x)\,dx+\int_{\pi/2}^\pi (x-\pi)\cot(x)\,dx+\frac{\pi}{2}\int_{\pi/2}^\pi\csc(x)+\cot(x)\,dx\\=2I+\pi\int_0^{\pi/2}\csc(x)-\cot(x)\,dx\\=2I-\pi\log|1+\cos(x)|]^{\pi/2}_0\\\Rightarrow I=\frac{\pi}{2}\log(2).[/tex]

Everything look fine up until your fifth line. Your last two terms should be [itex]\int_{\frac{\pi}{2}}^{\pi}x \cot x dx = \int_0^{\frac{\pi}{2}} (x-\pi) \cot x dx[/itex] and [itex]\frac{\pi}{2} \int_{\frac{\pi}{2}}^{\pi} (\csc x - \cot x)dx = \frac{\pi}{2} \int_0^{\frac{\pi}{2}} (\csc x + \cot x)dx[/itex], respectively.
 
You're totally right, been stumped all day to what I was doing wrong but I just figured it out. Sorry to the OP for saying incorrect stuff.
 
Vorde said:
You're totally right, been stumped all day to what I was doing wrong but I just figured it out. Sorry to the OP for saying incorrect stuff.

It's all good =)
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 105 ·
4
Replies
105
Views
11K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K