I'm in a setting in which X and Y are both $Beta(0.5, 0.5)$ and indipendent, that is
$$f(x, y) = \frac{1}{\pi^2\sqrt{x(1-x)y(1-y)}}$$
What is the conditional distribution of X given Y = X? Normally i would substitute x to y in the density function and i would find a normalization constant. But in this case we would have
$$f(x) \propto \frac{1}{x(1-x)}$$
which is not integrable. But it feels strange to me that a well defined distribution on a bidimensional set, becomes undefined when restricted to a subspace of the original domain. Am I doing something wrong? There actually exist the pdf of this conditional distribution?