kuahji
- 390
- 2
Find the distribution function of the random variable X whose probability density is given by
f(x)= x/2 for x < x \leq1
1/2 for 1< x \leq2
(3-x)/2 for 2 < x \leq3
0 elsewhere
Ok, so I know have to take the integral of each piece, but I'm having a hard time figuring out the limits of the integrals.
The book has the answer
F(x)= 0 for x \leq0
x^2/4 for 0 < x \leq1
1/4(2x-1) 1 < x \leq2
1/4(6x-x^2-5) for 2 < x < 3
1 for x\geq3
Which is about what I got when I took the "indefinite" integrals of each piece (again, not sure how to go about setting the limits), but for example in this section 1/4(6x-x^2-5) for 2 < x < 3 where is the -5 coming from? Any help would be appreciated.
f(x)= x/2 for x < x \leq1
1/2 for 1< x \leq2
(3-x)/2 for 2 < x \leq3
0 elsewhere
Ok, so I know have to take the integral of each piece, but I'm having a hard time figuring out the limits of the integrals.
The book has the answer
F(x)= 0 for x \leq0
x^2/4 for 0 < x \leq1
1/4(2x-1) 1 < x \leq2
1/4(6x-x^2-5) for 2 < x < 3
1 for x\geq3
Which is about what I got when I took the "indefinite" integrals of each piece (again, not sure how to go about setting the limits), but for example in this section 1/4(6x-x^2-5) for 2 < x < 3 where is the -5 coming from? Any help would be appreciated.