Suppose that we have two continuous independent random variable $X$ and $Y$ with respective densities $f_x$ and $f_y$, how can we prove that $X$ is different than $Y$.
I thought about proving it by contradiction using the definition of the probability of a random variable ( using integral equalities to prove that densities are equals therefore the absurdity ) but I didn't utilize independency there so I felt like it's wrong ( also I'm not sure if two lebesgue integrals are equals in the same interval then the functions integrated are also equals ).
If we have that $X \perp \!\!\! \perp Y$ then we know that $\displaystyle f_{X,Y}(x,y) = f_X(x)\cdot f_Y(y)$.
We can either have $P(X=Y) = 0$ or $f_X \neq f_Y$ as our " measure" of them being different.
For a given $z$ we have
$P(X =z, Y =z) = P(X=z)P(Y=z) = 0 \cdot 0$.
More work is required to get that $P(X=Y)=0$. See @angryavian's answer.