I have the below function
$$ Y = (x-1)\Bigg(\frac{B - A - 1}{1 - 2x} + \frac{x \log\Bigg[\Big(\frac{1 - x}{x}\Big)\frac{\big(A(1 - 2x) + x\big)}{\big(B(1 - 2x) + x\big)}\Bigg]}{(1 - 2x)^2}\Bigg)$$
$A$ and $B$ are variables between $0$ and $1$ with the condition that $B$ is greater than $A$. I know that this function is continuously decreasing for values of $x$ between $0$ and $1$. I want to show this analytically.
I first tried to compute the derivative of $Y$ with respect to $x$ and check if it is positive or negative but Reduce returned no answer. Then I decided to check the sign of $\Big(Y(2x) - Y(x)\Big)$ but all the techniques that I know in Mathematica are failing to give me an answer (Reduce, Solve, NSolve, FullSimplify). Is there a simpler way around this that I am missing?
Sample code used:
$Assumptions = 0<A<1 && 0<B<1 && B>A
P[x_] := (x-1)(((B-A-1)/(1-2x))+(x/(1-2x)^2) Log[((1-x)(x+A(1-2x)))/((x)(x+B(1-2x)))])
Pd[x_] := D[P[x], x]
Z = P[2 a] - P[a]
Reduce[{$Assumptions, Z <= 0 && 0<a<1}, a, Reals]
Note: The messages that I get when running these commands are either This system cannot be solved with the methods available to Reduce or Reduce was unable to solve the system with inexact coefficients or the system obtained by direct rationalization of inexact numbers present in the system. Since many of the methods used by reduce require exact input, providing reduce with an exact version of the system may help.