Explain how to compute this integral?

  • Thread starter Thread starter lucidicblur
  • Start date Start date
  • Tags Tags
    Explain Integral
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. \int 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. \int 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)|-\intln|sin(x)|dx

using parts again, with u(x)=ln|sin(x)|, i get xln|sin(x)|-xln|sin(x)|-\intx/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)|-\intln|sin(x)|dx

using parts again, with u(x)=ln|sin(x)|, i get xln|sin(x)|-xln|sin(x)|-\intx/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 L_i(z) 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 L_i(z) 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.
 
Back
Top