Hi,
This won't work, because your definition of the dirac delta "function" is heuristical, and if you "rigorize" it, your equation won't work (if you actually to try to make it rigorous, you'll face another problem, namely that 1/x is not locally integrable, and you'll have to look at what is...