Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Integrating DiracDelta in Mathematica: how to suppress

  • To: mathgroup at
  • Subject: [mg128346] Re: Integrating DiracDelta in Mathematica: how to suppress
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • Date: Tue, 9 Oct 2012 00:35:47 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

For the integral shown below, how do I get Mathematica to output only the "correct" answer as 1
(for future steps in the notebook) and i.e. have Mathematica NOT OUTPUT the ConditionalExpresssion
that q2 is real etc?

In[5]:= Integrate[DiracDelta[p - q2], {p, -Infinity, Infinity}]

Out[5]:= ConditionalExpression[1, q2 \[Element] Reals]

Try this:

Integrate[DiracDelta[p - q2], {p, -Infinity, Infinity},
 Assumptions -> {p \[Element] Reals && q2 \[Element] Reals}]


Have fun, Alexei

Alexei BOULBITCH, Dr., habil.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch at

  • Prev by Date: .NET/Link and freeware
  • Next by Date: Re: Clearing all variables and definitions: i.e. "resetting" mathematica
  • Previous by thread: Re: .NET/Link and freeware
  • Next by thread: Suppress Resizing in Manipulate[expr].