Lecture The Conditional Expectation of X given Y E[X∣Y=yi]=i∑xi⋅PX∣Y(xi∣yj) The Law of Total Probability on Expectations is E[X]=j∑E[X∣Y=yi]⋅P(Y=yi)