If $a,b,c\ge 0: ab+bc+ca=abc+2.$ Find the maximum $$P=\frac{ab(2-c)}{a^2+abc+b^2}+\frac{bc(2-a)}{b^2+abc+c^2}+\frac{ca(2-b)}{c^2+abc+a^2}$$ By set $a=b=c=1,$ we can see that $P= 1$. The remain is proving $$\frac{ab(2-c)}{a^2+abc+b^2}+\frac{bc(2-a)}{b^2+abc+c^2}+\frac{ca(2-b)}{c^2+abc+a^2}\le 1\tag{*}$$ I tried to use $pqr$ notation and by the condition $q=r+2.$ I split the problem into 2 case:
- $abc=0$ which is easy since $a=0; bc=2$ and $$\frac{2bc}{b^2+c^2}\le 1\iff (b-c)^2\ge 0.$$
- $abc>0$ which $(*)$ is written as $$\frac{2-c}{\dfrac{a}{b}+\dfrac{b}{a}+1}+\frac{2-a}{\dfrac{b}{c}+\dfrac{c}{b}+1}+\frac{2-b}{\dfrac{a}{c}+\dfrac{c}{a}+1}\le 1$$ But I don't know how to continue it.
Hope to see some helps. Thank you very much.
Update. We have a problem USAMO 2001 which is relevant.
By C-S $$\sum_{cyc}\frac{ab(2-c)}{a^2+abc+b^2}=-3+\sum_{cyc}\frac{(a+b)^2}{a^2+abc+b^2}=$$ $$=-3+2\sum_{cyc}\frac{(a+b)^2}{a(2a+bc)+b(2b+ac)}\leq$$ $$\leq-3+2\sum_{cyc}\left(\frac{a^2}{a(2a+bc)}+\frac{b^2}{b(2b+ac)}\right)=-3+4\sum_{cyc}\frac{a}{2a+bc}.$$ Now, easy to see that for positives $x$, $y$ and $z$ $$\sum_{cyc}\frac{1}{x+2}\leq1$$ is equivalent to $$xy+xz+yz+xyz\geq4,$$ which says that for $abc\neq0$(the case $abc=0$ easy to check) $$\sum_{cyc}\frac{a}{2a+bc}\leq1$$ it's $$\sum_{cyc}\frac{1}{2+\frac{bc}{a}}\leq1$$ or $$\sum_{cyc}\left(\frac{ab}{c}\cdot\frac{ac}{b}\right)+abc\geq4$$ or $$a^2+b^2+c^2+abc\geq4$$ and our inequality would be proven if we'll prove that $a^2+b^2+c^2+abc\geq4.$
Now, let $a+b+c=3u$, $ab+ac+bc=3v^2$ and $abc=w^3$.
Thus, the condition ($ab+ac+bc=2+abc$) does not depend on $u$, which since $$a^2+b^2+c^2+abc=9u^2-6v^2+w^3,$$ gives that it's enough to prove the last inequality for the minimal value of $u$, which by $uvw$ happens for equality case of two variables.
Let $b=a$ and $c=\frac{a^2-2}{a(a-2)},$ where $a>2$ or $0<a\leq\sqrt2$ and we obtain: $$(a-1)^2(a^2-2)(3a^2-4a-2)\geq0,$$ which is true for $0<a\leq\sqrt2$.
But for $a>2$ we obtain: $$a^2+b^2+c^2+abc>4\geq4.$$