Is it true that: $$ f_n(x_1,\ldots,x_n)=\frac{x_1-x_2}{x_n+x_1} + \frac{x_2-x_3}{x_1+x_2}+\cdots+ \frac{x_n-x_1}{x_{n-1} +x_n}\le 0 $$ for $x_1,\ldots,x_n>0$, such that $x_1+\cdots+x_n=1$?
It is a cyclic inequality that I came up with while proving similar ones, although it may well be already solved/proposed somewhere else. Equality is attained at $x_1=\cdots=x_n=1/n$.
The first approach I’ve tried is to represent the inequality equivalently as $$ n\le \frac{x_1 +x_3}{x_1+x_2} + \frac{x_2+x_4}{x_2+x_3}+\cdots+\frac{x_n+x_2}{x_n+x_1}, $$ which is trivially true for $n=3$ by AM-GM, but not so for $n>3$, since the terms don’t cancel.
I’ve also tried the following approach: let $x_1$ be the largest wlog, then we can examine the function $$ g(t)=f_n(x_1-t, x_2 +t,\ldots,x_n) = \frac{x_1-x_2-2t}{x_n+x_1-t} + \frac{x_2+t-x_3}{x_1+x_2}+ \frac{x_3-x_4}{x_2+t+x_3} +\cdots+ \frac{x_n-x_1+t}{x_{n-1} +x_n} $$ and see if it is increasing for small enough $t$. Then we can proceed by generating sequences that approach the average while increasing the value of $f$. For example $$ g(t)-g(0)=\frac{t}{x_1+x_2}+\frac{t}{x_n+x_{n-1}}-t\frac{x_1+x_2+2x_n}{(x_1+x_n-t)(x_1+x_n)}-t\frac{x_3-x_4}{(x_2+x_3+t)(x_2+x_3)}, $$ but not sure if this is nonnegative.
EDIT: I've made some progress towards the $n=5$ case.
Let us assume wlog that $x_1$ is the largest throughout the proof. We also know that the $n=4$ case is true (see comments). Thus $$ f_5(x_1,\ldots,x_5)=f_4(x_2,\ldots,x_5)+\frac{x_2-x_1}{x_4+x_5}+\frac{x_1-x_2}{x_5+x_1}+\frac{x_2-x_3}{x_1+x_2}-\frac{x_2-x_3}{x_5+x_1}\leq\\\leq \frac{x_2-x_1}{x_4+x_5}+\frac{x_1-x_2}{x_5+x_1}+\frac{x_2-x_3}{x_1+x_2}-\frac{x_2-x_3}{x_5+x_1}=\\=\frac{(x_1-x_2)(x_4-x_1)}{(x_1+x_5)(x_4+x_5)}+\frac{(x_2-x_3)(x_5-x_1)}{(x_1+x_2)(x_2+x_5)}.\tag{1}\label{ineq:1} $$ By successively cyclically permuting the sequence we also derive the inequalities: \begin{align} f_5(x_1,\ldots,x_5) &\leq \frac{(x_2-x_3)(x_5-x_2)}{(x_2+x_1)(x_5+x_1)}+\frac{(x_3-x_4)(x_1-x_2)}{(x_2+x_3)(x_3+x_1)}\label{ineq:2}\tag{2}, \\ f_5(x_1,\ldots,x_5) &\leq \frac{(x_3-x_4)(x_1-x_3)}{(x_3+x_2)(x_1+x_2)}+\frac{(x_4-x_5)(x_2-x_3)}{(x_3+x_4)(x_4+x_2)}\label{ineq:3}\tag{3}, \\ f_5(x_1,\ldots,x_5) &\leq \frac{(x_4-x_5)(x_2-x_4)}{(x_4+x_3)(x_2+x_3)}+\frac{(x_5-x_1)(x_3-x_4)}{(x_4+x_5)(x_5+x_3)}\label{ineq:4}\tag{4}, \\ f_5(x_1,\ldots,x_5) &\leq \frac{(x_5-x_1)(x_3-x_5)}{(x_5+x_4)(x_3+x_4)}+\frac{(x_1-x_2)(x_4-x_5)}{(x_5+x_1)(x_1+x_4)}\label{ineq:5}\tag{5}. \end{align}
Now we consider several cases.
Case 1: If $x_2\geq x_3$ then $\eqref{ineq:1}$ is $\leq 0$.
Case 3: If $x_2 < x_3 \leq x_4 \leq x_5$ then $\eqref{ineq:2}$ is $\leq 0$.
Case 2: If $x_2 < x_3 \leq x_4$ and $x_4 > x_5$ then $\eqref{ineq:3}$ is $\leq 0$.
Case 4: If $x_2 < x_3$, $x_3 > x_4, x_4 \leq x_5$ and $x_3 \geq x_5$ then $\eqref{ineq:5}$ is $\leq 0$.
Case 5: If $x_2 < x_3$, $x_3 > x_4, x_4 \leq x_5$ and $x_2 \geq x_4$ then $\eqref{ineq:4}$ is $\leq 0$.
Case 6: If $x_2 < x_3$, $x_3 > x_4, x_4 > x_5$ and $x_2 \leq x_4$ then $\eqref{ineq:4}$ is $\leq 0$.
There are two more cases to consider.
Case 7: If $x_3>x_2>x_4 > x_5$ then it seems to be the case that $$ f_5(x_1,\ldots,x_5) \leq f_5(x_1,x_2,x_4,x_3,x_5). $$ via simulation. If proven true, then we just need to apply case 1 to it and we're done.
Case 8: Since case 4 and 5 are true independently, we need consider only $x_5>x_3>x_4>x_2$ as a subcase. However I haven't the slightest clue how to approach this.
EDIT 2 According to WolframAlpha, it seems that the individual fractions are concave functions of $\mathbf{x}=(x_1,\ldots,x_n)$. Does that mean that $f$ is also concave, therefore we can bound by $$ f_n(\mathbf{x}) \leq f_n(\mathbf{1}/n) + \nabla f_n(\mathbf{1}/n)^T(\mathbf{x} - \mathbf{1}/n) = 0? $$
Just some remark :
We have the following theorem :
Define :
$$f\left(x\right)=\frac{x+b}{x+c},g\left(x\right)=f\left(1-x\right)+f\left(x\right)-f\left(1-x\right)f\left(x\right)$$
Let $b,c\in(0,1),x\in(0,1)$ such that then we have :
$$g''(x)\leq 0,g(x)-g(0)\geq 0$$
Now if :
$$h\left(x\right)=f\left(1-x\right)f\left(x\right)$$
Then for $b\leq c$ we have :
$$h(x)\geq h(0),f(1-x)$$
And if $c\leq b$ we have :
$$h\left(x\right)-h\left(\frac{1}{2}\right)\geq 0$$
On the other hand we can squeeze $f(1-x)$ as we have for $c\in(0,1),b\in[0,0.2],x\in[0,1/2]$ then :
$$t\left(x\right)=\frac{\left(1-x^{2}+b\right)}{1-x^{2}+c}-\frac{5}{3}\left(x^{2}+b+c\right),\frac{\left(t\left(0\right)-t\left(\frac{1}{\sqrt{2}}\right)\right)}{0-\frac{1}{\sqrt{2}}}\sqrt{x}+t\left(0\right)\leq t\left(\sqrt{x}\right)$$
A totally different way using integral :
Consider the integral :
$$f\left(x\right)=\frac{x+b}{x+c},\int_{0}^{x}f\left(t\right)dt=h(x)-h(0),h(x)=\left(b-c\right)\ln\left(c+x\right)+x$$
Then plugging $x_i-x_{i+1}=a_ia_j$ so the sum is zero we can use A conditional negative definite quadratic form involving $\ln$ function
We start in setting $x=1$ so we have :
$$\int_{0}^{1}f\left(t\right)dt=\left(b-c\right)\ln\left(c+1\right)+1-\left(b-c\right)\ln\left(c\right)$$
using the link above in the case $n=9$ we have that the sum of difference of log is positive so we have :
$$\sum_{cyc}^{}\int_{0}^{1}f\left(t\right)dt\geq n$$
then integrating with the tangent lemma and if the sum to show is convex and the function to integrate is finite for all $x\in(\varepsilon,1]$ then we can conclude as OP did.
We have someting like :
$$g\left(x\right)=\frac{x+b}{x+c}+\frac{\left(x+a\right)}{x+d}+...+\frac{x+u}{x+v}$$
Then for $t,x\in[0,1]$ :
$$\int_{0}^{t}\left(\frac{x+b}{x+c}+\frac{\left(x+a\right)}{x+d}+...+\frac{x+u}{x+v}\right)dx-g\left(x\right)\left(t-x\right)-\int_{0}^{x}\left(\frac{y+b}{y+c}+\frac{\left(y+a\right)}{y+d}+...+\frac{y+u}{y+v}\right)dy\leq 0$$