There is a pattern excercise:
First pattern: We have $X$ and the probability density function is usually:
$$ f(x) = \begin{cases} {ax+bx^2} & {0\lt x \lt 1} \\ 0 & \text{else} \end{cases} $$
Then we are given $E|X| = 0.6$
And usually asks to find:
a) $P\{X>0.5\}$
b) $Var(X)$
Second pattern:
$$ f(x) = \begin{cases} {cx^4} & {0\lt x \lt 2} \\ 0 & \text{else} \end{cases} $$
Where c is a constant. Find:
a) Mean value of $X$
b) Variance of $X$
Third pattern (it's more like a reverse problem):
We are given $Y= \sqrt{X}$, find it's cumulative distribution function (CDF) and it's probability density function (pdf).
Update:
The third one is transferred to a new seperate question.
This is not homework. I'm self-studying and in need of some help. Thank you.
I'll start with a step-by-step explanation for the first two, as you say those are more important. Later I'll add the third if I'm able.
The key to solving both of the first two problems is to remember that the pdf for every probability distribution must sum/integrate to one.
First problem:
We are given: $$ f(x) = \begin{cases} {ax+bx^2} & {0\lt x \lt 1} \\ 0 & \text{else} \end{cases} $$
So, we know that: $$ \int_0^1 ax+bx^2\; dx = 1 $$ So step one becomes: $$ \int_0^1 ax+bx^2\; dx = 1\\ \frac{ax^2}{2}+\frac{bx^3}{3}\bigg|_0^1 = 1\\ \frac{a}{2} + \frac{b}{3} = 1\\ 3a+2b=6 $$ We also know that $E(X) = 0.6$ As the definition of the expectation is: $E(X) = \int_{-\infty}^\infty xf(x)\;dx$ we know: $$ \int_0^1 ax^2+bx^3\; dx = 0.6\\ \frac{ax^3}{3}+\frac{bx^4}{4}\bigg|_0^1 = 0.6\\ \frac{a}{3} + \frac{b}{4} = 0.6\\ 4a+3b=7.2 $$ Now we have two equations and two unknowns: $$ 3a+2b=6\\ 4a+3b=7.2\\ a -\frac{3}{4}b = 1.8\\ a=1.8-\frac{3}{4}b\\ 3\left(1.8-\frac{3}{4}b\right) + 2b = 6\\ 5.4 - \frac{9}{4}b + \frac{8}{4}b = 6\\ 5.4 - 6 = -\frac{b}{4}\\ \mathbf{b = -2.4}\\ a=1.8-\frac{3}{4}-2.4\\ \mathbf{a = 3.6} $$ Now that we know the values, the first question is simply $\int_{0.5}^1 3.6x - 2.4x^2\; dx$ which is: $$ \int_{0.5}^1 3.6x-2.4x^2\; dx\\ \frac{3.6x^2}{2}-\frac{2.4x^3}{3}\bigg|_{0.5}^1\\ \left(\frac{3.6\cdot1^2}{2}-\frac{2.4\cdot1^3}{3}\right)-\left(\frac{3.6\cdot{0.5}^2}{2}-\frac{2.4\cdot{0.5}^3}{3}\right)\\ 1 - 0.35 = \mathbf{0.65} $$ The second question asks for the variance. We can use the definition of the variance of $Var(X) = E(X^2) - E(X)^2$. To find the first term we need solve $\int_0^1 ax^3+bx^4\; dx$ which is (following the same derivation as above) $\frac{3.6\cdot1^4}{4}-\frac{2.4\cdot1^5}{5} = \frac{3.6}{4} - \frac{2.4}{5} = 0.42$ So the variance is $0.42-0.6^2 = \mathbf{0.06}$.
Second problem:
You can solve this one the same way as the first. We must have $\int_0^2 cx^4\;dx = 1$. So: $$ \int_0^2 cx^4\;dx = 1\\ \frac{cx^5}{5}\bigg|_0^2 = 1\\ \frac{c\cdot32}{5} = 1\\ \mathbf{c=\frac{5}{32}} $$ The mean value, E(X) is the value of $\int_0^2 \frac{5}{32}x^5\;dx$ which is $\frac{5\cdot2^6}{32\cdot6} = \frac{320}{192} = \mathbf{\frac{5}{3}}$
The variance uses the same relationship as above. $E(X^2) = \int_0^2 \frac{5}{32}x^6\;dx = \frac{5\cdot2^7}{32\cdot7} = \frac{640}{224}$ So the variance is $\frac{640}{224} - {\frac{5}{3}}^2 = \mathbf{\frac{5}{63}}$