If the probability density function of a random variable is given by,
f(x)={k(1−x2),0<x<10,elsewhere find k and the distribution function of the random variable.
(i) Since f(x) is a p.d.f. ∫∞−∞f(x)dx=1
⇒∫10k(1−x2)dx=1
⇒k[x−x33]10=1
⇒k(1−13)=1
⇒2k3=1
⇒k=32
(ii) The distribution function F(x)=∫x−∞f(t)dt
(a) When x∈(−∞,0]
F(x)=∫x−∞f(t)dt=0
(b) When xε(0,1]
F(x)=∫x−∞f(t)dt=∫0−∞f(t)dt+∫x0f(t)dt
=0+32∫x0(1−t2)dt
F(x)=32(x−x33)
(c) When x∈[1,∞)
F(x)=∫x−∞f(t)dt
=∫0−∞f(t)dt+∫10f(t)dt+∫x1f(t)dt
=0+∫1032(1−t2)dt+0
=32[tt33]10=1
∴F(x)=⎧⎪
⎪
⎪
⎪⎨⎪
⎪
⎪
⎪⎩0−∞<x≤032(x−x33),0<x<111≤x∞