1

$ f(x) = \begin{cases} k\sqrt{x}, 0<x<1 \\ 0, \text{elsewhere}\\ \end{cases}$

I know that $E[X] = \frac{2k}{5}$ and $Var[X] = \frac {2k}{7}$

Then what can I do to find $k$ with these few information?

Rick
  • 3
  • 1
  • 3
Justin H.
  • 13
  • 1
  • 4

1 Answers1

1

Updated to match the corrected version of the question:

You must have $$\int_{-\infty}^\infty f(x)~dx=1$$ in order for $f$ to be a probability density function. In this case

$$\int_{-\infty}^\infty f(x)~dx=\int_0^1 k\sqrt x~dx=k\int_0^1 x^{1/2}~dx\;,$$

so you need only solve the equation

$$k\int_0^1 x^{1/2}~dx=1$$

for $k$.

Brian M. Scott
  • 616,228