Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #11991
| From | "Nasser M. Abbasi" <nma@12000.org> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression |
| Date | 2012-10-08 06:50 +0000 |
| Message-ID | <k4tt45$sct$1@smc.vnet.net> (permalink) |
| References | <k4r46n$nnt$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web