Question
If I can assign the series of the zeta function to: $$ \zeta(-1) \to 1+2+3+\dots$$ why can't we assign the integral $$ \int_{0}^{\infty} x dx \to 0$$ and it still have some physical significance?
Background
We know the zeta function at $1$ has a series representation (which is useful to physicists):
$$ \zeta(-1)=1 + 2 + 3 + \dots = \frac{-1}{12}$$
Multiplying both sided by $h^2$
$$ (h + 2h + 3h + \dots)h = \frac{-h^2}{12}$$
Taking limits both sides of $h \to 0$ and using the representation of an integral as a Riemann sum:
$$ \int_{0}^{\infty} x dx = 0 $$
P.S: I do not advocate or endorse $\int_{0}^{\infty} x dx = 0 $ ... Also I have asked a question like this before but was over-zealous with it and deleted it. Hopefully this a better asked version
Divergent summations arise in physics is when making shortcuts using formal manipulations when they are not not allowed. One can then recover finite and correct results using formal manipulations that are not valid either in that particular case, but this has the effect of correcting the initial problem leading to the divergence. It is easy to find simple examples involving diverging integrals. Suppose we need to evaluate:
$$\int_0^{\infty}\left(\frac{\sqrt{x}}{1+x} - \frac{1}{\sqrt{x}}\right)dx$$
This integral converges, but you can evaluate it using the divergent integral evaluations of:
$$\int_0^{\infty}\frac{\sqrt{x}}{1+x}dx = -\pi$$
and
$$\int_0^{\infty}\frac{1}{\sqrt{x}}dx = 0$$
This follows from:
$$\int_0^{\infty}\frac{x^{-p}}{1+x}dx = \frac{\pi}{\sin(\pi p)}$$
and
$$\int_0^1 x^{s}dx + \int_1^\infty x^{t}dx = \frac{1}{1+s} - \frac{1}{1+t}$$
whenever they converge, and you can then analytically continue the integrals when they don't converge. The analytic continuation makes the evaluation of the original converging integral using the divergent integrals rigorously valid, as you can put the parameters $p$, $s$, and $t$ in the original integral and argue that the result is an analytic function of these parameters.