A utility function assigns numerical values to outcomes according to their desirability to a decision maker. Utility captures preferences—not uncertainty—and need not be monetary; it can represent benefits, costs, risks, or discomfort. section 7.1 section 7.2.2
For an act, expected utility combines its possible outcomes with the probabilities of the states that produce them. Choose the act with the greatest expected utility. section 7.2.2
The equation weights each act–state utility by the posterior probability of that state, then selects the act with the largest sum. section 7.2.2
Treating after a diagnostic test
A physician compares treating and not treating across the possible states of disease present or absent. Utilities capture consequences such as cure, unnecessary cost, side effects, and harm from not treating disease; posterior probabilities alone do not determine the choice. section 7.1
Opportunity loss expresses the same decision in terms of satisfaction sacrificed: it is the utility of the best act for a state minus the utility of the chosen act. Minimizing expected opportunity loss is equivalent to maximizing expected utility. section 7.3.1


