MathGroup Archive 1998

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

Search the Archive

Re: Bug in Calculus`DiracDelta`

  • To: mathgroup at
  • Subject: [mg14803] Re: Bug in Calculus`DiracDelta`
  • From: "M. Rommel" <rommel at>
  • Date: Wed, 18 Nov 1998 01:29:04 -0500
  • Organization: UltraNet Communications , an RCN Company
  • References: <72je71$>
  • Sender: owner-wri-mathgroup at

Well, I looked at the package Calculus`DiracDelta`. It looks like to
evaluate if the argument of DiracDelta has a zero Solve is used. In my
case that is

In[3]:=     Solve[Cos[phi]==0,x]

Solve::"ifun": "Inverse functions are being used by Solve, so some
solutions may not be found."

Out[3]=   {{phi ->-Pi/2}, {phi->Pi/2}}

There lies the problem, the solution {phi->3 Pi/2} is not considered. So
multivalued functions remain a potential pitfall, even if you limit
yourself (or Mathematica) to a safe interval. Unfortunately using
DiracDelta I do not get the warning!

If I had a too much time I would like to extend the DiracDelta
definition so that for the case of definite integrals the argument is
checked for zeroes in the relevant interval and not "just somewhere".

Of course, my original problem was not as trivial as the posted
One more proof that you still have to know what you are doing and use
Mathematica only for checking your analytical results.

Thanks for your attention,


  • Prev by Date: Modifying the Mathematica menus
  • Next by Date: Re: Mathematica vs MacOS 8.5
  • Previous by thread: Re: Bug in Calculus`DiracDelta`
  • Next by thread: Re: Bug in Calculus`DiracDelta`