The random variable X can take the value X=−1, and also any value in the range 0≤X<∞. The distribution of X is given by
P(X=−1)=m,P(0≤X≤x)=k(1−e−x), for any non-negative number x, where k and m are constants, and m<21.
- Find k in terms of m.
- Show that E(X)=1−2m.
- Find, in terms of m, Var(X) and the median value of X.
Given that
∫0∞y2e−y2dy=41π, find E(∣X∣21) in terms of m.