Well, in this case let see that for the sample space S={1,2,3}, X is a random variable such that X(w) = {0.2, 0.4, 0.4}, for every w from S.
In this particular example, |X| = X. And, I presume you meant to say that:
X(1) = 0.2
X(2) = 0.4
X(3) = 0.4
For |X|, say |X|^-1, inverse image of |X|, how can we map back an outcome to the sample space?
I'm not even sure what you're asking here. Maybe explicitly typing things would help.
I'm going to define
f(x) := |x| for clarity..
X is a random variable. It maps events to probabilities.
f is a function. It maps outcomes to outcomes.
f is a function. It maps random variables to random variables.
(Yes, this is an abuse of notation -- we can "lift" ordinary functions of the outcomes to become functions on random variables. But since they're so closely related, we typically use the same notation for both the ordinary function and its "lift")
f(X) is, therefore, a random variable. It maps events to probabilities.
So it doesn't even make sense to ask what the "inverse" of f(X) would do to an outcome.
Now, the ordinary absolute value function f does map outcomes to outcomes, and it makes sense to ask about its "inverse", or more rigorously, to ask about the
inverse image of a set of outcomes.
By definition:
<br />
f^{-1}(E) = \{ x \in S \, | \, f(x) \in E \}<br />
so, if S is the set {1, 2, 3}, then f^(-1) (E) = E.