Today I tried solving the following question as a preparation for my Intro. to Probability 1 exam.
Suppose X, Y have joint density f(x, y). what is the probability that X = Y ?
My first attempt was: let $Z = X - Y$, then $P(X=Y)=P(Z=0)=0$ because Z is a continuous random variable.
But I then thought about a a counter example, where $X\sim exp(1)$ and $Y=X$ then $P(X=Y)=1$
How would I go about finding the probability here, if I have no details regarding X,Y ?
Any help would be appreciated!
If $ X \sim exp(1), Y \sim exp(1) $, then $ P(X=Y) \neq $ 1.