Abstract:
Proof:
** Edit: 1 **
I'm not quite sure if the strict requirement $\operatorname{Re}(x')>0$ is really necessary for the transformation to hold or if the weaker requirement $x'\neq0,-1,-2,-3,...$ is sufficient. The term $\psi^{(1)}(1-2n)-\psi^{(1)}((1-n)$ is nevertheless divergent at least for $n\in\mathbb{N}>0$. This means the result is indeed wrong.
** Edit 2 **
In this edit I will elaborate on the limiting procedure. I will suggest a limiting procedure different from the limiting procedure Limit[PolyGamma[1,1-2n] - PolyGamma[1,1-n], n -> 10]
in the OP. The limit considered here, namely Limit[PolyGamma[1,1-z] - PolyGamma[1,1-z+n], z ->2n]
with n=10
, yields the same result as Sum[ 1/(i + (n - i) x)^2, {i, 1, n}]
with n=10
and x=2
. Furthermore, I will also explain why I deem the limiting procedure suggested in OP as unnatural.
Limit
I assume that mathematica analyzes the expression inside the sum, possibly by pattern matching, and then applies some generic transformation. The sum can also be written as
$$ \tag{1}\label{sum-equation}
\sum_{j=1}^{n}\frac{1}{(i+(n-i)x)^2}=\sum_{j=1}^{n}\frac{1}{(ia+z)^2}
$$
with $a=1-x$ and $z=nx$.By evaluating the right hand side Sum[1/(j*a + z)^2, {j,1,n}]
, we obtain
$$\tag{2}\label{sum-polygamma-relation}
\sum_{j=1}^{n}\frac{1}{ia+z}=\frac{1}{a^2}\left(\psi^{(1)}(1+z/a)-\psi^{(1)}(1+z/a+n)\right)
$$
I will now take the right hand side and treat $z$ as the idependent variable rather than $n$. The left hand side has poles at $z=-\frac{1}{a},-\frac{2}{a},...,-\frac{n}{a}$. The right hand side has those poles as well, but additionally it has points where it is not defined. Those points are at $z=-\frac{j}{n}$ with $j\in\mathbb{N}>n$. Now if we want to visualize that we pick x=2
and n=10
this gives us a=-1
and z=-20
. We can now plot either the righthandside
or lefthandside
lefthandside = Sum[1/(-i + z)^2, {i, 1, n}];
righthandside = PolyGamma[1, 1 - z] - PolyGamma[1, 1 - z + n];
Show[Plot[lefthandside, {z, -22, 15}, PlotRange -> {0, 15}, AspectRatio -> 1], Graphics[{Red, Circle[{-20, 0.0539}, 0.5]}], PlotRangePadding -> {{0, 0}, {1.5, 0}}, AspectRatio -> Automatic]
and arrive at an identical plot for both. The red circle marks left- and right hand sides value at z=-20
which is about 0.0539
. Note that the right hand side of \eqref{sum-polygamma-relation} is not defined at $z=-1,-2,-3,...$. Nevertheless it becomes obvious from the plot that there exists a continuous extension to all of $\mathbb{C}$. This continuous extension is given by the sum. When excluding the singular points left and right hand side agree on all of $\mathbb{C}$.
Conclusion
IMHO considering $n$ as the independent variable in the limiting procedure seems unnatural as non-integer, negativ or complex values for $n$ do not make sense as the upper limit of the sum. Hence it seems more natural to rewrite the sum in terms of polygamma functions as suggested in \eqref{sum-polygamma-relation} and evaluate those in a neighborhood of $z=xn$. For $x\not\in\mathbb{N}$ the polygamma functions given by mathematica agree with the sum. For $x\in\mathbb{N}$ the right hand side of \eqref{sum-polygamma-relation} is ill defined. Contrary to my previous assertion in "edit 1" the polygamma term does not diverge there. It is just not defined. Since the expression given by mathematica is only wrong on a subset of $\mathbb{C}$ one may or may not deem the mathemtica solution as "generically" correct.