Two containers A and B are placed next to each other. Both contain ideal gases at temperature T. The container A has volume VA and nA moles of A and container B has a volume VB and nB moles of B. When the partition between A and B is removed, both the gases mix and the entropy increases. Show that the entropy of mixing is - (nA + nB) [xA ln xA + xB ln xB], where xA and xB are the mole fractions of A and B in the mixture.
|