**The First Law of**** ****Thermodynamics**

**The First Law of****Thermodynamics**The ﬁrst law of thermodynamics is commonly called the law of conservation of energy. In previous courses, the study of conservation of energy may have emphasized changes in kinetic and potential energy and their relationship to work. A more general form of conservation of energy includes the effects of heat transfer and internal energy changes. This more general form is usually called the *ﬁrst law of thermodynamics. *Other forms of energy could also be included, such as electro- static, magnetic, strain, and surface energy, but, in a ﬁrst course in thermodynamics, problems involving these forms of energy are typically not included. We will present the ﬁrst law for a system and then for a control volume.

__4.1 The First Law Applied to a Cycle__

__4.1 The First Law Applied to a Cycle__

We are now ready to present the ﬁrst law of thermodynamics. A law is not derived or proved from basic principles but is simply a statement that we write based on our

observations. Historically, the *ﬁ**r**st law of thermodynamics*, simply called the *ﬁrst law*, was stated for a cycle: the net heat transfer is equal to the net work done for a system undergoing a cycle. This is expressed in equation form by

*∑W = ∑Q (4.1)*

or, using the symbol to represent integration around a complete cycle,

The ﬁrst law can be illustrated by considering the following experiment. Let a weight be attached to a pulley-paddle-wheel setup, such as that shown in Fig. 4.1*a. *Let the weight fall a certain distance thereby doing work on the system, contained in the tank shown, equal to the weight multiplied by the distance dropped. The temperature of the system (the substance in the tank) will immediately rise an amount Δ*T**. *Now, the system is returned to its initial state (the completion of the cycle) by transferring heat to the surroundings, as implied by the *Q *in Fig. 4.1*b*. This reduces the temperature of the system to its initial temperature. The ﬁrst law states that this heat transfer will be exactly equal to the work that was done by the falling weight.

__EXAMPLE 4.1__

A linear spring, with spring constant *K *= 100 kN/m, is stretched a distance of 0.8 m and attached to a paddle wheel. The paddle wheel then rotates until the spring is unstretched. Calculate the heat transfer necessary to return the system to its initial state.

**F****i****g****u****re 4.1 **The ﬁrst law applied to a cycle.

__Solution__

The work done by the linear spring on the system is given by

Since the heat transfer returns the system to its initial state, a cycle results.The ﬁrst law then states that

__4.2 The First Law Applied to a Process__

__4.2 The First Law Applied to a Process__

The ﬁrst law of thermodynamics is often applied to a process as the system changes from one state to another. Realizing that a cycle results when a system undergoes two or more processes and returns to the initial state, we could consider a cycle composed of the two processes represented by *A *and *B *in Fig. 4.2. Applying the ﬁrst law to this cycle, Eq. (4.2) takes the form

We interchange the limits on the process from 1 to 2 along *B *and write this as

**F****i****g****u****re 4.2 **A cycle composed of two processes.

That is, the change in the quantity *Q *− *W *from state 1 to state 2 is the same along path *A *as along path *B*; since this change is independent of the path between states 1 and 2 we let

*dQ *− *dW *= *dE *(4.5)

where *dE *is an exact differential.

The quantity *E *is an extensive property of the system and represents the *energy *of the system at a particular state. Equation (4.5) can be integrated to yield

*Q*_{1-2} − *W _{}*

_{1-2}=

*E*

_{2}−

*E*

_{1 }(4.6)

where *Q _{1-2 }*state 2,

*W*is the heat transferred to the system during the process from state 1 tois the work done by the system on the surroundings during the process,and

*E*

_{1-2 }and

*E*are the values of the property

*E.*More often than not the subscripts will be dropped on

*Q*and

*W*when working problems. The property

*E*represents all of the energy: kinetic energy

*KE*, potential energy

*PE*, and internal energy

*U*, which includes chemical energy and the energy associated with the molecules and atoms. Any other form of energy is also included in the total energy

*E.*Its associated intensive property is designated

*e.*

The ﬁrst law of thermodynamics then takes the form

If we apply the ﬁrst law to an isolated system, one which is not in contact with its

surroundings so that *Q _{1-2 }*=

*W*1-2= 0, the ﬁrst law becomes the conservation of energy; that is,

