Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Can any of you help me? I have some problem with this exercise of "Probability and Statistics" :

Calculate the probability density function (PDF) of $Z=X+Y$

where $Y$ is discrete random variable which is be equal to $-1,1$ with equal probability; $X$ is standard Gaussian random variable independent from $Y$.

I know that the PDF of sum of two continuous independent variables is given by the convolution of the marginal PDF $f_z(z)=f_x*f_y$ but if one on the two variable is discrete what should I do? thanks all!

share|cite|improve this question
up vote 2 down vote accepted

If one variable is discrete, you can use the Dirac delta function to preform the integration: $$P(X=x) = \frac{1}{2}\delta(x-1) + \frac{1}{2}\delta(x+1)$$ Down-votes from purist mathematicians in 3.. 2.. 1..

share|cite|improve this answer
ok,so i can convolve fx*fy? – lui14 Feb 5 '13 at 12:00
@lui4 - Yes. you can use the Dirac delta as if it were regular function. – nbubis Feb 5 '13 at 12:02
Another question of the same exercise. X (standard gaussian variable) is indipendent from y (discrete variable, but is Y also indipendent from X? – lui14 Feb 5 '13 at 12:20
@lui4 - yes independence is commutative. Also, if you like an answer, you can upvote it as well. – nbubis Feb 5 '13 at 12:49
ok,how i can vote an answer? i'm sorry,but i'm new – lui14 Feb 5 '13 at 13:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.