Hi,
I'm trying to compute the following integral involving derivatives of Heaviside step function, which on integration by parts gives DiracDelta[0] which is undefined or infinite.
Integrate[f[x]D[D[HeavisideTheta[x],x],x],{x,0,2}]
But Mathematica seems to be making the term containing DiracDelta[0] as zero. I have attached the Mathematica file for a clear understanding of my query. Any help is much appreciated.
Attachments: