The problem is, given that $a,b,c>0$ and $abc+a+c=b$, then find the maximum value of \begin{align} P= \frac2{1+a^2}-\frac2{b^2+1}+\frac3{c^2+1} \end{align}
One thing I know for sure is that $a,c$ are symmetric, or so I thought.
In the condition, clearly $a,c$ are symmetric, and thus I guessed that if (a,b,c) satisfies P is maximum then (c,b,a) should also be one. But unfortunately, in $P$, the role of $a$ and $c$ are irreversible.
So how should I approach this problem?
Any help is appreciated!
Following a tip by a previous answer, we set $a=\tan \theta~,~ c=\tan\phi$ and we find by solving the constraint that, surprisingly:
$$b=\tan(\theta+\phi)$$
which allows us to write
$$P=\frac{3}{2}+\cos 2\theta -\cos (2\theta+2\phi)+\frac{3}{2}\cos2\phi$$
where $\theta,\phi,\theta+\phi \in (0,\pi/2)$. Taking derivatives and solving the simple trigonometric equations yields a maximum in the interior of the $(\theta,\phi)$ region at
$$\cos 2\theta_0=\frac{1}{3}~~,~~ \cos 2\phi_0=\frac{7}{9}$$
and after comparing with the various boundary values of the function we finally conclude that
$$P\leq P(\theta_0, \phi_0)=\frac{10}{3}$$