Probability — Question 4

PDF ↗

Question 4

A density is f(x)=kxf(x)=kx on [0,a][0,a], where a>0a>0, and is zero elsewhere. Determine kk, the CDF, and the pp-quantile.

See the diagram in the original worksheet below.

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

Question 4 – Solution

See the diagram in the original worksheet below.

Step 1: Normalize the density. 1=∫0akxdx=k[x22]0a=ka22.1=\int_0^a kx\,dx =k\left[\frac{x^2}{2}\right]_0^a =\frac{ka^2}{2}. Hence k=2a2.\boxed{k=\frac{2}{a^2}}.

Step 2: Build the CDF on the support. For 0≤x≤a0\le x\le a, F(x)=∫0x2ta2dt=2a2[t22]0x=x2a2.\begin{align*} F(x)&=\int_0^x\frac{2t}{a^2}\,dt\\ &=\frac{2}{a^2}\left[\frac{t^2}{2}\right]_0^x =\frac{x^2}{a^2}. \end{align*} Thus the complete CDF is F(x)={0,x<0,x2a2,0≤x≤a,1,x>a.F(x)= \begin{cases} 0,&x<0,\\[2pt] \dfrac{x^2}{a^2},&0\le x\le a,\\[4pt] 1,&x>a. \end{cases}

Step 3: Solve the quantile equation. The pp-quantile qpq_p satisfies F(qp)=pF(q_p)=p: qp2a2=p.\frac{q_p^2}{a^2}=p. Since qp≥0q_p\ge0, qp=ap,0≤p≤1.\boxed{q_p=a\sqrt p},\qquad 0\le p\le1.

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

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