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


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

Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression

Started byYaj <ybhattacharya@gmail.com>
First post2012-10-07 05:33 +0000
Last post2012-10-08 06:51 +0000
Articles 3 — 3 participants

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


Contents

  Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression Yaj <ybhattacharya@gmail.com> - 2012-10-07 05:33 +0000
    Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression "Nasser M. Abbasi" <nma@12000.org> - 2012-10-08 06:50 +0000
    Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression Helen Read <readhpr@gmail.com> - 2012-10-08 06:51 +0000

#11983 — Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression

FromYaj <ybhattacharya@gmail.com>
Date2012-10-07 05:33 +0000
SubjectIntegrating DiracDelta in Mathematica: how to suppress ConditionalExpression
Message-ID<k4r46n$nnt$1@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]

[toc] | [next] | [standalone]


#11991

From"Nasser M. Abbasi" <nma@12000.org>
Date2012-10-08 06:50 +0000
Message-ID<k4tt45$sct$1@smc.vnet.net>
In reply to#11983
On 10/7/2012 12:33 AM, Yaj 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]
>


In[253]:= Assuming[Element[q2,Reals],Integrate[DiracDelta[p-q2],{p,-Infinity,Infinity}]]
Out[253]= 1

--Nasser

[toc] | [prev] | [next] | [standalone]


#11998

FromHelen Read <readhpr@gmail.com>
Date2012-10-08 06:51 +0000
Message-ID<k4tt6c$sep$1@smc.vnet.net>
In reply to#11983
Integrate[DiracDelta[p - q2], {p, -Infinity, Infinity},
  Assumptions -> {q2 \[Element] Reals}]

Helen Read
University of Vermont


On 10/7/2012 1:33 AM, Yaj 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] | [prev] | [standalone]


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


csiph-web