If $X,Y \stackrel{iid}{\sim} \text{Bin} \left(n, \frac{1}{2} \right)$, how do I calculate $P(X^2 > Y^2)$ or $P(X^2 = Y^2)$?
Attempt:
$\begin{aligned} P(X^2 > Y^2) &= P((X-Y)(X+Y) > 0) = P((X-Y) > 0) \cdot P((X+Y) > 0) + P((X-Y) < 0) \cdot P((X-Y) < 0) \\ &= [ \cdots ] \end{aligned}$
How do I calculate $P(X > Y)$? I think if I know this, I'll be able to do the rest of it.
[This is not a homework problem. I was doing a longer question and this part is bothering me for sometime.]
The random variable $n-Y$ has the same law as $Y$, and is independent of $X$ (like $Y$). Hence $(X,n-Y)$ has the same distribution as $(X,Y)$. Moreover, $X+Y$ is Binomial with parameters $2n$ and $1/2$. As a result $$P[X=Y] = P[X=n-Y] = P[X+Y=n] = \frac{{2n \choose n}}{2^{2n}}.$$ Moreover, $(X,Y)$ has the same distribution as $(Y,X)$, so $$2P[X>Y] = P[X>Y] + P[X<Y] = 1-P[X=Y] = 1-\frac{{2n \choose n}}{2^{2n}}.$$