Integrate[DiracDelta[a + k] DiracDelta[-b + k], {k, -\[Infinity], \[Infinity]}]
 (*DiracDelta[a + b]*)

This works fine.


 Integrate[k DiracDelta[a + k] DiracDelta[-b + k], {k, -\[Infinity], \[Infinity]}]

does not give the expected b DiracDelta[a + b].

Why not? How can it be fixed?

  • 1
    $\begingroup$ @NasserM.Abbasi The two answers are completely equivalent. $\endgroup$
    – Jens
    Dec 11, 2012 at 0:16
  • $\begingroup$ Looking at the possible issues in the DiracDelta documentation, there doesn't seem to be a definitive reason for this behavior. But at least a further integration will work correctly: Assuming[a\[Element]Reals,Integrate[k DiracDelta[a+k] DiracDelta[-b+k],{k,-\[Infinity],\[Infinity]},{b,-\[Infinity],\[Infinity]}]] yields -a. $\endgroup$
    – Jens
    Dec 11, 2012 at 0:25

1 Answer 1


It seems similar to this and you can use the workaround :

Integrate[k f[a + k] DiracDelta[-b + k], {k, -\[Infinity], \[Infinity]},      
    Assumptions -> {{a, b} \[Element] Reals}] /. f -> DiracDelta

(* b DiracDelta[a + b] *)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.