*E*2 = *E*1 (4.8)

The internal energy *U *is an extensive property. Its associated intensive property is the speciﬁc internal energy *u*; that is, *u *= *U/m. *For simple systems in equilibrium, only two properties are necessary to establish the state of a pure substance, such as air or steam. Since internal energy is a property, it depends only on, say, pressure and temperature; or, for steam in the quality region, it depends on quality and temperature (or pressure). For steam, its value for a particular quality would be

*u *= *u ** _{f }*+

*x*(

*u*

*g*−

*u*

*f*) (4.9)

We can now apply the ﬁrst law to systems involving working ﬂuids with tabulated property values. Before we apply the ﬁrst law to systems involving substances such as ideal gases or solids, we will introduce several additional properties that will simplify that task in the next three articles, but ﬁrst some examples.

__EXAMPLE 4.2__

A 5-hp fan is used in a large room to provide for air circulation. Assuming a well insulated, sealed room, determine the internal energy increase after 1 hour of operation.

*Solution*

By assumption, *Q *= 0. With Δ*PE *= Δ*KE *= 0 the ﬁrst law becomes −*W *= Δ*U. *The work input is

*W *= (−5 hp )(1 hr)(746 W/hp )(3600 s/hr) = −1.343 × 10^{7} J

where *W *= J/s.

The negative sign results because the work is input to the system. Finally, the internal energy increase is

Δ*U *= − (−1.343 × 107) = 1.343 × 10^{7} J

__EXAMPLE 4.3__

A frictionless piston is used to provide a constant pressure of 400 kPa in a cylinder containing steam originally at 200°C with a volume of 2m3. Calculate the ﬁnal temperature if 3500 kJ of heat is added.

__Solution__

The ﬁrst law of thermodynamics, using Δ*PE *= Δ*KE *= 0, is *Q *− *W *= Δ*U**. *The

work done during the motion of the piston is

*W *= ∫ *P**dV *= *P*(*V*_{2} − *V*_{1} ) = 400(*V*_{2} − *V*_{1} )

The mass before and after remains unchanged. Using steam table C.3, this is expressed as

The volume *V _{2 }*is written as

*V*=

_{2}*m*

*v*= 3.744

*v*

*.*The ﬁrst law is then, ﬁnding

*u*from the steam tables in App. C,

_{1}3500 − 400(3*.*744*v*2 − 2) = (*u*2 − 2647) × 3*.*744

This requires a trial-and-error process. One plan for obtaining a solution is toguess a value for *v*2 and calculate *u*2 from the equation above. If this value checks with the *u *from the steam tables at the same temperature, then the guess is the correct one. For example, guess *v*2 = 1.0 m /kg. Then the equation gives *u*2 =3395 kJ/kg. From the steam tables, with *P *= 0.4 MPa, the *u*2 value allows us to nterpolate *T*= 653°C and the *v*2 gives *T* 600°C. Therefore, the guess must be revised. Try *v*2 = 1.06 m /kg. The equation gives *u*2 = 3372 kJ/kg. The tables are interpolated to give *T *= 640°C; for *v *, *T *= 647°C. The actual *v *is a little less than 1.06 m3/kg, with the ﬁnal temperature being approximately

T_{2} = 644°C

__4.3 Enthalpy__

__4.3 Enthalpy__

In the solution of problems involving systems, certain products or sums of proper- ties occur with regularity. One such combination of properties we deﬁne to be *enthalpy H*:

*H *= *U *+ *P**V *(4.10)

