We want to define this more generally. What if we wanted to do some transformation on the RV ?
Lemma (Change of Variables)
Let be a RV . Let a real-valued function that is continuously differentiable(i.e. is continuous) with (so that is strictly increasing, and therefore invertible). Let , a PDF. Then
Proof:
Given as RVs and , then if we take with , then
we have that . We can differentiate to get the PDF.
We work with the CDF because the events are nicer to manipulate arithmetically.
What if is strictly decreasing, where ? We get the same argument, but the step means we can do
Again, by differentiation to get the PDFs,
and since , then both PDFs are positive (or rather, non-negative) then we are fine. In general, for decreasing, then
Remark (Change Must be Monotonic)
In particular, if is not Monotonic, we cannot say anything about , since it would no longer be injective. For example, consider .
Example 1
Let the standard Normal distribution and . The PDFs of of respectively, are related by
In particular, the second step is achieved be seeing that .
Transformation of Multivariate Random Variables
Let be a vector valued RV. The Joint Distribution of is defined by
If we assume that the joint PDF exists, then it is defined as
is related by
Let be an invertible1 transformation with “sufficiently smooth”2 components.
Recall these are vector valued functions. The Jacobian for is determined by
where maps a vector from the codomain to is the domain. In particular, . This tells us that each component of is defined as a function of in , the prerequisite for calculating the Jacobian.
Theorem (Multivariate Change of Variables)
Suppose is a RV with joint PDF . Then the joint density of is given by
Proof:
The idea is to work with the CDF and then work towards the PDF by deriving times. So, consider this hyperbox in :
Then via definition of joint probabilities,
And since , then we can change the domain of the integral. But also, this tells us that
which
as desired.