Expected utility (source code)

= Expected utility
{title2=$\mathbb E[u(X)]$}

<Expected utility> is the <expected value> of a <utility function> applied to a random outcome, using the decision-maker's probabilities. For a finite <lottery>, it is $\sum_jp_j u(\omega_j)$. It is the expectation of utility, which generally differs from utility of the expected outcome.

For a risk-neutral bidder with fixed valuation $v$, winning indicator $I$ and possibly random payment $P$, <quasilinear utility> gives $vI-P$ and hence
$$
\mathbb E[vI-P]=v\Pr(I=1)-\mathbb EP.
$$
If losing bidders pay nothing, this can be written $\Pr(I=1)\mathbb E[v-P\mid I=1]$ when the winning probability is positive. It cannot be used without that payment assumption: in an <all-pay auction>, a deterministic bid $b$ is paid even after losing, so the expectation is $v\Pr(I=1)-b$.