Let $p \in (0,1)$ and $X$ be a random variable such that $P(X=a) = p, P(X=-b) = 1-p$
Show that if $Y$ is another random variable such that $E[X] = E[Y]$ and $V(X) = V(Y)$ then $P(Y \ge a) \le p$ and that equality holds iff $X$ and $Y$ are equal in distribution.
I have a hint to use Chebychev's inequality here but I am not quite getting the desired result.
By Chebychev we have $P(\lvert Y - E[Y] \rvert \ge a ) \le \frac{V(Y)}{a^2}$ which we can re-write with $E[X]$ and $V(X)$ but I am still not getting the result.
I can write it as:
$P(Y \ge a) = P( Y - E[X] \ge a - E[X]) \le P( \lvert Y - E[X] \rvert \ge a - E[X]) \le \frac{V(X)}{(a-E[X])^2} = \frac{p(a+b)^2(1-p)}{(a-E[X])^2} = \frac{p(a+b)^2(1-p)}{(1-p)^2(a+b)^2} = \frac{p}{1-p}$
and $\frac{p}{1-p}$ may be large than $p$ so I haven't achieved the result.
which would be using Chebychev but this doesnt help since $E[X] = ap - b(1-p)$ and $(a-E[X])^2 = [(1-p)(a+b)]^2$ so if say $p = \frac{1}{2}$ then I just get the last part being equal to $1$ which doesn't insure the original is less than or equal to $p$.