Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12004 > unrolled thread
| Started by | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| First post | 2012-10-09 04:43 +0000 |
| Last post | 2012-10-09 04:43 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Integrating DiracDelta in Mathematica: how to suppress Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-10-09 04:43 +0000
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Date | 2012-10-09 04:43 +0000 |
| Subject | Re: Integrating DiracDelta in Mathematica: how to suppress |
| Message-ID | <k50a24$3og$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]
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web