Utility Function
A utility function is a way of translating an individual’s or a system’s preferences over possible outcomes into numbers, so that higher numbers represent more desirable results. By assigning each outcome a single value, the function lets us compare alternatives that might differ in many dimensions—money, health, risk, and so on—using a common scale.
The power of this idea lies in its ability to turn vague judgments about what is better into something we can manipulate mathematically. It underpins theories of rational choice, allowing analysts to predict how people will behave when faced with uncertainty, to design incentives that guide behavior, and to evaluate trade‑offs in public policy or business strategy. In fields such as economics, finance, and artificial intelligence, the utility function becomes the cornerstone for optimizing decisions, pricing assets, or shaping a machine’s objectives.
Utility functions appear wherever choices must be ordered and evaluated. Economists use them to model consumer demand and market equilibrium; game theorists employ them to describe players’ payoffs in strategic situations; policymakers rely on them when conducting cost‑benefit analysis of regulations; and AI researchers craft reward functions that act as utility measures for learning agents. In each case, the function provides a compact, numeric portrait of what matters most to the decision maker.