SOLUTION: A random variable X has pdf f(x) = (3/4)(1-x^2) from -1 < x < 1. 1. Find the cdf 2. Find the first, second and third quartiles. I have found that the cdf = F(x) = -(x^3

Algebra ->  Probability-and-statistics -> SOLUTION: A random variable X has pdf f(x) = (3/4)(1-x^2) from -1 < x < 1. 1. Find the cdf 2. Find the first, second and third quartiles. I have found that the cdf = F(x) = -(x^3      Log On


   



Question 1168707: A random variable X has pdf f(x) = (3/4)(1-x^2) from -1 < x < 1.
1. Find the cdf
2. Find the first, second and third quartiles.

I have found that the cdf = F(x) = -(x^3)/4 + 3x/4
by taking the integral of f(t) = (3/4)(1-t^2) from [-1,x]
From there I know I need to solve for F(x) = 0.25, F(x) = 0.5 and F(x) = 0.75. However when I solve for those, I keep getting values outside of the interval [-1,1].

Found 2 solutions by Boreal, ikleyn:
Answer by Boreal(15235) About Me  (Show Source):
You can put this solution on YOUR website!
Nice job. It is quite easy to make a sign error in doing this. I made several. Your approach is just fine.
I set (3/4)m +3/4-(m^3/4)-(1/4)=0.25 for the 25th percentile.
The first term is straightforward; the second is subtracting a -3/4, so is a +3/4
the fourth term is (-1)^3 which is -1, then subtracted (+1) because the lower integral, then - again, 3 changes of sign.
Multiplying through by 4 and you get -m^3-1+3m+3=1
m^3-3m-1=0
m(q1)=-0.347
Md m=0
m(q3)=0.347
graph%28300%2C300%2C-2%2C2%2C-1%2C1%2C%280.75%29%281-x%5E2%29%29
graph%28300%2C300%2C-1%2C1%2C-1%2C1%2C-%28x%5E3%2F4%29%2B%283x%2F4%29%29

Answer by ikleyn(52776) About Me  (Show Source):
You can put this solution on YOUR website!
.

The pdf function is  f(x) = %283%2F4%29%2A%281-x%5E2%29  on the interval  [-1,1].


The cdf function is  antiderivative  F(x)  of  f(x)  such that F(-1) = 0.


So, the antiderivative is  F(x) = %283%2F4%29%2A%28x+-+x%5E3%2F3%29+%2B+C = %283%2F4%29x - x%5E3%2F4 + C,     (1)


where C is the constant such that  F(-1) = 0.


From this condition,  you have this equation, substituting x= -1 into the formula (1) 


    %283%2F4%29%2A%28-1%29 - %28-1%29%5E3%2F4 + C = 0,    or

    -3%2F4+%2B+1%2F4+%2B+C = 0,                  or

    -1%2F2+%2B+C = 0,

which gives

    C = 1%2F2.


So, your antiderivative, or cdf function is

    F(x) = %283%2F4%29x - x%5E3%2F4 + 1%2F2.


Thus I complete calculating the needed cdf function.

Now my short COMMENT regarding your solution.

    Your solution was INCORRECT.

    You incorrectly found the cdf function,

    because in integrating process you forgot about the constant term "C"

                                   and forgot to satisfy the condition F(-1) = 0 for your cdf function.


I stop at this point leaving to complete the part 2 of the problem to you.