So I just saw this question on brilliant.org and found that many people argued over whether this could be evaluated. My answer was 0 because it is an odd function, but others argued that because of the vertical asymptote it can't properly be evaluated.
I understand the general concept of there being 'different' infinities because functions have different rates of change. However, I find this one especially baffling because this function fits the criteria $$1)\frac{d^{2n-1}}{dx^{2n-1}}f(x)=\frac{d^{2n-1}}{dx^{2n-1}}f(-x)$$ $$2)\frac{d^{2n}}{dx^{2n}}-f(x)=\frac{d^{2n}}{dx^{2n}}f(-x)$$ $$3) -f(x)=f(-x)$$
I know that all odd functions fit this criteria, but I'm writing this explicitly because this means that they shouldn't be different infinities at all; they start at opposite points, and go at the same rates at all times.
If this integral were expressed as a series representing $\int_{-1}^0{\frac{dx}{x}}$ and $\int_{0}^1{\frac{dx}{x}}$, there would always be a pair of points that cancel out, despite both integrals approaching infinity as they get closer to 0.
This makes it even more baffling, because I remember the sum of all whole numbers being -1/12 - the derivation of which required the canceling of many pairs of numbers representing the series.
My question is: How can we justify that $\int_{-1}^1{\frac{dx}{x}}$ is not integrable because of the vertical asymptote if the infinities we're dealing with are the 'same infinities' although with opposite signs?
What you say to this depends a bit on your definition. One way to deal with integrals where you integrate over a point not in the domain, is to split the integral up into two integrals. This is the definition/approach taken in for example Stewart's calculus book. So $$ \int_{-1}^1 \frac{1}{x}\;dx = \int_{-1}^0 \frac{1}{x}\; dx + \int_0^{1}\frac{1}{x}\; dx. $$ We say that the integral exists if both of these exits. But $$ \int_0^1\frac{1}{x}\;dx = \lim_{t\to 0^+} \int_t^1\frac{1}{x}\;dx $$ does not. So $$ \int_{-1}^1\frac{1}{x}\; dx $$ does not exist. And this is the common way to consider the integral.
There is a way to assign a value to the integral. For more about that, see this Wikipedia article: https://en.wikipedia.org/wiki/Cauchy_principal_value.