The first law of thermodynamics: Equation
The first law of thermodynamics was derived in the 19th century by Rudolf Clausius and William Thomson. It states that the total change in the internal energy ΔU of a closed system is equal to the total heat transfer supplied into the system Q minus the total work done by the system W.
Figure 1. First law of thermodynamics. Source: Oğulcan Tezcan, StudySmarter.
First law of thermodynamics: Internal energy (U)
The internal energy of a system on a smaller scale can be considered as the stored sum of the kinetic and potential energy of its atoms and molecules. However, it is more useful to define the internal energy on a larger scale, using the macroscopic quantities of a system, including pressure, temperature, and volume, to study the system’s behaviour.
Internal energy can be positive when heat is added to the system and/or work is done on the system.
Internal energy can be negative when heat is removed from the system and/or work is done by the system on its surroundings.
First law of thermodynamics: Heat (Q)
Heat (Q), measured in joules, is the energy that is transferred by molecular motion and collisions due to a temperature difference. When the system is taken as the reference, the heat that enters a system can be considered to be positive, while the heat exiting a system is negative.
First law of thermodynamics: Work (W)
The work (W) of a system, measured in joules, is the energy that is transferred from one system to another or to its surroundings. This is a general form of mechanical work.
- When work is done by the system of reference, the work is defined as negative, as energy is lost from the system of reference and consumed by an external system or the surroundings.
- When work is done on the system of reference, the work is defined as positive, as energy is added to the system of reference and lost from an external system or the surroundings.
Some examples of positive and negative work depending on the chosen system of reference are given in the table below.
Examples | Work done on the system is positive | Work done by the system is negative |
A steam engine produces work. | The surroundings are the system of reference (energy is added to surroundings from the engine). | The engine is the system of reference (energy is lost from the engine to the surroundings). |
Refrigerators consume work. | Refrigerators are the system of reference (energy is added to refrigerators from the environment). | The environment is the system of reference (energy is lost from the environment). |
First law of thermodynamics in differential form
The differential form of the first law of thermodynamics can be seen below. The differential form of the equation is used to describe in more detail the rate of change of heat and work and, as an extension, the rate of change of a system’s internal energy.
\[\partial U = \partial Q - \partial W\]
In the case of the work done in a hydrostatic system, a system containing fluids, the differential equation can be simplified as shown below, where p is the pressure, and V is the volume of the system. Hence, the first law of thermodynamics can also be written as shown below when the volume of a fluid changes.
\[\partial W = -p\partial V \qquad \partial U = \partial Q + p \partial V\]
The negative sign indicates that the changes in volume are always opposite to the sign of the changes in work. For example, if work is positive, dV would be negative, and vice versa.
First law of thermodynamics examples
The most common application of the first law of thermodynamics is the heat engine, which is used in trains, vehicles, etc.
Other applications include aeroplane engines, refrigerators systems, and heat pumps.
How much work is done by a gas that is compressed from 35L to 15L under a constant external pressure of 3 atm?
Solution:
\(\partial W = -p \partial V = -p \cdot (V_f-V_i)\)
As the gas is compressed, the work is positive, and dV is negative:
\(\partial W = -3 atm \cdot (15 L - 35 L) = 60 L \space atm\)
As we need to convert this to Joules, we multiply by the gas constant J/mol K and divide by the gas constant 0.08206 L atm/mol K.
\(\frac{L \space atm \cdot \frac{J}{mol \cdot K}} {\frac{L \space atm}{mol \cdot K}}\)
\(\partial W = \frac{60 atm \cdot 8.31447 J/mol \cdot K}{0.08206 L \cdot atm/mol \cdot K} = 6079 J\)
First law of thermodynamics: Thermodynamic systems
There are three types of systems that can be observed in thermodynamics:
Open systems, which exchange both energy and matter with their surroundings. For example, when boiling water in a pan, energy and matter are transferred from the pan to the surrounding atmosphere as steam.
Closed systems, which exchange only energy with their surroundings. For example, a hot cup of coffee with a lid on transfers energy from the coffee to the surrounding atmosphere in the form of steam.
Isolated systems, which are a special case of closed systems that transfer neither energy nor matter to other systems or their surroundings. For example, a perfectly insulated and closed nitrogen tank transfers neither energy nor matter to its surroundings.
How does the first law of thermodynamics apply to gases?
Gases are sensitive to changes in macroscopic quantities such as volume, temperature, and density. For example, when the temperature increases, gases tend to expand due to the increased kinetic energy of the gas molecules. When the temperature decreases, the gases tend to compress. For constant pressure, the formula below can be used, where p is the pressure while Δv is the change in volume. The minus sign indicates that the work is done with respect to the system.
\[W = -p \cdot \Delta V\]
From a thermodynamic perspective, the following apply:
When a gas expands, the energy is transferred to the system’s surroundings. Work is done by the gas on the surroundings. Here the work is negative (-W) with respect to the system (gas), as energy is released from the system.
When a gas is compressed, energy is transferred from the surroundings to the gas. Work is done on the gas by the surroundings. Hence the work is positive (+ W) with respect to the system (gas).
If the work done is being considered with respect to the surroundings, then the sign in the equation becomes positive. Work done becomes positive when the gas is expanded, while the work done is negative when the gas is compressed.
First Law of Thermodynamics - Key takeaways
- Thermodynamics is the study of energy, heat, and temperature of matter.
- The first law of thermodynamics was derived from the conservation of energy theorem.
- The first law of thermodynamics states that the changes in internal energy are equal to the work done subtracted by heat addition.
- The most common application of the first law of thermodynamics is the heat engine.
How we ensure our content is accurate and trustworthy?
At StudySmarter, we have created a learning platform that serves millions of students. Meet
the people who work hard to deliver fact based content as well as making sure it is verified.
Content Creation Process:
Lily Hulatt is a Digital Content Specialist with over three years of experience in content strategy and curriculum design. She gained her PhD in English Literature from Durham University in 2022, taught in Durham University’s English Studies Department, and has contributed to a number of publications. Lily specialises in English Literature, English Language, History, and Philosophy.
Get to know Lily
Content Quality Monitored by:
Gabriel Freitas is an AI Engineer with a solid experience in software development, machine learning algorithms, and generative AI, including large language models’ (LLMs) applications. Graduated in Electrical Engineering at the University of São Paulo, he is currently pursuing an MSc in Computer Engineering at the University of Campinas, specializing in machine learning topics. Gabriel has a strong background in software engineering and has worked on projects involving computer vision, embedded AI, and LLM applications.
Get to know Gabriel