text: In the chemistry of electrolyte solutions, an ideal solution is a solution whose colligative properties are proportional to the concentration of the solute. Real solutions may show departures from this kind of ideality. In order to accommodate these effects in the thermodynamics of solutions, the concept of activity was introduced: the properties are then proportional to the activities of the ions. Activity, a, is proportional to concentration, c. The proportionality constant is known as an activity coefficient, .
  In an ideal electrolyte solution the activity coefficients for all the ions are equal to one. Ideality of an electrolyte solution can be achieved only in very dilute solutions. Non-ideality of more concentrated solutions arises principally (but not exclusively) because ions of opposite charge attract each other due to electrostatic forces, while ions of the same charge repel each other. In consequence ions are not randomly distributed throughout the solution, as they would be in an ideal solution.
  Activity coefficients of single ions cannot be measured experimentally because an electrolyte solution must contain both positively charged ions and negatively charged ions. Instead, a mean activity coefficient,  is defined. For example, with the electrolyte NaCl
  In general, the mean activity coefficient of a fully dissociated electrolyte of formula AB is given by
  Activity coefficients are themselves functions of concentration as the amount of inter-ionic interaction increases as the concentration of the electrolyte increases. Debye and Hückel developed a theory with which single ion activity coefficients could be calculated. By calculating the mean activity coefficients from them the theory could be tested against experimental data. It was found to give excellent agreement for "dilute" solutions.