I'm learning (slowly) about enthalpy. My understanding is that enthalpy is the sum of internal energy and the work done on the environment, in order to occupy a volume $V$ at pressure $p$?
$$H = U + pV$$
where:
- $H$ is enthalpy
- $U$ is internal energy
- $p$ is pressure
- $V$ is volume
$U$ is basically a function of temperature: at a constant temperature, $U$ doesn't change?
$H$ is a "state function", meaning that it does not depend on the path one takes, only on the final state.
Then, thinking about the "work done on the environment", starting from zero volume, represented by the $pV$ term, we can consider two possible paths, which should therefore give the same enthalpy? And therefore the work done should be identical. Let's consider the case of a perfectly incompressible liquid or solid. Two paths are:
- Expand the volume to $V$, in a vacuum, zero pressure. Then add pressure
- The work done to get to volume $V$ should be zero, since there's no pushing against any pressure.
- The work done to increase the pressure should be zero, since work is (force $\times$ distance), and here, $V$ doesn't change, so the distance is zero.
- So the total work done on environment = $0$?
- Expand the volume to $V$, at pressure $p$
- Presumably the work done is $pV$, as per the enthalpy equation earlier
Something clearly seems to be wrong with my understanding of enthalpy somewhere, since these two paths result in different amounts of work. But since enthalpy is a state variable, shouldn't different paths give the same enthalpy?
Please help me to understand where my understanding of enthalpy is flawed in various ways.
Note:
- when I first drafted this, I forgot to mention I'm considering the case of a perfectly incompressible liquid or solid. Updated to specify this.