Heat and work are the two primary ways energy is transferred in and out of a thermodynamic system.
Heat (\( Q \)) can be thought of as the energy transfer resulting from a temperature difference between the system and its surroundings. It's often associated with heating up the system, causing temperature changes and phase transitions.
Work (\( W \)), on the other hand, generally involves energy being used to move the system's boundaries or produce motion. In thermodynamics, work done by the system might mean expanding against an external pressure, which requires energy.
- If work is done on the system, \( W \) is added to the internal energy.
- If the system does work on its surroundings, \( W \) is subtracted from \( Q \).
In our exercise, the system absorbed \(300 \text{ J}\) of heat, and after its internal energy increased by \(100 \text{ J}\), we determine that \(200 \text{ J}\) of energy was used to perform work, emphasizing the interplay between these elements.