I had this on an exam yesterday, and I'm not entirely convinced that the statement is true. We were asked to show that the function $\delta (x) = \int_{-∞}^{∞} \frac{1}{t(t-x)} dt$ is a dirac delta function by demonstrating that $I=\int_{-∞}^{∞} f(x)\delta(x) dx$ holds all the necessary properties.
There are three things I believe should be shown: 1) The function should be infinite at a single point. (this function is infinite at $t=x$) 2) It should be zero everywhere else 3) It should satisfy $\int_{-∞}^{∞} f(x)\delta(x) dx=f(0)$.
I showed 2 is true by demonstrating that the Cauchy Principal Value is zero for that integral which means that it's zero everywhere save that one point we avoid.... but I don't see how 3 holds in general. I see that it holds for some functions, like $f(x)=x$, but what about $f(x)=1$, for example. Anyway, is this a delta function or not.... if so, why?
This is a charming example! To be able to really prove something, it is best to be more circumspect about what the "function" given by the integral "is", since, as noted in comments, it's not a function in a classical (=late 19th century post-Cauchy-Weierstrass) sense, although it is of course very productive to think of it as a generalized (=post-L.Schwartz) function. There are choices. As in the first comment by the OP, we could take $\delta_\epsilon(x)=\int_{-\infty}^\infty {dt\over (t+i\epsilon)(t+i\epsilon +x)}$, and say that the integral with $\epsilon=0$ is _some_kind_of_ limit as $\epsilon\rightarrow 0^+$. In particular, it is a weak limit, meaning that we only require that limits $\lim_{\epsilon\rightarrow 0^+}\int_{-\infty}^\infty f(x)\,\delta_{\epsilon}(x)\,dx\;$ exist for nice-enough functions $f$.
Indeed, for $f(0)=0\;$, this limit certainly exists and is $0$. Assuming that the limit exists in general, this already proves that the limit must be a scalar multiple of $\delta$.
To determine the scalar, and/or to see that the limit exists for all Schwartz functions (for example), the usual trick is to take a specific, convenient $f_o$ with $f_o(0)=1$, and first note that for general $f$ we have $\delta_\epsilon(f)=\delta_\epsilon(f-f(0)\cdot f_o)+f(0)\cdot \delta_\epsilon(f_o)\;$. Thus, it suffices to evaluate $\delta_\epsilon(f_o)$ explicitly. Taking $f_o(x)=e^{-x^2}$ succeeds here...