Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

Re: Dirac Delta Function

  • To: mathgroup at
  • Subject: [mg4110] Re: Dirac Delta Function
  • From: ianc (Ian Collier)
  • Date: Wed, 5 Jun 1996 01:36:56 -0400
  • Organization: Wolfram Research, Inc.
  • Sender: owner-wri-mathgroup at

In article <4ojdr2$5i8 at>,
jslater at (Joseph C. Slater) wrote:

> Is there a way to incorporate the Dirca Delta function into Mathematica? 
> I'd like to have a function like f=Dirac[t]+Dirac[t-1]
> such that 
> Integrate[t f,{t,-1,2}]
> Yields 1.
> JS
> -- 

DiracDelta, which is defined in Calculus`DiracDelta` one of
the standard packages distributed with every copy of Mathematica,
does exactly what you want. Here is an example:

    Needs[ "Calculus`DiracDelta`" ]

    DiracDelta[-1 + t] + DiracDelta[t]

    Integrate[t f,{t,-1,2}]

Calculus`DiracDelta` is documented on pages 18-21 of "The Guide to 
Standard Mathematica Packages" Technical Report.

I hope this helps.


Ian Collier
Wolfram Research, Inc.
tel:(217) 398-0700   fax:(217) 398-0747    ianc at
Wolfram Research Home Page:


  • Prev by Date: Re: Please Help
  • Next by Date: Re: Error Tracing - NDSolve
  • Previous by thread: Re: Please Help
  • Next by thread: Re: Dirac Delta Function