Skip to article frontmatterSkip to article content
Tutorial

Utility

Abstract

A brief overview of utility functions, their uses, properties and some examples.

Keywords:UtilityExpected UtilityRisk.

Utility

Utility is used to model total satisfaction or benefit gained from having a certain wealth, consuming a good or consuming a service. Theories based off the idea of a rational consumer usually assume that people will try and maximise their utility, that is, maximise their total satisfaction. It is often used to evaluate situations without an immediate pay back and uncertainty in the outcome.

Utility directly influences demand, as the higher the utility of a product or service the more consumers will want it. As a consequence, utility also influences the price of a good or service.

Utility Functions

Assume there is some set of possible alternatives, W={wi}\mathfrak{W} = \{ w_{i} \}, from which an agent can either choose an alternative, or be assigned an alternative based off some probability distribution (situation dependent).

The set W\mathfrak{W} has a binary relation, >>, that allows any two elements of the set to be compared. This binary relation models the agents preference, with the agent preferring wiw_{i} to wjw_{j} if wi>wjw_i > w_j. Put differently, if wi>wjw_i > w_j then alternative wiw_i brings the agent more satisfaction.

It is also assumed that possible alternatives can be mixed according to some probability distribution, with the mixture being a valid alternative, such that for two elements (wi,wj)(w_i, w_j),

αwi+(1α)wjW  α[0,1].\alpha w_{i} + (1-\alpha) w_{j} \in \mathfrak{W}~\forall~ \alpha \in [0,1].

A utility function, u()u(\cdot), is a map from the set W\mathfrak{W} to the real numbers that preserves the ordering enforced by the binary relation. Hence, u:WRu: \mathfrak{W} \rightarrow \mathbb{R}, such that

u(wi)>u(wj)  if  wi>wj.u(w_{i})>u(w_{j})~ ~ \textrm{if} ~ ~ w_{i}>w_j.

Formally, this means that utility functions are a monotone for the binary relation.

A utility function subject to a linear transformation will continue to be monotonic for the binary relation on W\mathfrak{W}. Hence, the numerical output of a utility function does not hold any intrinsic value. It is comparisons between the utility of different alternatives that has meaning.

Utility functions allow the idea of risk to be introduced for agents. Typically, they will include an additional parameter RR that is used to model the agents attitude toward risk. This will be denoted by uR(w)u_R(w).

Utility Axioms

Let W={wi}\mathfrak{W} = \{ w_{i} \} be a set of alternative outcomes.

There exists a binary relation on W\mathfrak{W}, namely >>, and an operations that allows alternative outcomes to be combined via some probability distribution α[0,1]\alpha \in [0,1] to form new alternative outcomes,

w=αwi+(1α)wjW.w' = \alpha w_{i} + (1-\alpha) w_{j} \in \mathfrak{W}.

If these axioms are satisfied then there exists a function u:WRu: \mathfrak{W} \rightarrow \mathbb{R} that preserve the ordering set on W\mathfrak{W} by the binary relation.

  1. wi>wjw_{i} > w_j forms a total ordering on W\mathfrak{W}.

This means that for all pairs of elements, (wi,wj)W(w_{i}, w_{j})\in \mathfrak{W} one of the following relations is true

wi=wj,  wi>wj  wi<wjw_i = w_j, ~ ~ w_i > w_j ~ ~ w_i < w_j

and if wi>wjw_{i} > w_j and wj>wkw_{j} > w_k then wi>wkw_i > w_k 💭.

  • Physical Interpretation: The agent has a preference over all possible alternatives. There is no set of possible alternative where they are “not sure” which alternative they prefer.
  1. wi<wjw_i < w_j implies wi<αwi+(1α)wjw_i < \alpha w_i + (1-\alpha) w_j
  • Physical Interpretation: If wjw_j is preferable to wiw_i then having any probability of obtaining the alternative wjw_j is preferable to having wiw_i with certainty.
  1. wi>wjw_i > w_j implies wi>αwi+(1α)wjw_i > \alpha w_i + (1-\alpha) w_j
  • Physical Interpretation: If wiw_i is preferable to wjw_j then having any probability of obtaining the alternative wjw_j is less-preferable to having wiw_i with certainty. This is the alternative case to 2.
  1. wi<wj<wkw_i < w_j < w_k implies the existence of an α\alpha such that
