# Thread:

1. ## continous random variable

Y has a distribution function:

$F(y) = \left\{ \begin{array}{rcl} 0 & \mbox{for} & y \leq 0 \\ <br /> \\<br /> \frac{y}{8} & \mbox{for} & 0 < y < 2 \\<br /> \\<br /> \frac{y^2}{16} & \mbox{for} & 2 \leq y < 4 \\<br /> \\<br /> 1 & \mbox{for} & y \geq y 4<br /> \end{array}\right.$

find $\mu$ and $\sigma^2$

since $\mu = \int yf(y) dy \therefore \int^{2}_{0} y \left( \frac{y}{8} \right) dy + \int^{4}_{2} y \left( \frac{y^2}{16} \right) dy + \int^{\infty}_{4} y(1) dy= \frac{y^3}{24} \bigg{|}^{2}_{0} + \ \ \frac{y^4}{64} \bigg{|}^{4}_{2} + \ \ \frac{y^2}{2} \bigg{|}_{4}$ $= \frac{1}{3} +\frac{256-16}{16} + 8 = \frac{145}{12}$

I know that my final solution is incorect since it's suppossed to be $\frac{31}{12}$, where did I go wrong?

2. differentiate $F(y)$ to get $f(y)$ (not integrate). Then take $\int yf(y) \ dy$ to get $\mu$.
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 10, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 20, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.952974796295166, "perplexity_flag": "middle"}