Show that $f(x)\ge 0$ for $0\le x \le 1$, where:


$$f(x) = \arccos(x)^2 -8x(5x^2-2) \sqrt{1-x^2}\arccos(x)+36 x^8-112 x^6+93 x^4-17 x^2$$


The endpoints are $f(0)=\pi^2/4$ and $f(1)=0$. Plotting verifies that the function is positive, but it is not monotonic, or concave. The maximum is the root of a complicated function, so it is not clear how to separate into sub-intervals. There seems to be no way to separate the function into the sum of two simpler parts that are positive.


The problem is equivalent to showing that $\log\hspace{-1pt}\big( h(r)\big)$ is concave on $(0,1]$, where:


$$h(r) = r^{-1}\Big(\pi -2 (1-2r ) \sqrt{r}\sqrt{1-r}-2 \arccos\big(\hspace{-2pt}\sqrt{r}\big)\Big),\quad 0< r \le 1 $$


Update: based on a comment, the problem can be reduced to showing that $g(x) \le 0$ for $1/2 \le x \le 1$, where:


$$g(x) = x\big(x^6-\mbox{$\frac{7}{3}$} x^4 + \mbox{$\frac{103}{72}$}x^2-\mbox{$\frac{25}{144}$}\big)\sqrt{1-x^2}+\mbox{$\frac{5}{9}$}\big(x^4-\mbox{$\frac{19}{20}$}x^2+\mbox{$\frac{7}{80}$}\big)\arccos(x)$$


Since $g$ is monotonic, this is equivalent to showing that $w(x)\ge 0$ on $[1/2,1]$, where:


$$w(x) = x(40 x^2-19)\sqrt{1-x^2}\arccos(x)-144 x^8+378 x^6-323 x^4+93 x^2-4$$


This may seem somewhat obscure, but it turns out to be important for proving a significant theorem on uniqueness of solutions to unmixing linear combinations of independent random variables. One part of the solution I posted in another question. I believe I have a solution for that, though it involves working with a piecewise function and verifying monotonicity of 60 essentially elementary functions. The other part, involving the integral over the radial direction comes down to proving that this function is positive (derived and extracted from a more complicated expression).


Does anyone know how to show that a function like this is positive, or have an idea that I could pursue? I'm asking here because I have no idea how to proceed.



Non-negativity of a complicated function
We have to show that
\begin{equation\*}
 g\overset{\text{(?)}}\le0 \text{ on }[1/2,1]. 
\end{equation\*}
Note that $p(x):=x^4-\frac{19}{20}x^2+\frac{7}{80}$ is of the same sign as $x-x\_\*$ for $x\in[1/2,1]$, where
$x\_\*:=\frac{1}{2} \sqrt{\frac{1}{10} \left(19+\sqrt{221}\right)}=0.920\dots$.


For $x\in[1/2,1]\setminus\{x\_\*\}$, let
\begin{equation\*}
 h(x):=\frac{g(x)}{p(x)}. 
\end{equation\*}
It suffices to show that
\begin{equation\*}
 h\overset{\text{(?)}}\ge0 \text{ on }[1/2,x\_\*) \tag{10}\label{10}
\end{equation\*}
and
\begin{equation\*}
 h\overset{\text{(?)}}\le0 \text{ on }(x\_\*,1]. \tag{20}\label{20} 
\end{equation\*}
For $x\in[1/2,1)\setminus\{x\_\*\}$,
\begin{equation\*}
 h''(x)=\frac{x h\_2(x)}{28800 p(x)^3\,\sqrt{1-x^2}},
\end{equation\*}
where
\begin{equation\*}
 h\_2(x):=-345600 x^{14}+1266240 x^{12}-1823120 x^{10}+1301740 x^8-478566
 x^6+85096 x^4-5777 x^2-497<0
\end{equation\*}
for $x\in[1/2,1]$.


So, $h$ is convex on $[1/2,x\_\*)$ and concave on $(x\_\*,1]$.


We have $h(1)=0=h'(1)$. So, \eqref{20} follows.


Also, $h'(3/4)=0.119\ldots>0$ and hence for all $x\in[1/2,x\_\*)$ we have $h(x)\ge h(3/4)+h'(3/4)(x-3/4)
\ge h(3/4)+h'(3/4)(1/2-3/4)=0.102\ldots>0$. So, \eqref{10} follows as well. $\quad\Box$