αwi+(1α)wk<wj\alpha w_i + (1-\alpha) w_k < w_j
  • Physical Interpretation: Regardless of how preferable wkw_k is compared to wjw_j, there exists a probability of wkw_k occurring that is small enough compared to the probability of the less preferable alternative wiw_i occurring such that taking the chance is less preferable then taking wjw_j with certainty.
  1. wi>wj>wkw_i > w_j > w_k implies the existence of an α\alpha such that
αwi+(1α)wk>wj\alpha w_i + (1-\alpha) w_k > w_j
  • Physical Interpretation: Regardless of how less preferable wkw_k is compared to wjw_j, there exists a probability of wkw_k occurring that is small enough compared to the probability of the more preferable alternative wiw_i occurring such that taking the chance is more preferable then taking wjw_j with certainty.

These axioms were taken from Theory of Games and Economic Behavior

Expected Utility

In general, one assumes that there is some probability distribution of the potential alternatives, with the alternative wWw \in \mathfrak{W} occuring with probability pwp_w such that

wWpw=1.\sum_{w \in \mathfrak{W}} p_{w} = 1.

From this probability distribution, one can consider the expected alternative as

E(W)=wWpww.\mathbb{E}(\mathfrak{W}) = \sum_{w \in \mathfrak{W}} p_{w}w.

This is the average alterative the agent would get if they sampled from the alternatives according to the probability distribution over them 💭.

The utility of this expected alternative if then given by u[E(W)]u \big[ \mathbb{E}(\mathfrak{W}) \big].

The utility of each outcome is also described by some probability distribution where the agent has utility u(w)u(w) with probability pwp_w. This means that the expected utility can be found from

E[u(W)]=wWpwu(w).\mathbb{E} \big[ u(\mathfrak{W} ) \big] = \sum_{w \in \mathfrak{W}} p_{w} u(w).

A rational agent will aim to maxamise their expected utility, i.e, maxamise their satisfaction.

Certainty Equivalent

The certainty equivalent, wCEw^{CE}, is the alternative that the agent is as satisfied with as the expected alternative,

u(wCE)=E[u(W)],u(w^{CE}) = \mathbb{E} \big[ u(\mathfrak{W}) \big],

where u(wCE)u(w^{CE}) is the how satisfied the agent is with the alternative wCEw^{CE}.

The certainty equivalent is therefore the alternative such that the utility of that alternative would give the agent the average utility over all alternatives. Hence, if the agent had the alternative wCEw^{CE} this would return them the expected amount of satisfaction (the expected utility)

Risk from Utility

Consider that there is a probability distribution over all alternatives, with probability pwp_{w} of getting an outcome wWw \in \mathfrak{W}. All the alternatives are totalled ordered due to preference, therefore, if taking a alternative from the distribution, there is some probability of the agent getting a high ranked preference, and some probability of the agent getting a low ranked preference.

Assume that an agent is given the choice to either take an alterative from the distribution or they take the alterative given by the certainty equivalent, wCEw^{CE}, with certainty (pwCE=1)(p_{w^{CE}}=1).

How the certainty equivalent, wCEw^{CE}, relates to the expected alternative, E(W)\mathbb{E}(\mathfrak{W}), tells us about the risk profile of the agent.

These risk profiles are encoded into the curvature of the utility functions.

Example Utility Functions

Isoelastic Utility
Exponential Utility

Let ww be some variable of importance to an agent and RR a parameter that models risk.

An example of an isoelastic utility function is

uR(w){w1R11Rif R0,R1lnwif R=1u_{R}(w) \coloneqq \left\{ \begin{array}{ll} \frac{w^{1-R} - 1}{1-R} & \mbox{if } R \geq0, R \neq 1 \\ \ln{w} & \mbox{if } R = 1 \end{array} \right.