I have this statement:
Justify if it is correct or not, perform the following transformation:
Let $X$ a random var, thus:
$P = E(X) - X + 1$
$P = E(1 * X) - X + 1$
$P = X[E(1)] - X + 1$
With the property, $E(c) = c$, then:
$P = X*1 - X +1, => X - X + 1 = 1$
I think the trap step is to get X out of the expected value, but I do not know the explanation of this. Thanks in advance.