One-to-One Transformations of Discrete Random Variables
How to find the PMF of when is one-to-one, and how to compute probabilities of events involving the transformed variable.
Tutorial
PMF of a One-to-One Transformation
When we apply a function to a random variable, we get a new random variable. If the function is one-to-one (distinct inputs give distinct outputs), then the probabilities transfer directly through the inverse.
Let be a discrete random variable with PMF and let be a one-to-one function defined on the support of Then is a discrete random variable with PMF
for in the range of and otherwise.
This follows because is one-to-one: each value of comes from exactly one value of namely So the event is the same as the event and they have the same probability.
For example, suppose has PMF
and let The function is one-to-one with inverse The possible values of are and
The probabilities are unchanged — they have just been relabeled.