 In ideal mixtures the enthalpy of mixing is null.In non-ideal mixtures the thermodynamic activity of each component is different from its concentration by multiplying with the activity coefficient.One approximation for calculating the heat of mixing is Flory–Huggins solution theory for polymer solutions.