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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Science Advisor
Gold Member
Messages
458
Reaction score
40
Code:
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:
Physics news on Phys.org
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?