Question
Question: The following is a p.d.f. (Probability density function) of a continuous random variable \[X\]: \[...
The following is a p.d.f. (Probability density function) of a continuous random variable X:
f(x)=32x0<x<8;=0 otherwise
Find the value of the c.d.f. at x=0.5 and x=9.
Solution
Here, we will use to find the formula of c.d.f. of a probability density function with the limits 0 and 0.5 to find the value of the c.d.f. at x=0.5. Then, we will use to find the formula of c.d.f. of a probability density function with the limits 0 and 9. We will then use the property of definite integrals to split the integral into a sum of two integrals (with limits 0 to 8, and 8 to 9 respectively). Finally, we will integrate the expressions to find the value of the c.d.f. at x=9.
Formula Used: We will use the following formulas:
1.The c.d.f. of a p.d.f. f(x) is given as F(x)=−∞∫xf(x)dx.
2.The integral of a function of the form af(x) can be written as ∫af(x)dx=a∫f(x)dx.
3.The integral of a function of the form xn can be written as ∫xndx=n+1xn+1+C.
4.The definite integral a∫bf(x)dx can be written as the sum of the definite integrals a∫cf(x)dx and c∫bf(x)dx, where a<c<b.
Complete step-by-step answer:
We need to find the value of the cumulative density function at x=0.5.
The value x=0.5 lies between 0 and 8.
Thus, the lower limit becomes 0 and the upper limit becomes 0.5.
Therefore, substituting x=0.5 and f(x)=32x in the c.d.f. F(x)=−∞∫xf(x)dx, we get
⇒F(0.5)=0∫0.532xdx
Now, we will integrate the expression.
The integral of a function of the form af(x) can be written as ∫af(x)dx=a∫f(x)dx.
Therefore, we get
⇒F(0.5)=3210∫0.5xdx
Rewriting the expression, we get
⇒F(0.5)=3210∫0.5x1dx
The integral of a function of the form xn can be written as ∫xndx=n+1xn+1+C.
Therefore, we get
⇒F(0.5)=321(1+1x1+1)00.5
Simplifying the expression, we get
⇒F(0.5)=321(2x2)00.5
Substituting the limits into the expression, we get
⇒F(0.5)=321[2(0.5)2−202]
Simplifying the expression, we get
⇒F(0.5)=321[20.25−20] ⇒F(0.5)=321241−0 ⇒F(0.5)=321[81]
Multiplying the terms of the expression, we get
⇒F(0.5)=2561
Therefore, we get the value of the c.d.f. at x=0.5 as 2561.
Now, we need to find the value of the cumulative density function at x=9.
Substituting x=9 in the c.d.f. F(x)=−∞∫xf(x)dx, we get
⇒F(9)=0∫9f(x)dx
We can observe that 9 does not lie between 0 and 8.
We will split the limits using the property of definite integrals.
The definite integral a∫bf(x)dx can be written as the sum of the definite integrals a∫cf(x)dx and c∫bf(x)dx, where a<c<b.
Therefore, we can rewrite the equation as
⇒F(9)=0∫8f(x)dx+8∫9f(x)dx
The function in the first integral lies between 0 and 8. Therefore, f(x)=32x.
The function in the second integral does not lie between 0 and 8. Therefore, f(x)=0.
Therefore, the equation becomes
⇒F(9)=0∫832xdx+8∫9(0)dx
Rewriting the equation, we get
⇒F(9)=0∫832xdx+8∫9(0x)dx
The integral of a function of the form af(x) can be written as ∫af(x)dx=a∫f(x)dx.
Therefore, we get
⇒F(9)=3210∫8xdx+0×8∫9xdx ⇒F(9)=3210∫8xdx+0 ⇒F(9)=3210∫8xdx
Rewriting the expression, we get
⇒F(9)=3210∫8x1dx
Therefore, we get
⇒F(9)=321(1+1x1+1)08
Simplifying the expression, we get
⇒F(9)=321(2x2)08
Substituting the limits into the expression, we get
⇒F(9)=321[282−202]
Simplifying the expression, we get
⇒F(9)=321[264−20] ⇒F(9)=321[32−0] ⇒F(9)=321[32]
Multiplying the terms of the expression, we get
⇒F(9)=1
Therefore, we get the value of the c.d.f. at x=9 as 1.
Note: Here we found out the cumulative density function. The cumulative density function gives the probability that a continuous random variable X takes a value less than or equal to x. A common mistake is to answer that the c.d.f. is 0 at x=9, and 320.5=641 at x=0.5. This is incorrect because these are the values of the p.d.f. at the given values of x.