# Solution to Raoult's Law for a volatile binary solution (no pun intended)

### Raoult's Law

In a closed container, $$P_A=P_A^\circ x_A$$ where $P_A$ is the pressure of compound in gaseous phase, and $x_A$ is the mole fraction of the liquid component A in the liquid mixture. If the liquid is alone in the container, $x_A=1$.

### Problem I'm trying to solve

$A$ moles of compound $A$ and $B$ moles of compound $B$ are stored in container closed with a piston. External pressure on the piston is maintained as $P_e$. Find moles of $A$ and $B$ that will be found in the gaseous phase at equilibrium. ($P_A^\circ$ and $P_B^\circ$ are known values)

### Attempt at solving

Let $a$ moles of A and $b$ moles of B exist in gaseous phase. This means $A-a$ and $B-b$ moles of respective compounds are leftover in the liquid phase.

Now Raoult's Law gives us

$$a \frac{RT}V = P_A^\circ \left(\frac{A-a}{A+B-a-b}\right)$$ $$b \frac{RT}V = P_B^\circ \left(\frac{B-a}{A+B-a-b}\right)$$

(Ideal gas equation used implicitly)

Also total pressure of gases inside should equal $P_e$

$$(a+b) \frac{RT}V = P_e$$

These are not ordinary linear equations, so I'm not totally sure my calculations are correct, but I'm getting the solution as

$$P_A^\circ \left(\frac Aa -1\right) = P_B^\circ \left(\frac Bb -1\right) = \frac{AP_B^\circ (P_e-P_A^\circ)+BP_A^\circ(P_e-P_B^\circ)}{(A+B)(P_A^\circ+P_B^\circ-P_e)}$$

So far so good, but it turns out that on plugging in specific values for $A,B,P_A^\circ,P_B^\circ,P_e$, $a$ and $b$ attain negative values.

Mathematically it can be proved that this happens when the rightmost expression is negative. The rightmost expression can be rewritten as

$$P_e \left[\frac {\frac{\frac{A}{A+B}}{P_A^\circ}+\frac{\frac{B}{A+B}}{P_B^\circ}-\frac{1}{P_e}} {\frac{1}{P_A^\circ}+\frac{1}{P_B^\circ}-\frac{1}{P_e}} \right]$$

Let $N$ mean numerator and $D$ mean denominator of this expression. We can prove that $N<D$. This means that $\frac ND >0$ if and only if $N>0$ or $D<0$ holds.

### Question 1

Assuming all the calculations are correct, this seems to be a rather arbitrary mathematical condition. Can someone explain the physical significance of this? Like a more intuitive way to understand why we must check such an arbitrary condition rather than something as simple as $P_e>P_A^\circ+P_B^\circ$?

### Question 2

If $\frac ND <0$, is the solution always $a=A$, $b=B$ (which means no liquid evaporates)?

As you correctly pointed out, you can connect the moles of each compound in the gas phase, $a$ and $b$, to the composition of the liquid phase, $A-a$ and $B-b$, through their partial pressures, $p_A$ and $p_B$:

$p_A=a\cfrac{RT}{V}=p_A^o\cfrac{A-a}{\left(A-a\right)+\left(B-b\right)}$

$p_B=b\cfrac{RT}{V}=p_B^o\cfrac{B-b}{\left(A-a\right)+\left(B-b\right)}$

And, as you did, we can use the total number of moles in the gas phase to rewrite these equations in terms of $p_e$. Since

$p_e=p_A+p_B=\left(a+b\right)\cfrac{RT}{V}$

and therefore

$\cfrac{RT}{V}=\cfrac{p_e}{a+b}$

we can write

$p_e\cfrac{a}{a+b}=p_A^o\cfrac{A-a}{\left(A-a\right)+\left(B-b\right)}$

$p_e\cfrac{b}{a+b}=p_B^o\cfrac{B-b}{\left(A-a\right)+\left(B-b\right)}$

Note that this is a two-equation system with two unknowns, so, barring incompatible values of the constants $A$, $B$, $p_e$, $p_A^o$ and $p_B^o$, it's determined (as you essentially pointed out).

Let's find a relationship between $a$ and $b$. A straightforward way to do that is by dividing the equations:

$\cfrac{p_e\cfrac{a}{a+b}}{p_e\cfrac{b}{a+b}}=\cfrac{p_A^o\cfrac{A-a}{\left(A-a\right)+\left(B-b\right)}}{p_B^o\cfrac{B-b}{\left(A-a\right)+\left(B-b\right)}}$

$\cfrac{a}{b}=\cfrac{p_A^o}{p_B^o}\cfrac{A-a}{B-b}$

Clearing $a$:

$a=\cfrac{p_A^o}{p_B^o}\cfrac{b}{B-b}\left(A-a\right)$

$a\left(1+\cfrac{p_A^o}{p_B^o}\cfrac{b}{B-b}\right)=\cfrac{p_A^o}{p_B^o}\cfrac{b}{B-b}A$

