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

Click For Summary
SUMMARY

The forum discussion addresses a bug in Mathematica 8 for Windows related to the integration of expressions involving the derivative of the Dirac delta function. Specifically, the integrals Integrate[f[qs] DiracDelta'[qs (1 - 1/x)], {qs, -\[Infinity], \[Infinity]}, Assumptions -> 0 < x < 1] and Integrate[f[qs] DiracDelta'[qs - qs/x], {qs, -\[Infinity], \[Infinity]}, Assumptions -> 0 < x < 1] yield results that differ by a sign, despite being mathematically equivalent. The issue appears to be linked to the representation of the Dirac delta function's argument, particularly when involving the first negative power of x.

PREREQUISITES
  • Understanding of Dirac delta functions in mathematical analysis
  • Familiarity with integration techniques in Mathematica
  • Knowledge of assumptions and conditions in symbolic computation
  • Experience with Mathematica 8 for Windows
NEXT STEPS
  • Investigate the behavior of Dirac delta functions in Mathematica
  • Learn about handling assumptions in Mathematica integrals
  • Explore the differences in symbolic computation between various versions of Mathematica
  • Examine the implications of negative powers in mathematical expressions
USEFUL FOR

Mathematicians, physicists, and engineers using Mathematica for symbolic integration, particularly those working with distributions and delta functions.

Hepth
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?
 

Similar threads

Replies
8
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
Replies
5
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K