MathGroup Archive 2004

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

Search the Archive

Re: UnitStep

  • To: mathgroup at
  • Subject: [mg52362] Re: UnitStep
  • From: Bill Rowe <readnewsciv at>
  • Date: Wed, 24 Nov 2004 02:32:37 -0500 (EST)
  • Sender: owner-wri-mathgroup at

On 11/23/04 at 2:12 AM, jerry.blimbaum at (Blimbaum, Jerry AA
R22) wrote:

>Why does the following give me 'indeterminate, infinite expression
>encountered', etc. instead of  zero....

>(1/p) UnitStep[p-1] /.p->0

Mathematica replaces p with 0 everywhere then evaluates the resulting expression. Since UnitStep[p-1]/.p->0 is 0, the result is 0/0 which is indeterminate.

You can verify this is what is happening by doing

Trace[1/p UnitStep[p-1]/.p->0]
To reply via email subtract one hundred and four

  • Prev by Date: Integral: Exp[-(x-m)^2/(2 s^2)] x^3 (1+x^2)^-1
  • Next by Date: Re: plot Point with several shapes ?
  • Previous by thread: Re: UnitStep
  • Next by thread: Re: UnitStep