Probability — Question 10

PDF ↗

Question 10

A continuous random variable has CDF F(x)=0F(x)=0 for x<0x<0, F(x)=x2/(1+x2)F(x)=x^2/(1+x^2) for x≥0x\ge0. Find the density and P(1<X<3)P(1<X<3).

See the diagram in the original worksheet below.

Original worksheet page 1: question and worked solution for 2-5-010
Show solutionHide solution

Question 10 – Solution

See the diagram in the original worksheet below.

Step 1: Differentiate the CDF on each interval. For x<0x<0, F(x)=0F(x)=0, so f(x)=0f(x)=0. For x>0x>0, f(x)=ddx(x21+x2)=2x(1+x2)−x2(2x)(1+x2)2=2x(1+x2)2.\begin{align*} f(x)&=\frac{d}{dx}\left(\frac{x^2}{1+x^2}\right)\\ &=\frac{2x(1+x^2)-x^2(2x)}{(1+x^2)^2}\\ &=\frac{2x}{(1+x^2)^2}. \end{align*} The CDF is continuous at x=0x=0, so there is no point mass there. Hence f(x)={0,x<0,2x(1+x2)2,x≥0.\boxed{ f(x)= \begin{cases} 0,&x<0,\\[2pt] \dfrac{2x}{(1+x^2)^2},&x\ge0. \end{cases}}

Step 2: Use the CDF to compute the interval probability. For a continuous random variable, P(1<X<3)=F(3)−F(1).P(1<X<3)=F(3)-F(1). Now F(3)=321+32=910,F(1)=121+12=12.F(3)=\frac{3^2}{1+3^2}=\frac9{10}, \qquad F(1)=\frac{1^2}{1+1^2}=\frac12.

Step 3: Subtract. P(1<X<3)=910−12=910−510=25.P(1<X<3) =\frac9{10}-\frac12 =\frac9{10}-\frac5{10} =\frac25. P(1<X<3)=25\boxed{P(1<X<3)=\frac25}

Original worksheet page 2: question and worked solution for 2-5-010

Original worksheet layout. Use Enlarge or open the PDF for a closer view.