MathGroup Archive 2001

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

Search the Archive

Re: a couple of gripes


Joshua,

Re the first example: we do have

Integrate[f[x]*DiracDelta[x-y],{x,-Infinity,Infinity}]

        f[y]

Re the second example:  problems are likely if the formal variable  x is
also used for the mean.
A normal distribution with zero standard deviation zero seems also to be
related to DiracDelta function.


Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565

"Joshua A. Solomon" <J.A.Solomon at city.ac.uk> wrote in message
news:9i6aan$okh$1 at smc.vnet.net...
> When I evaluate
> Integrate[f[x]*If[x==y,1,0],{x,-Infinity,Infinity}]
> I don't get
> f[y].
>
> When I evaluate
> PDF[NormalDistribution[x,0],x]
> I don't get
> 1.
>
> js
> --
> Joshua A. Solomon
> Department of Optometry and Visual Science
> City University
> London EC1V 0HB
> Voice: (44) 20 7040 0192
> Secretary/Fax: (44) 20 7040 0182
> J.A.Solomon at city.ac.uk
> http://www.staff.city.ac.uk/~solomon
>
>




  • Prev by Date: Re: a couple of gripes
  • Next by Date: Re: a couple of gripes
  • Previous by thread: Re: a couple of gripes
  • Next by thread: Re: a couple of gripes