A mathematical expression that assigns a value to all possible levels of utility one can receive. In portfolio theory the utility function expresses the preference for economic entities with respect to perceived risk and expected reward.