Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11999 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2012-10-08 06:52 +0000 |
| Last post | 2012-10-08 06:52 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression Bill Rowe <readnews@sbcglobal.net> - 2012-10-08 06:52 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2012-10-08 06:52 +0000 |
| Subject | Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression |
| Message-ID | <k4tt6n$ser$1@smc.vnet.net> |
On 10/7/12 at 1:32 AM, ybhattacharya@gmail.com (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[1]:= Assuming[q2 \[Element] Reals,
Integrate[DiracDelta[p - q2], {p, -Infinity, Infinity}]]
Out[1]= 1
In[3]:= Integrate[DiracDelta[p - q2], {p, -Infinity, Infinity},
Assumptions -> q2 \[Element] Reals]
Out[3]= 1
In[4]:= Integrate[DiracDelta[p - q2], {p, -Infinity, Infinity},
GenerateConditions -> False]
Out[4]= 1
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web