Sums of Continuous Random Variables

Let X[1] , X[2] , ..., X[n] be a random sample of size n from a continuous distribution with p.d.f. f(x) , where f(x) > 0 for a < x < b and -infinity < a < x < b < infinity . This section illustrates how MAPLE can be used to find the p.d.f. of the sum of these random variables. Example

1. Let f(x) = 1, 0 < x < 1. Show how to find the p.d.f. of Y[1] = X[1]+X[2] . Solution

2. Let f(x) = 1, 0 < x < 1. Find the p.d.f. of X[1]+X[2]+X[3] + . . . + X[n] . Solution

3. Let f(x) = 3*x^2/2 , -1 < x < 1. Show how to find the p.d.f. of X[1]+X[2] , X[1]+X[2]+X[3] , X[1]+X[2]+X[3]+X[4] . Solution

4. Let f(x) = 3*x^2/2 , -1 < x < 1. Find the p.d.f. of X[1]+X[2]+X[3] + . . . + X[n] .

Empirical Evidence
Theoretical Solution

5. A CAS can be used to show that the weighted average of two Cauchy random variables is Cauchy. This in turn can be used to prove that the distribution of X - bar is Cauchy when sampling from a Cauchy distribution. Solution