This property will come in handy, especially in a constant-pressure process, but also in other situations, as we shall see in examples and applications in future chapters. The specific enthalpy *h *is found by dividing by the mass: *h *= *H */*m*. From Eq. (4.10), it is

*h *= *u *+ *P**v *(4.11)

Enthalpy is a property of a system and is also found in the steam tables. The energy equation can now be written, for a constant-pressure equilibrium process, as

*Q*_{1-2} = *H*_{2} − *H*_{1 }(4.12)

In a nonequilibrium constant-pressure process Δ *H *would not equal the heat transfer.

It is only the change in enthalpy or internal energy that is important; hence, we can arbitrarily choose the datum from which to measure *h *and *u. *We choose saturated liquid at 0°C to be the datum point for water; there *h *= 0 and *u *= 0.

__EXAMPLE 4.4__

Using the concept of enthalpy, solve the problem presented in Example 4.3.

__Solution__

The energy equation for a constant-pressure process is (with the subscript on the heat transfer omitted),

*Q *= *H*_{2 }− *H*_{1 }or 3500 = *m*(*h*2 − 2860)

Using steam table C.3, as in Example 4.3, the mass is

From the steam tables this interpolates to

Obviously, enthalpy was very useful in solving this constant-pressure problem. Trial and error was unnecessary, and the solution was rather straightforward. We illustrated that the quantity we invented, enthalpy, is not necessary, but it is quite handy. We will use it often in calculations.

__4.4 Latent Heat__

__4.4 Latent Heat__

The amount of energy that must be transferred in the form of heat to a substance held at constant pressure in order that a phase change occurs is called *latent heat. *It is the change in enthalpy of the substance at the saturated conditions of the two phases. The heat that is necessary to melt a unit mass of a substance at constant

pressure is the *heat of fusion *and is equal to *h*= *h *− *h *, where *h *is the enthalpy of saturated solid (see Table C.5 for ice) and *h *is the enthalpy of saturated liquid. The *hea**t of vaporization *is the heat required to completely vaporize a unit mass of saturated liquid; it is equal to *h *= *h *− *h . *When a solid changes phase directly to a gas, sublimation occurs; the *heat of sublimation *is equal to *h *= *h**g*– *h**i*. The heat of fusion and the heat of sublimation are relatively insensitive to pressure or temperature changes. For ice, the heat of fusion is approximately 330 kJ/kg and the heat of sublimation is about 2040 kJ/kg. The heat of vaporization of water is included in Tables C.1 and C.2 and is very sensitive to pressure and temperature.

*4.5 Speciﬁc Heats*

*4.5 Speciﬁc Heats*

Since only two independent variables are necessary to establish the state of a simple system, the speciﬁc internal energy can be expressed as a function of temperature and speciﬁc volume; that is,

*u *= *u*(*T *, *v*) (4.13)

Using the chain rule from calculus, the differential can be stated as

Joule’s classical experiment showed that *u *= *u*(*T*) for an ideal gas, so that ∂*u */∂*v *We deﬁne the *constant-volume speciﬁc heat C *as

For a known *C *(*T *), this can be integrated to ﬁnd the change in internal energy over any temperature interval for an ideal gas.

Likewise, considering speciﬁc enthalpy to be dependent on the two variables *T *and *P*, we have

where we have used the ideal-gas equation of state. Since *u *is only a function of *T*, we see that *h *is also only a function of *T *for an ideal gas. Hence, ∂*h*/∂ *P **T *= 0 and we have, from Eq. (4.18), for an ideal gas,

It is often convenient to specify speciﬁc heats on a per-mole, rather than a per-mass, basis; these *mola**r speciﬁc heats *are *C**v *and *C**p *. Clearly, we have the relations

where *M *is the molar mass. Thus, *C**v *and *C**p *may be simply derived from the values of *M *and *C**v *and *C**p *listed in Table B.2. (The common “overbar notation” for a molar quantity is used throughout thermodynamics.)

The equation for enthalpy can be used to relate, for an ideal gas, the speciﬁc heats and the gas constant. In differential form Eq. (4.20) takes the form

*dh *= *du *+ *d*(*P**v*) (4.23)

Introducing the speciﬁc heat relations and the ideal-gas equation, we have

*C**p *= *C**v *+ *R *(4.24)

This relationship, or its molar equivalent, allows *C *to be determined from tabulated values or expressions for *C . *Note that the difference between *C *and *C *for an ideal gas is always a constant, even though both are functions of temperature.

The *speciﬁc heat ratio k *is also a property of particular interest; it is deﬁned as

Obviously, since *R *is a constant for an ideal gas, the speciﬁc heat ratio *k *will depend only on the temperature.

For gases, the speciﬁc heats slowly increase with increasing temperature. Since they do not vary signiﬁcantly over fairly large temperature differences, it is often acceptable to treat *C *and *C *as constants. For such situations there results

