# Entropy of mixing, non-isolated system

## Homework Statement

Take a container of volume V, which has two seperated partitions, each with volume V/2. Each partition contains a gas of N molecules, with respectively mass $$\m_{a}$$ and $$$$m_{b}$$$$. The temperature in the partitions is equal to that of its surroundings, and energy exchange between the molecules in the partitions with the outside is possible.

When the partition between gases A and B are removed, what happens to the quantities U, P and S?

## Homework Equations

$$\Delta S = -R (x ln x + (1-x) ln (1-x) )$$

## The Attempt at a Solution

I'm guessing this should be done with the Gibbs free energy distribution. The problem seems trivial in the case of an isolated system, the only increase in entropy is because of the increase in potential volume for each molecule. What happens however, when there exchange of energy with the environment is allowed?

## Answers and Replies

Related Advanced Physics Homework Help News on Phys.org
Andrew Mason