Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12004
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Integrating DiracDelta in Mathematica: how to suppress |
| Date | 2012-10-09 04:43 +0000 |
| Message-ID | <k50a24$3og$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
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@iee.lu
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Integrating DiracDelta in Mathematica: how to suppress Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-10-09 04:43 +0000
csiph-web