The document introduces free energy functions such as Helmholtz energy and Gibbs free energy. It discusses how these functions can be used to express spontaneity criteria for systems under different constraints of temperature and volume or pressure. Specifically, it describes how Helmholtz energy applies for constant temperature and volume, while Gibbs free energy applies for constant temperature and pressure. The document also examines physical interpretations and relationships between the different free energy functions and how they vary with respect to temperature, volume, and pressure.