For air, we will use C*v *= 0.717 kJ/kg ⋅ K and *C**p *= 1.00 kJ/kg ⋅ K, unless otherwise stated.1 For more accurate calculations with air, or other gases, one should consult ideal-gas tables, such as those in App. E, which tabulate *h*(*T *) and *u*(*T *)*, *or integrate, using expressions for *C *(*T *) found in text books. Once *C *is found, *C *can be calcu- *p p** v *lated using *C** _{v} *=

*R*−

*C*

*.*

_{p}For liquids and solids the speciﬁc heat *C *is tabulated in Table B.4. Since it is quite difﬁcult to maintain constant volume while the temperature is changing, *C *values are usually not tabulated for liquids and solids; the difference *C**p *− *C**v *is quite small. For most liquids the speciﬁc heat is relatively insensitive to temperature change. For water we will use the nominal value of 4.18 kJ/kg ⋅ K. For ice, the speciﬁc heat in kJ/kg ⋅ K is approximately *C*= 2.1 + 0.0069*T*, where *T *is measured in °C. The variation of speciﬁc heat with pressure is usually quite slight except forspecial situations.

__EXAMPLE 4.5__

The speciﬁc heat of superheated steam at approximately 150 kPa can be determined by the equation

(a) What is the enthalpy change between 300 and 700°C for 3 kg of steam?

Compare with the steam tables.

(b)What is the average value of *C *between 300 and 700°C based on the equation and based on the tabulated data?

__Solution __

(a) The enthalpy change is found to be

From the tables we ﬁnd, using *P *= 150 kPa,

(b) The average value *C** _{p, avg }*is found by using the relation

The integral was evaluated in part (a)*; *hence, we have

Using the values from the steam table, we have

Because the steam tables give the same values as the linear equation of this exam- ple, we can safely assume that the *C *(*T*) relationship for steam over this temperature range is closely approximated by a linear relation. This linear relation would change, however, for each pressure chosen; hence, the steam tables are essential.

__EXAMPLE 4.6__

Determine the enthalpy change for 1 kg of nitrogen which is heated from 300 to 1200 K by (a) using the gas tables, and (b) assuming constant speciﬁc heat.

__Solution __

(a) Using the gas table in App. E, ﬁnd the enthalpy change to be

Δ*h *= 36 777 − 8723 = 28 054 kJ/kmol or 28 054/28 = 1002 kJ/kg

(b) Assuming constant speciﬁc heat (found in Table B.2) the enthalpy change is found to be

Δ*h *= *C** _{p} *Δ

*T*= 1.042 × (1200 − 300) = 938 kJ/kg

Note: the enthalpy change found by assuming constant speciﬁc heat is in error by over 6 percent. If *T *were closer to 300 K, say 600 K, the error would be much smaller. So, for large temperature differences, the tables should be used.

__4.6 The First Law Applied to Various Processes__

__4.6 The First Law Applied to Various Processes__

**THE CONSTANT-TEMPERATURE PROCESS**

For the isothermal process, tables may be consulted for substances for which tabulated values are available. Internal energy and enthalpy vary slightly with pressure for the isothermal process, and this variation must be accounted for in processes involving many substances. The energy equation is

*Q *− *W *= Δ*U* (4.28)

For a gas that approximates an ideal gas, the internal energy depends only on the temperature and thus Δ*U *= 0 for an isothermal process; for such a process

*Q *= *W* (4.29)

Using the ideal-gas equation *PV *= *mRT, *the work for a quasiequilibrium isothermal

**THE CONSTANT-VOLUME PROCESS**

The work for a constant-volume quasiequilibrium process is zero, since *dV *is zero. For such a process the ﬁrst law becomes

*Q *= Δ*U* (4.31)

If tabulated values are available for a substance, we may directly determine Δ*U*. For a gas, approximated by an ideal gas with constant *C *, we would have

*Q *= *m**C** _{v} *(

*T*

_{2}−

*T*

_{1}) or

*q*=

*C*

*(*

_{v }*T*

_{2}−

*T*

_{1}) (4.32)

If nonequilibrium work, such as paddle-wheel work, is present, that work must be accounted for in the ﬁrst law.

**THE CONSTANT-PRESSURE PROCESS**

The ﬁrst law, for a constant-pressure quasiequilibrium process, was shown in Sec. 4.3 to be

*Q *= Δ*H *(4.33)

