A utility function is a mathematical representation of preferences. These functions play a central role in economics and decision theory, where they are often used to predict an agent’s behavior by calculating which actions will maximize their utility. This appendix explores how this mathematical framework can be applied to AI, and what its limitations are.