2.X(w) is actually x, and w is removed only for writing convenience. X is a real number, and the random variable X has a value range, which is determined by the sample point W. X has no value range, but X may not get the value of X.
3. See the answer of 1 for the question of evaluating a domain by defining it.