In class we derived the Gibbs energy of mixing for a binary mixture of perfect gases. We also discussed that the same result is obtained for liquids when the resulting solution is ideal. For real solutions we introduced activities and activity coefficients. Derive the molar Gibbs energy of mixing and the molar excess Gibbs energy of mixing in terms of activity coefficients.