# Cumulative Frequency

1. Jul 6, 2010

### cyt91

1. The problem statement, all variables and given/known data
A random variable X is uniformly distributed between 0 and 1. Two independent observations are made,X1 and X2. Take (X1,X2 ) as a point on the lines X1 +X2 =Y in a cartesian plane. X1 +X2 =Y is triangular.
(a) show that , for 0≤ Y≤ 1, P( X1 +X2 =Y)= ½ Y2

(b) show that , for 1≤ Y≤ 2, P( X1 +X2 =Y)=1- ½ (2-Y)2

2. Relevant equations
f(x)=$$\frac{1}{b-a}$$ ,for uniform distribution

3. The attempt at a solution

I know that f(x)=1 for 0≤ x≤ 1 since X is uniformly distributed. But how do I solve (a).
Can anyone show me the solution for (a) only so that I could solve (b) myself?

Thanks a lot!

2. Jul 7, 2010

### LCKurtz

This is a very confused statement of the problem. First of all, I suppose that last Y2 is supposed to be Y2. Use the X2 icon for superscripts.

Secondly, you are apparently confused between a random variable Y and its range. Here you are giving Y as the sum of two random variables: Y = X1 + X2 (you can use the subscript button too). Per the title of your post, you are apparently seeking the cumulative distribution function for Y. The usual notation is to use lower case for the range values, so you want to calculate P(Y ≤ y) = P(X1 + X2 ≤ y), not P( X1 +X2 =Y). This is where you have two cases depending on whether y < 1 or y > 1.