### 2.3 First Law of Thermodynamics

Weather involves heating and cooling, rising air parcels and falling rain, thunderstorms and snow, freezing and thawing. All of this weather occurs according to the three laws of Thermodynamics. The First Law of Thermodynamics tells us how to account for energy in any molecular system, including the atmosphere. As we will see, the concept of temperature is tightly tied to the concept of energy, namely thermal energy, but they are not the same because there are other forms of energy that can be exchanged with thermal energy, such as mechanical energy or electrical energy. Each air parcel contains molecules that have internal energy, which when thinking about the atmosphere, is just the kinetic energy of the molecules (associated with molecular rotations and, in some cases, vibrations) and the potential energy of the molecules (associated with the attractive and repulsive forces between the molecules). Internal energy does not consider their chemical bonds nor the nuclear energy of the nucleus because these do not change during collisions between air molecules. Doing work on an air parcel involves either expanding it by increasing its volume or contracting it. In the atmosphere, as in any system of molecules, energy is not created or destroyed, but instead, it is conserved. We just need to keep track of where the energy comes from and where it goes.

Let *U* be an air parcel’s internal energy, *Q* be the heating rate of that air parcel, and *W* be the rate that work is done on the air parcel. Then:

$$\frac{dU}{dt}=Q+W$$

The dimensions of energy are M L^{2} T^{–2} so the dimensions of this equation are M L^{2} T^{–3}.

To give more meaning to this energy budget equation, we need to relate *U, Q*, and *W* to variables that we can measure. Once we do that, we can put this equation to work. To do this, we resort to the Ideal Gas Law.

For processes like those that occur in the atmosphere, we can relate working,* W*, to a change in volume because work is force times distance. Imagine a cylinder with a gas in it. The cross-sectional area of the piston is *A*. If the piston compresses the gas by moving a distance *dx*, the amount of work being done by the piston on the gas is the force (*pA*) multiplied by the distance (*dx*). *W* is then *pAdx*/*dt*. But the volume change is simply –*Adx*/*dt* and so:

$$W=-p\frac{dV}{dt}$$

Reducing a volume of gas (*dV/dt* < 0) takes energy, so working on an air parcel is positive when the volume is reduced, or *dV/dt* < 0. Thus:

$$\frac{dU}{dt}=Q-p\frac{dV}{dt}$$

### Heat Capacity

The heat capacity *C* is the amount of energy needed to raise the temperature of a substance by a certain amount. Thus, $C=\frac{Q}{\frac{dT}{dt}}$ and has SI units of J/K. *C* depends on the substance itself, the mass of the substance, and the conditions under which the energy is added. We will consider two special conditions: constant volume and constant pressure.

### Heat Capacity at Constant Volume

Consider a box with rigid walls and thus constant volume: $\frac{dV}{dT}=0$ . No work is being done and only internal energy can change due to heating.

