Functions of Two Random Variables
Why Functions of Multiple RVs?
In Chapter 6 we found the distribution of for a single RV. Now we need the distribution of functions of two or more RVs: the sum of a signal and noise (), the ratio of signal power to interference (), or more general transformations. Two techniques dominate: the Jacobian method for invertible transformations and the convolution formula for sums of independent RVs.
Theorem: Jacobian Transformation Formula
Let be jointly continuous with PDF and let be a one-to-one (invertible) transformation with inverse . Define . Then the joint PDF of is
where the Jacobian is
The Jacobian accounts for the stretching and compression of area elements under the transformation. The absolute value ensures the density remains non-negative regardless of the orientation of the mapping.
From the multivariable change of variables
For any measurable set :
Applying the substitution :
Identify the density
Since this holds for all measurable , the integrand is the joint PDF of .
Jacobian Method β Step by Step
Example: Rayleigh Distribution from Two Gaussians
Let be independent . Define the polar coordinates and . Find the joint PDF of and the marginal PDF of .
Inverse transformation
, so and .
Jacobian
$
Joint PDF
$
Marginals
is uniform on (so ), and
This is the Rayleigh distribution with parameter . Moreover, and are independent β a special property of the isotropic Gaussian.
Theorem: Convolution Formula for Independent Sums
Let and be independent continuous RVs with PDFs and . Then has PDF
where denotes convolution.
To find the density of the sum at a point , we sweep over all ways of decomposing and weight each decomposition by the product of the individual densities. The convolution integral performs this sweep.
Auxiliary variable method
Let , . The inverse is , . The Jacobian is
Joint PDF of $(U,V)$
$
using independence.
Marginalize
$
Example: Sum of Two Independent Exponentials
Let and be independent. Find the PDF of .
Apply convolution
For :
Identify the distribution
This is the density. More generally, the sum of independent RVs has a distribution β a fact we use extensively in queueing theory and order statistics.
Example: Sum of Independent Gaussians
Let and be independent. Find the distribution of .
Convolution of Gaussians
The convolution of two Gaussian densities is Gaussian. By completing the square in the convolution integral (or by using moment generating functions, which factor under independence):
Significance
This closure under convolution is one of the most important properties of the Gaussian family. It implies that the sum of any number of independent Gaussian RVs is Gaussian β the foundation for analyzing linear systems driven by Gaussian noise.
Convolution of Two Densities
Choose two distribution families and watch the convolution integral sweep out the density of their sum. The sliding density is shown in red, and the area under the product gives .
Parameters
The Jacobian Method for Transformations
Convolution
The operation that gives the PDF of the sum of two independent random variables.
Related: Joint probability density function, Independent random variables
Jacobian
The determinant of the matrix of partial derivatives of a transformation's inverse. It measures the local scaling of area (or volume) elements under the transformation.
Related: Convolution
Common Mistake: Forgetting the Jacobian
Mistake:
Writing without the Jacobian factor.
Correction:
The Jacobian is mandatory. Without it, the density does not integrate to 1. A useful sanity check: always verify that .
Computing Convolutions via FFT
In numerical simulations, evaluating the convolution integral directly is for sample points. A much faster approach exploits the convolution theorem: corresponds to pointwise multiplication in the frequency domain. Using the FFT, one computes and then inverse-transforms, achieving complexity. This is the standard technique for computing the distribution of sums in signal processing and communications simulation.
Key Takeaway
The Jacobian transformation formula gives the joint density of any invertible function of two RVs. For sums of independent RVs, the density is the convolution of the individual densities: . The Gaussian family is closed under convolution β sums of independent Gaussians are Gaussian.