a will be larger when a is larger than b, than when it is smaller than b. so its average values (expectation values) in those two cases are different. and the average value of a is not the same as a itself, anyway. two mistakes are being made: the writer forgot he was taking expectation values, and he forgot he was taking expectation values under two different conditions.