What does it mean for two random variables to be independent? What are the events associated with a random variable?
Two random variables are independent if the sigma algebras generated by the random variables are independent. In general, a family of random variables are independent if the sigma algebras generated by the random variables are independent.
Let $(X, \mathcal{A} , \mu )$ be a probability space and $(Y, \mathcal{B} )$ be a measurable space. Let $f_1,f_2: X \to Y$ be random variables. If the random variables are independent we write $f_1 \perp f_2$.
Let $B_1, \dots , B_n$ be Borel sets of
real numbers and let $A_i = f_i^{-1}(B_i)$.
Let $A = \cap_{i = 1}^{n} f_i^{-1}(B_i)$.
Then
\[
\mu (A) = \prod_{i = 1}^{n} \mu (A_i)
\]