Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Divergent Integral and Mathematica

  1. Jul 3, 2008 #1

    I am trying to calculate a double integral, in Mathematica it could be denoted


    That is,

    [tex]\int[/tex][tex]\int[/tex][tex]\frac{xy}{(xy-m^{2}/s^{2})}[/tex]dydx with boundaries y=0,y=1-x and x=0,x=1. m and s are constants, of course.

    Now, I get some fairly crazy-looking and unhelpful results for the y-integral from Mathematica but I simply used a table of integrals and plugging in obtained


    Now of course when I integrate this from x=0 to x=1 then I have a problem as x goes to 0. Someone suggested using interpolation somehow but I know very little about that and don't see if this is where to apply it. I don't think the integral should be infinite - perhaps the y-integral was wrong?

    Any help would be much appreciated!
  2. jcsd
  3. Jul 3, 2008 #2
    I should have had a denominator of m^2/s^2 in the log there, or subtracted a log|^2/s^2|.

    Anyway, that is not the problem...
    Last edited: Jul 3, 2008
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Divergent Integral Mathematica Date
Mathematica Cannot do the integral of the Hyper-geometric function? Mar 11, 2018
Matlab Easier way to integrate? Feb 28, 2018
Mathematica Chi square minimisation wrt variables in an integral? Nov 15, 2017
Converting Simulink model to C code, integration Nov 5, 2017
Vector Divergence in Mathematica May 16, 2012