If I consider the Cauchy principal value integral of the function $x\cot(\pi x)$ can I expect convergence? For example, ordinarily the following integrals,
$$\int_0^1x\cot(\pi x)dx,$$
or
$$\int_0^{1.5}x\cot(\pi x)dx,$$
do not converge. However,
$$p.v.\int_0^{1.5}x\cot(\pi x)dx=\lim_{\varepsilon\to0^+}\left(\int_0^{1-\varepsilon}x\cot(\pi x)dx+\int_{1+\varepsilon}^{1.5}x\cot(\pi x)dx\right)\approx 0.33,$$ which I evaluated using Mathematica. I've done a bit of experimenting with Mathematica about the point $x=1$, and I get that
Integrate[x Cot[Pi x], {x, 0, 1}, PrincipalValue -> True]
evaluates to $-\infty$.
Can I not make the p.v. work like follows, $$p.v.\int_0^1x\cot(\pi x)dx=\lim_{\varepsilon\to0^+}\left(\int_0^{1-\varepsilon}x\cot(\pi x)dx+\int_{1}^{1+\varepsilon}x\cot(\pi x)dx\right),$$
or is there another way to achieve what I want? Or maybe Mathematica is right, and this definite integral does not exist?
Somehow I think it should converge because $\varepsilon>0$. So any negative massive contribution from the left would be cancelled by a positive contribution of the same (same ?) magnitude from the right? Hence, it would not diverge, but converge.
Update 1
I decided to expand $x\cot(\pi x)$ about the point $x=1$, which gave the Laurent series
$$L(x)=\frac{1}{\pi (x-1)}+\frac{1}{\pi }-\frac{1}{3} \pi (x-1)+O((x-1)^2).$$
The function $L$ seems to behave about the point $x=1$ given the context I present. For example,
$$\lim_{\varepsilon\to 0^+}L(1-\varepsilon)+L(1+\varepsilon)=\lim_{\varepsilon\to0^+}\frac{1}{-\pi\varepsilon}+\frac{1}{\pi\varepsilon}+\frac{2}{\pi}=\frac{2}{\pi}.$$
Update 2
I think the problem with update 2 in relation to my question is that I want to perform $\int_0^1$, not $\int_{-a}^a$. So I'm along the lines of thinking the $p.v.$ of my integrand does not converge over $[0,1]$...