Integrate UnitStep, Bug?
- To: mathgroup at smc.vnet.net
- Subject: [mg50303] Integrate UnitStep, Bug?
- From: jens at fika.de
- Date: Thu, 26 Aug 2004 06:50:47 -0400 (EDT)
- Organization: Delft University of Technology
- Sender: owner-wri-mathgroup at wolfram.com
The following code returns the incorrect result (-a+b) UnitStep[a-b]. It should be Min[a,b]. fr[e_]=UnitStep[-e]; fl[e_]=UnitStep[-(e-b)]; Integrate[fl[e](fr[e-a]-fr[e]),{e,-Infinity,Infinity},Assumptions->{b>0,a>0}] Is this a known bug? Should I avoid using step functions with Integrate? Any comments appreciated.
- Follow-Ups:
- Re: Integrate UnitStep, Bug?
- From: DrBob <drbob@bigfoot.com>
- Re: Integrate UnitStep, Bug?