MathGroup Archive 2006

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

Search the Archive

Re: Simplify UnitStep expressions


Seriously, I think
  Simplify[UnitStep[a - Pi/b] , a - Pi/b > 0]
gives
  UnitStep[a - Pi/b]
as a result, because it does not know yet whether b can be zero or not.
One might argue, that a - Pi/b > 0 already implies nonzero b, but Mathematica
simply does not know this. So the answer seems to be correct for me.
This is somewhat supported by the fact that if I add the nonzero b
statement to the assumptions:
   Simplify[UnitStep[a - Pi/b], {b \[NotEqual] 0, a - Pi/b > 0}]
I get the anticipated answer:
   1


  • Prev by Date: Re: repost -Difficulties with xml
  • Next by Date: solve the following problem
  • Previous by thread: Re: Simplify UnitStep expressions
  • Next by thread: Re: Re: Simplify UnitStep expressions