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

[Mathematica] Bug in Integrate with derivatives of a delta function

Tags:
  1. Jul 17, 2014 #1

    Hepth

    User Avatar
    Gold Member

    Code (Text):

    Integrate[f[qs] DiracDelta'[qs (1 - 1/x)], {qs, -\[Infinity], \[Infinity]},
     Assumptions -> 0 < x < 1]
    Integrate[f[qs] DiracDelta'[qs - qs/x], {qs, -\[Infinity], \[Infinity]},
     Assumptions -> 0 < x < 1]
     
    This is on Mathematica 8 for windows.
    The results differ by a sign. They are effective the exact same thing, but due to how I write the insides of the dirac delta I get a different result.

    Can anyone replicate this?
     
    Last edited: Jul 17, 2014
  2. jcsd
  3. Jul 17, 2014 #2

    Hepth

    User Avatar
    Gold Member

    I notice it is only for the first negative power of x. If you put

    [qs (1 - 1/x^(1.))]

    [qs - qs/x^(1.)]

    it works?
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: [Mathematica] Bug in Integrate with derivatives of a delta function
  1. Mathematica bug? (Replies: 5)

  2. Bug with mathematica (Replies: 1)

Loading...