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 smc.vnet.net
  • Subject: [mg128346] Re: Integrating DiracDelta in Mathematica: how to suppress
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Tue, 9 Oct 2012 00:35:47 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

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}]

1

Have fun, Alexei

Alexei BOULBITCH, Dr., habil.
IEE S.A.
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 iee.lu







  • 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].