You can use Jensen's inequality here.
For any X € L = L^1 prove that |EX| ≤ E|X|
For any X € L = L^2 prove that |EX|^2 ≤ E|X|^2
I was trying to prove those facts but I was not sure how to...
I figured out that I need to use the cauchy schwarz inequality but i did not clearly understand how to apply it
I started the questions like this for the first one,
a ∙ b ≤ |a ∙ b| ≤ |a||b|
I started the questions like this for the second one,
var (X) = E(X^2)-(EX)^2
but this is how far I came, can someone plz help me?
Do you mean you don't know Jensen's inequality? You can prove these elementary inequalities without it.
For the first one, you have to separate the positive and negative parts of : by definition, , and both terms are nonnegative so that ; finally, .
For the second one, on one hand the quantity is clearly nonnegative (and it is called the variance of ), and on the other hand if you expand the square inside the expectation and use linearity of expectation you get that . The nonnegativity thus gives you the inequality you need.
Alternatively, you can use Cauchy-Schwarz inequality: . This is ok as well.
And where according to the sign of X, and subsequently as well so that , but this is not a very direct way of proving it at all (I mean, the inequality is way more elementary than it could seem from this argument), I don't recommand it.