Wikipedia states that
$$\operatorname{Li}_2\left(z\right)+\operatorname{Li}_2\left(\frac{1}{z}\right)=-\frac{\pi ^2}{6}-\frac{1}{2}\left[\ln\left(-z\right)\right]^2 \\z\notin \left[0;1\right[$$
I tried to verify this identity by plotting it on matlab. Source code:
syms x;
m=polylog(2,x)+polylog(2,1/x)+pi^2/6+1/2*(log(-x)^2);
ezplot(m, [0,10]);
Main problem, and you can test it yourself, the plot is not as i expected it to be. Which, to me, can lead to three conclusions:
- I'm wrong. There's something i'm missing.
- Matlab's polylog is not precise enough (i've actually experienced the opposite in previous works on polylog so this should not be the case)
- The identity is not true.