Explain how to compute this integral?

  • Context: Undergrad 
  • Thread starter Thread starter lucidicblur
  • Start date Start date
  • Tags Tags
    Explain Integral
Click For Summary

Discussion Overview

The discussion revolves around the computation of the integral \(\int \frac{x}{\tan(x)} \, dx\). Participants explore various methods for solving the integral, including integration by parts and the use of special functions, while expressing uncertainty about the feasibility of finding an elementary antiderivative.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant requests help with the integral, indicating that standard techniques like integration by parts and identities have not been successful.
  • Another participant suggests using integration by parts with \(u(x) = x\) and \(dv(x) = \frac{1}{\tan(x)}\), leading to \(v(x) = \ln|\sin(x)| + C\).
  • It is noted that this approach leads to the need to integrate \(\ln|\sin(x)|\), which some participants find unhelpful.
  • Further attempts at integration by parts are discussed, with one participant stating that they return to the original integral after multiple applications.
  • A participant mentions that an online integrator provided a complex answer involving the logarithmic integral function and suggests that the antiderivative may not be expressible in terms of elementary functions.
  • Another participant introduces the idea of using complex analysis methods, such as the method of residues, to potentially evaluate the integral by expressing \(\tan(x)\) in terms of complex exponentials.
  • There is a request for further guidance on how to integrate the function or resources that could assist in evaluating such integrals.

Areas of Agreement / Disagreement

Participants express uncertainty about the effectiveness of integration by parts for this integral, and there is no consensus on a definitive method for solving it. Multiple approaches are discussed, but no agreement is reached on a successful strategy.

Contextual Notes

Participants highlight the possibility that the integral's antiderivative cannot be expressed in elementary terms, and some mention the involvement of special functions like the PolyLogarithm Function.

Who May Find This Useful

Readers interested in advanced integral calculus, special functions, and complex analysis may find this discussion relevant.

lucidicblur
Messages
7
Reaction score
0
Can someone please explain how to compute this integral? This is not for school; I just came across it and I'm not sure what to do. Parts and various identities didn't help. [tex]\int[/tex] x/tan(x) dx
 
Physics news on Phys.org


lucidicblur said:
Can someone please explain how to compute this integral? This is not for school; I just came across it and I'm not sure what to do. Parts and various identities didn't help. [tex]\int[/tex] x/tan(x) dx

Parts should help. Let u(x) = x and let dv(x) = 1/tan(x). Then v(x) = ln|sin(x)| + C and du(x) = 1.
 


slider142 said:
Parts should help. Let u(x) = x and let dv(x) = 1/tan(x). Then v(x) = ln|sin(x)| + C and du(x) = 1.

This only results in having to integrate ln|sin(x)|, which does not help. I'm pretty sure parts is not the way to go.
 


lucidicblur said:
This only results in having to integrate ln|sin(x)|, which does not help. I'm pretty sure parts is not the way to go.
Now use integration by parts again with u(x) = ln|sin(x)| and dv(x) = 1. (You'll find that you'll have to use integration by parts once again after this step).
 
Last edited:


Hootenanny said:
Now use integration by parts again with u(x) = ln|sin(x)| and dv(x) = 1. (You'll find that you'll have to use integration by parts once again after this step).

after the first integration by parts i get xln|sin(x)|-[tex]\int[/tex]ln|sin(x)|dx

using parts again, with u(x)=ln|sin(x)|, i get xln|sin(x)|-xln|sin(x)|-[tex]\int[/tex]x/tanx dx

this is exactly where i started.

I entered this in an online integrator and got this as the answer:

xln(1-e2ix)-1/2i(x2+Li2(e2ix)

which does not make sense to me.
 


lucidicblur said:
after the first integration by parts i get xln|sin(x)|-[tex]\int[/tex]ln|sin(x)|dx

using parts again, with u(x)=ln|sin(x)|, i get xln|sin(x)|-xln|sin(x)|-[tex]\int[/tex]x/tanx dx

this is exactly where i started.
Hmm, indeed this isn't really helpful. Initially, I thought that we could evaluate this integral using recurrence methods. However, the result you obtained from the online integrator suggests that the anti-derivative cannot be written in terms of elementary functions.
lucidicblur said:
I entered this in an online integrator and got this as the answer:

xln(1-e2ix)-1/2i(x2+Li2(e2ix)

which does not make sense to me.
Li(x) the so-called logarithmic integral function and is a special function. See http://en.wikipedia.org/wiki/Logarithmic_integral_function for more information.
 


Hootenanny said:
Hmm, indeed this isn't really helpful. Initially, I thought that we could evaluate this integral using recurrence methods. However, the result you obtained from the online integrator suggests that the anti-derivative cannot be written in terms of elementary functions.

Li(x) the so-called logarithmic integral function and is a special function. See http://en.wikipedia.org/wiki/Logarithmic_integral_function for more information.

Actually, in this case [tex]L_i(z)[/tex] represents the PolyLogarithm Function...which seems to suggest that perhaps it can be integrated by writing tanx in terms of complex exponentials and using a complex analysis method such as method of residues. Although I haven't tried it yet myself, it seems like a reasonable approach given the form of the solution.
 


gabbagabbahey said:
Actually, in this case [tex]L_i(z)[/tex] represents the PolyLogarithm Function...which seems to suggest that perhaps it can be integrated by writing tanx in terms of complex exponentials and using a complex analysis method such as method of residues. Although I haven't tried it yet myself, it seems like a reasonable approach given the form of the solution.

Thank you. This seems more probable. Is there anyway you can show me how to actually integrate this function or suggest any sites that would show how to evaluate these type of integrals.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K