Wolfram takes classical derivatives where they exist (and only those). The heaviside function is not differentiable at zero in the classical sense, so Wolfram doesn't bother taking the derivative there. What you are taking is a weak derivative, and I don't think Wolfram is capable of doing those.
–
Chris JanjigianOct 25 '12 at 1:25