Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11996 > unrolled thread

Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression

Started byBob Hanlon <hanlonr357@gmail.com>
First post2012-10-08 06:51 +0000
Last post2012-10-08 06:51 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression Bob Hanlon <hanlonr357@gmail.com> - 2012-10-08 06:51 +0000

#11996 — Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression

FromBob Hanlon <hanlonr357@gmail.com>
Date2012-10-08 06:51 +0000
SubjectRe: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression
Message-ID<k4tt5o$sdu$1@smc.vnet.net>
Assuming[Element[q2, Reals],
 Integrate[DiracDelta[p - q2],
  {p, -Infinity, Infinity}]]

1

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

1

Integrate[DiracDelta[p - q2],
 {p, -Infinity, Infinity},
 GenerateConditions -> False]

1

Simplify[
 Integrate[DiracDelta[p - q2],
  {p, -Infinity, Infinity}],
 Element[q2, Reals]]


1


Bob Hanlon


On Sun, Oct 7, 2012 at 1:32 AM, Yaj <ybhattacharya@gmail.com> wrote:
> 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]
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web