Path dependence
PV work is path-dependent and is, therefore, a thermodynamic process function. In general, the term
P
d
V
{\displaystyle P\,dV}
is not an exact differential. The statement that a process is quasi-static gives important information about the process but does not determine the P–V path uniquely, because the path can include several slow goings backwards and forward in volume, slowly enough to exclude friction within the system occasioned by departure from the quasi-static requirement. An adiabatic wall is one that does not permit passage of energy by conduction or radiation.
The first law of thermodynamics states that
Δ
U
=
Q
−
W
{\displaystyle \Delta U=Q-W}
.
For a quasi-static adiabatic process,
δ
Q
=
0
{\displaystyle \delta Q=0}
so that
Q
=
∫
δ
Q
=
0.
{\displaystyle Q=\int \delta Q=0.}
Also
δ
W
=
P
d
V
{\displaystyle \delta W=PdV}
so that
W
=
∫
δ
W
=
∫
P
d
V
.
{\displaystyle W=\int \delta W=\int P\,dV.}
It follows that
d
U
=
−
δ
W
{\displaystyle dU=-\delta W}
so that
Δ
U
=
−
∫
P
d
V
.
{\displaystyle \Delta U=-\int P\,dV.}
Internal energy is a state function so its change depends only on the initial and final states of a process. For a quasi-static adiabatic process, the change in internal energy is equal to minus the integral amount of work done by the system, so the work also depends only on the initial and final states of the process and is one and the same for every intermediate path. As a result, the work done by the system also depends on the initial and final states.
If the process path is other than quasi-static and adiabatic, there are indefinitely many different paths, with significantly different work amounts, between the initial and final states. (Again the internal energy change depends only on the initial and final states as it is a state function).
In the current mathematical notation, the differential
δ
W
{\displaystyle \delta W}
is an inexact differential.
In another notation, δW is written đW (with a horizontal line through the d). This notation indicates that đW is not an exact one-form. The line-through is merely a flag to warn us there is actually no function (0-form) W which is the potential of đW. If there were, indeed, this function W, we should be able to just use Stokes Theorem to evaluate this putative function, the potential of đW, at the boundary of the path, that is, the initial and final points, and therefore the work would be a state function. This impossibility is consistent with the fact that it does not make sense to refer to the work on a point in the PV diagram; work presupposes a path.