The candle supplies energy to the box, so *Q* > 0 and *dU*/*dt* > 0. The internal energy can increase via increases in molecular kinetic and potential energy. However, for an ideal gas, the attractive and repulsive forces between the molecules (and hence the molecular potential energy) can be ignored. Thus, the molecular kinetic energy and, hence, the temperature, must increase:

$$\frac{dT}{dt}>0$$

So,

$${Q}_{\begin{array}{c}const\\ volume\end{array}}=\frac{dU}{dt}={C}_{V}\frac{dT}{dt}$$

*C _{V}*, the constant relating

*Q*to temperature change, is called the

**heat capacity at constant volume**. Heat capacity has units of J K

^{-1}.

Remember that ${C}_{v}\frac{dT}{dt}$ is the change in the air parcel’s internal energy.

The heat capacity, *C _{V}*, depends on the mass and the type of material. So we can write

*C*as:

_{V}$${C}_{V}=mass\cdot {c}_{V}$$

where *c _{V}* is called the specific heat capacity. The adjective “specific” means the amount of something per unit mass.

*The greater the heat capacity, the smaller the temperature change for a given amount of heating*.

Some specific heat capacity values are included in the table below:

gas | c (@ 0_{V}^{o}C) J kg^{–1} K^{–1} |
---|---|

dry air | 718 |

water vapor | 1390 |

carbon dioxide | 820 |

Solve the following problem on your own. After arriving at your own answer, click on the link to check your work.

#### Check Your Understanding

Consider a sealed vault with an internal volume of 10 m^{3} filled with dry air (*p* = 1013 hPa; *T* = 273 K). If the vault is being heated at a constant rate from the outside at a rate of 1 kW (1,000 J s^{–1}), how long will it take for the temperature to climb by 30 ^{o}C?

**Click for answer.**

The 1^{st }Law can be rewritten as:

$$Q=\frac{dU}{dt}+p\frac{dV}{dt}={C}_{V}\frac{dT}{dt}+p\frac{dV}{dt}=mass\cdot {c}_{V}\frac{dT}{dt}+p\frac{dV}{dt}$$

However, *dV/dt* = 0 because the vault’s volume isn’t changing. So, we can use the equation, rearrange it and integrate it:

$$Q=mass\cdot {c}_{V}\frac{dT}{dt}$$

How do we find the mass of the air inside the vault? Use the Ideal Gas Law to find the number of moles and then multiply by the mass per mole!

$$mass={M}_{dryair}\cdot N={M}_{dryair}\cdot \frac{pV}{{R}^{*}T}=0.029\cdot \frac{1.013x{10}^{5}\cdot 10}{8.314\cdot 273}=12.9kg$$

$$\Delta t=\frac{mass\cdot {c}_{V}\cdot \Delta T}{Q}=\frac{12.9\cdot 718\cdot 30}{{10}^{3}}=278\mathrm{s}\text{\hspace{0.17em}}(~5\mathrm{min})$$

Often we do not have a well-defined volume, but instead just an air mass. We can easily measure the air mass’s pressure and temperature, but we cannot easily measure its volume. Often we can figure out the heating rate per volume (or mass) of air. Thus:

$$\frac{Q}{mass}\equiv q=\frac{mass\cdot {c}_{V}\frac{dT}{dt}}{mass}={c}_{V}\frac{dT}{dt};\text{\hspace{1em}}q={c}_{V}\frac{dT}{dt}$$

where *q* is the specific heating rate (SI units: J kg^{–1} s^{–1}).

### Heat Capacity Constant Pressure

The atmosphere is not a sealed box and when air is heated it can expand. We can no longer ignore the volume change. On the other hand, as the volume changes, any pressure changes are rapidly damped out, causing the pressure in an air parcel to be roughly constant even as the temperature and volume change. This constant-pressure process is called isobaric.

$$Q=\frac{dU}{dt}+p\frac{dV}{dt}$$

Now the change in the internal energy could be due to changes in temperature *or *changes in volume. It turns out that *internal energy does not change with changes in volume. It only changes due to changes in temperature*. But we already know how changes in internal energy are related to changes in temperature from the example of heating the closed box. That is, the internal energy changes are related by the heat capacity constant volume, *C _{v}*. Thus:

$$Q={C}_{V}\frac{dT}{dt}+p\frac{dV}{dt}$$

Note that when volume is constant, we get the expression of heating a constant volume.

Suppose we pop the lid off the box and now the air parcel is open to the rest of the atmosphere. What happens when we heat the air parcel? How much does the temperature rise?

It’s hard to say because it is possible that the air parcel’s volume can change in addition to the temperature rise. So we might suspect that, for a fixed heating rate *Q*, the temperature rise in the open box will be less than the temperature rise in the sealed box where the volume is constant because the volume can change as well as the temperature.

### Enthalpy

Enthalpy (*H*) is an energy quantity that accounts not only for internal energy but also the energy associated with working. It is a useful way to take into consideration *both ways that energy can change* in a collection of molecules – by *internal energy changes* and by *volume changes that result in work being done*.

$$enthalpy\equiv H=U+pV$$

Enthalpy is the total energy of the air parcel including effects of volume changes. We can do some algebra and use the **Chain Rule** to write the First Law of Thermodynamics in terms of the enthalpy:

$$Q=\frac{dU}{dt}+p\frac{dV}{dt}=\frac{dU}{dt}+\frac{d\left(pV\right)}{dt}-V\frac{dp}{dt}=\frac{d\left(U+pV\right)}{dt}-V\frac{dp}{dt}=\frac{dH}{dt}-V\frac{dp}{dt}$$

If the pressure is constant, which is true for many air parcel processes, then *dp/dt* = 0 and:

$$Q=\frac{dH}{dt}$$

#### Summary

- In a constant volume process, heating changes only the internal energy,
*U*. - In a constant pressure process, heating changes enthalpy,
*H*(both internal energy and working).

In analogy with constant volume process, for a constant pressure process, we can write:

$${Q}_{\begin{array}{c}constant\\ pressure\end{array}}=\frac{dH}{dt}={C}_{p}\frac{dT}{dt}$$

where *C _{p}* is the heat capacity at constant pressure and

*c*is the specific heat capacity at constant pressure.

_{p}Note that *c _{p}* takes into account the energy required to increase the volume as well as to increase the internal energy and thus temperature.

What is the difference between *c _{p}* and

*c*? You will see the derivation of the relationship, but I will just present the results:

_{v}- by mole: ${c}_{(p,m)}={c}_{(V,m)}+{R}^{*}$
- by mass for dry air: ${c}_{pd}={c}_{Vd}+{R}_{d}$
- by mass for water vapor: ${c}_{pv}={c}_{Vv}+{R}_{v}$

gas | c_{V} (@ 0^{o}C) J kg^{–1} K^{–1} |
c_{p} (@ 0^{o}C) J kg^{–1} K^{–1} |
---|---|---|

dry air | 718 | 1005 |

water vapor | 1390 | 1858 |

Since* c _{p} > c_{v}*, the temperature change at constant pressure will be less than the temperature change at constant volume because some of the energy goes to increasing the volume as well as to increasing the temperature.

#### Summary of Forms of the First Law of Thermodynamics

$Q={C}_{V}\frac{dT}{dt}+p\frac{dV}{dt}$

$Q={C}_{p}\frac{dT}{dt}-V\frac{dp}{dt}$

$Q=\frac{dU}{dt}+p\frac{dV}{dt}$

$Q=\frac{dH}{dt}-V\frac{dp}{dt}$

It is often useful to express these equations in terms of specific quantities, such as specific volume (*α* ≡ *V/m* = *ρ ^{-1}*), specific heat at constant pressure (

*c*≡

_{p}*C*), and specific heat at constant volume (

_{p}/m*c*≡

_{V}*C*). With these definitions, the first three equations above become:

_{V}/m$q={c}_{V}\frac{dT}{dt}+p\frac{d\alpha}{dt}$

$q={c}_{p}\frac{dT}{dt}-\alpha \frac{dp}{dt}$

$q=\frac{du}{dt}+p\frac{d\alpha}{dt}$

$q=\frac{dh}{dt}-\alpha \frac{dp}{dt}$

**You can figure out which form to use by following three steps:**

- Define the system. (i.e., what is the air parcel and what are its characteristics?)
- Determine the process(es) (i.e., constant pressure, constant volume, heating, cooling?). Choose the form of the equation by making a term with a conserved quantity go away (i.e.,
*dp/dt*= 0 or*dV/dt*= 0) because then you have a simpler equation to deal with. - Look at which variables you have and then choose the equation that has those variables.

#### Check Your Understanding

Consider the atmospheric surface layer that is 100 m deep and has an average density of 1.2 kg m^{–3}. The early morning sun heats the surface, which heats the air with a heating rate of *F* = 50 W m^{–2}. How fast does the temperature in the layer increase? Why is this increase important?

- What is the system? Air layer. Since we know the heating per unit area, work the problem per unit area.
- What is the process? Constant pressure and heating by the sun.
- Which variables do we have? $Q={C}_{p}\frac{dT}{dt}$

**Click for answer.**

$$Q=FA=50\text{}W\text{}{m}^{-2}A$$

$${C}_{p}={c}_{p}\rho V={c}_{p}\rho \text{}\Delta z\text{}A$$

$$Q=FA={c}_{p}\rho \text{}\Delta z\text{}A\frac{dT}{dt}$$

$$\frac{dT}{dt}=\frac{FA}{{c}_{p}\text{}\rho \text{}\Delta z\text{}A}=\frac{F}{{c}_{p}\rho \text{}\Delta z}=\frac{50}{1005\text{1.2100}}=4.2x{10}^{-4}K\text{}{s}^{-1}=1.5\text{}K\text{}h{r}^{-1}$$

This temperature increase is important because it is one of the most important factors in determining whether convection will occur later in the day. We will talk more about instability soon.

Here is a video (1:30) explanation of the above problem:

#### Check Your Understanding

Consider the atmospheric surface layer that is 100 m deep and has an average density of 1.2 kg m^{–3}. It is night and dark and the land in contact with the air is cooling at 50 W m^{–2}. If the temperature at the start of the night was 25 ^{o}C, what is the temperature 8 hours later?

- What is the system? Air layer. Since we know the cooling per unit area, work the problem per unit area.
- What is the process? Constant pressure and cooling by the land radiating energy to space and the air cooling by being in contact with the land.
- Which variables do we have? $Q={C}_{p}\frac{dT}{dt}$

**Click for answer.**

$$Q=FA=-50\text{}W\text{}{m}^{-2}A$$

$${C}_{p}={c}_{p}\rho V={c}_{p}\rho \text{}\Delta z\text{}A$$

$$Q=FA={c}_{p}\rho \text{}\Delta z\text{}A\frac{dT}{dt}$$

$$\frac{dT}{dt}=\frac{FA}{{c}_{p}\text{}\rho \text{}\Delta z\text{}A}=\frac{F}{{c}_{p}\rho \text{}\Delta z}=\frac{-50}{1005\text{1.2100}}=-4.2x{10}^{-4}K\text{}{s}^{-1}=-1.5\text{}K\text{}h{r}^{-1}$$$${\mathrm{}}^{}$$

Since the cooling continues for 8 hours, the total amount of cooling is –1.5 K/hr x 8 hr = 12 K or 12 ^{o}C. Thus, the temperature 8 hours later will be 13 ^{o}C.

This cooling near the surface creates a layer of cold air near the surface with a layer of warmer air above it. The layering of warm air over colder air creates an temperature inversion, which suppresses convection and lock pollutants into the air layer near Earth's surface.