1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Problem with integration.

  1. Jul 21, 2008 #1
    Hi, already tried few routines from GSL and it seems it doesn't work.

    Function: 1/(x^2 - alpha^2)

    Can anyone tell how to calculate that numerically.
    Tried to do it by "hand" as well but no good results.

  2. jcsd
  3. Jul 21, 2008 #2


    User Avatar
    Homework Helper

    You don't need a numerical solution for this. I assume alpha is just an arbitrary constant. Note that the denominator can be written as a product of 2 functions.
  4. Jul 21, 2008 #3
    Thanks for respond.

    Actually the problem is bit more complicated. Integral is (-inf, inf) and whole function is equal to:

    f(y,z) = int_(-inf,inf) dx [2y/(x^2-y^2) ] * [ 1/(exp{x-z} +1)]

    What do u think about that.
  5. Jul 21, 2008 #4


    User Avatar
    Homework Helper

    You mean this:
    [tex]f(x,y,z) = \int^{\infty}_{-\infty} \left( \frac{2y}{x^2-y^2} \right) \frac{dx}{e^{x-z}+1}[/tex]
  6. Jul 21, 2008 #5
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Problem with integration.
  1. Integration problem (Replies: 4)

  2. Integral Problem (Replies: 31)

  3. Integration problem (Replies: 9)

  4. Integration Problem (Replies: 7)