Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Integrating DiracDelta' topicStudent Support Forum > General > Archives > "Integrating DiracDelta"

Next Comment >Help | Reply To Topic
Author Comment/Response
04/22/13 10:14pm

Hi, I've got a question about how Mathematica handles integration of a shifted delta function. For a delta function shifted by a numerical fraction like:

Integrate[DiracDelta[x - 1/2], x]

Mathematica outputs

-1 + HeavisideTheta[-1 + 2 x]

I'm wondering why it taks on the extra -1. Although I understand there should always be an implicit constant of integration anyway, it doesn't make sense to me why mathematica just puts a -1 in the case of shifts by numerical fractions and not in other cases, like:

Integrate[DiracDelta[x - 2], x]
(which gives)
HeavisideTheta[-2 + x]

Or even algebraic fractions:

Integrate[DiracDelta[x - y/2], x]
(which gives)
HeavisideTheta[2 x - y]

Thanks for any ideas or help you can provide!

URL: ,

Subject (listing for 'Integrating DiracDelta')
Author Date Posted
Integrating DiracDelta Kameron 04/22/13 10:14pm
Re: Integrating DiracDelta jf 04/23/13 11:09am
Next Comment >Help | Reply To Topic