Let $X,Y$ be iid such that $X\sim F>0$ and $Y \sim F>0$ ($X$ and $Y$ have the same probability distribution). Find $\mathbb{P}(X \le x | \max(X,Y)) $.
I know that $\max(X,Y) \sim F^2$.
I would use $$\mathbb{P} (X \in B | Y) = \frac{\int_B g(x,Y)dx}{\int_{\mathbb{R}}g(x,Y)dx}$$
Where $Y = \max(X,Y)$ and $B=(0, x)$.
But the problem is how to find density function $g$ ?