For non-ideal solutions, corrections are made using activity coefficients to account for deviations from ideal behavior.