Let $A,B \in (0,1)$ be known constants, and $C \in (-\infty, \infty)$ be a known constant. Define
\begin{equation} \xi(x) = \log \big( x \big) + \log \big( 1+x-A-B \big) - \log \big( A - x \big) - \log \big( B - x \big) - C \end{equation}
For a particular application I need to find the root of $\xi(x)$ that satisfies:
\begin{equation} {\rm max}\Big(0, A+B-1\Big) \le x \le {\rm min}\Big(A,B\Big). \end{equation}
Some simple manipulation shows that the roots of $\xi(x)$ are also the roots of this quadratic equation:
$$ (1-e^{C}) x^{2} + \Big(1 - A(1-e^{C}) - B(1-e^{C}) \Big)x - ABe^{C} $$
Which is easily solved with $a=(1-e^{C})$, $b=\Big(1 - A(1-e^{C}) - B(1-e^{C}) \Big)$, and $c=- ABe^{C}$. Comparing these solutions with numerical ones using bisection (with the bracket specified by the contraint above), I find that the solution always coincides with the '+' one of the two solutions to the quadratic equation. Any indication on how to show that analytically?