Thermodynamics
Basic Concepts and the Zeroth Law · Heat, Work and the First Law · Thermodynamic Processes · Second Law and Carnot Engine
Basic Concepts and the Zeroth Law
Thermodynamics is the branch of physics that studies heat, work and the changes they cause in a working substance. It is a macroscopic science. It uses a few large-scale variables and does not describe molecules. The state of a gas is given by its pressure, volume, temperature, mass and composition.
1.1System, Surroundings and Boundary
A thermodynamic system is a collection of a very large number of particles (atoms or molecules). It has definite values of pressure, volume and temperature.
It may be a solid, a liquid, a gas, or a mix of these states.
The surroundings of a system are everything outside it that has a direct effect on it. All the space in the universe outside the system is its surroundings.
e.g. The environment around a system.
A system boundary is a closed two-dimensional surface, real or imaginary, around the space filled by the system. It keeps the system apart from its surroundings. Energy may or may not pass through it. Work can be done on or by the system across it.
1.2Classification of Thermodynamic Systems
Systems are classified by what can cross the boundary. A system may be open, closed or isolated.
An open system exchanges both energy and matter with its surroundings.
A closed system exchanges only energy with its surroundings, not matter.
An isolated system exchanges neither energy nor matter with the outside.
1.3Thermodynamic Equilibrium
A system is in thermodynamic equilibrium when its macroscopic variables do not change with time. These variables are pressure, volume, temperature, mass, composition, etc.
A gas is kept in a closed, rigid container. The container is fully insulated from its surroundings. The pressure, volume, temperature, mass and composition of the gas stay the same with time. So the gas is in thermodynamic equilibrium.
What lies around the system.
The kind of wall that separates the system from its surroundings.
Take two gases and in two separate containers. Let their pressures and volumes be and .
An adiabatic wall is an insulating wall. It does not let energy (heat) flow from one side to the other.
The two systems are placed close together with an adiabatic wall between them. Similar adiabatic walls also insulate them from the rest of the surroundings.
KeyIn this case, any pair of values is in equilibrium with any pair of values .
1.4Thermal Equilibrium
Two systems are in thermal equilibrium with each other when they are at the same temperature.
Now replace the adiabatic wall between gases and with a diathermic wall.
A diathermic wall is a conducting wall. It lets energy (heat) flow from one side to the other.
Heat now flows through the wall. So the macroscopic variables of both gases change by themselves. The pressure, the volume, or both may change.
After the change, let the values be and . These new states of and are in equilibrium with each other.
KeySo the temperatures of the two gases become equal. The gases are now in thermal equilibrium.
A system is in mechanical equilibrium when no unbalanced force and no unbalanced torque acts on it.
A system is in chemical equilibrium when its internal structure has no spontaneous change due to chemical reaction, diffusion, etc.
Two systems are in thermal equilibrium when no net heat flows between them after they are put in thermal contact.
1.5Zeroth Law of Thermodynamics
If two systems and are each in thermal equilibrium with a third system , then and are also in thermal equilibrium with each other.
and are separated by a fixed adiabatic wall. Each one touches a third system through a diathermic wall. The variables of and change until each reaches thermal equilibrium with . So and are each in thermal equilibrium with .
Now the wall between and is changed to a diathermic wall. An adiabatic wall now separates from and . No further change takes place in and . They are found to be in thermal equilibrium with each other.
KeyExperiments (a) and (b) together prove the zeroth law.
The zeroth law shows that temperature is a physical quantity. It has the same value for all systems that are in thermal equilibrium with each other.
So, if and are each in thermal equilibrium with , then and . . So and are in thermal equilibrium too.
- Temperature is the thermodynamic variable that decides whether two systems in contact are in thermal equilibrium or not.
- The temperature of a body is the quantity that tells the degree of hotness or coldness of the body.
- The temperature of a body is the quantity that decides the direction of heat flow when it touches another body.
Heat, Work and the First Law
2.1Internal Energy
The internal energy of a system is the total energy of its molecules due to their motion and their configuration (arrangement). It is written as .
It comes from the motion of the molecules. This motion is of three kinds: translational, rotational and vibrational.
It comes from the configuration of the molecules, that is, how they are arranged.
where, = internal kinetic energy, = internal potential energy
So internal energy is the sum of the kinetic and potential energies of the molecules. These energies are measured in a frame where the system's centre of mass does not move.
The molecules of an ideal gas do not attract each other. So:
So the internal energy of an ideal gas is only the sum of the kinetic energies of its molecules. These come from their random translational, rotational and vibrational motions.
KeyThe internal energy of an ideal gas depends only on its temperature.
The molecules of a real gas pull on one another. These intermolecular forces cannot be neglected. So some work must be done to change the distance between the molecules.
KeySo the internal energy of a real gas depends on both its temperature and its volume.
- Internal energy is a macroscopic state variable. It depends on the state of the system, that is, on its pressure, volume, temperature, mass, composition, etc. Here the container is at rest (Fig. a).
- It depends only on the state of the system. It does not depend on the path taken to reach that state.
- The internal energy of a gas can change when its macroscopic state variables change.
- The kinetic energy of the system as a whole does not count in thermodynamics. Suppose the gas container moves with some velocity (Fig. b). Then the KE of the container is not included in the internal energy.
2.2Heat
Heat is the energy that flows between a system and its surroundings because of a temperature difference between them.
The heat needed to raise the temperature of a body from to depends on three things:
The mass of the body.
What the body is made of.
How much its temperature changes.
where, = mass of the body, = initial temperature, = final temperature, = specific heat of the material
2.3Work Done by a Gas
In thermodynamics, work means work done by the system or work done on the system.
- A gas is enclosed in a cylinder with a movable piston.
- = pressure of the gas on the piston.
- = area of the piston.
- Force of the gas on the piston:
- The piston moves out by a tiny distance . Work done by the gas:
- For a finite change in volume from to :
Here, may stay constant or may change during the process.
An indicator diagram is a graph of the pressure () of a gas against its volume (). A gas can change its state in many ways. Each way gives its own – graph.
On an indicator diagram, the area under the – graph gives the work done.
Like heat, work done depends on the path. So work is not a state function. In a cyclic process, the work done equals the area enclosed by the – loop.
- Cycle goes clockwise: work done is positive.
- Cycle goes anticlockwise: work done is negative.
2.4Sign Convention for Heat and Work
The internal energy of a system can be changed in four ways. Each way gives a sign to or .
- is positive when heat enters the system. It is negative when heat leaves it.
- is positive when the system does work (it expands). It is negative when work is done on the system (it is compressed).
- These signs are used in every topic of this chapter. With them, the first law is .
2.5Heat and Work as Energy Transfer
A simple experiment shows how heat and work change the internal energy of a gas.
- Place a cylinder containing some gas over a burner. Heat flows from the burner into the gas. So the internal energy of the gas increases.
- The gas pushes the piston upward. So the gas does work. Because of this work, the internal energy of the gas decreases.
Both of these changes can also happen in the opposite direction:
Heat flows from the gas to the colder body. The temperature of the gas falls. So its internal energy decreases.
Now work is done on the gas. So the internal energy of the gas increases.
KeyHeat and work are two separate ways to change both the state and the internal energy of a system.
Heat is energy on the move from one body to another. Heat is not a state variable. The state of a system is described by its internal energy.
So neither heat nor work is a state variable. Both are ways of transferring energy, and each can change the internal energy of a system.
2.6First Law of Thermodynamics
The first law of thermodynamics is the law of conservation of energy applied to a system. It takes into account the energy that flows between the system and its surroundings.
Statement: Heat given to a system raises its internal energy, does external work, or both.
where, = heat given to the system, = change in its internal energy, = work done by the system
- A gas is in a cylinder with a massless, frictionless piston. It expands by a very small volume .
- = pressure and = volume of the gas.
- = area of cross-section of the piston, = distance moved by the piston.
- Work done by the gas:
- Force . So:
For the small displacement , the pressure is taken as constant.
- So, from the first law:
2.7Heat Capacity and Specific Heat
Suppose an amount of heat changes the temperature of a body by . Then its heat capacity is:
The heat capacity of a body is numerically equal to the heat needed to change its temperature by one unit (1 K).
The heat needed for a 1-unit rise in temperature may be different at different temperatures.
The specific heat capacity of a substance is the heat needed to change the temperature of unit mass of the substance by one unit.
where, = specific heat capacity of the substance, = mass
What the substance is.
The temperature at which it is heated.
KeyHeat capacity per kilogram is called the specific heat capacity.
2.8Molar Specific Heat Capacity
The molar specific heat capacity of a substance is its heat capacity for one mole. It is the heat that raises the temperature of one gram mole of the substance by one unit.
where, = number of moles
The law of equipartition of energy can predict the molar specific heat capacity of a solid.
Take a solid made of atoms. Each atom vibrates about its mean position.
- The average energy for vibration in one dimension is:
- In three dimensions, the average energy is . For one mole of the solid, the total energy is:
- At constant pressure:
For a solid, is negligible.
- So, using Eq. (ii):
| Substance | Specific heat () | Molar specific heat () |
|---|---|---|
| Aluminium | 900.0 | 24.4 |
| Carbon | 506.5 | 6.1 |
| Copper | 386.4 | 24.5 |
| Lead | 127.7 | 26.5 |
| Silver | 236.1 | 25.5 |
| Tungsten | 134.4 | 24.9 |
Values for some solids, measured at room temperature and normal atmospheric pressure
2.9Specific Heat Capacity of Water
In earlier times, the calorie was used as the unit of heat.
One calorie was the heat that makes 1 g of water warmer by 1 °C.
Later it was found that the specific heat of water changes slightly with temperature. The graph shows this change.
One calorie is the heat that warms 1 g of water from 14.5 °C to 15.5 °C.
Heat is a form of energy. So the joule (J) is the preferred unit of heat in the SI system.
The mechanical equivalent of heat is the work that must be done to produce 1 calorie of heat.
2.10Specific Heat Capacities of Gases
The specific heat capacity of a gas depends on the process. That is, it depends on the conditions under which heat flows between the gas and its surroundings.
A gas has two main molar heat capacities:
The molar heat capacity at constant volume is the heat that warms one mole of a gas by 1 °C (or 1 K) at constant volume. It is written as .
The molar heat capacity at constant pressure is the heat that warms one mole of a gas by 1 °C (or 1 K) at constant pressure. It is written as .
For a gas, always. One mole of a gas needs more heat for a 1 °C (1 K) rise at constant pressure than at constant volume.
2.11Mayer's Formula
For an ideal gas, and are related as:
Start with the first law for 1 mole of the gas: .
- Heat is taken in at constant volume, so .
- Then:
The subscript is dropped in the last step. The of an ideal gas depends only on temperature, not on volume.
- Now heat is taken in at constant pressure, so .
The subscript is dropped from the first term. The of an ideal gas depends only on , not on pressure.
- Using Eq. (ii):
- For one mole of an ideal gas, . At constant pressure:
- From Eqs. (iii) and (iv):
where, = molar specific heat of an ideal gas at constant pressure, = its molar specific heat at constant volume, = universal gas constant
The ratio of to is written as . It is called the heat capacity ratio.
Thermodynamic Processes
3.1Thermodynamic State Variables
The macroscopic variables whose values fully describe an equilibrium state of a system are called state variables.
e.g. Pressure, volume, temperature and mass.
A system need not be in equilibrium at every moment. Given enough time, it settles into mechanical and thermal equilibrium.
Petrol vapour and air are mixed and lit by a spark. This gas mixture goes through an explosive chemical reaction. It is not in an equilibrium state. With time, the gas gets a uniform temperature and pressure. It then reaches thermal and mechanical equilibrium with its surroundings.
State variables are of two types: extensive and intensive. To tell them apart, imagine a system in equilibrium divided into two equal parts.
Variables whose values become half in each part are called extensive variables. They show the size of the system.
e.g. Internal energy (), volume (), total mass ().
Variables whose values stay the same in each part are called intensive variables. They do not depend on the size of the system.
e.g. Pressure (), temperature (), density ().
Extensive variables change when the size of the system changes. Intensive variables do not change with size.
3.2Equation of State
The state variables of a system are not always independent of each other.
The equation of state of a system is the equation that gives the relation between its state variables.
So, for a fixed amount of gas, only two variables are independent. For example, and , or and .
An isotherm is the pressure–volume curve of a gas at a fixed temperature.
3.3Quasi-static Process
A thermodynamic process is a change in the state of a system. In it, the state variables change with time.
A quasi-static process is an infinitely slow process. In it, the system stays in thermal and mechanical equilibrium with its surroundings at every stage. Its variables (, , ) change only in tiny steps.
It is an imagined (ideal) idea. In practice, processes that are slow enough are treated as quasi-static.
At every stage of a quasi-static process:
To take a gas from state to state by a quasi-static process:
- Change the outside pressure by a very small amount.
- Let the system make its pressure equal to that of the surroundings.
- Repeat this infinitely slowly until the pressure of the system becomes .
To change the temperature, keep a very small temperature difference between the system and a reservoir. Use a series of reservoirs whose temperatures change step by step from to . In the end, the system reaches the temperature .
A process is quasi-static when it has no accelerated motion of the piston, no large temperature gradient and no large pressure gradient.
3.4Types of Thermodynamic Processes
An isothermal process is a process in which the temperature stays constant.
e.g. Water at 0 °C freezing into ice at 0 °C.
An isobaric process is a process in which the pressure stays constant.
e.g. Water boiling in an open vessel.
An isochoric process is a process in which the volume stays constant. So the system does zero work.
e.g. Heating a gas kept in a closed, rigid container (fixed walls).
An adiabatic process is a process in which no heat flows into or out of the system.
e.g. Fast compression, like filling a bicycle tube with a hand pump.
The initial and final states are the same.
The initial and final states are different.
3.5Isothermal Process
In an isothermal process, the temperature stays constant. For an ideal gas, the equation of state then gives = constant. So the gas obeys Boyle's law.
On a – diagram, an isotherm is a curve that joins points at the same temperature.
The curve shows an isothermal expansion from to . The arrow shows the direction of the process.
The shaded area under is the work done by the gas.
The work done in an isothermal process is the area under the – graph.
where, = number of moles, = gas constant, = temperature, and = initial and final volumes of the gas
So, from the first law :
In an isothermal change, all the heat supplied is used to do work on the surroundings. If work is done on the system, the system gives out an equal amount of heat.
The sign of the work depends on the change in volume. There are two cases:
This is an isothermal expansion. The gas absorbs heat.
This is an isothermal compression. The surroundings do work on the gas, and the gas releases heat.
3.6Adiabatic Process
An adiabatic process is a process in which no heat is exchanged between the system and its surroundings.
By the first law, . For an adiabatic process, .
where,
So, when an ideal gas goes adiabatically from to :
When sound travels in air, the air goes through compressions and rarefactions. These are adiabatic. The air particles oscillate very fast. So heat has no time to enter or leave the region of the oscillating particles.
In an adiabatic process, and , and also and , are related as:
On a – diagram, an adiabatic process is shown by an adiabatic curve.
An adiabat is a curve that represents an adiabatic process on a – diagram.
The gas expands from to (see the arrow). Its temperature falls from 550 K to 350 K. The adiabat is steeper than the isotherms it crosses.
Differentiate = constant:
Slope of an adiabat . This is times the slope of an isotherm through the same point. Since , an adiabat is always steeper than an isotherm.
By the definition of specific heat:
KeySo, during adiabatic expansion or compression, a gas has zero specific heat.
Since (constant), we have .
- Work done in an adiabatic process:
- Integrate:
- Put in the first term and in the second:
- Since , we have and .
By the first law, . Since , we get .
, so . The internal energy, and so the temperature, falls.
, so . The internal energy, and so the temperature, rises.
Nearly all real adiabatic processes happen very fast. So no heat can flow between the system and its surroundings.
e.g. Sudden bursting of a bicycle tube, and sound waves travelling in air.
The figure shows – curves of an ideal gas. Two adiabats join two isotherms.
3.7Isochoric Process
An isochoric process is a process in which the volume of the system stays constant.
The pressure increases.
The pressure decreases.
Here and change, but stays constant. The gas obeys Gay-Lussac's law: (where = constant).
KeySo the work done is zero: .
The first law then gives . So in an isochoric process, the heat given or taken changes only the internal energy and temperature.
3.8Isobaric Process
An isobaric process is a thermodynamic process in which a system goes through a physical change at constant pressure.
A gas is heated in a piston–cylinder. A fixed weight rests on the piston, so the pressure stays the same.
Let the pressure of a gas stay constant while its volume changes from to . The work done by the gas is:
Here the gas temperature does not stay fixed. So its internal energy changes too. In an isobaric process, the heat absorbed goes partly into internal energy and partly into doing work.
3.9Cyclic Process
A cyclic process is a process, or a series of processes, that brings the system back to its initial state. Heat and work are exchanged on the way.
The initial and final states of a cyclic process are the same. So:
For a cyclic process, the – graph is a closed curve. The area enclosed by the curve equals the work done. The first law is . For a cyclic process:
KeyThe heat supplied to the system is turned into work done, and work into heat.
Let be the initial state of a gas and its final state. The gas goes from to by the upper path . It comes back from to by the lower path .
Work done by the gas in the expansion from to :
Work done in the compression from to is . So the net work done by the gas in the cycle is:
KeyThe work done in a cyclic process equals the area enclosed by the loop.
Cyclic processes are very important. Engines and refrigerators work in cycles. In each cycle, the system uses incoming heat to do work and then returns to its initial state.
A non-cyclic process is a process whose final state differs from its starting state after a series of changes.
3.10Summary of Thermodynamic Processes
All four processes can be drawn together on a single – diagram. Each path starts from the same point on isotherm :
- Path a: isobaric (pressure constant)
- Path b: isothermal (along isotherm )
- Path c: adiabatic (steeper than the isotherm)
- Path d: isochoric (volume constant)
| Process | Constant quantity | Path | Heat / Work / Internal energy |
|---|---|---|---|
| Isobaric | a | , , | |
| Isochoric | d | , | |
| Isothermal | b | , | |
| Adiabatic | c | , |
Thermodynamic processes at a glance ( = number of moles)
Second Law and Carnot Engine
4.1Second Law of Thermodynamics
Many processes obey energy conservation but never happen in nature.
A ball lies on the floor. In principle, it could take some heat from the ground and jump up by itself. The first law (energy conservation) allows this. But it never happens in nature.
So some other basic law of nature must forbid such a process, even though it conserves energy.
The second law of thermodynamics is the law of nature that limits what the first law allows.
The efficiency of a heat engine.
The coefficient of performance of a refrigerator.
The Kelvin–Planck and Clausius statements rule out a perfect heat engine and a perfect refrigerator, respectively.
No process is possible whose only result is to take heat from a reservoir and change all of it into work.
No process is possible in which the only result is that heat flows from a colder body to a hotter body.
A perpetual motion machine of the first kind (PMM1) is a device that breaks the first law, because it creates energy.
A perpetual motion machine of the second kind (PMM2) is a device that breaks the second law.
4.2Reversible Process
A reversible process is a process that can be run backwards so that both the system and its surroundings return exactly to their initial states. No other change is left anywhere in the universe.
If heat is absorbed in the direct process, the same amount of heat is given out in the reverse process.
Suppose the direct process needs work to be done on the working substance. Then, in the reverse process, the substance does the same amount of work (work is done by it).
- There must be no dissipative forces at all, such as friction, viscosity and electrical resistance.
- The direct and reverse processes must take place infinitely slowly.
- The temperature of the system must never differ much from that of its surroundings.
- All isothermal and adiabatic changes, when they are done very slowly.
- Ice absorbs some heat and melts. When the same heat is removed, the water formed freezes back into ice.
- A spring is stretched or compressed extremely slowly, so that no oscillations start.
- A perfectly elastic ball falls on a perfectly elastic horizontal floor. It rises back to its starting height.
- Very slow evaporation or condensation.
The conditions for a reversible process can never be fully met in practice. So a reversible process is only an ideal idea. Real processes always lose some heat through friction, conduction, radiation, etc.
Irreversibility is the rule of nature. A change that has taken place in the universe can never be exactly undone.
KeyThat is why no engine can have 100% efficiency.
If all resistive forces could be removed, the efficiency of an engine would be as high as possible.
Some trains have been proposed that will run inside vacuum tunnels. This removes air friction and so raises the efficiency of the engine.
4.3Irreversible Process
An irreversible process is any process that cannot be reversed exactly.
Conduction, radiation and radioactive decay are irreversible.
Free expansion, Joule–Thomson expansion and electrical heating of a wire are also irreversible.
Many processes take the system to non-equilibrium states. e.g. Diffusion of gases, decay of organic matter.
Many processes involve dissipative forces, such as friction, viscosity and inelasticity.
- A steel ball falls on an inelastic lead sheet. Its kinetic energy changes into heat, and this heat warms the lead sheet. The heat never changes back into kinetic energy of the ball.
- A spring is stretched suddenly and fast. This sets up vibrations in it, and part of the energy is dissipated (lost).
- Sudden expansion or contraction, and fast evaporation or condensation.
- An electric current flowing through a resistor.
- Heat flow between bodies at different temperatures.
- The Joule–Thomson effect. If the gas flow is reversed, the same cooling or heating effect is not seen.
4.4Carnot Engine and Carnot Cycle
A Carnot engine is a reversible heat engine that works between two temperatures: a source at and a sink at .
It is a theoretical engine. It has none of the defects of a real engine.
It cannot be built in practice. But it serves as a standard. The performance of any real engine is judged against it.
A hot reservoir at temperature , with conducting walls. Its thermal capacity is infinite. So we can draw any amount of heat from it, and its temperature stays the same.
A cold reservoir at temperature . Its thermal capacity is also infinite. So it can take in any amount of heat with no change in its temperature.
It has a conducting base and insulating walls. It holds the working substance. An insulating, frictionless piston is fitted in it, as shown in the figure.
An ideal gas is used as the working substance in the cylinder.
The base of the cylinder can be placed on this stand. It isolates the gas completely from the surroundings.
The cycle that the working substance of a Carnot engine goes through is called the Carnot cycle. It has four strokes.
The four states of the gas are:
- and
- and
, , and are the points on the -axis just below , , and . The arrows show the direction of each stroke.
In this cycle, , and to are written as positive amounts. The words by/on and absorbed/released give the direction.
One mole of an ideal gas is the working substance. The cylinder is placed on the source. The gas expands slowly at the constant temperature . The work done by the gas equals the heat absorbed.
The cylinder is now placed on the insulating stand. The gas expands adiabatically until its temperature falls from to .
The cylinder is placed on the sink. The gas is compressed at the constant temperature . The work done on the gas equals the heat released by it.
The cylinder is placed on the insulating stand again. The compression continues until the gas returns to its initial state.
4.5Efficiency of a Carnot Engine
The efficiency of an engine is the ratio of the work done by it to the heat supplied to it.
In the four strokes, and are done by the gas. and are done on the gas.
- Net work done in one complete cycle:
- So:
- Put the values of and from the strokes:
- Points and lie on the same adiabat:
- Points and also lie on the same adiabat:
- From Eqs. (i) and (ii):
- So the two log terms in step 3 cancel, and only is left.
where, = temperature of the source, = temperature of the sink
- The efficiency of a Carnot engine depends only on the temperatures of the source and the sink.
- It does not depend on the nature of the working substance.
- It would be 100% only if the sink were at 0 K. A sink at 0 K cannot be reached in practice. So 100% efficiency is not possible.
4.6Carnot's Theorem
Carnot's theorem has two parts:
- No heat engine can be more efficient than a Carnot engine working between the same two temperatures. These are of the hot reservoir (source) and of the cold reservoir (sink).
- The efficiency of a Carnot engine is independent of the nature of the working substance.
Take a reversible Carnot engine and an irreversible heat engine . Both work between the same source at and the same sink at .
The two engines are coupled. Engine runs as a heat engine. Engine runs backwards as a refrigerator.
- Engine takes heat from the source. It gives work and releases the rest, , to the sink.
- Engine returns the same heat to the source when work is done on it. So it takes heat from the sink.
- Assume that engine is less efficient than engine , that is, .
- Then, for the same :
- So the coupled – system, as a whole, takes the heat
from the sink. It gives the same amount of work in one cycle. The source has no net change.
- This is against the second law of thermodynamics (Kelvin–Planck statement). So the assumption is wrong.
KeyNo engine can be more efficient than a Carnot engine. This proves part (i) of Carnot's theorem.
4.7Coefficient of Performance
For a Carnot refrigerator (see the refrigerator diagram in topic 4.1):
where, = temperature of the surroundings, = temperature of the cold body, = work done on the refrigerator
Clearly, when . So the coefficient of performance is zero if the cold body is at absolute zero.