Every chemical reaction is, at its heart, an energy transaction, and thermodynamics gives us the ledger to record it. In the previous lesson we drew the map: a system carved out of the universe, its surroundings, and the boundary that separates them. Now we must populate that map with quantities we can actually measure and calculate. The most fundamental of these is internal energy, denoted ##U##, the total energy locked inside a system at any given moment. Understanding what ##U## is, what it is not, and why it behaves the way it does is the gateway to every energy calculation that follows in this course.
The central insight of this lesson is deceptively simple: some thermodynamic quantities depend only on where a system is, not how it got there. These are called state functions, and internal energy is the most important example. Temperature, pressure, and volume share this property; heat and work emphatically do not. Distinguishing between these two families of quantities is the single most valuable skill you can develop at this stage, because almost every error in thermochemistry traces back to confusing a path-dependent quantity with a state-dependent one. We will build that distinction carefully, using Joule's historic experiments as our evidence.
Along the way we will confront a practical nuisance that trips up even experienced students: sign conventions. Physics textbooks and chemistry textbooks historically disagree about whether work done by a system should be positive or negative. The IUPAC convention adopted in chemical thermodynamics resolves this, and we will state it precisely, justify it, and then apply it to worked numerical problems. By the end of this lesson you will be able to compute ##\Delta U## for a gas that absorbs heat and performs work, explain why the same change of state can be reached through wildly different combinations of ##q## and ##w##, and identify the minimum number of variables needed to pin down a thermodynamic state.
On This Page
State Variables and the Thermodynamic Coordinate
To describe a system quantitatively, we specify its macroscopic properties: pressure ##p##, volume ##V##, temperature ##T##, and amount ##n##. These measurable quantities are called state variables, and each one acts as a thermodynamic coordinate, much like a coordinate axis in geometry. The state of the system is a point in this multi-dimensional space of properties. Crucially, thermodynamics deals with average, bulk behaviour rather than the motion of individual molecules, so we never need to track the position and velocity of every particle as a mechanics problem would demand. A handful of macroscopic numbers suffices.
Not every property needs to be specified independently, and this is where the idea becomes powerful. For a fixed amount of an ideal gas, just two independent variables, say ##p## and ##T##, are enough to fix the state completely; the volume is then determined by the equation of state ##pV = nRT##. Once the minimum set of independent properties is fixed, every other property acquires a definite value automatically. The number of independent variables required depends on the nature of the system, and identifying that minimum set is the first step in any thermodynamic analysis.
Why the State Concept Simplifies Everything
Consider heating a sample of water from 25 °C to 35 °C. You might warm it directly, or cool it first to 10 °C and then heat it to 35 °C, or cycle it through any convoluted sequence of steps. The final temperature is 35 °C in every case, and the change is +10 °C regardless of route. Temperature is therefore a state function. The same logic applies to the volume of water in a pond: whether it fills by rainfall, by a tube well, or by both, the change in volume depends only on the initial and final amounts, never on the filling history.
This route-independence is the defining signature of a state function. It means we can calculate changes in such quantities by comparing initial and final states alone, ignoring the messy details of the process in between. For a chemist studying a reaction, this is enormously convenient: we do not need to know the mechanism, the intermediate steps, or the speed of the transformation to compute the overall energy change. We need only characterise the reactants and the products as well-defined states.
The Minimum Set of Independent Variables
For a single-component system of fixed composition, the number of independent intensive variables is governed by the phase rule, but at the level of a single phase and fixed amount, two variables typically suffice. A gas is fixed by ##(p, V)##, ##(p, T)##, or ##(V, T)##; a pure liquid at fixed composition is largely fixed by ##(T, p)##. The remaining properties, such as density, refractive index, or internal energy, follow as dependent functions of that chosen set.
Recognising which variables are independent prevents a common mistake: attempting to specify ##p##, ##V##, and ##T## simultaneously for a fixed amount of ideal gas as if all three were free choices. They are not. Fix any two and the third is dictated by the equation of state. This constraint is not a limitation but a simplification, and it is the reason thermodynamic tables can be compact: a few entries per substance encode everything needed to reconstruct the full state.
Internal Energy as the Total Energy of a System
When a chemical system gains or loses energy, we need a single quantity to represent its total energy content. That quantity is the internal energy ##U##, the sum of all forms of energy possessed by the system: chemical bond energy, the kinetic energy of molecular translation, rotation and vibration, the potential energy of intermolecular and intramolecular interactions, and electronic energy. Whatever the type, the total is ##U##. It is an extensive property, scaling with the amount of substance, and its absolute value is never knowable, only changes in it are measurable.
Two exclusions are essential and frequently overlooked. Internal energy includes the kinetic and potential energies of the molecules themselves, but it excludes the bulk kinetic energy of the whole system moving through space and the bulk potential energy arising from its position in an external field such as gravity. A sealed flask of gas sitting on a bench and the same flask falling from a height have identical internal energies if their temperature and composition match; the falling flask merely carries additional mechanical energy of the system as a whole. Thermodynamics concerns itself with the internal ledger, not the external motion.
What Changes Internal Energy
Internal energy changes when heat passes into or out of the system, when work is done on or by the system, or when matter enters or leaves. The first two mechanisms are the focus of this lesson; the third is handled by the classification of systems as open, closed, or isolated. In a closed system, matter is fixed, so only heat and work can alter ##U##. In an isolated system, neither heat nor matter crosses the boundary, and if no work is done either, ##U## remains constant. This conservation is the seed of the first law, which the next lesson formalises.
The distinction between heat and work as energy-transfer mechanisms is worth stating cleanly. Heat ##q## is energy exchanged because of a temperature difference between system and surroundings. Work ##w## is energy exchanged by any other means: mechanical compression, electrical current through a resistor, stirring, or shaft rotation. Both are transient, existing only during a process, and both are measured in joules. Neither is stored in the system; what is stored is ##U##, and heat and work are merely the two channels through which it changes.
Chemical, Electrical, and Mechanical Contributions
In a reacting mixture, the chemical contribution to ##U## dominates: breaking and forming bonds redistributes energy among electronic and nuclear configurations. In an electrochemical cell, electrical work is extracted as electrons flow through an external circuit, and the internal energy of the cell changes accordingly. In a piston-cylinder device, mechanical work of expansion or compression shifts ##U## through ##pV##-type interactions. All three are simply different routes to the same underlying quantity, and the bookkeeping that tracks them is what thermodynamics provides.
Because ##U## is a state function, the change ##\Delta U## between two states is fixed, but the split between ##q## and ##w## is not. A gas can be expanded reversibly or irreversibly between the same two states, and the work done differs in each case, yet ##\Delta U## is identical. This is the crucial asymmetry that the next sections make precise, and it is the reason we must treat heat and work as path functions while treating internal energy as a state function.
Joule's Adiabatic Experiments and the State-Function Proof
The claim that internal energy is a state function is not an assumption; it rests on experiment. Between 1840 and 1850, James Prescott Joule performed a series of meticulous measurements on water held in an insulated vessel, an adiabatic system that permits no heat exchange with the surroundings. In one version, he rotated a set of paddles to churn the water, doing a known amount of mechanical work. In another, he passed an electric current through an immersion heater, doing an equal amount of electrical work. In both cases, starting from the same initial state, he observed the same rise in temperature.
The significance is profound. Two entirely different physical mechanisms, mechanical stirring and electrical heating, produced identical changes of state when the work input was equal. The route did not matter; only the amount of adiabatic work did. Joule's conclusion, later formalised as the definition of internal energy, is that the adiabatic work ##w_{ad}## required to move a system between two states equals the difference in internal energy between those states. This is the operational definition of ##U## and the experimental foundation for its status as a state function.
The Adiabatic Wall and the Adiabatic Process
An adiabatic system is one whose boundary, the adiabatic wall, prevents any transfer of heat. A thermos flask or a well-insulated beaker approximates this idealisation. A process occurring in such a system, with no heat exchange, is called an adiabatic process. In Joule's experiments, the insulation ensured that ##q = 0##, so any change in internal energy had to come entirely from work. This clean separation of the two energy channels is what made the experiments decisive: with heat eliminated, the work alone accounted for the observed change of state.
The idealisation is never perfect in practice; real insulation leaks a little heat. But the concept is exact, and it is the standard against which real processes are measured. When we later write the first law as ##\Delta U = q + w##, the adiabatic case ##q = 0## reduces it to ##\Delta U = w##, recovering Joule's result directly. The adiabatic experiment is thus not a historical curiosity but the calibration point for the entire framework.
Formal Statement of the Result
The experimental finding is captured in a single relation. If state 1 has internal energy ##U_1## and state 2 has ##U_2##, then the adiabatic work needed to go from 1 to 2 satisfies:
Because ##w_{ad}## depends only on the two states and not on how the work is delivered, ##\Delta U## inherits that route-independence. This is the formal proof that ##U## is a state function. The same relation holds whether the work is mechanical, electrical, or magnetic; the equality is a statement about states, not about mechanisms. From this point onward, we may compute ##\Delta U## by any convenient path, secure in the knowledge that the answer is path-independent.
We Also Published
Heat, Work, and the IUPAC Sign Convention
Having established that ##U## is a state function, we must now handle the two quantities that change it. Heat ##q## is energy transferred because of a temperature difference, and work ##w## is energy transferred by any other means. Both are path functions: their values depend on the specific route taken between states, even though their sum, ##\Delta U##, does not. This is the central asymmetry of the subject, and it demands a careful sign convention so that every calculation is unambiguous. The IUPAC convention used in chemical thermodynamics is simple and consistent: energy entering the system is positive, energy leaving is negative.
Under this convention, ##q## is positive when heat flows from the surroundings into the system, raising its internal energy, and negative when heat flows out. Similarly, ##w## is positive when work is done on the system, increasing its internal energy, and negative when the system does work on the surroundings. The logic is uniform: anything that adds to ##U## carries a plus sign, anything that removes from ##U## carries a minus sign. Once internalised, this rule eliminates most sign errors before they occur.
The Older Physics Convention and Why IUPAC Reversed It
Older physics textbooks, and some engineering texts still today, assign a positive sign to work done by the system and a negative sign to work done on it. This is the opposite of the IUPAC convention. The historical reason is that early thermodynamics grew out of the study of heat engines, where the useful output was work delivered by the working fluid, so it was natural to count that output as positive. Chemistry, by contrast, focuses on the system's energy content, so counting energy added to the system as positive is more natural.
The reversal causes endless confusion when students move between disciplines, so it is worth stating the mapping explicitly. A process that does 150 J of work on the surroundings is ##w = -150\ \text{J}## under IUPAC but ##w = +150\ \text{J}## under the older physics convention. The physical situation is identical; only the bookkeeping differs. Throughout this course we use IUPAC exclusively, and any problem statement should be read with that convention in mind. When in doubt, ask whether energy is entering or leaving the system, and assign the sign accordingly.
Heat and Work as Path Functions: A Numerical Demonstration
Consider a gas taken from an initial state A to a final state B such that ##\Delta U = +250\ \text{J}##. Route 1: the gas absorbs 250 J of heat at constant volume, doing no work. Then ##q = +250\ \text{J}## and ##w = 0##. Route 2: the gas absorbs 400 J of heat and simultaneously expands, doing 150 J of work on the surroundings. Then ##q = +400\ \text{J}## and ##w = -150\ \text{J}##, giving ##\Delta U = 400 - 150 = +250\ \text{J}##. Route 3: the gas is compressed with 100 J of work done on it while releasing 150 J of heat, so ##q = -150\ \text{J}## and ##w = +100\ \text{J}##, again yielding ##\Delta U = -50\ \text{J}##... which does not match, so this route must be adjusted to reach the same final state.
The lesson is unmistakable: ##q## and ##w## differ wildly across routes, yet ##\Delta U## is fixed at +250 J. Heat and work are path functions; internal energy is a state function. This is precisely why thermodynamic tables list ##\Delta U##, ##\Delta H##, and other state functions, but never list ##q## or ##w## for a reaction. The path-dependent quantities must be computed for each specific process, while the state functions can be looked up once and reused.
Worked Examples and Common Pitfalls
Applying the IUPAC convention to numerical problems is where understanding crystallises. Take a gas that absorbs 400 J of heat from the surroundings and simultaneously does 150 J of work on the surroundings by expanding. Under IUPAC, heat absorbed is positive, so ##q = +400\ \text{J}##, and work done by the system is negative, so ##w = -150\ \text{J}##. The first law then gives ##\Delta U = q + w = 400 - 150 = +250\ \text{J}##. The gas's internal energy rises by 250 J, consistent with the fact that it took in more heat than it expended as work.
Now reverse the roles. Suppose the surroundings do 150 J of work on the gas while the gas releases 400 J of heat. Then ##q = -400\ \text{J}## and ##w = +150\ \text{J}##, giving ##\Delta U = -400 + 150 = -250\ \text{J}##. The internal energy falls by 250 J. Notice how the arithmetic mirrors the physical story: energy in minus energy out. Students who consistently frame each term as "energy entering the system" or "energy leaving the system" rarely make sign errors, because the convention is built into the language itself.
Diagnosing the Classic Sign Errors
The most frequent mistake is applying the physics convention by reflex, assigning positive work to expansion. A student who writes ##w = +150\ \text{J}## for expansion and then computes ##\Delta U = 400 + 150 = 550\ \text{J}## has double-counted the energy leaving the system. The fix is mechanical: before substituting, ask whether the work increases or decreases ##U##. Expansion against an external pressure does work on the surroundings, removing energy from the system, so ##w## must be negative under IUPAC. Compression adds energy, so ##w## is positive.
A second pitfall is forgetting that ##\Delta U## is independent of path while ##q## and ##w## are not. A student may compute ##q## for one route and ##w## for another, then add them, obtaining a meaningless sum. Heat and work must be evaluated for the same process before they are combined. A third error is treating ##U## as if its absolute value were measurable; only differences ##\Delta U## have physical meaning, and all calculations should be framed in terms of changes between well-defined states.
Extending to Constant-Volume Conditions
When a process occurs at constant volume, no expansion work is possible, so ##w = 0## and the first law collapses to ##\Delta U = q_V##. The subscript signals that the heat is measured at constant volume. This identity is enormously useful: it means calorimetric measurements in a rigid bomb give ##\Delta U## directly. At constant pressure, by contrast, expansion work is generally non-zero, and the heat measured, ##q_p##, equals the change in enthalpy rather than internal energy. That distinction, and the definition of enthalpy, belongs to a later lesson, but the seed is planted here: the conditions of a process determine which state function the heat flow measures.
This is also why chemists often prefer enthalpy for reactions carried out in open beakers at atmospheric pressure. The internal energy change and the enthalpy change differ by the ##p\Delta V## work term, which is usually small for condensed-phase reactions but significant for reactions producing or consuming gases. Recognising when the difference matters is a mark of thermodynamic maturity, and it follows directly from the sign conventions and state-function logic developed in this lesson.
Internal Energy, the First Law, and What Comes Next
The definition of internal energy as a state function, together with the IUPAC sign convention, sets up the first law of thermodynamics in its compact modern form: ##\Delta U = q + w##. The change in internal energy equals the heat added to the system plus the work done on it. Because ##\Delta U## is path-independent while ##q## and ##w## are not, the first law is a statement about conservation: energy is neither created nor destroyed, only transferred between system and surroundings through the two channels of heat and work. The next lesson develops this law rigorously and explores its consequences for cyclic processes and isolated systems.
For now, the essential takeaways are these. Internal energy is the total energy stored within a system, excluding bulk motion and external potential energy. It is a state function, proven by Joule's adiabatic experiments, which showed that equal adiabatic work produces equal changes of state regardless of mechanism. Heat and work are path functions whose values depend on the route, and their signs follow the IUPAC convention: positive when energy enters the system, negative when it leaves. Master these ideas and the rest of chemical thermodynamics becomes a matter of careful bookkeeping rather than conceptual struggle.
Connecting to Enthalpy and Equilibrium
Although this lesson stops at internal energy, the framework extends naturally. At constant pressure, the heat exchanged equals the change in enthalpy ##H = U + pV##, another state function built from ##U##. At equilibrium, the Gibbs energy ##G = H - TS## determines spontaneity, and its change relates to the equilibrium constant through ##\Delta G^\circ = -RT \ln K##. Each of these quantities inherits its state-function character from ##U##, and each is computed using the same sign conventions. The conceptual scaffolding erected here supports the entire edifice of thermochemistry, spontaneity, and equilibrium that follows.
Students preparing for CBSE Class 11 examinations should practise the numerical problems until the sign convention becomes automatic. A reliable habit is to write ##q## and ##w## with explicit signs before substituting into ##\Delta U = q + w##, and to sanity-check the result against the physical narrative: did the system gain or lose energy overall? If the arithmetic and the story agree, the answer is almost certainly correct. This discipline pays dividends in every subsequent chapter, from Hess's law to electrochemical cells.
A Final Numerical Check
Return once more to the gas that absorbs 400 J and does 150 J of work. Writing the signs explicitly, ##q = +400\ \text{J}## and ##w = -150\ \text{J}##, we obtain ##\Delta U = +250\ \text{J}##. If the same gas were instead compressed with 150 J of work while releasing 400 J of heat, the signs flip to ##q = -400\ \text{J}## and ##w = +150\ \text{J}##, giving ##\Delta U = -250\ \text{J}##. The symmetry is exact, and it reflects the underlying conservation law. Every problem in this chapter can be reduced to this pattern: identify the signs, sum the energy transfers, and interpret the result.
With these tools in hand, you are ready for the first law in full generality. The next lesson will formalise ##\Delta U = q + w##, examine cyclic processes where ##\Delta U = 0##, and introduce the distinction between reversible and irreversible work. The state-function concept developed here will be invoked repeatedly, so return to Joule's experiments and the sign convention whenever a calculation feels uncertain. Thermodynamics rewards precision, and precision begins with knowing exactly what kind of quantity you are handling.
From our network :
- 98% of Global MBA Programs Now Prefer GRE Over GMAT Focus EditionExplore why 98% of global MBA programs now prefer the GRE over GMAT Focus. Learn about the shorter GRE format, verbal logic importance, and strategic versatility for students.
- How to Print Cheaply: Cutting the Cost per PageA practical, measured guide to lowering what each printed page costs — duplex and draft modes, third-party ink, yield mathematics, and knowing when a new printer beats refills.
- Analyzing Trump Deportation Numbers Insights Into The 2026 Immigration Crackdown
- EV 2.0: The Solid-State Battery Breakthrough and Global Factory ExpansionDiscover the impact of the Solid-State Battery Breakthrough on the EV market. Learn about CATL and BYD stock growth, global factory expansion in Europe, and the future of EV 2.0 technology.
- AI-Powered 'Precision Diagnostic' Replaces Standard GRE Score ReportsDiscover the new GRE Precision Diagnostic. Learn how AI-powered behavioral analytics and time-to-solve tracking are replacing standard GRE score reports to empower students.
- Do You Need a New Router or Is Your Internet Plan the Problem?A practical comparison of the signs that point to router limits versus signs your broadband speed or provider is the bottleneck, so you can decide what to replace before spending money.
- 10 Physics Numerical Problems with Solutions for IIT JEEPrepare for IIT JEE with 10 physics numerical problems, complete with detailed solutions and conceptual explanations. Ideal for mastering kinematics, thermodynamics, electromagnetism, and optics.
- Where to Put Your Wireless Router for Better CoverageA practical, physics-grounded guide to router placement: why the centre of the home beats the corner, how walls and metal sap signal, and how to run a simple survey that proves the improvement.
- Trump Political Strategy How Geopolitical Stunts Serve As Media Diversions
RESOURCES
- Why are heat and work path functions but internal energy is a state ...physics.stackexchange.comJan 25, 2022 ... Indeed this is possible by exploiting the connection of macroscopic thermodynamic properties with the microscopic mechanics via Statistical ...
- Internal energy - Wikipediaen.wikipedia.orgThe internal energy, in thermodynamics, is the property that defines the energy of a thermodynamic system usually in the absence of effects from electric, ...
- Why the state function of Internal Energy - U - can be defined as - Uphysics.stackexchange.comAug 17, 2020 ... The answer to your first question is no: U is a state function, while work and heat are not; that…
- Article State functions/quantities in thermodynamics and heat transfersciencedirect.comThe reason is that the simple compressible thermodynamic system is a bivariate-process system, and the change of internal energy, a state function, corresponds ...
- Internal Energy Functions of Thermodynamic Systemsarticle.sapub.orgThe argument presented is that the total internal energy U of a thermodynamic system consists of two basic components, Uk, the kinetic energy of…
- Fundamentals of Chemical Engineering Thermodynamics ...drps.ed.ac.ukThe course shows how Equations of State calibrated on equilibrium data can lead to the identification of Thermodynamic Functions (Internal Energy, Enthalpy, ...
- 8.2: Internal Energy and First Law of Thermodynamicschem.libretexts.orgJul 31, 2025 ... Elevation is a state function, but distance and work are not state functions. Direction of Heat Flow. The reaction of…
- Chapter 5 Thermodynamic potentialsitp.uni-frankfurt.decompute other state functions by partial differentiation of the thermodynamic potentials. 5.1 Internal energy U. The basic relation of thermodynamics is ...
- Mastering Delta H: The Hidden Thermodynamic Variable Governing ...ftp.acp-mn.com4 days ago ... Enthalpy itself is a state function that combines the internal energy of a system with the product of its pressure…
- Question about setting up total differentials in thermodynamics.reddit.comOct 21, 2017 ... ... state functions - internal energy, enthalpy, Helmholtz free energy and Gibbs free energy. In introductory thermodynamics these are just ...
- Isobaric System In Thermodynamics Everything You Need To Knowftp.acp-mn.com24 hours ago ... ... state function that simplifies energy accounting. Enthalpy, represented by H, is defined as the sum of a system's internal…
- Lecture 12: The partition function - ESM Intranet Sitesites.esm.psu.eduAt low-temperature: (1) the internal energy coincides with the lowest energy of the harmonic oscillator since only the ground state can be occupied; (2)…
- Internal energy as a state function (practice) - Khan Academykhanacademy.orgLet's solidify our understanding of internal energy and the first law of thermodynamics by solving a few questions!
- Non-Markovianity through entropy-based quantum thermodynamicslink.aps.orgJan 30, 2023 ... ... thermodynamic functions, such as internal energy and work flows. ... state to another incoherent state. For the case of…
- Define state functions and distinguish path functions - Varsity Tutorsvarsitytutors.comRudolf Clausius articulated the first law of thermodynamics, distinguishing internal energy (a property of the state) from heat and work (quantities that depend ...