$a=\cfrac{\cfrac{p_A^o}{p_B^o}\cfrac{b}{B-b}}{1+\cfrac{p_A^o}{p_B^o}\cfrac{b}{B-b}}A=\cfrac{b}{\cfrac{p_B^o}{p_A^o}\left(B-b\right)+b}A$

We haven't made any additional assumptions in the derivation (beyond Raoult's law itself), so this is valid for all the situations where Raoult holds. Let's interpret the numbers to see what they mean.

With this expression you can check out various situations to get a feeling of how does Raoult behave. Some limit cases:

· If $p_A^o \approx p_B^o$, $\cfrac{a}{A} \approx \cfrac{b}{B}$ and both components are distributed to the same extent between the gas and liquid phase.

· If $p_A^o \gg p_B^o$, the vapour pressure quotient $p_B^o/p_A^o \ll 1$ and therefore $a \approx A$ (the more volatile component will be almost entirely in the gas phase).

· And, contrarily, if $p_A^o \ll p_B^o$, $a \approx 0$ (the less volatile component will be almost entirely in the liquid phase).

$\cfrac{a}{b}=\cfrac{p_A^o}{p_B^o}\cfrac{A-a}{B-b}$

If you ponder carefully what this means, it's telling you that for ideal mixtures (Raoult mixtures), the relationship between the components in the gas and liquid phases is always fixed as long as there is equilibrium, and the proportionality factor of that relationship is the vapour pressure ratio of the two components. So, if you have $p_A^o=2p_B^o$, the ratio of moles of A and B in the gas will always be twice the ratio of moles of A and B in the liquid. Or, equivalently, Raoult predicts that the gas phase is enriched in the most volatile component, precisely in proportion to the relative vapour pressures. The more volatile a component is, the more "additional fraction" of the gas phase it represents.

So, what values for $p_e$ are compatible with Raoult? Let's find out:

$p_e=p_A+p_B=p_A^o\cfrac{A-a}{\left(A-a\right)+\left(B-b\right)}+p_B^o\cfrac{B-b}{\left(A-a\right)+\left(B-b\right)}$

$p_e\left(\left(A-a\right)+\left(B-b\right)\right)=p_A^o\left(A-a\right)+p_B^o\left(B-b\right)$

$\left(A-a\right)\left(p_e-p_A^o\right)=\left(B-b\right)\left(p_B^o-p_e\right)$

$\cfrac{A-a}{B-b}=\cfrac{p_B^o-p_e}{p_e-p_A^o}$

Note that this is a particular case of the lever rule and, if all the quantities are positive, it demands that $p_A^o \leq p_e \leq p_B^o$ or $p_B^o \leq p_e \leq p_A^o$. A value of $p_e$ outside that range would correspond to a value of $a$ or $b$ outside of the range $0 \leq a \leq A$ or $0 \leq b \leq B$ - which doesn't make physical sense.

But is any value of $p_e$ between $p_A^o$ and $p_B^o$ valid? No, it depends on $A$ and $B$. Every value of $p_e$ corresponds to a certain composition - so you can't set both to arbitrary values.

Take for example $p_A^o=100$, $p_B^o=200$, $p_e=125$, $A=1$ and $B=4$. Applying the lever rule expression we just derived,

$\cfrac{A-a}{B-b}=\cfrac{p_B^o-p_e}{p_e-p_Ao}=\cfrac{200-125}{125-100}=3$

So, the ratio of moles of A to moles of B in the liquid in equilibrium is 3. In other words, 3/4 of the liquid molecules are of A.

Let's introduce this value in the key expression we derived earlier:

$\cfrac{a}{b}=\cfrac{p_A^o}{p_B^o}\cfrac{A-a}{B-b}=\cfrac{100}{200}3=1.5$

So, the ratio of moles of A to moles of B in the gas in equilibrium is 1.5. In other words, 3/5 of the gas molecules are of A.

All of this is compatible with Raoult's law... but it is incompatible with a total system composition of 1 mole of A and 4 moles of B!

Hope this helps.

• Thanks for posting the answer. Last doubt though, about the last paragraph. When this happens, do we expect only gas to be present in the container or only liquid? Or some kind of equilibrium which raoults law cannot predict? – ghosts_in_the_code Jun 27 '17 at 14:01
• Well, real systems never behave like Raoult, although the deviation can be minimal. Raoult is only applicable when there is an equilibrium, so when you get a result that doesn't make sense, mathematically, it's telling you that you are outside the window of applicability of the model - but the model won't depict correctly what happens there. – user41033 Jun 28 '17 at 7:26
• It might be easier to work your way from the other end - start with the moles of both components, and find out the range of $p_e$ that is compatible with them. For pressures above you expect to have only liquid, for pressures below you expect to have only gas, all within the ideal depiction of the system that is implicit in Raoult's law. – user41033 Jun 28 '17 at 7:27