This transition is associated with the transition of a polymer chain from good solvent behavior through ideal or theta solvent behavior to poor solvent behavior.  The canonical coil–globule transition is associated with the Upper critical solution temperature and the associated Flory theta point.  In this case, collapse occurs with cooling and results from favorable attractive energy of the polymer to itself.  A second type of coil–globule transition is instead associated with the lower critical solution temperature and its corresponding theta point.  This collapse occurs with increasing temperature and is driven by an unfavorable entropy of mixing.  An example of this type is embodied by the polymer PNIPAAM, mentioned above. Coil globule transitions may also be driven by charge effects, in the case of polyelectrolytes.  In this case pH and ionic strength changes within the solution may trigger collapse, with increasing counterion concentration generally leading to collapse in a uniformly charged polyelectrolyte.  In polyampholytes containing both positive and negative charges, the opposite may hold true.