The answer to your question is in the application.
From this and previous answers it follows that E(X) and E( |X| ) depend on the variance V(X). Therefore, the equations you propose are incorrect generally.
The answer to your question is in the application.
From this and previous answers it follows that E(X2) and E( |X| ) depend on the varianceV(X). Therefore, the equations you propose are incorrect generally.
A pair of discrete random variables X and Y that not satisfy the property in the question can be easily constructed as follows. Let X be the discrete uniform random variable with values 1 and 3, i.e., Prob(X =1) = Prob(X =3) =1/2, and let Y be the constant random variable equal to √5, i.e., Prob(Y =√5) = 1. Then we have E(X) =E(|X|) = 2, E(X^2) = 5, E(|Y|) = E(Y) = √5 and E(Y^2) = 5. Hence, E(X^2) = E(Y^2) , but E(|X|) ≠ E(|Y|).