MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

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.


  • Prev by Date: Random Edge Rewiring (Combinatorica)
  • Next by Date: Q: Solve gives complex solution where there is a noncomplex solution how to get the last one?
  • Previous by thread: Random Edge Rewiring (Combinatorica)
  • Next by thread: Re: Integrate UnitStep, Bug?