How Do You Find the Density Function of a Sum of Exponential Random Variables?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 4K views
glacier302
Messages
34
Reaction score
0
Let X1,...,Xn be independent, identically distributed random variables with exponential distribution of parameter λ. Find the density function of S = X1+...+Xn. (This distribution is called the gamma distribution of parameters n and λ). Hint: Proceed by induction.

At first I tried computing the characteristic function of X1+...+Xn, which is equal to the characteristic function of X1 raised to the nth power since the Xi are independent and identically distributed. But this didn't look like the characteristic function of any probability distribution that I know, so that was a dead end.

We're told to proceed by induction, but I'm not sure how to do that with density functions.

Useful information:

The probability density function of each of the Xi is f(x) = λe^(-λx).

The probability density function of the sum of two independent random variables is the convolution of their density functions. So if the density function of X is f(x) and the density function of Y is g(x), then the density function of X+Y is ∫f(T)g(x-T)dT (integral from -∞ to ∞).

Any help would be much appreciated! : )
 
on Phys.org
We're told to proceed by induction, but I'm not sure how to do that with density functions.

To use induction in evaluating the product of n+1 characteristic functions, you get to assume that the product of the first n of them gives you the characteristic function of a gamma distribution. So the problem will be to show that the characteristic function of a gamma distribution times the characteristic of an exponential gives you the characteristic function of another gamma distribution.

To use induction in evaluating the convolution of n+1 exponentials, you have a big multiple intergral in n+1 variables ds1, ds2,... etc. Induction let's you say that evaluating the integral with respect to the first n of these variables results in a gamma distribution. So you need to show that the convolution of a gamma distribution with an exponential produces another gamma distribution.

I haven't done the problem, so I don't know which of those methods works. If the integration doesn't seem to work, try applying integration by parts. That's just speculation on my part, because, as I said, I haven't worked the problem.
 
Okay, so now I'm trying to do induction. Since the Xi are exponentially distributed, X1 has Gamma distribution with parameters 1 and λ. But when I try to find the density of X1 + X2 where X1 and X2 are exponentially distributed, I get this:

density of (X1+X2) = ∫f(x-y)f(y)dy from y = 0 to y = ∞ (since X1, X2 are independent)
= ∫λe^-(λ(x-y))λe^(-λy)dy
= λ^2∫e^(-λx)e^(λy)e^(-λy)dy
= λ^2∫e^(-λx)dy
= λ^2e^(-λx)∫dy
= λ^2e^(-λx)*y (evaluated from y = 0 to y = ∞)
= ∞

When I calculated the density of a random variable with Gamma distribution and parameters 2 and λ, I got λ^2e^(-λx)*x. This looks kind of like the second to last step of my work above, except that there's an x instead of y, and it isn't evaulated from 0 to ∞.

Am I making some stupid mistake here with evaluating the integral??
 
Last edited:
You are making it far too hard. I assume you know the forms of the characteristic functions of exponential and gamma functions. Let

[tex] \phi_x(t)[/tex]

stand for the characteristic function of an exponential distribution (this is the c.f. of [itex]X_1[/itex]). The c.f. of [tex]X_1 + X_2[/tex] is

[tex] \int \int exp(t(x_1 + x_2)) f(x_1) f(x_2) \, dx_1 dx_2 = \left(\phi_x(t)\right)^2[/tex]

With a little observation you should be able to show that this is the c.f. function of a particular gamma distribution. You've just shown the statement is true for n = 2.

Now make the induction assumption: that for some [tex]k \ge 2[/tex],

[tex] T = X_1 + X_2 + \cdots + X_k [/tex]

has a gamma distribution. Then you know what the c.f. for this sum is. Now, for [tex]k + 1[/tex] you have

[tex] \iiiint exp[t(x_1 + x_2 + \cdots + x_k + x_{k+1})] f(x_1) f(x_2) \cdots f(x_k) f(x_{k+1}) \, dx_1 dx_2 \cdots dx_k dx_{k+1}[/tex]

Break this into two expressions: one with the sum over x1 through xk, the other over x{k+1}. Each integration gives a c.f., and you know the form of each one.