Hence, the heat transfer for such a process can easily be found using tabulated values, if available.

For a gas that behaves as an ideal gas, we have

For a process involving an ideal gas for which *C _{p} is constant there results *

*Q *= *m**C** _{p} *(

*T*

_{2}−

*T*

_{1}) (4.35)

For a nonequilibrium process the work must be accounted for directly in the ﬁrst

law and it cannot be expressed as *P*(*V*_{2} − *V*_{1} ). For such a process the above three

equations would not be valid.

**THE ADIABATIC PROCESS**

There are numerous examples of processes for which there is no, or negligibly small, heat transfer. The study of such processes is, however, often postponed until after the second law of thermodynamics is presented. This postponement is not necessary for an ideal gas, and because the adiabatic quasiequilibrium process is quite common, it is presented here.

The differential form of the ﬁrst law for the adiabatic process is

**−δ W = du (4.36)**

or, for a quasiequilibrium process,

*du *+ *P**d**v *= 0 (4.37)

To utilize this equation for substances such as water or refrigerants, we must use

tabulated properties, an impossible task at this point because we do not know a property that remains constant for this process. However, if an ideal gas can be assumed, Eq. (4.37) takes the form

Rearrange and integrate between states 1 and 2, assuming constant *C *:

The adiabatic process for a real substance such as water, steam, or a solid will be

treated in detail in Chap. 5.

**THE POLYTROPIC PROCESS**

A careful inspection of the special quasiequilibrium processes for an ideal gas presented in this chapter suggests that each process can be expressed as

*P**V ** ^{n }*= const. (4.41)

The work is calculated as follows:

except Eq. (4.30) is used if *n *= 1, since the above is undeﬁned for *n *= 1. The heat

transfer follows from the ﬁrst law.

Each quasiequilibrium process of an ideal gas is associated with a particular value for *n *as follows:

Isothermal: *n *= 1

Constant-volume: *n *= ∞

Constant-pressure: *n *= 0

Adiabatic (*C _{p}*= const):

*n*=

*k*

If the constant *n *[in Eq. (4.41)] is none of the values ∞, *k*, 1, or 0, then the process can be referred to as a *polytropic process. *For such a process involving an ideal gas, any of the equations in (4.40) can be used with *k *simply replaced by *n*; this is convenient in processes in which there is some heat transfer but which do not maintain constant temperature, pressure, or volume.

__EXAMPLE 4.7__

Determine the heat transfer necessary to increase the pressure of 70 percent quality steam from 200 to 800 kPa, maintaining the volume constant at 2 m3. Assume a quasiequilibrium process.

__Solution __

For the constant-volume quasiequilibrium process the work is zero. The ﬁrst law reduces to *Q *= *m*(*u*2 − *u*1). The mass must be found. It is

The constant-volume process demands that *v*2 = *v*1 = 0.6203 m /kg. From the

steam tables at 800 kPa we ﬁnd, by interpolation, that

The heat transfer is then

*EXAMPLE 4.8*

A piston-cylinder arrangement contains 0.02 m3 of air at 50°C and 400 kPa. Heat

is added in the amount of 50 kJ and work is done by a paddle wheel until the

temperature reaches 700°C. If the pressure is held constant, how much paddle-

wheel work must be added to the air? Assume constant speciﬁc heats.

__Solution __

The process cannot be approximated by a quasiequilibrium process because of the paddle-wheel work. Thus, the heat transfer is not equal to the enthalpy change. The ﬁrst law may be written as

To ﬁnd *m *we use the ideal-gas equation. It gives us

From the ﬁrst law the paddle-wheel work is found to be

*EXAMPLE 4.9*

Calculate the work necessary to compress air in an insulated cylinder from a volume of 2 m3 to a volume of 0.2 m3. The initial temperature and pressure are

20°C and 200 kPa, respectively.

Solution

We will assume that the compression process is approximated by a quasiequilibrium process, which is acceptable for most compression processes, and that the process is adiabatic due to the presence of the insulation (we usually assume an adiabatic process anyhow since heat transfer is assumed to be negligible). The ﬁrst law is then written as

The ﬁnal temperature *T _{2} *is found for the adiabatic quasiequilibrium process from Eq. (4.40); it is