PNG 520
Phase Relations in Reservoir Engineering

Mechanics of Manipulating a Function of State

PrintPrint

Given that f(x,y,z) is any state function that characterizes the system and (x,y,z) is a set of independent variable properties of that system, we know that any change Δ f will be only a function of the value of “f” at the final and initial states,

Δf=f2f1=f(x2,y2,z2)f(x1,y1,z1) (14.13)

Since f=f(x,y,z), we can mathematically relate the total differential change (df) to the partial derivatives fx ,fy , and fz of the function, as follows:

df=(fx)y,zdx+(fy)x,zdy+(fz)x,ydz (14.14)

where, in general:

(fx)y,z= the change of f with respect to x, while y and z are unchanged.

If we want to come up with the total change, Δf , of a property (we want to go from 14.14. to 14.13), we integrate the expression in (14.14) to get:

Δf=f2f1=x2x1(fx)y,zdx+y2y1(fy)x,zdy+z2z1(fx)x,ydz (14.15)

Let us visualize this with an example. For a system of constant composition, its thermodynamic state is completely defined when two properties of the system are fixed. Let us say we have a pure component at a fixed pressure (P) and temperature (T). Hence, all other thermodynamic properties, for example, enthalpy (H), are fixed as well. Since H is only a function of P and T, we write:

H=H(P,T) (14.16)

and hence, applying 6.2, any differential change in enthalpy can be computed as:

dH=(HP)TdP+(HT)PdT (14.17)

The total change in enthalpy of the pure-component system becomes:

ΔH=H2H1=P2P1(HP)TdP+T2T1(HT)PdT (14.18)

Now we are ready to spell out the exactness condition, which is the mathematical condition for a function to be a state function. The fact of the matter is, that for a function to be a state function — i.e., its integrated path shown in (14.15) is only a function of the end states, as shown in (14.13) — its total differential must be exact. In other words, if the total differential shown in (14.14) is exact, then f(x,y,z) is a state function. How do we know if a total differential is exact or not?

Given a function Ψ (x,y,z),

dΨ=M(x,y,z)dx+N(x,y,z)dy+Q(x,y,z)dz (14.19a)

where:

M(x,y,z)=(Ψx)y,z (14.19b)

N(x,y,z)=(Ψy)x,z (14.19c)

Q(x,y,z)=(Ψz)x,y (14.19d)

we say that dΨ is an exact differential and consequently ψ(x,y,z) a state function if all the following conditions are satisfied:

(My)x,z=(Nx)y,z (14.20a)

(Nz)x,y=(Qy)x,z (14.20b)

(Mz)x,y=(Qx)y,z (14.20c)

Equations (14.20) are called the exactness condition.