Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression
- To: mathgroup at smc.vnet.net
- Subject: [mg128330] Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression
- From: Yaj <ybhattacharya at gmail.com>
- Date: Sun, 7 Oct 2012 01:32:35 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@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]
- Follow-Ups:
- Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression
- From: Bob Hanlon <hanlonr357@gmail.com>
- Re: Integrating DiracDelta in Mathematica: how to suppress
- From: Alex Krasnov <akrasnov@eecs.berkeley.edu>
- Re: Integrating DiracDelta in Mathematica: how to suppress ConditionalExpression